Releases: Shopify/ui-extensions
@shopify/[email protected]
Major Changes
- #1585
70f9bdc1
Thanks @jamesvidler! - Thepurchase.checkout.shipping-option-list.render-before
andpurchase.checkout.shipping-option-list.render-after
will be duplicated for possible types of delivery groups (One Time Purchase and Subscription).
You can use the newtarget
oruseDeliveryGroupTarget()
React hook to access the delivery group the extension is attached to.
Minor Changes
-
#1515
2452a939
Thanks @rcaplanshopify! - Adds custom header and footer unified extension targets for checkout and thank you pages -
#1601
ccbb2353
Thanks @belalsj! - Add tooltip component and update Button and Text with interestTarget API -
#1472
9c836557
Thanks @sirgalleto! - Add order routing extension targets and API -
#1424
9a8dda8c
Thanks @MitchLillie! - Add Badge component to admin -
#1453
63aea230
Thanks @charlesdobson! - Add Badge component to admin -
#1428
9cd7d6f9
Thanks @MitchLillie! - Add Banner component to admin -
#1430
0a8b378a
Thanks @MitchLillie! - Add ChoiceList to admin -
#1431
8f82c578
Thanks @MitchLillie! - Add ProgressIndicator to admin -
#1625
29625d18
Thanks @billfienberg! - Add ColorPicker remote component
Patch Changes
-
#1437
6de2fce0
Thanks @shopi-dori! - Adds thebankIdNumber
to thePaymentOptionItemApi
.
Addsbackground
toView
,Grid
,GridItem
,Pressable
,ScrollView
,InlineStack
, andBlockStack
components. -
#1503
f4268b21
Thanks @anahita-m! - Removing legacy customer account extension targets -
#1473
903a62c7
Thanks @mikewilson01! - Add additional props to LWS component -
#1448
be9465df
Thanks @robin-drexler! - add previously internal customer account apis to unstable -
#1458
1fb524f6
Thanks @robin-drexler! - fix policy modal handling -
#1456
9faac927
Thanks @robin-drexler! - add some missing exports to customer-account react extensions' -
#1434
b45e1b7f
Thanks @mikewilson01! - Add onStatusChange callback to LoginWithShop component -
#1466
e53621b6
Thanks @mikewilson01! - Update props for LoginWithShop component -
#1496
bb30cc52
Thanks @brianshen1990! - remove deprecated fields from doc in customer account ui extensions -
#1437
4bde0584
Thanks @shopi-dori! - AddsusePaymentMethodAttributes
,usePaymentMethodAttributeValues
, anduseApplyPaymentMethodAttributeChange
React hooks. -
#1598
345ed9a0
Thanks @MitchLillie! - Deprecate summary prop for AdminBlock -
#1526
22ac2d9b
Thanks @oluwatimio! - Adds a hook calleduseNavigationCurrentEntry
that will always track and return the latest current entry for a full page customer account ui extension -
Updated dependencies [
6de2fce0
,f4268b21
,8f82c578
,903a62c7
,0f0e410d
,9a8dda8c
,2452a939
,be9465df
,0a8b378a
,f68d0d75
,ccbb2353
,1fb524f6
,b45e1b7f
,e53621b6
,29625d18
,70f9bdc1
,9c836557
,bb30cc52
,cbc51b33
,345ed9a0
,9cd7d6f9
]:- @shopify/[email protected]
@shopify/[email protected]
Major Changes
-
#1296
a8e16322
Thanks @MitchLillie! - Bump@remote-ui/core
and@remote-ui/react
versions.Warning: Extensions using
@shopify/ui-extensions-react
must now use react^18.0.0
or greater.Extensions are also expected to reconcile their own react version.
In order to use the latest version of
@shopify/ui-extensions-react
, you should modify yourpackage.json
to resemble the following:{ ... "dependencies": { "react": "^18.0.0", "@shopify/ui-extensions": "2023.10.x", "@shopify/ui-extensions-react": "2023.10.x", "react-reconciler": "0.29.0" }, "devDependencies": { "@types/react": "^18.0.0" } }
Minor Changes
-
#1340
a7ea6cb0
Thanks @lsit! - Add PaymentIcon component to the checkout surface -
#1351
8df8429b
Thanks @jkeohan! - Add ProductThumbnail component to the checkout surface -
#1397
198d0848
Thanks @jamesvidler! - NewConsentCheckbox
andConsentPhoneField
components which allow extensions to render their own consent UI, supporting the "sms-marketing" policy. -
#1364
3437fc05
Thanks @rcaplanshopify! - Addspurchase.checkout.payment-method-list.render-before
andpurchase.checkout.payment-method-list.render-after
extension targets, rendered above and below the payment method list. -
#1281
d539b687
Thanks @elanalynn! - Add download and target props to ButtonAnchorProps in admin -
#1364
39553479
Thanks @rcaplanshopify! - Adds useCartlineTarget API and deprecates useTarget API. -
#1364
1dd9abf0
Thanks @rcaplanshopify! - Storage API stored data is now shared between all activated extension targets of the extension. -
#1364
39553479
Thanks @rcaplanshopify! - Includes masked identifier when submitting custom redeemable data. -
#1364
39553479
Thanks @rcaplanshopify! - Provides payment attributes to checkout extension. -
#1364
39553479
Thanks @rcaplanshopify! - Adds support for decorative color in Text and TextBlock components. -
#1364
7a65c283
Thanks @rcaplanshopify! - Adds thepurchase.checkout.delivery-address.render-after
static extension target which is rendered after the shipping address form elements. -
#1315
22f71433
Thanks @dnagoda! - # Add checkoutToken ApiExtensions now have access to the checkout token (a stable id used to identify the checkout) directly through the standard api. The checkout token will match:
- token field in WebPixel checkout payload.
- checkout_token in the Admin REST Api Order resource
Patch Changes
-
#1361
82ba4be1
Thanks @lauramann! - Adds b2bEnabled enabledFeature on CustomerSegmentTemplateApi -
#1286
d0bd64d2
Thanks @PrescilliaA! - Add exports for InternalCustomerSegmentTemplate categories and icons -
#1274
e198e10a
Thanks @PrescilliaA! - Update CustomerSegmentTemplate prop names -
#1316
0905d719
Thanks @lihaokx! - 1. Rename point to target; 2. Update extension target names; 3, Add new types -
#1403
1de5d9cf
Thanks @jamesvidler! - Supports improvements for new checkout extensibility docs IA. Organizes docs by targets, and groups APIs. -
#1275
f4d0ea17
Thanks @PrescilliaA! - Expose CustomerSegmentTemplate category and icon types -
#1074
3e60fb40
Thanks @MitchLillie! - Rename components with Admin prefix -
#1343
fa561eed
Thanks @MitchLillie! - Update docs for action extension GA -
#1294
1dd7a197
Thanks @PrescilliaA! - Remove CustomerSegmentationTemplate and deprecated prop names -
#1283
8a9917b2
Thanks @lihaokx! - Move customer account ui extension from main to unstable branch. -
#1289
1be8d871
Thanks @lauramann! - Adds extension target for segment details -
#1304
898ac175
Thanks @mikewilson01! - Expose additional properties for LoginWithShop component -
#1279
f537b081
Thanks @PrescilliaA! - Introduces InternalCustomerSegmentTemplate component
@shopify/[email protected]
Major Changes
-
#1296
a8e16322
Thanks @MitchLillie! - Bump@remote-ui/core
and@remote-ui/react
versions.Warning: Extensions using
@shopify/ui-extensions-react
must now use react^18.0.0
or greater.Extensions are also expected to reconcile their own react version.
In order to use the latest version of
@shopify/ui-extensions-react
, you should modify yourpackage.json
to resemble the following:{ ... "dependencies": { "react": "^18.0.0", "@shopify/ui-extensions": "2023.10.x", "@shopify/ui-extensions-react": "2023.10.x", "react-reconciler": "0.29.0" }, "devDependencies": { "@types/react": "^18.0.0" } }
Minor Changes
-
#1340
a7ea6cb0
Thanks @lsit! - Add PaymentIcon component to the checkout surface -
#1351
8df8429b
Thanks @jkeohan! - Add ProductThumbnail component to the checkout surface -
#1397
198d0848
Thanks @jamesvidler! - NewConsentCheckbox
andConsentPhoneField
components which allow extensions to render their own consent UI, supporting the "sms-marketing" policy. -
#1397
198d0848
Thanks @jamesvidler! - Adds theuseShippingOptionTarget
react hook to retrieve the target shipping option. -
#1364
3437fc05
Thanks @rcaplanshopify! - Addspurchase.checkout.payment-method-list.render-before
andpurchase.checkout.payment-method-list.render-after
extension targets, rendered above and below the payment method list. -
#1364
39553479
Thanks @rcaplanshopify! - Adds useCartlineTarget API and deprecates useTarget API. -
#1364
1dd9abf0
Thanks @rcaplanshopify! - Storage API stored data is now shared between all activated extension targets of the extension. -
#1364
39553479
Thanks @rcaplanshopify! - Includes masked identifier when submitting custom redeemable data. -
#1364
39553479
Thanks @rcaplanshopify! - Provides payment attributes to checkout extension. -
#1364
39553479
Thanks @rcaplanshopify! - Adds support for decorative color in Text and TextBlock components. -
#1364
7a65c283
Thanks @rcaplanshopify! - Adds thepurchase.checkout.delivery-address.render-after
static extension target which is rendered after the shipping address form elements. -
#1315
22f71433
Thanks @dnagoda! - # Add checkoutToken ApiExtensions now have access to the checkout token (a stable id used to identify the checkout) directly through the standard api. The checkout token will match:
- token field in WebPixel checkout payload.
- checkout_token in the Admin REST Api Order resource
Patch Changes
-
#1324
a15fc4ad
Thanks @LTiger14! - Export CustomerSegmentTemplate and the props -
#1274
e198e10a
Thanks @PrescilliaA! - Update CustomerSegmentTemplate prop names -
#1316
0905d719
Thanks @lihaokx! - 1. Rename point to target; 2. Update extension target names; 3, Add new types -
#1074
3e60fb40
Thanks @MitchLillie! - Rename components with Admin prefix -
#1294
1dd7a197
Thanks @PrescilliaA! - Remove CustomerSegmentationTemplate and deprecated prop names -
#1283
8a9917b2
Thanks @lihaokx! - Move customer account ui extension from main to unstable branch. -
#1304
898ac175
Thanks @mikewilson01! - Expose additional properties for LoginWithShop component -
#1279
f537b081
Thanks @PrescilliaA! - Introduces InternalCustomerSegmentTemplate component -
Updated dependencies [
a7ea6cb0
,8df8429b
,198d0848
,82ba4be1
,d0bd64d2
,e198e10a
,a8e16322
,3437fc05
,0905d719
,d539b687
,39553479
,1de5d9cf
,1dd9abf0
,39553479
,f4d0ea17
,39553479
,3e60fb40
,fa561eed
,1dd7a197
,8a9917b2
,1be8d871
,39553479
,898ac175
,7a65c283
, [22f71433
](22f71433069b4cc1d4a322...
@shopify/[email protected]
Patch Changes
- #1267
dc7f7395
Thanks @robin-drexler! - fix customer-account surface build and context
@shopify/[email protected]
Patch Changes
-
#1267
dc7f7395
Thanks @robin-drexler! - fix customer-account surface build and context -
Updated dependencies [
dc7f7395
]:- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
-
#1249
fc0186ef
Thanks @mleandres! - NewuseDeliveryGroup()
hook and improved documentation. -
#1210
1faf52a5
Thanks @vividviolet! - Expose query API for Admin UI extensions
@shopify/[email protected]
Patch Changes
-
#1249
fc0186ef
Thanks @mleandres! - NewuseDeliveryGroup()
hook and improved documentation. -
#1210
1faf52a5
Thanks @vividviolet! - Expose query API for Admin UI extensions -
Updated dependencies [
fc0186ef
,1faf52a5
]:- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- #1216
9052b155
Thanks @jamesvidler! - PickupLocationsApi and PickupPointsApi now return aisLocationFormVisible
property as opposed tolocationFormVisible
. ShippingMethodDetailsApi now gurantees a target (ShippingOption
) will be returned.
@shopify/[email protected]
Patch Changes
-
#1216
9052b155
Thanks @jamesvidler! - PickupLocationsApi and PickupPointsApi now return aisLocationFormVisible
property as opposed tolocationFormVisible
. ShippingMethodDetailsApi now gurantees a target (ShippingOption
) will be returned. -
Updated dependencies [
9052b155
]:- @shopify/[email protected]
@shopify/[email protected]
Major Changes
- #1145
2d147efa
Thanks @lemonmade! - Update API type names to match new extension target names
Minor Changes
-
#1064
266c13c0
Thanks @Fionoble! - Added new admin components: Box, BlockStack, Checkbox, Form, InlineStack, TextArea -
#1100
c7dba7ad
Thanks @jamesvidler! - Add support for reading and writing cart metafields. -
#1145
2d147efa
Thanks @lemonmade! - AddExtension.target
field for checkout UI extensions to read the current extension target being rendered. -
#1057
3dff93ac
Thanks @Fionoble! - Exposes Action and Block extension targets in the admin surface. -
#1145
2d147efa
Thanks @lemonmade! - Addcustomer-account
entrypoints for order status page extensions -
#774
feaab61b
Thanks @carolopolo! - Changes typing ofdescription
prop of<CustomerSegmentationTemplate/>
fromstring
tostring | string[]
-
#1145
2d147efa
Thanks @lemonmade! - Add support for new extension target names
Patch Changes
-
#1152
505582a6
Thanks @vividviolet! - Rename all extensionPoint references to extension target -
#1050
df9ff575
Thanks @lauramann! - Add viewMajor to source in CustomerSegmentationTemplate -
#1044
ca55a50c
Thanks @olavoasantos! - Add Heading and HeadingGroup components to admin surface -
#1133
0b6b3caa
Thanks @MitchLillie! - Add data type to block and action -
#1048
faaacfe3
Thanks @olavoasantos! - Add Button component to the Admin surface -
#806
d0e44415
Thanks @jonathanhamel4! - Moving the Segmentation TemplateCategory from the api to the CustomerSegmentationTemplate component props. -
#703
100cfeda
Thanks @vividviolet! - Add Admin surface to packages -
#988
0095a792
Thanks @shopify-github-actions-access! - Example unstable change -
#1154
ca22accd
Thanks @vividviolet! - Add link to Localization best practices for admin i18n API -
#892
0d68e3d1
Thanks @LTiger14! - Add confettiMajor to source in CustomerSegmentationTemplate -
#1023
d250d7df
Thanks @olavoasantos! - Remove legacy components on the admin surface and add components based on the unified API -
#1117
8e11ad23
Thanks @olavoasantos! - Clean up on Admin examples and types -
#771
2a3b4bd0
Thanks @loic-d! - Introduce dateAdded on CustomerSegmentationTemplate -
#1145
2d147efa
Thanks @lemonmade! - Preserve generic type argument forI18nTranslate
function -
#1042
de735136
Thanks @MitchLillie! - Add AppAction component -
#1034
35a34867
Thanks @jamesvidler! - Ported latest changes from @Shopify/checkout-ui-extensions package for corresponding version 2023-04. -
#1074
3e60fb40
Thanks @MitchLillie! - Rename components with Admin prefix -
#759
4e71987f
Thanks @loic-d! - Introduces CustomerSegmentationTemplate component -
#1073
ad9d0f75
Thanks @jamesvidler! - Added ability to generate docs from within the repository. -
#1100
c7dba7ad
Thanks @jamesvidler! - Updated faker dependancies for ui-extensions-react. -
#1100
c7dba7ad
Thanks @jamesvidler! - Updated the documented examples to import from the ui-extensions package. -
#1150
696871b5
Thanks @vividviolet! - Remove unsupport props from Form component -
#766
0c5b0d5b
Thanks @loic-d! - Introduces standardMetafieldDependencies prop on CustomerSegmentationTemplate -
#722
c4d3ef8e
Thanks @vividviolet! - Call root.mount for a rendering extension point -
#822
a49cfe5d
Thanks @jonathanhamel4! - Changing the dateAdded type from Date to ISO 8601 string -
#1062
aad2fb79
Thanks @lauramann! - Adds buyButtonMajor to source in CustomerSegmentationTemplate -
#1043
1db18001
Thanks @olavoasantos! - Add Text component to the Admin surface -
[#1146](https://...