Releases: Shopify/ui-extensions
@shopify/[email protected]
Patch Changes
- #2482
5e847761d9e0ce2d03fb2971e132810f9696c10f
Thanks @js-goupil! - Added support for Host to unmount UI Extensions
@shopify/[email protected]
Patch Changes
-
#2482
5e847761d9e0ce2d03fb2971e132810f9696c10f
Thanks @js-goupil! - Added support for Host to unmount UI Extensions -
Updated dependencies [
5e847761d9e0ce2d03fb2971e132810f9696c10f
]:- @shopify/[email protected]
@shopify/[email protected]
Major Changes
- #2374
4dec3851bf53f6cf289ca8c265cd13f8c123ab06
Thanks @robin-drexler! - customer account ui extensions order statusshop.storefrontUrl
does not contain a trailing slash anymore
Minor Changes
-
#2307
21234eea51b50dfc53d3fc4962512728b4a19446
Thanks @oliverigor! - Add size property to Modal -
#2371
28edde440ceee584c71c5ac983252ca71a7f853a
Thanks @shopify-github-actions-access! - Addstype
property toselectedPaymentOption
-
#2361
89438897001dce9058030e6ee1655747a66ec71a
Thanks @oliverigor! - Add primary and secondary actions to Modal component -
#2294
fd4ecf2aef0414e790a4a78ae6a9fa013acbafda
Thanks @Fionoble! - Add currencyCode to admin MoneyField component -
#2285
118654e61e393c2885198ab5dafddb4cf4d62669
Thanks @Fionoble! - Add suffix to NumberField and TextField -
#2362
9fe9d56d190fee5ee444ed980a5ef60106dfda12
Thanks @billfienberg! - add accessibilityLabel to admin's Button -
#2297
7ab538090e8bcef052bfc782b31639efe89ff262
Thanks @shopify-github-actions-access! - update generate-doc version, add attributes to Icon -
#2247
8bca1a1710431083b7e98966ec76f3fe17720d5c
Thanks @belalsj! - New Action Extension targets: Catalog, Company, Gift Card -
#2197
a8de80b0e252ebd0c529bfe88d02d2e35e2a0461
Thanks @klenotiw! - Add metafields to PickupPointOption -
#2211
f81712b643430dd1cbdce54b3edf0c80bc0dafe5
Thanks @shopify-github-actions-access! - Address autocomplete extensions now support 'company', 'latitude', and 'longitude' values -
#2358
37620b9d47f38586c843a9c11a6de2e0461bc0dd
Thanks @Fionoble! - Add display:none to Box -
#2220
9e619fca6ea4f816148c90158b46bc1db5bfbad7
Thanks @LucasLacerdaUX! - Add QRCode component
Patch Changes
-
#2284
f84592931962537d345dfd68bf2a2f2396373740
Thanks @brianshen1990! - expose Switch component to customer account unstable surface -
#2385
9347443b76210c2f9f3ce45bb488c38ec08efb6f
Thanks @jplhomer! - Add missing documentation forauth.idToken()
API -
#2356
a2d458be51a708aeac6a1879554051f98371f908
Thanks @brianshen1990! - add full page navigation api to order full page extension target -
#2347
dd8a861caba591c1087e8349e8a9bbfdc2681cb8
Thanks @brianshen1990! - Add customer-account.order.page.render target -
#2369
7ef1d9cdd37c42277e240eb660e08de54967461c
Thanks @brianshen1990! - update error message for useNavigationCurrentEntry api -
#2132
9f7ee640e434bb175b90248c29bb194f321e871a
Thanks @ncardeli! - Improve TypeScript definition for the Position type used by the position property -
#2252
d6ac8d4e4180eef5242719bfaffe998441be1aa9
Thanks @MitchLillie! - Add admin company location block
@shopify/[email protected]
Minor Changes
-
#2371
28edde440ceee584c71c5ac983252ca71a7f853a
Thanks @shopify-github-actions-access! - Addstype
property toselectedPaymentOption
-
#2361
89438897001dce9058030e6ee1655747a66ec71a
Thanks @oliverigor! - Add primary and secondary actions to Modal component -
#2297
7ab538090e8bcef052bfc782b31639efe89ff262
Thanks @shopify-github-actions-access! - update generate-doc version, add attributes to Icon -
#2220
9e619fca6ea4f816148c90158b46bc1db5bfbad7
Thanks @LucasLacerdaUX! - Add QRCode component
Patch Changes
-
#2284
f84592931962537d345dfd68bf2a2f2396373740
Thanks @brianshen1990! - expose Switch component to customer account unstable surface -
#2356
a2d458be51a708aeac6a1879554051f98371f908
Thanks @brianshen1990! - add full page navigation api to order full page extension target -
#2347
dd8a861caba591c1087e8349e8a9bbfdc2681cb8
Thanks @brianshen1990! - Add customer-account.order.page.render target -
#2369
7ef1d9cdd37c42277e240eb660e08de54967461c
Thanks @brianshen1990! - update error message for useNavigationCurrentEntry api -
Updated dependencies [
21234eea51b50dfc53d3fc4962512728b4a19446
,28edde440ceee584c71c5ac983252ca71a7f853a
,89438897001dce9058030e6ee1655747a66ec71a
,f84592931962537d345dfd68bf2a2f2396373740
,9347443b76210c2f9f3ce45bb488c38ec08efb6f
,fd4ecf2aef0414e790a4a78ae6a9fa013acbafda
,118654e61e393c2885198ab5dafddb4cf4d62669
,4dec3851bf53f6cf289ca8c265cd13f8c123ab06
,9fe9d56d190fee5ee444ed980a5ef60106dfda12
,7ab538090e8bcef052bfc782b31639efe89ff262
,a2d458be51a708aeac6a1879554051f98371f908
,8bca1a1710431083b7e98966ec76f3fe17720d5c
,a8de80b0e252ebd0c529bfe88d02d2e35e2a0461
,dd8a861caba591c1087e8349e8a9bbfdc2681cb8
,f81712b643430dd1cbdce54b3edf0c80bc0dafe5
,7ef1d9cdd37c42277e240eb660e08de54967461c
,37620b9d47f38586c843a9c11a6de2e0461bc0dd
,9e619fca6ea4f816148c90158b46bc1db5bfbad7
,9f7ee640e434bb175b90248c29bb194f321e871a
,d6ac8d4e4180eef5242719bfaffe998441be1aa9
]:- @shopify/[email protected]
@shopify/[email protected]
Minor Changes
-
#1888
199a90fef0f4ce90a8f6ae6a8298c9d9c437f2f4
Thanks @elanalynn! - Add new block extension targets: collection, draft-order, abandoned-checkout, and product-variant -
#1981
ba2510f0f4737a56abe4171a08b8adea4488f8b4
Thanks @shopify-github-actions-access! - Updates Order Status API withprocessedAt
attribute -
#1987
952489d3c27a2f5c8bcdad29e516480fe71e94e8
Thanks @rcaplanshopify! - - AddsuseCustomerPrivacy
hook. -
#2144
321749e68edf6d64a82ffe2c4c99d0f19ac4e63c
Thanks @jamesvidler! - AddedCartInstructions
(accessed usingapi.instructions
) to checkout. These represent the cart instructions used to create the checkout and possibly limit extension capabilities. These instructions should be checked prior to performing any actions that may be affected by them.For example, if you intend to add a discount code via the
applyDiscountCodeChange
method, checkapi.instructions.discounts.canUpdateDiscountCodes
to ensure it's supported in this checkout. -
#2005
47512e33ddfb3d99a48fbcebdd20647cbc149fd7
Thanks @shopify-github-actions-access! - AddsselectedCountryCode
toAddressAutocompleteSuggestionApi
. -
#2067
3c3505c16c1deb6f202cbecf6747c0fdc6b79228
Thanks @shopify-github-actions-access! - Support split shipping in Shipping option list and item targets. -
#1924
a4f275abcb0c0166e0383fc5c1ed544b938def29
Thanks @rcaplanshopify! - - Adds the ability to read and write tracking consent metafield data to the Customer Privacy API.- Updates the
Sheet
component and examples.
- Updates the
-
#1807
08067cbba140d72f115e38f218dd0caead13f0d5
Thanks @nataliejeong! - Add Extension Target for Reorder Flow -
#2059
bf839358269255bb6a86fd9a64295b4ea89d6004
Thanks @Fionoble! - Add resource picker to admin block extension -
#2040
c8d876e83f3144361e09c375c3dc89af2029655b
Thanks @elanalynn! - Add AdminPrintAction component -
#2065
c2c51b82135fadf9dd4a2b1ad95dc59cabd9064c
Thanks @elanalynn! - Add admin print action targets -
#2118
0016e7e5031934e21b26398958d69b97a20ccebd
Thanks @shopify-github-actions-access! - - AddsoneTimeUse
toShippingAddress
to denote whether the address can be saved in checkout.- Adds
sku
toProductVariant
in checkout. - Adds
bullet
icon in checkout.
- Adds
-
#1916
f9a593edd7bc6ea9f46f3927efd3b9fa6ebc5b5a
Thanks @mleandres! - - Addspurchase.address-autocomplete.suggest
extension target- Adds the
primaryAction
andsecondaryAction
to theSheet
component
- Adds the
Patch Changes
-
#2015
5ded8d2cb5d9ae502aa75183714f84dc92b820ea
Thanks @PSalmers! - Homogenizes terminology to use the term "placement" in place of "supported location", "placement reference", and others. -
#1883
a87b8f3ac19ba9db78ed5933c2e0099195dc8c5b
Thanks @rcaplanshopify! - MovesCapability
type to shared types file -
#1996
0c05f0d17d91a9cb7ad61f1806d7d0a20bd09912
Thanks @aledalgrande! - Add metafields to PickupLocationOption -
#1960
c30a9639a5209862f4177f26ef3bc26e299c3c7b
Thanks @shopify-github-actions-access! - AddedappMetafields
field toAddressAutocompleteStandardApi
-
#2037
0fd33b35c651b89d24c4fc560f376e91658d70a6
Thanks @brianshen1990! - add authenticationState api to customer account ui extension -
#2053
9c1777d48e0d81fea811cfbcd9764e98cf65778d
Thanks @ncardeli! - Publish display property -
#2014
ac077c8becee6f02fbb4fd9f04d029dbf9b838f2
Thanks @oliverigor! - Add Switch component -
#1942
b086046068ccb984b37c92a4e17378ada1774524
Thanks @jamesvidler! - Improve error messaging when a React hook is used from a different API surface than the extension calling it. -
#1931
a744908ee0cedbc627a7bfac18294f34cad8746d
Thanks @shopify-github-actions-access! - - Add code examples for custom address autocomplete extensions- Update documentation for custom address autocomplete extensions
- Misc. type updates and documentation updates
@shopify/[email protected]
Minor Changes
-
#1888
199a90fef0f4ce90a8f6ae6a8298c9d9c437f2f4
Thanks @elanalynn! - Add new block extension targets: collection, draft-order, abandoned-checkout, and product-variant -
#1981
ba2510f0f4737a56abe4171a08b8adea4488f8b4
Thanks @shopify-github-actions-access! - Updates Order Status API withprocessedAt
attribute -
#1987
952489d3c27a2f5c8bcdad29e516480fe71e94e8
Thanks @rcaplanshopify! - - AddsuseCustomerPrivacy
hook. -
#2144
321749e68edf6d64a82ffe2c4c99d0f19ac4e63c
Thanks @jamesvidler! - AddedCartInstructions
(accessed usingapi.instructions
) to checkout. These represent the cart instructions used to create the checkout and possibly limit extension capabilities. These instructions should be checked prior to performing any actions that may be affected by them.For example, if you intend to add a discount code via the
applyDiscountCodeChange
method, checkapi.instructions.discounts.canUpdateDiscountCodes
to ensure it's supported in this checkout. -
#2067
3c3505c16c1deb6f202cbecf6747c0fdc6b79228
Thanks @shopify-github-actions-access! - Support split shipping in Shipping option list and item targets. -
#1924
a4f275abcb0c0166e0383fc5c1ed544b938def29
Thanks @rcaplanshopify! - - Adds the ability to read and write tracking consent metafield data to the Customer Privacy API.- Updates the
Sheet
component and examples.
- Updates the
-
#1807
08067cbba140d72f115e38f218dd0caead13f0d5
Thanks @nataliejeong! - Add Extension Target for Reorder Flow -
#2040
c8d876e83f3144361e09c375c3dc89af2029655b
Thanks @elanalynn! - Add AdminPrintAction component -
#2065
c2c51b82135fadf9dd4a2b1ad95dc59cabd9064c
Thanks @elanalynn! - Add admin print action targets -
#2118
0016e7e5031934e21b26398958d69b97a20ccebd
Thanks @shopify-github-actions-access! - - AddsoneTimeUse
toShippingAddress
to denote whether the address can be saved in checkout.- Adds
sku
toProductVariant
in checkout. - Adds
bullet
icon in checkout.
- Adds
-
#1916
f9a593edd7bc6ea9f46f3927efd3b9fa6ebc5b5a
Thanks @mleandres! - - Addspurchase.address-autocomplete.suggest
extension target- Adds the
primaryAction
andsecondaryAction
to theSheet
component
- Adds the
Patch Changes
-
#2015
5ded8d2cb5d9ae502aa75183714f84dc92b820ea
Thanks @PSalmers! - Homogenizes terminology to use the term "placement" in place of "supported location", "placement reference", and others. -
#2037
0fd33b35c651b89d24c4fc560f376e91658d70a6
Thanks @brianshen1990! - add authenticationState api to customer account ui extension -
#2053
9c1777d48e0d81fea811cfbcd9764e98cf65778d
Thanks @ncardeli! - Publish display property -
#2014
ac077c8becee6f02fbb4fd9f04d029dbf9b838f2
Thanks @oliverigor! - Add Switch component -
#1942
b086046068ccb984b37c92a4e17378ada1774524
Thanks @jamesvidler! - Improve error messaging when a React hook is used from a different API surface than the extension calling it. -
Updated dependencies [
5ded8d2cb5d9ae502aa75183714f84dc92b820ea
,199a90fef0f4ce90a8f6ae6a8298c9d9c437f2f4
,ba2510f0f4737a56abe4171a08b8adea4488f8b4
,952489d3c27a2f5c8bcdad29e516480fe71e94e8
,321749e68edf6d64a82ffe2c4c99d0f19ac4e63c
,a87b8f3ac19ba9db78ed5933c2e0099195dc8c5b
,47512e33ddfb3d99a48fbcebdd20647cbc149fd7
,3c3505c16c1deb6f202cbecf6747c0fdc6b79228
,0c05f0d17d91a9cb7ad61f1806d7d0a20bd09912
,c30a9639a5209862f4177f26ef3bc26e299c3c7b
,0fd33b35c651b89d24c4fc560f376e91658d70a6
,a4f275abcb0c0166e0383fc5c1ed544b938def29
,9c1777d48e0d81fea811cfbcd9764e98cf65778d
,08067cbba140d72f115e38f218dd0caead13f0d5
,ac077c8becee6f02fbb4fd9f04d029dbf9b838f2
,bf839358269255bb6a86fd9a64295b4ea89d6004
,c8d876e83f3144361e09c375c3dc89af2029655b
,c2c51b82135fadf9dd4a2b1ad95dc59cabd9064c
,b086046068ccb984b37c92a4e17378ada1774524
,0016e7e5031934e21b26398958d69b97a20ccebd
,a744908ee0cedbc627a7bfac18294f34cad8746d
,f9a593edd7bc6ea9f46f3927efd3b9fa6ebc5b5a
]:- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
-
#1995
9ff6a2c2
Thanks @rcaplanshopify! - - Adds theSheet
component.- Adds
allowedProcessing
andmetafields
to Customer Privacy API.
- Adds
-
#2009
505f64e6
Thanks @mleandres! - Adds support for the following extension targets:purchase.address-autocomplete.suggest
: An extension target that provides address autocomplete suggestions for address forms at checkout. Suggestions are presented to customers for delivery, billing, and pickup point addresses.purchase.address-autocomplete.format-suggestion
: An extension target that formats the selected address suggestion provided by apurchase.address-autocomplete.suggest
target. This formatted address is used to auto-populate the fields of the address form.
-
#1945
14ad55c6
Thanks @jamesvidler! - Improve error messaging when a React hook is used from a different API surface than the extension calling it.
@shopify/[email protected]
Patch Changes
-
#1995
9ff6a2c2
Thanks @rcaplanshopify! - - Adds theSheet
component.- Adds
useCustomerPrivacy
hook. - Adds
allowedProcessing
andmetafields
to Customer Privacy API.
- Adds
-
#1945
14ad55c6
Thanks @jamesvidler! - Improve error messaging when a React hook is used from a different API surface than the extension calling it. -
Updated dependencies [
9ff6a2c2
,505f64e6
,14ad55c6
]:- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- #1944
97bebf8b
Thanks @jamesvidler! - Improve error messaging when a React hook is used from a different API surface than the extension calling it.
@shopify/[email protected]
Patch Changes
- #1943
ffffc132
Thanks @jamesvidler! - Improve error messaging when a React hook is used from a different API surface than the extension calling it.