@shopify/ui-extensions 2025.10.0-rc.41 → 2025.10.0-rc.42
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/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +5 -3
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Form.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -9
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components.d.ts +366 -451
- package/src/surfaces/admin/extension-targets.ts +6 -5
- package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +3 -3
- package/src/surfaces/checkout/components/Form.d.ts +3 -0
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -3
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -4
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -5
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +2 -2
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +15 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +3 -3
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +2 -2
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -10
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -5
- package/src/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/src/surfaces/point-of-sale/components.d.ts +48 -50
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -57
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -10
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +0 -22
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -17
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +0 -24
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -37
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +0 -23
package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts
CHANGED
|
@@ -6,4 +6,34 @@ export interface CustomerSegmentTemplateApi<ExtensionTarget extends AnyExtension
|
|
|
6
6
|
/** @private */
|
|
7
7
|
__enabledFeatures: string[];
|
|
8
8
|
}
|
|
9
|
+
export type CustomerStandardMetafieldDependency = 'facts.birth_date';
|
|
10
|
+
export interface CustomerSegmentTemplate {
|
|
11
|
+
/**
|
|
12
|
+
* The localized title of the template.
|
|
13
|
+
*/
|
|
14
|
+
title: string;
|
|
15
|
+
/**
|
|
16
|
+
* The localized description of the template. An array can be used for multiple paragraphs.
|
|
17
|
+
*/
|
|
18
|
+
description: string | string[];
|
|
19
|
+
/**
|
|
20
|
+
* The code snippet to render in the template with syntax highlighting. The `query` is not validated in the template.
|
|
21
|
+
*/
|
|
22
|
+
query: string;
|
|
23
|
+
/**
|
|
24
|
+
* The code snippet to insert in the segment editor. If missing, `query` will be used. The `queryToInsert` is not validated in the template.
|
|
25
|
+
*/
|
|
26
|
+
queryToInsert: string;
|
|
27
|
+
/**
|
|
28
|
+
* The list of customer standard metafields or custom metafields used in the template's query.
|
|
29
|
+
*/
|
|
30
|
+
dependencies?: {
|
|
31
|
+
standardMetafields?: CustomerStandardMetafieldDependency[];
|
|
32
|
+
customMetafields?: string[];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* ISO 8601-encoded date and time string. A "New" badge will be rendered for templates introduced in the last month.
|
|
36
|
+
*/
|
|
37
|
+
createdOn: string;
|
|
38
|
+
}
|
|
9
39
|
//# sourceMappingURL=customer-segment-template.d.ts.map
|
package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-segment-template.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,0BAA0B,CACzC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IAEpC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B"}
|
|
1
|
+
{"version":3,"file":"customer-segment-template.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,0BAA0B,CACzC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IAEpC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,MAAM,mCAAmC,GAAG,kBAAkB,CAAC;AACrE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,mCAAmC,EAAE,CAAC;QAC3D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;KAC7B,CAAC;IACF;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { I18n, I18nTranslate } from '../../api';
|
|
2
2
|
export type { StandardApi, Intents } from './api/standard/standard';
|
|
3
3
|
export type { Navigation } from './api/block/block';
|
|
4
|
-
export type { CustomerSegmentTemplateApi } from './api/customer-segment-template/customer-segment-template';
|
|
4
|
+
export type { CustomerSegmentTemplateApi, CustomerSegmentTemplate, } from './api/customer-segment-template/customer-segment-template';
|
|
5
5
|
export type { ActionExtensionApi } from './api/action/action';
|
|
6
6
|
export type { BlockExtensionApi } from './api/block/block';
|
|
7
7
|
export type { PrintActionExtensionApi } from './api/print-action/print-action';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACnD,YAAY,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAClD,YAAY,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACnD,YAAY,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAClD,YAAY,EACV,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,2DAA2D,CAAC;AACnE,YAAY,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAC,uBAAuB,EAAC,MAAM,iCAAiC,CAAC;AAC7E,YAAY,EAAC,8BAA8B,EAAC,MAAM,2DAA2D,CAAC;AAC9G,YAAY,EAAC,qCAAqC,EAAC,MAAM,mEAAmE,CAAC;AAC7H,YAAY,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AACrF,YAAY,EAAC,qBAAqB,EAAC,MAAM,0CAA0C,CAAC;AACpF,YAAY,EAAC,mCAAmC,EAAC,MAAM,oCAAoC,CAAC;AAC5F,YAAY,EAAC,2BAA2B,EAAC,MAAM,6DAA6D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Table/Table.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AASpE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Table.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Table/Table.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AASpE,QAAA,MAAM,IAAI,EAAE,kCAoEX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountConnection.ab.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/patterns/accountConnection.ab.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA4CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexTable.ab.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/patterns/indexTable.ab.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"indexTable.ab.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/patterns/indexTable.ab.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA4CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RunnableExtension, RenderExtension } from '../../extension';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ActionExtensionApi, BlockExtensionApi, PrintActionExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi, ValidationSettingsApi, PurchaseOptionsCardConfigurationApi, DiscountFunctionSettingsApi, CustomerSegmentTemplateApi, CustomerSegmentTemplate } from './api';
|
|
3
3
|
import { ShouldRenderApi, ShouldRenderOutput } from './api/should-render/should-render';
|
|
4
4
|
import type { StandardComponents } from './components/StandardComponents';
|
|
5
5
|
import type { BlockExtensionComponents } from './components/BlockExtensionComponents';
|
|
@@ -7,9 +7,11 @@ import type { ActionExtensionComponents } from './components/ActionExtensionComp
|
|
|
7
7
|
import type { PrintActionExtensionComponents } from './components/PrintActionExtensionComponents';
|
|
8
8
|
export interface ExtensionTargets {
|
|
9
9
|
/**
|
|
10
|
-
* Renders a
|
|
10
|
+
* Renders a [`CustomerSegmentTemplate`](/docs/api/admin-extensions/components/customersegmenttemplate) in the [customer segment editor](https://help.shopify.com/en/manual/customers/customer-segmentation/customer-segments).
|
|
11
11
|
*/
|
|
12
|
-
'admin.customers.segmentation-templates.
|
|
12
|
+
'admin.customers.segmentation-templates.data': RunnableExtension<CustomerSegmentTemplateApi<'admin.customers.segmentation-templates.data'>, {
|
|
13
|
+
templates: CustomerSegmentTemplate[];
|
|
14
|
+
}>;
|
|
13
15
|
/**
|
|
14
16
|
* Renders an admin block in the product details page.
|
|
15
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAExE,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAExE,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,8BAA8B,EAC9B,qCAAqC,EACrC,mBAAmB,EACnB,qBAAqB,EACrB,mCAAmC,EACnC,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,eAAe,EACf,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,wCAAwC,CAAC;AACtF,OAAO,KAAK,EAAC,8BAA8B,EAAC,MAAM,6CAA6C,CAAC;AAEhG,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,6CAA6C,EAAE,iBAAiB,CAC9D,0BAA0B,CAAC,6CAA6C,CAAC,EACzE;QAAC,SAAS,EAAE,uBAAuB,EAAE,CAAA;KAAC,CACvC,CAAC;IAGF;;;;OAIG;IACH,oCAAoC,EAAE,eAAe,CACnD,iBAAiB,CAAC,oCAAoC,CAAC,EACvD,wBAAwB,CACzB,CAAC;IAEF;;;;OAIG;IACH,kCAAkC,EAAE,eAAe,CACjD,iBAAiB,CAAC,kCAAkC,CAAC,EACrD,wBAAwB,CACzB,CAAC;IAEF;;;;OAIG;IACH,iDAAiD,EAAE,eAAe,CAChE,2BAA2B,CAAC,iDAAiD,CAAC,EAC9E,wBAAwB,CACzB,CAAC;IAEF;;;;OAIG;IACH,qCAAqC,EAAE,eAAe,CACpD,iBAAiB,CAAC,qCAAqC,CAAC,EACxD,w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8C,CAAC,EAC/D,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,6CAA6C,EAAE,iBAAiB,CAC9D,eAAe,CAAC,6CAA6C,CAAC,EAC9D,kBAAkB,CACnB,CAAC;IAEF;;;OAGG;IACH,iDAAiD,EAAE,iBAAiB,CAClE,eAAe,CAAC,iDAAiD,CAAC,EAClE,kBAAkB,CACnB,CAAC;IAIF;;OAEG;IACH,oDAAoD,EAAE,iBAAiB,CACrE,eAAe,CAAC,oDAAoD,CAAC,EACrE,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,kDAAkD,EAAE,iBAAiB,CACnE,eAAe,CAAC,kDAAkD,CAAC,EACnE,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,qDAAqD,EAAE,iBAAiB,CACtE,eAAe,CAAC,qDAAqD,CAAC,EACtE,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,wDAAwD,EAAE,iBAAiB,CACzE,eAAe,CAAC,wDAAwD,CAAC,EACzE,kBAAkB,CACnB,CAAC;IAIF;;OAEG;IACH,gDAAgD,EAAE,iBAAiB,CACjE,eAAe,CAAC,gDAAgD,CAAC,EACjE,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,kDAAkD,EAAE,iBAAiB,CACnE,eAAe,CAAC,kDAAkD,CAAC,EACnE,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,wDAAwD,EAAE,iBAAiB,CACzE,eAAe,CAAC,wDAAwD,CAAC,EACzE,kBAAkB,CACnB,CAAC;IAEF;;OAEG;IACH,0DAA0D,EAAE,iBAAiB,CAC3E,eAAe,CAAC,0DAA0D,CAAC,EAC3E,kBAAkB,CACnB,CAAC;CACH;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,gBAAgB,CAAC"}
|
|
@@ -213,7 +213,7 @@ export interface DiscountCodeAddChange {
|
|
|
213
213
|
*/
|
|
214
214
|
type: 'addDiscountCode';
|
|
215
215
|
/**
|
|
216
|
-
* The code for the discount (case-
|
|
216
|
+
* The code for the discount (case-insensitive)
|
|
217
217
|
*/
|
|
218
218
|
code: string;
|
|
219
219
|
}
|
|
@@ -223,7 +223,7 @@ export interface DiscountCodeRemoveChange {
|
|
|
223
223
|
*/
|
|
224
224
|
type: 'removeDiscountCode';
|
|
225
225
|
/**
|
|
226
|
-
* The code for the discount (case-
|
|
226
|
+
* The code for the discount (case-insensitive)
|
|
227
227
|
*/
|
|
228
228
|
code: string;
|
|
229
229
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Form/Form.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAI1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Form.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Form/Form.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAI1E,QAAA,MAAM,IAAI,EAAE,6BAwCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -41,6 +41,9 @@ export interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
|
41
41
|
onSubmit?: () => void;
|
|
42
42
|
}
|
|
43
43
|
export interface FormElementEvents {
|
|
44
|
+
/**
|
|
45
|
+
* A callback that is run when the form is submitted.
|
|
46
|
+
*/
|
|
44
47
|
submit?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
45
48
|
}
|
|
46
49
|
export interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Avatar/Avatar.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Avatar.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Avatar/Avatar.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAgEX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -12,13 +12,13 @@ export type CallbackEventListener<
|
|
|
12
12
|
export interface AvatarElementProps extends IdProps {
|
|
13
13
|
/**
|
|
14
14
|
* Initials to display in the avatar.
|
|
15
|
+
*
|
|
16
|
+
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly.
|
|
15
17
|
*/
|
|
16
18
|
initials?: string;
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
21
|
* The URL or path to the image.
|
|
20
|
-
*
|
|
21
|
-
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly.
|
|
22
22
|
*/
|
|
23
23
|
src?: string;
|
|
24
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ButtonGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAqCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -9,11 +9,11 @@ export interface ButtonGroupProps extends IdProps {
|
|
|
9
9
|
|
|
10
10
|
export interface ButtonGroupElementSlots {
|
|
11
11
|
/**
|
|
12
|
-
* The primary action
|
|
12
|
+
* The primary action for the group. Accepts a single [Button](/docs/api/checkout-ui-extensions/polaris-web-components/actions/button) element.
|
|
13
13
|
*/
|
|
14
14
|
'primary-action'?: HTMLElement;
|
|
15
15
|
/**
|
|
16
|
-
* The secondary actions
|
|
16
|
+
* The secondary actions for the group. Accepts multiple [Button](/docs/api/checkout-ui-extensions/polaris-web-components/actions/button) elements.
|
|
17
17
|
*/
|
|
18
18
|
'secondary-actions'?: HTMLElement;
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerAccountAction.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"CustomerAccountAction.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAuDX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -2,18 +2,18 @@ import {BaseElementPropsWithChildren, IdProps} from './shared';
|
|
|
2
2
|
|
|
3
3
|
export interface CustomerAccountActionProps extends IdProps {
|
|
4
4
|
/**
|
|
5
|
-
* Sets the heading of the
|
|
5
|
+
* Sets the heading of the action container.
|
|
6
6
|
*/
|
|
7
7
|
heading: string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export interface CustomerAccountActionElementSlots {
|
|
11
11
|
/**
|
|
12
|
-
* The primary action
|
|
12
|
+
* The primary action for the page. Accepts a single Button element with restricted properties (see below).
|
|
13
13
|
*/
|
|
14
14
|
'primary-action'?: HTMLElement;
|
|
15
15
|
/**
|
|
16
|
-
* The secondary actions
|
|
16
|
+
* The secondary actions for the page. Accepts multiple Button elements with restricted properties (see below).
|
|
17
17
|
*/
|
|
18
18
|
'secondary-actions'?: HTMLElement;
|
|
19
19
|
}
|
|
@@ -41,6 +41,9 @@ export interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
|
41
41
|
onSubmit?: () => void;
|
|
42
42
|
}
|
|
43
43
|
export interface FormElementEvents {
|
|
44
|
+
/**
|
|
45
|
+
* A callback that is run when the form is submitted.
|
|
46
|
+
*/
|
|
44
47
|
submit?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
45
48
|
}
|
|
46
49
|
export interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ImageGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BA0CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Menu/Menu.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Menu.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Menu/Menu.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAsEX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Page.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Page/Page.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Page.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Page/Page.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BA6EX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -14,15 +14,15 @@ export interface PageProps extends IdProps {
|
|
|
14
14
|
|
|
15
15
|
export interface PageElementSlots {
|
|
16
16
|
/**
|
|
17
|
-
* The breadcrumb actions
|
|
17
|
+
* The breadcrumb actions for the page. Accepts a single Button element with restricted properties (see below).
|
|
18
18
|
*/
|
|
19
19
|
'breadcrumb-actions'?: HTMLElement;
|
|
20
20
|
/**
|
|
21
|
-
* The primary action
|
|
21
|
+
* The primary action for the page. Accepts a single Button element with restricted properties (see below).
|
|
22
22
|
*/
|
|
23
23
|
'primary-action'?: HTMLElement;
|
|
24
24
|
/**
|
|
25
|
-
* The secondary actions
|
|
25
|
+
* The secondary actions for the page. Accepts multiple Button elements with restricted properties (see below).
|
|
26
26
|
*/
|
|
27
27
|
'secondary-actions'?: HTMLElement;
|
|
28
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Section/Section.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAI1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Section.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Section/Section.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAI1E,QAAA,MAAM,IAAI,EAAE,6BA6CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -11,7 +11,7 @@ export interface NavigationHistoryEntry {
|
|
|
11
11
|
/** Returns the key of the history entry. This is a unique, UA-generated value that represents the history entry's slot in the entries list rather than the entry itself. */
|
|
12
12
|
key: string;
|
|
13
13
|
/**
|
|
14
|
-
* Returns the URL of this history entry.
|
|
14
|
+
* Returns the lowercased URL of this history entry.
|
|
15
15
|
*/
|
|
16
16
|
url: string | null;
|
|
17
17
|
/**
|
|
@@ -32,7 +32,7 @@ export interface Navigation {
|
|
|
32
32
|
/**
|
|
33
33
|
* The navigate() method navigates to a specific URL, updating any provided state in the history entries list.
|
|
34
34
|
*/
|
|
35
|
-
navigate:
|
|
35
|
+
navigate: (url: string, options?: NavigationNavigateOptions) => void;
|
|
36
36
|
/**
|
|
37
37
|
* The currentEntry read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
|
|
38
38
|
*/
|
|
@@ -44,11 +44,4 @@ export interface Navigation {
|
|
|
44
44
|
addEventListener(type: 'currententrychange', cb: (event: NavigationCurrentEntryChangeEvent) => void): void;
|
|
45
45
|
removeEventListener(type: 'currententrychange', cb: (event: NavigationCurrentEntryChangeEvent) => void): void;
|
|
46
46
|
}
|
|
47
|
-
export interface NavigateFunction {
|
|
48
|
-
/**
|
|
49
|
-
* Navigates to a specific URL, updating any provided state in the history entries list.
|
|
50
|
-
* @param url The destination URL to navigate to.
|
|
51
|
-
*/
|
|
52
|
-
(url: string, options?: NavigationNavigateOptions): void;
|
|
53
|
-
}
|
|
54
47
|
//# sourceMappingURL=navigation-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,4KAA4K;IAC5K,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"navigation-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,4KAA4K;IAC5K,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACrE;;OAEG;IACH,YAAY,EAAE,sBAAsB,CAAC;IACrC;;OAEG;IACH,IAAI,IAAI,IAAI,CAAC;IACb,gBAAgB,CACd,IAAI,EAAE,oBAAoB,EAC1B,EAAE,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,IAAI,GACrD,IAAI,CAAC;IACR,mBAAmB,CACjB,IAAI,EAAE,oBAAoB,EAC1B,EAAE,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,IAAI,GACrD,IAAI,CAAC;CACT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/Badge/Badge.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Badge.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/Badge/Badge.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAwDX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"DatePicker.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAkCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateSpinner.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"DateSpinner.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAkCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -14,7 +14,6 @@ import type {
|
|
|
14
14
|
Ref,
|
|
15
15
|
ComponentChild,
|
|
16
16
|
} from './components-shared.d.ts';
|
|
17
|
-
import {ReactNode} from 'react';
|
|
18
17
|
|
|
19
18
|
export type ComponentChildren = any;
|
|
20
19
|
/**
|
|
@@ -48,7 +47,7 @@ export interface ModalJSXProps extends Pick<ModalProps, 'id' | 'heading'> {
|
|
|
48
47
|
secondaryActions?: ComponentChild;
|
|
49
48
|
onHide?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
50
49
|
onShow?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
51
|
-
children?:
|
|
50
|
+
children?: ComponentChildren;
|
|
52
51
|
}
|
|
53
52
|
declare global {
|
|
54
53
|
interface HTMLElementTagNameMap {
|