Releases: Shopify/ui-extensions
@shopify/[email protected]
Minor Changes
-
#2515
76f0c1c4f23432ae34750eabc33d051a380c1d60
Thanks @shopify-github-actions-access! - New UI componentClipboardItem
.activateTarget
andactivateAction
properties added to action components. -
#2470
8cec076417bf2d5195eb095efb761e7b0d4ec6e8
Thanks @aeperea! - Passing a new icon type to the segment templates -
#2537
7297c37f77e55f4e1c0fb7761940dcde64c5822e
Thanks @merkoyep! - Image and Box component updates -
#2487
48eb7c31c115d2ff0e3d82cd9cdbe888059d1e7e
Thanks @aeperea! - Defaulting to string type for enabled features passed to the templates -
436df118e4e24eb694f250585dfe439b19d6f190
Thanks @rcaplanshopify! - Adds the Localized Fields API. -
#2457
4a8c5140266a17a796a8abccb63fa89f54eb9b7e
Thanks @shopify-github-actions-access! - Release a new Chat component, chat.render targets and preloads.chat configuration -
#2527
a0ee371b5000d865d0c9ecaac285a063c3a8256e
Thanks @robin-drexler! - expose ClipboardItem to customer accounts extensions -
#2458
e1e195c66f5153def3aa9ef3121b4ed6f1d4d251
Thanks @elanalynn! - Add shouldRender method to admin ui-extensions -
#2528
85a6c8cb425fe85301b78a73b11ba2d3bbb8095e
Thanks @NathanJolly! - Removed deprecated props, components, and APIs -
#2416
9ab3a8b4dda750ffb76dabd63eab70be7bcf27a9
Thanks @NathanJolly! - (POS) Add PrintApi and PrintPreview -
#2379
d37623a29ffd145ecccd81d8d6f9344b37d8ff41
Thanks @MitchLillie! - Add Picker -
#2545
9bbc772ec246e1bae1ea75bc851fdb3bb8489e4d
Thanks @NathanJolly! - Added support for Image sizes. Added Box. -
#2535
0b39f30b8f5b89e4d32bf1ffa98a8daac7a94184
Thanks @js-goupil! - Updated the POS Stack component to spec -
#2426
317f49a5271b8241c995ed53714164a01a2bcca6
Thanks @stevenpslade! - Add metafields to ShippingOption -
#2551
cae2ae9b9a818bc3821c498be796e8d68051328e
Thanks @jamesvidler! - Removed customer account targets as valid targets for checkout UI extensions. Use customer account UI extensions instead. -
#2534
12486707b5fb9d5c9c3b471434297aeb55936b39
Thanks @devisscher! - Add discount function settings api -
#2531
74b06c4a3010a3e270c64332f3afd1b17c16d3a5
Thanks @vctrchu! - Add bulkUpdateCart function to POS useCartApi
Patch Changes
-
#2441
9ac908787a77f7914386ed9918777ef3dbacf9fa
Thanks @vctrchu! - Make POS UI Ext PrintAPI async -
#2428
ad25544dcb9813a321dd105bc7c07304357a0dd7
Thanks @vctrchu! - POS UI Ext PrintAPI src non-optional -
#2485
b7d0232144f0145f3220f1490bddd8e5fa3d9d54
Thanks @elanalynn! - Remove shouldRender method -
#2491
1e1f82e4f05af62246421851638db5dff4c79046
Thanks @belalsj! - AdminBlock remove summary prop and add collapsedSummary -
#2493
4f8ebb54dea1a1b93d4c8e515b1e0f8f32651caa
Thanks @vividviolet! - Fix shopify global declaration -
#2496
c40904b88fccd4ce1023c0d986ceb7e0b3b21f26
Thanks @MitchLillie! - Sync picker and resourcePicker docs with app-bridge -
#2501
97a7f5255e7928bde649ce26735d7a6a74e9a8ef
Thanks @belalsj! - Remove shouldRender method as it will not be used.
@shopify/[email protected]
Minor Changes
-
#2515
76f0c1c4f23432ae34750eabc33d051a380c1d60
Thanks @shopify-github-actions-access! - New UI componentClipboardItem
.activateTarget
andactivateAction
properties added to action components. -
#2537
7297c37f77e55f4e1c0fb7761940dcde64c5822e
Thanks @merkoyep! - Image and Box component updates -
436df118e4e24eb694f250585dfe439b19d6f190
Thanks @rcaplanshopify! - Adds the Localized Fields API anduseLocalizedFields
hook. -
#2457
4a8c5140266a17a796a8abccb63fa89f54eb9b7e
Thanks @shopify-github-actions-access! - Release a new Chat component, chat.render targets and preloads.chat configuration -
#2527
a0ee371b5000d865d0c9ecaac285a063c3a8256e
Thanks @robin-drexler! - expose ClipboardItem to customer accounts extensions -
#2528
85a6c8cb425fe85301b78a73b11ba2d3bbb8095e
Thanks @NathanJolly! - Removed deprecated props, components, and APIs -
#2416
9ab3a8b4dda750ffb76dabd63eab70be7bcf27a9
Thanks @NathanJolly! - (POS) Add PrintApi and PrintPreview -
#2379
d37623a29ffd145ecccd81d8d6f9344b37d8ff41
Thanks @MitchLillie! - Add Picker -
#2545
9bbc772ec246e1bae1ea75bc851fdb3bb8489e4d
Thanks @NathanJolly! - Added support for Image sizes. Added Box. -
#2535
0b39f30b8f5b89e4d32bf1ffa98a8daac7a94184
Thanks @js-goupil! - Updated the POS Stack component to spec -
#2551
cae2ae9b9a818bc3821c498be796e8d68051328e
Thanks @jamesvidler! - Removed customer account targets as valid targets for checkout UI extensions. Use customer account UI extensions instead.
Patch Changes
-
#2498
88b01fc80c8db9c9fa9d0a7101d297bf4ae23df0
Thanks @belalsj! - surfaces/admin: the reactExtension will only allow .render targets to run -
Updated dependencies [
76f0c1c4f23432ae34750eabc33d051a380c1d60
,8cec076417bf2d5195eb095efb761e7b0d4ec6e8
,7297c37f77e55f4e1c0fb7761940dcde64c5822e
,48eb7c31c115d2ff0e3d82cd9cdbe888059d1e7e
,436df118e4e24eb694f250585dfe439b19d6f190
,4a8c5140266a17a796a8abccb63fa89f54eb9b7e
,a0ee371b5000d865d0c9ecaac285a063c3a8256e
,e1e195c66f5153def3aa9ef3121b4ed6f1d4d251
,85a6c8cb425fe85301b78a73b11ba2d3bbb8095e
,9ac908787a77f7914386ed9918777ef3dbacf9fa
,ad25544dcb9813a321dd105bc7c07304357a0dd7
,b7d0232144f0145f3220f1490bddd8e5fa3d9d54
,9ab3a8b4dda750ffb76dabd63eab70be7bcf27a9
,d37623a29ffd145ecccd81d8d6f9344b37d8ff41
,9bbc772ec246e1bae1ea75bc851fdb3bb8489e4d
,0b39f30b8f5b89e4d32bf1ffa98a8daac7a94184
,317f49a5271b8241c995ed53714164a01a2bcca6
,1e1f82e4f05af62246421851638db5dff4c79046
,cae2ae9b9a818bc3821c498be796e8d68051328e
,12486707b5fb9d5c9c3b471434297aeb55936b39
,4f8ebb54dea1a1b93d4c8e515b1e0f8f32651caa
,74b06c4a3010a3e270c64332f3afd1b17c16d3a5
,c40904b88fccd4ce1023c0d986ceb7e0b3b21f26
,97a7f5255e7928bde649ce26735d7a6a74e9a8ef
]:- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- #2514
45f4980788fe94ba58ad9c44bbfb80294bb3ad20
Thanks @cpeddecord! - Releasing Chat into the wild, for real this time
@shopify/[email protected]
Patch Changes
-
#2514
45f4980788fe94ba58ad9c44bbfb80294bb3ad20
Thanks @cpeddecord! - Releasing Chat into the wild, for real this time -
Updated dependencies [
45f4980788fe94ba58ad9c44bbfb80294bb3ad20
]:- @shopify/[email protected]
@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]