@shopify/ui-extensions 2026.10.0-rc.7 → 2026.10.0-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/build/cjs/surfaces/checkout/preact/market.js +8 -2
  2. package/build/cjs/surfaces/customer-account/preact/market.js +8 -2
  3. package/build/esm/surfaces/checkout/preact/market.mjs +8 -2
  4. package/build/esm/surfaces/customer-account/preact/market.mjs +8 -2
  5. package/build/esnext/surfaces/checkout/preact/market.esnext +8 -2
  6. package/build/esnext/surfaces/customer-account/preact/market.esnext +8 -2
  7. package/build/ts/surfaces/admin/components/Popover.d.ts +655 -0
  8. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  9. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  10. package/build/ts/surfaces/admin/extension-targets.d.ts +0 -8
  11. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  12. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +1 -0
  13. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +1 -0
  14. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-index.action.render.d.ts +1 -0
  15. package/build/ts/surfaces/admin/targets/admin.app.home.render.d.ts +1 -0
  16. package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +1 -0
  17. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +1 -0
  18. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +1 -0
  19. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +1 -0
  20. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +1 -0
  21. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +1 -0
  22. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +1 -0
  23. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +1 -0
  24. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +1 -0
  25. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +1 -0
  26. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +1 -0
  27. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +1 -0
  28. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +1 -0
  29. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +1 -0
  30. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +1 -0
  31. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -0
  32. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +1 -0
  33. package/build/ts/surfaces/admin/targets/admin.discount-index.selection-action.render.d.ts +1 -0
  34. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +1 -0
  35. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +1 -0
  36. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +1 -0
  37. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +1 -0
  38. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +1 -0
  39. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +1 -0
  40. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +1 -0
  41. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +1 -0
  42. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +1 -0
  43. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +1 -0
  44. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +1 -0
  45. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +1 -0
  46. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +1 -0
  47. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +1 -0
  48. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +1 -0
  49. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +1 -0
  50. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +1 -0
  51. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +1 -0
  52. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +1 -0
  53. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +1 -0
  54. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +1 -0
  55. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +1 -0
  56. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +1 -0
  57. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +1 -0
  58. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +1 -0
  59. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +1 -0
  60. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +1 -0
  61. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +1 -0
  62. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +1 -0
  63. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +8 -5
  64. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  65. package/build/ts/surfaces/checkout/preact/market.d.ts +8 -2
  66. package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
  67. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +6 -1
  68. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  69. package/build/ts/surfaces/customer-account/preact/market.d.ts +8 -2
  70. package/build/ts/surfaces/customer-account/preact/market.d.ts.map +1 -1
  71. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +4 -0
  72. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
  73. package/build/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +14 -13
  75. package/src/surfaces/admin/components/Popover.d.ts +655 -0
  76. package/src/surfaces/admin/components/StandardComponents.ts +1 -0
  77. package/src/surfaces/admin/extension-targets.ts +1 -17
  78. package/src/surfaces/checkout/api/standard/standard.ts +8 -5
  79. package/src/surfaces/checkout/preact/market.ts +8 -2
  80. package/src/surfaces/customer-account/api/order-status/order-status.ts +6 -1
  81. package/src/surfaces/customer-account/preact/market.ts +8 -2
  82. package/src/surfaces/point-of-sale/types/cart.ts +4 -0
  83. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +0 -6
  84. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +0 -6
@@ -6,8 +6,14 @@ var api = require('./api.js');
6
6
  var subscription = require('./subscription.js');
7
7
 
8
8
  /**
9
- * Returns the market of the checkout, and automatically re-renders
10
- * your component if it changes.
9
+ * Returns the market of the checkout, carried over from the cart context.
10
+ * In cases where multiple markets match, this returns the most narrowly
11
+ * scoped country region market. Automatically re-renders your component
12
+ * if it changes.
13
+ *
14
+ * > Caution: This hook is deprecated and will be removed in a future version of the API.
15
+ *
16
+ * @deprecated This hook will be removed in a future version of the API.
11
17
  * @publicDocs
12
18
  */
13
19
  function useLocalizationMarket() {
@@ -7,8 +7,14 @@ var subscription = require('./subscription.js');
7
7
  var errors = require('./errors.js');
8
8
 
9
9
  /**
10
- * Returns the market of the checkout, and automatically re-renders
11
- * your component if it changes.
10
+ * Returns the market associated with the order, carried over from the cart
11
+ * context. In cases where multiple markets match, this returns the most
12
+ * narrowly scoped country region market. Automatically re-renders your
13
+ * component if it changes.
14
+ *
15
+ * > Caution: This hook is deprecated and will be removed in a future version of the API.
16
+ *
17
+ * @deprecated This hook will be removed in a future version of the API.
12
18
  */
13
19
  function useLocalizationMarket() {
14
20
  const api$1 = api.useApi();
@@ -2,8 +2,14 @@ import { useApi } from './api.mjs';
2
2
  import { useSubscription } from './subscription.mjs';
3
3
 
4
4
  /**
5
- * Returns the market of the checkout, and automatically re-renders
6
- * your component if it changes.
5
+ * Returns the market of the checkout, carried over from the cart context.
6
+ * In cases where multiple markets match, this returns the most narrowly
7
+ * scoped country region market. Automatically re-renders your component
8
+ * if it changes.
9
+ *
10
+ * > Caution: This hook is deprecated and will be removed in a future version of the API.
11
+ *
12
+ * @deprecated This hook will be removed in a future version of the API.
7
13
  * @publicDocs
8
14
  */
9
15
  function useLocalizationMarket() {
@@ -3,8 +3,14 @@ import { useSubscription } from './subscription.mjs';
3
3
  import { ExtensionHasNoFieldError } from './errors.mjs';
4
4
 
5
5
  /**
6
- * Returns the market of the checkout, and automatically re-renders
7
- * your component if it changes.
6
+ * Returns the market associated with the order, carried over from the cart
7
+ * context. In cases where multiple markets match, this returns the most
8
+ * narrowly scoped country region market. Automatically re-renders your
9
+ * component if it changes.
10
+ *
11
+ * > Caution: This hook is deprecated and will be removed in a future version of the API.
12
+ *
13
+ * @deprecated This hook will be removed in a future version of the API.
8
14
  */
9
15
  function useLocalizationMarket() {
10
16
  const api = useApi();
@@ -2,8 +2,14 @@ import { useApi } from './api.esnext';
2
2
  import { useSubscription } from './subscription.esnext';
3
3
 
4
4
  /**
5
- * Returns the market of the checkout, and automatically re-renders
6
- * your component if it changes.
5
+ * Returns the market of the checkout, carried over from the cart context.
6
+ * In cases where multiple markets match, this returns the most narrowly
7
+ * scoped country region market. Automatically re-renders your component
8
+ * if it changes.
9
+ *
10
+ * > Caution: This hook is deprecated and will be removed in a future version of the API.
11
+ *
12
+ * @deprecated This hook will be removed in a future version of the API.
7
13
  * @publicDocs
8
14
  */
9
15
  function useLocalizationMarket() {
@@ -3,8 +3,14 @@ import { useSubscription } from './subscription.esnext';
3
3
  import { ExtensionHasNoFieldError } from './errors.esnext';
4
4
 
5
5
  /**
6
- * Returns the market of the checkout, and automatically re-renders
7
- * your component if it changes.
6
+ * Returns the market associated with the order, carried over from the cart
7
+ * context. In cases where multiple markets match, this returns the most
8
+ * narrowly scoped country region market. Automatically re-renders your
9
+ * component if it changes.
10
+ *
11
+ * > Caution: This hook is deprecated and will be removed in a future version of the API.
12
+ *
13
+ * @deprecated This hook will be removed in a future version of the API.
8
14
  */
9
15
  function useLocalizationMarket() {
10
16
  const api = useApi();