@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.
- package/build/cjs/surfaces/checkout/preact/market.js +8 -2
- package/build/cjs/surfaces/customer-account/preact/market.js +8 -2
- package/build/esm/surfaces/checkout/preact/market.mjs +8 -2
- package/build/esm/surfaces/customer-account/preact/market.mjs +8 -2
- package/build/esnext/surfaces/checkout/preact/market.esnext +8 -2
- package/build/esnext/surfaces/customer-account/preact/market.esnext +8 -2
- package/build/ts/surfaces/admin/components/Popover.d.ts +655 -0
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +0 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.app.home.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +8 -5
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/market.d.ts +8 -2
- package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +6 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/market.d.ts +8 -2
- package/build/ts/surfaces/customer-account/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -13
- package/src/surfaces/admin/components/Popover.d.ts +655 -0
- package/src/surfaces/admin/components/StandardComponents.ts +1 -0
- package/src/surfaces/admin/extension-targets.ts +1 -17
- package/src/surfaces/checkout/api/standard/standard.ts +8 -5
- package/src/surfaces/checkout/preact/market.ts +8 -2
- package/src/surfaces/customer-account/api/order-status/order-status.ts +6 -1
- package/src/surfaces/customer-account/preact/market.ts +8 -2
- package/src/surfaces/point-of-sale/types/cart.ts +4 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +0 -6
- 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,
|
|
10
|
-
*
|
|
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
|
|
11
|
-
*
|
|
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,
|
|
6
|
-
*
|
|
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
|
|
7
|
-
*
|
|
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,
|
|
6
|
-
*
|
|
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
|
|
7
|
-
*
|
|
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();
|