@shopify/ui-extensions 2025.10.0-rc.3 → 2025.10.0-rc.30
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/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/shared.js +22 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +18 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +18 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +23 -0
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Box.d.ts +35 -26
- package/build/ts/surfaces/admin/components/Button.d.ts +34 -20
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +117 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +120 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +39 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Clickable.d.ts +49 -39
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +151 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +238 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +160 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +42 -33
- package/build/ts/surfaces/admin/components/GridItem.d.ts +36 -26
- package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Image.d.ts +34 -42
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
- package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +133 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -18
- package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Page.d.ts +38 -6
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Popover.d.ts +379 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
- package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +20 -16
- package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Stack.d.ts +53 -43
- 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/components/Switch.d.ts +16 -12
- package/build/ts/surfaces/admin/components/Table.d.ts +27 -16
- package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +24 -6
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
- package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +141 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +953 -597
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +49 -3032
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +18 -2
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +21 -3
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/Details.d.ts +72 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/checkout/components/components.d.ts +1683 -244
- package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +8 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +54 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -31
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +40 -21
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/build/ts/surfaces/customer-account/components/Details.d.ts +72 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- 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 +19 -6
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/customer-account/components/components.d.ts +1683 -244
- package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +56 -640
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +41 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +35 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +60 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +92 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +91 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +116 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +98 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
- package/build/ts/surfaces/point-of-sale/components/shared.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +178 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +55 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -2
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +11 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +1 -1
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/docs/shared/components/QueryContainer.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +25 -0
- package/src/surfaces/admin/api/standard/standard.ts +7 -1
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +133 -0
- package/src/surfaces/admin/components/Badge.d.ts +21 -7
- package/src/surfaces/admin/components/Banner.d.ts +21 -16
- package/src/surfaces/admin/components/Box.d.ts +35 -26
- package/src/surfaces/admin/components/Button.d.ts +34 -20
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +117 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +120 -0
- package/src/surfaces/admin/components/Choice.d.ts +39 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/src/surfaces/admin/components/Clickable.d.ts +49 -39
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +151 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +238 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/src/surfaces/admin/components/Divider.d.ts +12 -5
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/DropZone.d.ts +160 -0
- package/src/surfaces/admin/components/EmailField.d.ts +15 -15
- package/src/surfaces/admin/components/Form.d.ts +43 -35
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/Grid.d.ts +42 -33
- package/src/surfaces/admin/components/GridItem.d.ts +36 -26
- package/src/surfaces/admin/components/Heading.d.ts +17 -6
- package/src/surfaces/admin/components/Icon.d.ts +17 -6
- package/src/surfaces/admin/components/Image.d.ts +34 -42
- package/src/surfaces/admin/components/Link.d.ts +35 -29
- package/src/surfaces/admin/components/ListItem.d.ts +18 -6
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +133 -0
- package/src/surfaces/admin/components/MoneyField.d.ts +16 -18
- package/src/surfaces/admin/components/NumberField.d.ts +15 -15
- package/src/surfaces/admin/components/Option.d.ts +17 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/src/surfaces/admin/components/Page.d.ts +38 -6
- package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/Popover.d.ts +379 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/src/surfaces/admin/components/SearchField.d.ts +18 -16
- package/src/surfaces/admin/components/Section.d.ts +17 -6
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +20 -16
- package/src/surfaces/admin/components/Spinner.d.ts +12 -2
- package/src/surfaces/admin/components/Stack.d.ts +53 -43
- package/src/surfaces/admin/components/StandardComponents.ts +8 -0
- package/src/surfaces/admin/components/Switch.d.ts +16 -12
- package/src/surfaces/admin/components/Table.d.ts +27 -16
- package/src/surfaces/admin/components/TableBody.d.ts +18 -6
- package/src/surfaces/admin/components/TableCell.d.ts +34 -7
- package/src/surfaces/admin/components/TableHeader.d.ts +24 -6
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/src/surfaces/admin/components/TableRow.d.ts +21 -7
- package/src/surfaces/admin/components/Text.d.ts +19 -6
- package/src/surfaces/admin/components/TextArea.d.ts +15 -15
- package/src/surfaces/admin/components/TextField.d.ts +17 -15
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +141 -0
- package/src/surfaces/admin/components/URLField.d.ts +15 -15
- package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +154 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +166 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +79 -0
- package/src/surfaces/admin/components/shared.d.ts +953 -597
- package/src/surfaces/admin/components.d.ts +2962 -1505
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -2
- package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +1 -1
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +1 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +1 -1
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -2
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +1 -2
- package/src/surfaces/checkout/api/standard/standard.ts +23 -3
- package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/src/surfaces/checkout/components/Badge.d.ts +56 -0
- package/src/surfaces/checkout/components/Banner.d.ts +55 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +44 -13
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/src/surfaces/checkout/components/Details.d.ts +72 -0
- package/src/surfaces/checkout/components/Divider.d.ts +31 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +22 -9
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +44 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +78 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +90 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/src/surfaces/checkout/components/Popover.d.ts +68 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack.d.ts +20 -9
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/src/surfaces/checkout/components/TextField.d.ts +88 -21
- package/src/surfaces/checkout/components/Time.d.ts +21 -9
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/src/surfaces/checkout/components/components.d.ts +1683 -244
- package/src/surfaces/checkout/extension-targets.ts +8 -0
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +2 -1
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
- package/src/surfaces/checkout/shared.ts +65 -28
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +57 -29
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +44 -19
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +10 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
- package/src/surfaces/customer-account/components/Page.d.ts +19 -6
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
- package/src/surfaces/customer-account/components/shared.ts +29 -5
- package/src/surfaces/customer-account/components.d.ts +124 -31
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +2 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +45 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +133 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +60 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +67 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +14 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +92 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Screen.d.ts +91 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +116 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +98 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
- package/src/surfaces/point-of-sale/components/shared.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +5327 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +188 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/money.ts +4 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +58 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.10.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
|
|
@@ -8,7 +8,105 @@
|
|
|
8
8
|
* TODO: Update `any` type here after this is resolved
|
|
9
9
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
type ComponentChildren = any;
|
|
12
|
+
export type StringChildren = string;
|
|
13
|
+
export interface GlobalProps {
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier for the element.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ActionProps {
|
|
20
|
+
/**
|
|
21
|
+
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
22
|
+
*/
|
|
23
|
+
heading?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ActionSlots {
|
|
26
|
+
/**
|
|
27
|
+
* The primary action to perform, provided as a button or link type element.
|
|
28
|
+
*/
|
|
29
|
+
primaryAction?: ComponentChildren;
|
|
30
|
+
/**
|
|
31
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
32
|
+
*/
|
|
33
|
+
secondaryActions?: ComponentChildren;
|
|
34
|
+
}
|
|
35
|
+
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
36
|
+
/**
|
|
37
|
+
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
38
|
+
* When true, the action could be in an inert state, which prevents user interaction.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface AdminBlockProps$1 extends GlobalProps {
|
|
45
|
+
/**
|
|
46
|
+
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
47
|
+
* extension will be used.
|
|
48
|
+
*/
|
|
49
|
+
heading?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The summary to display when the app block is collapsed.
|
|
52
|
+
* Summary longer than 30 characters will be truncated.
|
|
53
|
+
*/
|
|
54
|
+
collapsedSummary?: string;
|
|
55
|
+
}
|
|
56
|
+
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
57
|
+
/**
|
|
58
|
+
* Sets the src URL of the preview and the document to print.
|
|
59
|
+
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
60
|
+
* HTML, PDFs and images are supported.
|
|
61
|
+
*/
|
|
62
|
+
src?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface BaseOverlayProps {
|
|
65
|
+
/**
|
|
66
|
+
* Callback fired after the overlay is shown.
|
|
67
|
+
*/
|
|
68
|
+
onShow?: (event: Event) => void;
|
|
69
|
+
/**
|
|
70
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
71
|
+
*/
|
|
72
|
+
onAfterShow?: (event: Event) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Callback fired after the overlay is hidden.
|
|
75
|
+
*/
|
|
76
|
+
onHide?: (event: Event) => void;
|
|
77
|
+
/**
|
|
78
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
79
|
+
*/
|
|
80
|
+
onAfterHide?: (event: Event) => void;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Shared interfaces for web component methods.
|
|
84
|
+
*
|
|
85
|
+
* Methods are required (not optional) because:
|
|
86
|
+
* - Components implementing this interface must provide all methods
|
|
87
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
88
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
89
|
+
*/
|
|
90
|
+
export interface BaseOverlayMethods {
|
|
91
|
+
/**
|
|
92
|
+
* Method to show an overlay.
|
|
93
|
+
*
|
|
94
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
95
|
+
*/
|
|
96
|
+
showOverlay: () => void;
|
|
97
|
+
/**
|
|
98
|
+
* Method to hide an overlay.
|
|
99
|
+
*
|
|
100
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
101
|
+
*/
|
|
102
|
+
hideOverlay: () => void;
|
|
103
|
+
/**
|
|
104
|
+
* Method to toggle the visiblity of an overlay.
|
|
105
|
+
*
|
|
106
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
107
|
+
*/
|
|
108
|
+
toggleOverlay: () => void;
|
|
109
|
+
}
|
|
12
110
|
export type SizeKeyword =
|
|
13
111
|
| 'small-500'
|
|
14
112
|
| 'small-400'
|
|
@@ -24,11 +122,40 @@ export type SizeKeyword =
|
|
|
24
122
|
| 'large-400'
|
|
25
123
|
| 'large-500';
|
|
26
124
|
export type ColorKeyword = 'subdued' | 'base' | 'strong';
|
|
27
|
-
|
|
125
|
+
interface AvatarProps$1 extends GlobalProps {
|
|
28
126
|
/**
|
|
29
|
-
*
|
|
127
|
+
* Initials to display in the avatar.
|
|
30
128
|
*/
|
|
31
|
-
|
|
129
|
+
initials?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The URL or path to the image.
|
|
132
|
+
*
|
|
133
|
+
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly
|
|
134
|
+
*/
|
|
135
|
+
src?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Invoked when load of provided image completes successfully.
|
|
138
|
+
*
|
|
139
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
140
|
+
*/
|
|
141
|
+
onLoad?: (event: Event) => void;
|
|
142
|
+
/**
|
|
143
|
+
* Invoked on load error of provided image.
|
|
144
|
+
*
|
|
145
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
146
|
+
*/
|
|
147
|
+
onError?: (event: Event) => void;
|
|
148
|
+
/**
|
|
149
|
+
* Size of the avatar.
|
|
150
|
+
*
|
|
151
|
+
* @default 'base'
|
|
152
|
+
*/
|
|
153
|
+
size?: SizeKeyword;
|
|
154
|
+
/**
|
|
155
|
+
* An alternative text that describes the avatar for the reader
|
|
156
|
+
* to understand what it is about or identify the user the avatar belongs to.
|
|
157
|
+
*/
|
|
158
|
+
alt?: string;
|
|
32
159
|
}
|
|
33
160
|
export type BackgroundColorKeyword = 'transparent' | ColorKeyword;
|
|
34
161
|
export interface BackgroundProps {
|
|
@@ -68,8 +195,8 @@ declare const privateIconArray: readonly [
|
|
|
68
195
|
'alert-location',
|
|
69
196
|
'alert-octagon-filled',
|
|
70
197
|
'alert-octagon',
|
|
71
|
-
'alert-triangle',
|
|
72
198
|
'alert-triangle-filled',
|
|
199
|
+
'alert-triangle',
|
|
73
200
|
'app-extension',
|
|
74
201
|
'apps',
|
|
75
202
|
'archive',
|
|
@@ -112,6 +239,8 @@ declare const privateIconArray: readonly [
|
|
|
112
239
|
'camera-flip',
|
|
113
240
|
'camera',
|
|
114
241
|
'caret-down',
|
|
242
|
+
'caret-left',
|
|
243
|
+
'caret-right',
|
|
115
244
|
'caret-up',
|
|
116
245
|
'cart-abandoned',
|
|
117
246
|
'cart-discount',
|
|
@@ -242,6 +371,7 @@ declare const privateIconArray: readonly [
|
|
|
242
371
|
'favicon',
|
|
243
372
|
'file-list',
|
|
244
373
|
'file',
|
|
374
|
+
'filter-active',
|
|
245
375
|
'filter',
|
|
246
376
|
'flag',
|
|
247
377
|
'flip-horizontal',
|
|
@@ -292,8 +422,9 @@ declare const privateIconArray: readonly [
|
|
|
292
422
|
'incentive',
|
|
293
423
|
'incoming',
|
|
294
424
|
'incomplete',
|
|
295
|
-
'info',
|
|
296
425
|
'info-filled',
|
|
426
|
+
'info',
|
|
427
|
+
'inheritance',
|
|
297
428
|
'inventory-updated',
|
|
298
429
|
'inventory',
|
|
299
430
|
'iq',
|
|
@@ -417,14 +548,15 @@ declare const privateIconArray: readonly [
|
|
|
417
548
|
'phone-in',
|
|
418
549
|
'phone-out',
|
|
419
550
|
'phone',
|
|
420
|
-
'pin',
|
|
421
551
|
'pin-remove',
|
|
552
|
+
'pin',
|
|
422
553
|
'plan',
|
|
423
554
|
'play-circle',
|
|
424
555
|
'play',
|
|
425
|
-
'plus-circle',
|
|
426
556
|
'plus-circle-down',
|
|
557
|
+
'plus-circle-filled',
|
|
427
558
|
'plus-circle-up',
|
|
559
|
+
'plus-circle',
|
|
428
560
|
'plus',
|
|
429
561
|
'point-of-sale',
|
|
430
562
|
'price-list',
|
|
@@ -467,6 +599,7 @@ declare const privateIconArray: readonly [
|
|
|
467
599
|
'sandbox',
|
|
468
600
|
'save',
|
|
469
601
|
'savings',
|
|
602
|
+
'search-add',
|
|
470
603
|
'search-list',
|
|
471
604
|
'search-recent',
|
|
472
605
|
'search-resource',
|
|
@@ -592,6 +725,13 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
592
725
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
593
726
|
*/
|
|
594
727
|
export type AnyString = string & {};
|
|
728
|
+
/**
|
|
729
|
+
* This is purely to give the ability
|
|
730
|
+
* to have a space or not in the string literal types.
|
|
731
|
+
*
|
|
732
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
733
|
+
*/
|
|
734
|
+
export type optionalSpace = '' | ' ';
|
|
595
735
|
interface BadgeProps$1 extends GlobalProps {
|
|
596
736
|
/**
|
|
597
737
|
* The content of the Badge.
|
|
@@ -626,50 +766,7 @@ interface BadgeProps$1 extends GlobalProps {
|
|
|
626
766
|
*/
|
|
627
767
|
size?: SizeKeyword;
|
|
628
768
|
}
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
632
|
-
*/
|
|
633
|
-
heading?: string;
|
|
634
|
-
}
|
|
635
|
-
export interface ActionSlots {
|
|
636
|
-
/**
|
|
637
|
-
* The primary action to perform, provided as a button or link type element.
|
|
638
|
-
*/
|
|
639
|
-
primaryAction?: ComponentChildren;
|
|
640
|
-
/**
|
|
641
|
-
* The secondary actions to perform, provided as button or link type elements.
|
|
642
|
-
*/
|
|
643
|
-
secondaryActions?: ComponentChildren;
|
|
644
|
-
}
|
|
645
|
-
/**
|
|
646
|
-
* Used for Container Query-related props.
|
|
647
|
-
*/
|
|
648
|
-
export interface ContainerProps {
|
|
649
|
-
/**
|
|
650
|
-
* The name of the container used for Container Queries.
|
|
651
|
-
*
|
|
652
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
653
|
-
*
|
|
654
|
-
* @default ''
|
|
655
|
-
*
|
|
656
|
-
* @implementation All components that implement this interface must put a containerName of `s-default` on the root element of that component, regardless of the value of `containerType`.
|
|
657
|
-
* The developer-supplied containerName here would be in addition to the above-mentioned containerName.
|
|
658
|
-
*/
|
|
659
|
-
containerName?: string;
|
|
660
|
-
/**
|
|
661
|
-
* The type of container used for Container Queries.
|
|
662
|
-
*
|
|
663
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-type
|
|
664
|
-
*
|
|
665
|
-
* - `normal`: The element is not a query container for any container size queries.
|
|
666
|
-
* - `inline-size`: Establishes a query container for dimensional queries on the inline axis of the container. Applies layout, style, and inline-size containment to the element.
|
|
667
|
-
*
|
|
668
|
-
* @default 'normal'
|
|
669
|
-
*/
|
|
670
|
-
containerType?: 'normal' | 'inline-size';
|
|
671
|
-
}
|
|
672
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
769
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
673
770
|
/**
|
|
674
771
|
* The title of the banner.
|
|
675
772
|
*
|
|
@@ -720,7 +817,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
720
817
|
*
|
|
721
818
|
* The `hidden` property will be `false` when this event fires.
|
|
722
819
|
*/
|
|
723
|
-
onDismiss?: () => void;
|
|
820
|
+
onDismiss?: (event: Event) => void;
|
|
724
821
|
/**
|
|
725
822
|
* Event handler when the banner has fully hidden.
|
|
726
823
|
*
|
|
@@ -730,7 +827,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
730
827
|
* this event must fire after the banner has fully hidden.
|
|
731
828
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
732
829
|
*/
|
|
733
|
-
onAfterHide?: () => void;
|
|
830
|
+
onAfterHide?: (event: Event) => void;
|
|
734
831
|
/**
|
|
735
832
|
* Determines whether the banner is hidden.
|
|
736
833
|
*
|
|
@@ -1152,15 +1249,13 @@ export interface OverflowProps {
|
|
|
1152
1249
|
overflow?: 'hidden' | 'visible';
|
|
1153
1250
|
}
|
|
1154
1251
|
export interface BaseBoxProps
|
|
1155
|
-
extends
|
|
1156
|
-
AccessibilityVisibilityProps,
|
|
1252
|
+
extends AccessibilityVisibilityProps,
|
|
1157
1253
|
BackgroundProps,
|
|
1158
1254
|
DisplayProps,
|
|
1159
1255
|
SizingProps,
|
|
1160
1256
|
PaddingProps,
|
|
1161
1257
|
BorderProps,
|
|
1162
|
-
OverflowProps
|
|
1163
|
-
ContainerProps {
|
|
1258
|
+
OverflowProps {
|
|
1164
1259
|
/**
|
|
1165
1260
|
* The content of the Box.
|
|
1166
1261
|
*/
|
|
@@ -1176,16 +1271,69 @@ export interface BaseBoxProps
|
|
|
1176
1271
|
export interface BaseBoxPropsWithRole
|
|
1177
1272
|
extends BaseBoxProps,
|
|
1178
1273
|
AccessibilityRoleProps {}
|
|
1179
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {}
|
|
1274
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {}
|
|
1180
1275
|
export interface FocusEventProps {
|
|
1181
1276
|
/**
|
|
1182
1277
|
* Callback when the element loses focus.
|
|
1278
|
+
*
|
|
1279
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
1183
1280
|
*/
|
|
1184
|
-
onBlur?: () => void;
|
|
1281
|
+
onBlur?: (event: FocusEvent) => void;
|
|
1185
1282
|
/**
|
|
1186
1283
|
* Callback when the element receives focus.
|
|
1284
|
+
*
|
|
1285
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
1286
|
+
*/
|
|
1287
|
+
onFocus?: (event: FocusEvent) => void;
|
|
1288
|
+
}
|
|
1289
|
+
export interface ToggleEventProps {
|
|
1290
|
+
/**
|
|
1291
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
1292
|
+
*
|
|
1293
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1294
|
+
* `newState` property will be set to `open`.
|
|
1295
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
1296
|
+
* `newState` will be `closed`.
|
|
1297
|
+
*
|
|
1298
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1299
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1300
|
+
*/
|
|
1301
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Callback straight after the element state changes.
|
|
1304
|
+
*
|
|
1305
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1306
|
+
* `newState` property will be set to `open`.
|
|
1307
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
1308
|
+
* `newState` will be `closed`.
|
|
1309
|
+
*
|
|
1310
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
1311
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1312
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1313
|
+
*/
|
|
1314
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
1315
|
+
}
|
|
1316
|
+
export type ToggleState = 'open' | 'closed';
|
|
1317
|
+
interface ToggleEvent$1 extends Event {
|
|
1318
|
+
readonly newState: ToggleState;
|
|
1319
|
+
readonly oldState: ToggleState;
|
|
1320
|
+
}
|
|
1321
|
+
export interface ExtendableEvent extends Event {
|
|
1322
|
+
/**
|
|
1323
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
1324
|
+
*
|
|
1325
|
+
* This may be called many times, which adds promises to the event.
|
|
1326
|
+
*
|
|
1327
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
1328
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
1187
1329
|
*/
|
|
1188
|
-
|
|
1330
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
1331
|
+
}
|
|
1332
|
+
interface AggregateError$1<T extends Error> extends Error {
|
|
1333
|
+
errors: T[];
|
|
1334
|
+
}
|
|
1335
|
+
export interface ArgregatedErrorEvent<T extends Error> extends ErrorEvent {
|
|
1336
|
+
error: AggregateError$1<T>;
|
|
1189
1337
|
}
|
|
1190
1338
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1191
1339
|
/**
|
|
@@ -1203,8 +1351,10 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1203
1351
|
/**
|
|
1204
1352
|
* Callback when the button is activated.
|
|
1205
1353
|
* This will be called before the action indicated by `type`.
|
|
1354
|
+
*
|
|
1355
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1206
1356
|
*/
|
|
1207
|
-
onClick?: () => void;
|
|
1357
|
+
onClick?: (event: Event) => void;
|
|
1208
1358
|
/**
|
|
1209
1359
|
* Disables the button, meaning it cannot be clicked or receive focus.
|
|
1210
1360
|
*
|
|
@@ -1251,8 +1401,10 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1251
1401
|
/**
|
|
1252
1402
|
* Callback when the link is activated.
|
|
1253
1403
|
* This will be called before navigating to the location specified by `href`.
|
|
1404
|
+
*
|
|
1405
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1254
1406
|
*/
|
|
1255
|
-
onClick?: () => void;
|
|
1407
|
+
onClick?: (event: Event) => void;
|
|
1256
1408
|
}
|
|
1257
1409
|
export interface InteractionProps {
|
|
1258
1410
|
/**
|
|
@@ -1279,6 +1431,10 @@ export interface InteractionProps {
|
|
|
1279
1431
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1280
1432
|
*/
|
|
1281
1433
|
command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
|
|
1434
|
+
/**
|
|
1435
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1436
|
+
*/
|
|
1437
|
+
interestFor?: string;
|
|
1282
1438
|
}
|
|
1283
1439
|
export interface BaseClickableProps
|
|
1284
1440
|
extends ButtonBehaviorProps,
|
|
@@ -1330,6 +1486,23 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1330
1486
|
*/
|
|
1331
1487
|
lang?: string;
|
|
1332
1488
|
}
|
|
1489
|
+
interface ButtonGroupProps$1 extends GlobalProps, ActionSlots {
|
|
1490
|
+
/**
|
|
1491
|
+
* The content of the ButtonGroup.
|
|
1492
|
+
*/
|
|
1493
|
+
children?: ComponentChildren;
|
|
1494
|
+
/**
|
|
1495
|
+
* The gap between elements.
|
|
1496
|
+
* @default 'base'
|
|
1497
|
+
*/
|
|
1498
|
+
gap?: 'base' | 'none';
|
|
1499
|
+
/**
|
|
1500
|
+
* Label for the button group that describes the content of the group for screen reader users to understand what's included.
|
|
1501
|
+
*
|
|
1502
|
+
* @implementation Used as a hidden heading or an aria-label on the wrapping element.
|
|
1503
|
+
*/
|
|
1504
|
+
accessibilityLabel?: string;
|
|
1505
|
+
}
|
|
1333
1506
|
export interface BaseInputProps {
|
|
1334
1507
|
/**
|
|
1335
1508
|
* An identifier for the field that is unique within the nearest containing form.
|
|
@@ -1345,12 +1518,16 @@ export interface BaseInputProps {
|
|
|
1345
1518
|
export interface InputProps extends BaseInputProps {
|
|
1346
1519
|
/**
|
|
1347
1520
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1521
|
+
*
|
|
1522
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1348
1523
|
*/
|
|
1349
|
-
onChange?: (
|
|
1524
|
+
onChange?: (event: Event) => void;
|
|
1350
1525
|
/**
|
|
1351
1526
|
* Callback when the user makes any changes in the field.
|
|
1527
|
+
*
|
|
1528
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1352
1529
|
*/
|
|
1353
|
-
onInput?: (
|
|
1530
|
+
onInput?: (event: Event) => void;
|
|
1354
1531
|
/**
|
|
1355
1532
|
* The current value for the field. If omitted, the field will be empty.
|
|
1356
1533
|
*/
|
|
@@ -1364,13 +1541,17 @@ export interface InputProps extends BaseInputProps {
|
|
|
1364
1541
|
}
|
|
1365
1542
|
export interface MultipleInputProps extends BaseInputProps {
|
|
1366
1543
|
/**
|
|
1367
|
-
* Callback when the user has selected
|
|
1544
|
+
* Callback when the user has selected option(s).
|
|
1545
|
+
*
|
|
1546
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1368
1547
|
*/
|
|
1369
|
-
onChange?: (
|
|
1548
|
+
onChange?: (event: Event) => void;
|
|
1370
1549
|
/**
|
|
1371
|
-
* Callback when the user has selected
|
|
1550
|
+
* Callback when the user has selected option(s).
|
|
1551
|
+
*
|
|
1552
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1372
1553
|
*/
|
|
1373
|
-
onInput?: (
|
|
1554
|
+
onInput?: (event: Event) => void;
|
|
1374
1555
|
/**
|
|
1375
1556
|
* An array of the `value`s of the selected options.
|
|
1376
1557
|
*
|
|
@@ -1378,6 +1559,35 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1378
1559
|
*/
|
|
1379
1560
|
values?: string[];
|
|
1380
1561
|
}
|
|
1562
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1563
|
+
/**
|
|
1564
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1565
|
+
*/
|
|
1566
|
+
onChange?: (event: Event) => void;
|
|
1567
|
+
/**
|
|
1568
|
+
* Callback when the user makes any changes in the file selection.
|
|
1569
|
+
*/
|
|
1570
|
+
onInput?: (event: Event) => void;
|
|
1571
|
+
/**
|
|
1572
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1573
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1574
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1575
|
+
*
|
|
1576
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1577
|
+
*
|
|
1578
|
+
* @default ''
|
|
1579
|
+
*/
|
|
1580
|
+
value?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1583
|
+
*
|
|
1584
|
+
* This property is read-only and cannot be directly modified.
|
|
1585
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1586
|
+
*
|
|
1587
|
+
* @default []
|
|
1588
|
+
*/
|
|
1589
|
+
files?: ReadonlyArray<File>;
|
|
1590
|
+
}
|
|
1381
1591
|
export interface FieldErrorProps {
|
|
1382
1592
|
/**
|
|
1383
1593
|
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
@@ -1586,12 +1796,16 @@ export interface BaseCheckableProps
|
|
|
1586
1796
|
name?: string;
|
|
1587
1797
|
/**
|
|
1588
1798
|
* A callback that is run whenever the control is changed.
|
|
1799
|
+
*
|
|
1800
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1589
1801
|
*/
|
|
1590
|
-
onChange?: (
|
|
1802
|
+
onChange?: (event: Event) => void;
|
|
1591
1803
|
/**
|
|
1592
1804
|
* A callback that is run whenever the control is changed.
|
|
1805
|
+
*
|
|
1806
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1593
1807
|
*/
|
|
1594
|
-
onInput?: (
|
|
1808
|
+
onInput?: (event: Event) => void;
|
|
1595
1809
|
}
|
|
1596
1810
|
interface CheckboxProps$1
|
|
1597
1811
|
extends GlobalProps,
|
|
@@ -1631,11 +1845,42 @@ interface CheckboxProps$1
|
|
|
1631
1845
|
*/
|
|
1632
1846
|
required?: boolean;
|
|
1633
1847
|
}
|
|
1848
|
+
export interface ChipProps$1 {
|
|
1849
|
+
/**
|
|
1850
|
+
* The content of the chip.
|
|
1851
|
+
*/
|
|
1852
|
+
children?: ComponentChildren;
|
|
1853
|
+
/**
|
|
1854
|
+
* The graphic to display inside of the chip.
|
|
1855
|
+
*
|
|
1856
|
+
* @implementation Only `s-icon` is supported.
|
|
1857
|
+
*/
|
|
1858
|
+
graphic?: ComponentChildren;
|
|
1859
|
+
/**
|
|
1860
|
+
* A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
|
|
1861
|
+
*/
|
|
1862
|
+
accessibilityLabel?: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* Modify the color to be more or less intense.
|
|
1865
|
+
*
|
|
1866
|
+
* @default 'base'
|
|
1867
|
+
*/
|
|
1868
|
+
color?: ColorKeyword;
|
|
1869
|
+
}
|
|
1870
|
+
interface ChipProps$2 extends ChipProps$1, GlobalProps {}
|
|
1634
1871
|
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1635
1872
|
/**
|
|
1636
1873
|
* Content to use as the choice label.
|
|
1874
|
+
*
|
|
1875
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1876
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1877
|
+
* element structure is ignored.
|
|
1878
|
+
*
|
|
1879
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1880
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1881
|
+
* is no coercion to a string.
|
|
1637
1882
|
*/
|
|
1638
|
-
|
|
1883
|
+
children?: ComponentChildren | StringChildren;
|
|
1639
1884
|
/**
|
|
1640
1885
|
* Additional text to provide context or guidance for the input.
|
|
1641
1886
|
*
|
|
@@ -1644,13 +1889,23 @@ interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
|
1644
1889
|
*
|
|
1645
1890
|
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1646
1891
|
*/
|
|
1647
|
-
details?:
|
|
1892
|
+
details?: ComponentChildren;
|
|
1648
1893
|
/**
|
|
1649
1894
|
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1650
1895
|
*
|
|
1651
1896
|
* @default false
|
|
1652
1897
|
*/
|
|
1653
1898
|
error?: boolean;
|
|
1899
|
+
/**
|
|
1900
|
+
* Secondary content for a choice.
|
|
1901
|
+
*/
|
|
1902
|
+
secondaryContent?: ComponentChildren;
|
|
1903
|
+
/**
|
|
1904
|
+
* Content to display when the option is selected.
|
|
1905
|
+
*
|
|
1906
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1907
|
+
*/
|
|
1908
|
+
selectedContent?: ComponentChildren;
|
|
1654
1909
|
}
|
|
1655
1910
|
interface ChoiceListProps$1
|
|
1656
1911
|
extends GlobalProps,
|
|
@@ -1677,8 +1932,26 @@ interface ChoiceListProps$1
|
|
|
1677
1932
|
* @default false
|
|
1678
1933
|
*/
|
|
1679
1934
|
disabled?: MultipleInputProps['disabled'];
|
|
1935
|
+
/**
|
|
1936
|
+
* The variant of the choice grid.
|
|
1937
|
+
*
|
|
1938
|
+
* - `auto`: The variant is determined by the context.
|
|
1939
|
+
* - `list`: The choices are displayed in a list.
|
|
1940
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1941
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1942
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1943
|
+
*
|
|
1944
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1945
|
+
* discretion of each surface.
|
|
1946
|
+
*
|
|
1947
|
+
* @default 'auto'
|
|
1948
|
+
*/
|
|
1949
|
+
variant?: 'auto' | 'list' | 'inline' | 'block' | 'grid';
|
|
1680
1950
|
}
|
|
1681
|
-
interface ClickableProps$1
|
|
1951
|
+
interface ClickableProps$1
|
|
1952
|
+
extends GlobalProps,
|
|
1953
|
+
BaseBoxProps,
|
|
1954
|
+
BaseClickableProps {
|
|
1682
1955
|
/**
|
|
1683
1956
|
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1684
1957
|
*
|
|
@@ -1706,158 +1979,95 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
|
1706
1979
|
*/
|
|
1707
1980
|
lang?: string;
|
|
1708
1981
|
}
|
|
1709
|
-
interface
|
|
1982
|
+
interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1710
1983
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1713
|
-
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1714
|
-
*
|
|
1715
|
-
* Defaults to the current month in the user's locale.
|
|
1984
|
+
* Callback when the chip is clicked.
|
|
1716
1985
|
*/
|
|
1717
|
-
|
|
1986
|
+
onClick?: (event: Event) => void;
|
|
1718
1987
|
/**
|
|
1719
|
-
*
|
|
1720
|
-
*
|
|
1721
|
-
* `onViewChange` is called when this value changes.
|
|
1988
|
+
* The URL to link to.
|
|
1722
1989
|
*
|
|
1723
|
-
*
|
|
1990
|
+
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
1724
1991
|
*/
|
|
1725
|
-
|
|
1992
|
+
href?: string;
|
|
1726
1993
|
/**
|
|
1727
|
-
*
|
|
1994
|
+
* Whether the chip is removable.
|
|
1728
1995
|
*
|
|
1729
|
-
* @
|
|
1996
|
+
* @default false
|
|
1730
1997
|
*/
|
|
1731
|
-
|
|
1998
|
+
removable?: boolean;
|
|
1732
1999
|
/**
|
|
1733
|
-
*
|
|
2000
|
+
* Callback when the chip is removed.
|
|
2001
|
+
*/
|
|
2002
|
+
onRemove?: (event: Event) => void;
|
|
2003
|
+
/**
|
|
2004
|
+
* Determines whether the chip is hidden.
|
|
1734
2005
|
*
|
|
1735
|
-
*
|
|
1736
|
-
*
|
|
1737
|
-
*
|
|
2006
|
+
* If this property is being set on each framework render (as in 'controlled' usage),
|
|
2007
|
+
* and the chip is `removable`,
|
|
2008
|
+
* ensure you update app state for this property when the `remove` event fires.
|
|
1738
2009
|
*
|
|
1739
|
-
*
|
|
2010
|
+
* If the chip is not `removable`, it can still be hidden by setting this property.
|
|
2011
|
+
*
|
|
2012
|
+
* @default false
|
|
1740
2013
|
*/
|
|
1741
|
-
|
|
2014
|
+
hidden?: boolean;
|
|
1742
2015
|
/**
|
|
1743
|
-
*
|
|
1744
|
-
*
|
|
1745
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1746
|
-
*
|
|
1747
|
-
* The default `''` allows all dates.
|
|
2016
|
+
* Event handler when the chip has fully hidden.
|
|
1748
2017
|
*
|
|
1749
|
-
*
|
|
1750
|
-
* - Dates in `YYYY-MM` format allow a whole month.
|
|
1751
|
-
* - Dates in `YYYY` format allow a whole year.
|
|
1752
|
-
* - Ranges are expressed as `start--end`.
|
|
1753
|
-
* - Ranges are inclusive.
|
|
1754
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1755
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1756
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1757
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1758
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1759
|
-
* - Whitespace is allowed either side of `--`.
|
|
1760
|
-
*
|
|
1761
|
-
* @default ""
|
|
2018
|
+
* The `hidden` property will be `true` when this event fires.
|
|
1762
2019
|
*
|
|
1763
|
-
* @
|
|
1764
|
-
*
|
|
1765
|
-
* `
|
|
1766
|
-
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2020
|
+
* @implementation If implementations animate the hiding of the chip,
|
|
2021
|
+
* this event must fire after the chip has fully hidden.
|
|
2022
|
+
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
1767
2023
|
*/
|
|
1768
|
-
|
|
2024
|
+
onAfterHide?: (event: Event) => void;
|
|
1769
2025
|
/**
|
|
1770
|
-
*
|
|
1771
|
-
*
|
|
1772
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2026
|
+
* Disables the chip, disallowing any interaction.
|
|
1773
2027
|
*
|
|
1774
|
-
*
|
|
1775
|
-
*
|
|
1776
|
-
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
1777
|
-
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
1778
|
-
* - Dates in `YYYY` format disallow a whole year.
|
|
1779
|
-
* - Ranges are expressed as `start--end`.
|
|
1780
|
-
* - Ranges are inclusive.
|
|
1781
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1782
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1783
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1784
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1785
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1786
|
-
* - Whitespace is allowed either side of `--`.
|
|
1787
|
-
*
|
|
1788
|
-
* @default ""
|
|
1789
|
-
*
|
|
1790
|
-
* @example
|
|
1791
|
-
* `--2024-02` // disallow any date before February 2024
|
|
1792
|
-
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2028
|
+
* @default false
|
|
1793
2029
|
*/
|
|
1794
|
-
|
|
2030
|
+
disabled?: boolean;
|
|
2031
|
+
}
|
|
2032
|
+
interface ColorPickerProps$1 extends GlobalProps, InputProps {
|
|
1795
2033
|
/**
|
|
1796
|
-
*
|
|
1797
|
-
*
|
|
1798
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1799
|
-
*
|
|
1800
|
-
* The default `''` has no effect on the result of `allowDates` and `disallowDates`.
|
|
1801
|
-
*
|
|
1802
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2034
|
+
* Allow user to select an alpha value.
|
|
1803
2035
|
*
|
|
1804
|
-
* @default
|
|
1805
|
-
*
|
|
1806
|
-
* @example
|
|
1807
|
-
* 'saturday, sunday' // allow only weekends within the result of `allowDates` and `disallowDates`.
|
|
2036
|
+
* @default false
|
|
1808
2037
|
*/
|
|
1809
|
-
|
|
2038
|
+
alpha?: boolean;
|
|
1810
2039
|
/**
|
|
1811
|
-
*
|
|
1812
|
-
*
|
|
1813
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1814
|
-
*
|
|
1815
|
-
* The default `''` has no effect on `allowDays`.
|
|
1816
|
-
*
|
|
1817
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1818
|
-
*
|
|
1819
|
-
* @default ""
|
|
2040
|
+
* This callback will emit the value in hex.
|
|
1820
2041
|
*
|
|
1821
|
-
*
|
|
1822
|
-
*
|
|
2042
|
+
* If the `alpha` prop is `true`, `onChange` will emit an 8-value hex (#RRGGBBAA).
|
|
2043
|
+
* If the `alpha` prop is `false`, `onChange` will emit a 6-value hex (#RRGGBB).
|
|
1823
2044
|
*/
|
|
1824
|
-
|
|
2045
|
+
onChange?: InputProps['onChange'];
|
|
1825
2046
|
/**
|
|
1826
|
-
*
|
|
2047
|
+
* This callback will emit the value in hex.
|
|
1827
2048
|
*
|
|
1828
|
-
*
|
|
1829
|
-
*
|
|
1830
|
-
* If the provided value is invalid, no date is selected.
|
|
1831
|
-
*
|
|
1832
|
-
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
1833
|
-
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
1834
|
-
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
1835
|
-
*
|
|
1836
|
-
* @default ""
|
|
2049
|
+
* If the `alpha` prop is `true`, `onInput` will emit an 8-value hex (#RRGGBBAA).
|
|
2050
|
+
* If the `alpha` prop is `false`, `onInput` will emit a 6-value hex (#RRGGBB).
|
|
1837
2051
|
*/
|
|
1838
|
-
|
|
2052
|
+
onInput?: InputProps['onChange'];
|
|
1839
2053
|
/**
|
|
1840
|
-
*
|
|
1841
|
-
*
|
|
1842
|
-
* The default means no date is selected.
|
|
1843
|
-
*
|
|
1844
|
-
* If the provided value is invalid, no date is selected.
|
|
2054
|
+
* The currently selected color.
|
|
1845
2055
|
*
|
|
1846
|
-
*
|
|
1847
|
-
*
|
|
1848
|
-
* -
|
|
1849
|
-
* -
|
|
1850
|
-
* -
|
|
2056
|
+
* Supported formats include:
|
|
2057
|
+
* - HSL @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
|
|
2058
|
+
* - HSLA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
|
|
2059
|
+
* - RGB @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2060
|
+
* - RGBA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2061
|
+
* - Hex (3-value, 4-value, 6-value, 8-value) @see https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color
|
|
1851
2062
|
*
|
|
1852
|
-
*
|
|
2063
|
+
* For RGB and RGBA, both the legacy syntax (comma-separated) and modern syntax (space-separate) are supported.
|
|
2064
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
1853
2065
|
*
|
|
1854
|
-
*
|
|
1855
|
-
* - `onChange` - Invoked when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
1856
|
-
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2066
|
+
* If the value is invalid, the component will select rgb(0, 0, 0).
|
|
1857
2067
|
*
|
|
1858
|
-
*
|
|
2068
|
+
* Note that the `onChange` handler will emit the value in hex.
|
|
1859
2069
|
*/
|
|
1860
|
-
value?:
|
|
2070
|
+
value?: InputProps['value'];
|
|
1861
2071
|
}
|
|
1862
2072
|
export interface AutocompleteProps<
|
|
1863
2073
|
AutocompleteField extends AnyAutocompleteField,
|
|
@@ -2004,6 +2214,168 @@ export type TextAutocompleteField = ExtractStrict<
|
|
|
2004
2214
|
| 'cc-family-name'
|
|
2005
2215
|
| 'cc-type'
|
|
2006
2216
|
>;
|
|
2217
|
+
interface ColorFieldProps$1
|
|
2218
|
+
extends GlobalProps,
|
|
2219
|
+
BaseTextFieldProps,
|
|
2220
|
+
Pick<ColorPickerProps$1, 'alpha' | 'value' | 'defaultValue'> {
|
|
2221
|
+
autocomplete?: Extract<
|
|
2222
|
+
AutocompleteProps<never>['autocomplete'],
|
|
2223
|
+
'on' | 'off'
|
|
2224
|
+
>;
|
|
2225
|
+
}
|
|
2226
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
2227
|
+
/**
|
|
2228
|
+
* Default month to display in `YYYY-MM` format.
|
|
2229
|
+
*
|
|
2230
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
2231
|
+
*
|
|
2232
|
+
* Defaults to the current month in the user's locale.
|
|
2233
|
+
*/
|
|
2234
|
+
defaultView?: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* Displayed month in `YYYY-MM` format.
|
|
2237
|
+
*
|
|
2238
|
+
* `onViewChange` is called when this value changes.
|
|
2239
|
+
*
|
|
2240
|
+
* Defaults to `defaultView`.
|
|
2241
|
+
*/
|
|
2242
|
+
view?: string;
|
|
2243
|
+
/**
|
|
2244
|
+
* Called whenever the month to display changes.
|
|
2245
|
+
*
|
|
2246
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
2247
|
+
*/
|
|
2248
|
+
onViewChange?: (view: string) => void;
|
|
2249
|
+
/**
|
|
2250
|
+
* The type of selection the date picker allows.
|
|
2251
|
+
*
|
|
2252
|
+
* - `single` allows selecting a single date.
|
|
2253
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
2254
|
+
* - `range` allows selecting a single range of dates.
|
|
2255
|
+
*
|
|
2256
|
+
* @default "single"
|
|
2257
|
+
*/
|
|
2258
|
+
type?: 'single' | 'multiple' | 'range';
|
|
2259
|
+
/**
|
|
2260
|
+
* Dates that can be selected.
|
|
2261
|
+
*
|
|
2262
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2263
|
+
*
|
|
2264
|
+
* The default `''` allows all dates.
|
|
2265
|
+
*
|
|
2266
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
2267
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
2268
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
2269
|
+
* - Ranges are expressed as `start--end`.
|
|
2270
|
+
* - Ranges are inclusive.
|
|
2271
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2272
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2273
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2274
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2275
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2276
|
+
* - Whitespace is allowed either side of `--`.
|
|
2277
|
+
*
|
|
2278
|
+
* @default ""
|
|
2279
|
+
*
|
|
2280
|
+
* @example
|
|
2281
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
2282
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
2283
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2284
|
+
*/
|
|
2285
|
+
allow?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
2288
|
+
*
|
|
2289
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2290
|
+
*
|
|
2291
|
+
* The default `''` has no effect on `allow`.
|
|
2292
|
+
*
|
|
2293
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
2294
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
2295
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
2296
|
+
* - Ranges are expressed as `start--end`.
|
|
2297
|
+
* - Ranges are inclusive.
|
|
2298
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2299
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2300
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2301
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2302
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2303
|
+
* - Whitespace is allowed either side of `--`.
|
|
2304
|
+
*
|
|
2305
|
+
* @default ""
|
|
2306
|
+
*
|
|
2307
|
+
* @example
|
|
2308
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2309
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2310
|
+
*/
|
|
2311
|
+
disallow?: string;
|
|
2312
|
+
/**
|
|
2313
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2314
|
+
*
|
|
2315
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2316
|
+
*
|
|
2317
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2318
|
+
*
|
|
2319
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2320
|
+
*
|
|
2321
|
+
* @default ""
|
|
2322
|
+
*
|
|
2323
|
+
* @example
|
|
2324
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2325
|
+
*/
|
|
2326
|
+
allowDays?: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2329
|
+
*
|
|
2330
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2331
|
+
*
|
|
2332
|
+
* The default `''` has no effect on `allowDays`.
|
|
2333
|
+
*
|
|
2334
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2335
|
+
*
|
|
2336
|
+
* @default ""
|
|
2337
|
+
*
|
|
2338
|
+
* @example
|
|
2339
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2340
|
+
*/
|
|
2341
|
+
disallowDays?: string;
|
|
2342
|
+
/**
|
|
2343
|
+
* Default selected value.
|
|
2344
|
+
*
|
|
2345
|
+
* The default means no date is selected.
|
|
2346
|
+
*
|
|
2347
|
+
* If the provided value is invalid, no date is selected.
|
|
2348
|
+
*
|
|
2349
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2350
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2351
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2352
|
+
*
|
|
2353
|
+
* @default ""
|
|
2354
|
+
*/
|
|
2355
|
+
defaultValue?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
* Current selected value.
|
|
2358
|
+
*
|
|
2359
|
+
* The default means no date is selected.
|
|
2360
|
+
*
|
|
2361
|
+
* If the provided value is invalid, no date is selected.
|
|
2362
|
+
*
|
|
2363
|
+
* Otherwise:
|
|
2364
|
+
*
|
|
2365
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2366
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2367
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2368
|
+
*
|
|
2369
|
+
* Events:
|
|
2370
|
+
*
|
|
2371
|
+
* - `onInput` - Invoked when any date is selected. Will fire before `onChange`.
|
|
2372
|
+
* - `onChange` - Invoked when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
2373
|
+
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2374
|
+
*
|
|
2375
|
+
* @default ""
|
|
2376
|
+
*/
|
|
2377
|
+
value?: string;
|
|
2378
|
+
}
|
|
2007
2379
|
interface DividerProps$1 extends GlobalProps {
|
|
2008
2380
|
/**
|
|
2009
2381
|
* Specify the direction of the divider.
|
|
@@ -2024,6 +2396,37 @@ interface DividerProps$1 extends GlobalProps {
|
|
|
2024
2396
|
*/
|
|
2025
2397
|
color?: ColorKeyword;
|
|
2026
2398
|
}
|
|
2399
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2400
|
+
/**
|
|
2401
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
2402
|
+
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
2403
|
+
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
2404
|
+
* - A valid MIME type string with no extensions
|
|
2405
|
+
*
|
|
2406
|
+
* If omitted, all file types are accepted.
|
|
2407
|
+
*
|
|
2408
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2409
|
+
* @default ''
|
|
2410
|
+
*/
|
|
2411
|
+
accept?: string;
|
|
2412
|
+
/**
|
|
2413
|
+
* A label that describes the purpose or contents of the item. When set,
|
|
2414
|
+
* it will be announced to buyers using assistive technologies and will
|
|
2415
|
+
* provide them with more context.
|
|
2416
|
+
*/
|
|
2417
|
+
accessibilityLabel?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* Whether multiple files can be selected or dropped at once.
|
|
2420
|
+
*
|
|
2421
|
+
* @default false
|
|
2422
|
+
*/
|
|
2423
|
+
multiple?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* Callback fired when rejected files are dropped.
|
|
2426
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
2427
|
+
*/
|
|
2428
|
+
onDropRejected?: (event: Event) => void;
|
|
2429
|
+
}
|
|
2027
2430
|
interface EmailFieldProps$1
|
|
2028
2431
|
extends GlobalProps,
|
|
2029
2432
|
BaseTextFieldProps,
|
|
@@ -2033,6 +2436,68 @@ export type EmailAutocompleteField = ExtractStrict<
|
|
|
2033
2436
|
AnyAutocompleteField,
|
|
2034
2437
|
'email' | `${AutocompleteAddressGroup} email`
|
|
2035
2438
|
>;
|
|
2439
|
+
interface FormProps$1 extends GlobalProps {
|
|
2440
|
+
/**
|
|
2441
|
+
* The content of the form.
|
|
2442
|
+
*/
|
|
2443
|
+
children?: ComponentChildren;
|
|
2444
|
+
/**
|
|
2445
|
+
* Whether the form is able to be submitted.
|
|
2446
|
+
*
|
|
2447
|
+
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
2448
|
+
*
|
|
2449
|
+
* @default false
|
|
2450
|
+
*
|
|
2451
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2452
|
+
* @private
|
|
2453
|
+
*/
|
|
2454
|
+
disabled?: boolean;
|
|
2455
|
+
/**
|
|
2456
|
+
* A callback that is run when the form is submitted.
|
|
2457
|
+
*
|
|
2458
|
+
* Use `event.waitUntil` to signal how long it takes to save the data,
|
|
2459
|
+
* and whether it was successful or not.
|
|
2460
|
+
*/
|
|
2461
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2462
|
+
/**
|
|
2463
|
+
* A callback that is run when the form is reset.
|
|
2464
|
+
*/
|
|
2465
|
+
onReset?: (event: Event) => void;
|
|
2466
|
+
}
|
|
2467
|
+
interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
|
|
2468
|
+
/**
|
|
2469
|
+
* An optional callback function that will be run by the admin when the user
|
|
2470
|
+
* commits their changes in the admin-rendered part of the function settings
|
|
2471
|
+
* experience. If `event.waitUntil` is called with a promise, the admin will wait for the
|
|
2472
|
+
* promise to resolve before committing any changes to Shopify’s servers. If
|
|
2473
|
+
* the promise rejects, the admin will abort the changes and display an error,
|
|
2474
|
+
* using the `message` property of the error you reject with.
|
|
2475
|
+
*/
|
|
2476
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2477
|
+
/**
|
|
2478
|
+
* An optional callback function that will be run by the admin when
|
|
2479
|
+
* committing the changes to Shopify’s servers fails. The error event you receive includes
|
|
2480
|
+
* an `error` property that is an `AggregateError` object. This object includes
|
|
2481
|
+
* an array of errors that were caused by data your extension provided.
|
|
2482
|
+
* Network errors and user errors that are out of your control will not be reported here.
|
|
2483
|
+
*
|
|
2484
|
+
* In the `onError` callback, you should update your extension’s UI to
|
|
2485
|
+
* highlight the fields that caused the errors, and display the error messages
|
|
2486
|
+
* to the user.
|
|
2487
|
+
*/
|
|
2488
|
+
onError?: (event: ArgregatedErrorEvent<FunctionSettingsError>) => void;
|
|
2489
|
+
}
|
|
2490
|
+
export interface FunctionSettingsError extends Error {
|
|
2491
|
+
/**
|
|
2492
|
+
* A unique identifier describing the “class” of error. These will match
|
|
2493
|
+
* the GraphQL error codes as closely as possible. For example the enums
|
|
2494
|
+
* returned by the `metafieldsSet` mutation
|
|
2495
|
+
*
|
|
2496
|
+
* @see https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldsSetUserErrorCode
|
|
2497
|
+
*/
|
|
2498
|
+
code: string;
|
|
2499
|
+
name: 'FunctionSettingsError';
|
|
2500
|
+
}
|
|
2036
2501
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
2037
2502
|
export interface GapProps {
|
|
2038
2503
|
/**
|
|
@@ -2114,7 +2579,7 @@ export type AlignContentKeyword =
|
|
|
2114
2579
|
| ContentDistribution
|
|
2115
2580
|
| OverflowPosition
|
|
2116
2581
|
| ContentPosition;
|
|
2117
|
-
interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
2582
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2118
2583
|
/**
|
|
2119
2584
|
Define columns and specify their size.
|
|
2120
2585
|
|
|
@@ -2184,7 +2649,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2184
2649
|
| `${AlignContentKeyword} ${JustifyContentKeyword}`
|
|
2185
2650
|
| AlignContentKeyword;
|
|
2186
2651
|
}
|
|
2187
|
-
interface GridItemProps$1 extends BaseBoxPropsWithRole {
|
|
2652
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2188
2653
|
/**
|
|
2189
2654
|
* Number of columns the item will span across
|
|
2190
2655
|
*
|
|
@@ -2260,8 +2725,7 @@ export interface BlockTypographyProps {
|
|
|
2260
2725
|
interface HeadingProps$1
|
|
2261
2726
|
extends GlobalProps,
|
|
2262
2727
|
AccessibilityVisibilityProps,
|
|
2263
|
-
BlockTypographyProps
|
|
2264
|
-
ContainerProps {
|
|
2728
|
+
BlockTypographyProps {
|
|
2265
2729
|
/**
|
|
2266
2730
|
* The content of the Heading.
|
|
2267
2731
|
*/
|
|
@@ -2287,7 +2751,9 @@ interface HeadingProps$1
|
|
|
2287
2751
|
| 'heading'
|
|
2288
2752
|
| ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2289
2753
|
}
|
|
2290
|
-
interface IconProps$1
|
|
2754
|
+
interface IconProps$1
|
|
2755
|
+
extends GlobalProps,
|
|
2756
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2291
2757
|
/**
|
|
2292
2758
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2293
2759
|
*
|
|
@@ -2353,13 +2819,6 @@ export interface BaseImageProps {
|
|
|
2353
2819
|
*/
|
|
2354
2820
|
srcSet?: string;
|
|
2355
2821
|
}
|
|
2356
|
-
/**
|
|
2357
|
-
* This is purely to give the ability
|
|
2358
|
-
* to have a space or not in the string literal types.
|
|
2359
|
-
*
|
|
2360
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
2361
|
-
*/
|
|
2362
|
-
export type optionalSpace = '' | ' ';
|
|
2363
2822
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2364
2823
|
/**
|
|
2365
2824
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2427,13 +2886,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2427
2886
|
*
|
|
2428
2887
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2429
2888
|
*/
|
|
2430
|
-
onLoad?: () => void;
|
|
2889
|
+
onLoad?: (event: Event) => void;
|
|
2431
2890
|
/**
|
|
2432
2891
|
* Invoked on load error.
|
|
2433
2892
|
*
|
|
2434
2893
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2435
2894
|
*/
|
|
2436
|
-
onError?: () => void;
|
|
2895
|
+
onError?: (event: Event) => void;
|
|
2437
2896
|
}
|
|
2438
2897
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
2439
2898
|
/**
|
|
@@ -2466,189 +2925,26 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2466
2925
|
*/
|
|
2467
2926
|
children?: ComponentChildren;
|
|
2468
2927
|
}
|
|
2928
|
+
interface MenuProps$1 extends GlobalProps {
|
|
2929
|
+
/**
|
|
2930
|
+
* A label that describes the purpose or contents of the element. When set,
|
|
2931
|
+
* it will be announced using assistive technologies and provide additional context.
|
|
2932
|
+
*/
|
|
2933
|
+
accessibilityLabel?: string;
|
|
2934
|
+
/**
|
|
2935
|
+
* The children define the actions to render inside the Menu. Only Button components are allowed as children of a Menu, and these Buttons can perform actions (using `onClick`) or link to other parts of the application (using `to`/ `href`). Any other component placed here will be ignored.
|
|
2936
|
+
*/
|
|
2937
|
+
children?: ComponentChildren;
|
|
2938
|
+
}
|
|
2469
2939
|
interface MoneyFieldProps$1
|
|
2470
2940
|
extends GlobalProps,
|
|
2471
2941
|
BaseTextFieldProps,
|
|
2472
2942
|
NumberConstraintsProps,
|
|
2473
|
-
AutocompleteProps<MoneyAutocompleteField> {
|
|
2474
|
-
/**
|
|
2475
|
-
* Specifies the currency code that will be displayed.
|
|
2476
|
-
*
|
|
2477
|
-
* @default ''
|
|
2478
|
-
*/
|
|
2479
|
-
currencyCode?: CurrencyCode | AnyString;
|
|
2480
|
-
}
|
|
2943
|
+
AutocompleteProps<MoneyAutocompleteField> {}
|
|
2481
2944
|
export type MoneyAutocompleteField = ExtractStrict<
|
|
2482
2945
|
AnyAutocompleteField,
|
|
2483
2946
|
'transaction-amount'
|
|
2484
2947
|
>;
|
|
2485
|
-
/**
|
|
2486
|
-
* Supported monetary currencies from [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
|
|
2487
|
-
*
|
|
2488
|
-
* @see https://www.iso.org/iso-4217-currency-codes.html
|
|
2489
|
-
*/
|
|
2490
|
-
export type CurrencyCode =
|
|
2491
|
-
| 'USD'
|
|
2492
|
-
| 'EUR'
|
|
2493
|
-
| 'GBP'
|
|
2494
|
-
| 'CAD'
|
|
2495
|
-
| 'AFN'
|
|
2496
|
-
| 'ALL'
|
|
2497
|
-
| 'DZD'
|
|
2498
|
-
| 'AOA'
|
|
2499
|
-
| 'ARS'
|
|
2500
|
-
| 'AMD'
|
|
2501
|
-
| 'AWG'
|
|
2502
|
-
| 'AUD'
|
|
2503
|
-
| 'BBD'
|
|
2504
|
-
| 'AZN'
|
|
2505
|
-
| 'BDT'
|
|
2506
|
-
| 'BSD'
|
|
2507
|
-
| 'BHD'
|
|
2508
|
-
| 'BIF'
|
|
2509
|
-
| 'BZD'
|
|
2510
|
-
| 'BMD'
|
|
2511
|
-
| 'BTN'
|
|
2512
|
-
| 'BAM'
|
|
2513
|
-
| 'BRL'
|
|
2514
|
-
| 'BOB'
|
|
2515
|
-
| 'BWP'
|
|
2516
|
-
| 'BND'
|
|
2517
|
-
| 'BGN'
|
|
2518
|
-
| 'MMK'
|
|
2519
|
-
| 'KHR'
|
|
2520
|
-
| 'CVE'
|
|
2521
|
-
| 'KYD'
|
|
2522
|
-
| 'XAF'
|
|
2523
|
-
| 'CLP'
|
|
2524
|
-
| 'CNY'
|
|
2525
|
-
| 'COP'
|
|
2526
|
-
| 'KMF'
|
|
2527
|
-
| 'CDF'
|
|
2528
|
-
| 'CRC'
|
|
2529
|
-
| 'HRK'
|
|
2530
|
-
| 'CZK'
|
|
2531
|
-
| 'DKK'
|
|
2532
|
-
| 'DOP'
|
|
2533
|
-
| 'XCD'
|
|
2534
|
-
| 'EGP'
|
|
2535
|
-
| 'ETB'
|
|
2536
|
-
| 'XPF'
|
|
2537
|
-
| 'FJD'
|
|
2538
|
-
| 'GMD'
|
|
2539
|
-
| 'GHS'
|
|
2540
|
-
| 'GTQ'
|
|
2541
|
-
| 'GYD'
|
|
2542
|
-
| 'GEL'
|
|
2543
|
-
| 'HTG'
|
|
2544
|
-
| 'HNL'
|
|
2545
|
-
| 'HKD'
|
|
2546
|
-
| 'HUF'
|
|
2547
|
-
| 'ISK'
|
|
2548
|
-
| 'INR'
|
|
2549
|
-
| 'IDR'
|
|
2550
|
-
| 'ILS'
|
|
2551
|
-
| 'IQD'
|
|
2552
|
-
| 'JMD'
|
|
2553
|
-
| 'JPY'
|
|
2554
|
-
| 'JEP'
|
|
2555
|
-
| 'JOD'
|
|
2556
|
-
| 'KZT'
|
|
2557
|
-
| 'KES'
|
|
2558
|
-
| 'KWD'
|
|
2559
|
-
| 'KGS'
|
|
2560
|
-
| 'LAK'
|
|
2561
|
-
| 'LVL'
|
|
2562
|
-
| 'LBP'
|
|
2563
|
-
| 'LSL'
|
|
2564
|
-
| 'LRD'
|
|
2565
|
-
| 'LTL'
|
|
2566
|
-
| 'MGA'
|
|
2567
|
-
| 'MKD'
|
|
2568
|
-
| 'MOP'
|
|
2569
|
-
| 'MWK'
|
|
2570
|
-
| 'MVR'
|
|
2571
|
-
| 'MXN'
|
|
2572
|
-
| 'MYR'
|
|
2573
|
-
| 'MUR'
|
|
2574
|
-
| 'MDL'
|
|
2575
|
-
| 'MAD'
|
|
2576
|
-
| 'MNT'
|
|
2577
|
-
| 'MZN'
|
|
2578
|
-
| 'NAD'
|
|
2579
|
-
| 'NPR'
|
|
2580
|
-
| 'ANG'
|
|
2581
|
-
| 'NZD'
|
|
2582
|
-
| 'NIO'
|
|
2583
|
-
| 'NGN'
|
|
2584
|
-
| 'NOK'
|
|
2585
|
-
| 'OMR'
|
|
2586
|
-
| 'PAB'
|
|
2587
|
-
| 'PKR'
|
|
2588
|
-
| 'PGK'
|
|
2589
|
-
| 'PYG'
|
|
2590
|
-
| 'PEN'
|
|
2591
|
-
| 'PHP'
|
|
2592
|
-
| 'PLN'
|
|
2593
|
-
| 'QAR'
|
|
2594
|
-
| 'RON'
|
|
2595
|
-
| 'RUB'
|
|
2596
|
-
| 'RWF'
|
|
2597
|
-
| 'WST'
|
|
2598
|
-
| 'SAR'
|
|
2599
|
-
| 'RSD'
|
|
2600
|
-
| 'SCR'
|
|
2601
|
-
| 'SGD'
|
|
2602
|
-
| 'SDG'
|
|
2603
|
-
| 'SYP'
|
|
2604
|
-
| 'ZAR'
|
|
2605
|
-
| 'KRW'
|
|
2606
|
-
| 'SSP'
|
|
2607
|
-
| 'SBD'
|
|
2608
|
-
| 'LKR'
|
|
2609
|
-
| 'SRD'
|
|
2610
|
-
| 'SZL'
|
|
2611
|
-
| 'SEK'
|
|
2612
|
-
| 'CHF'
|
|
2613
|
-
| 'TWD'
|
|
2614
|
-
| 'THB'
|
|
2615
|
-
| 'TZS'
|
|
2616
|
-
| 'TTD'
|
|
2617
|
-
| 'TND'
|
|
2618
|
-
| 'TRY'
|
|
2619
|
-
| 'TMT'
|
|
2620
|
-
| 'UGX'
|
|
2621
|
-
| 'UAH'
|
|
2622
|
-
| 'AED'
|
|
2623
|
-
| 'UYU'
|
|
2624
|
-
| 'UZS'
|
|
2625
|
-
| 'VUV'
|
|
2626
|
-
| 'VND'
|
|
2627
|
-
| 'XOF'
|
|
2628
|
-
| 'YER'
|
|
2629
|
-
| 'ZMW'
|
|
2630
|
-
| 'BYN'
|
|
2631
|
-
| 'BYR'
|
|
2632
|
-
| 'DJF'
|
|
2633
|
-
| 'ERN'
|
|
2634
|
-
| 'FKP'
|
|
2635
|
-
| 'GIP'
|
|
2636
|
-
| 'GNF'
|
|
2637
|
-
| 'IRR'
|
|
2638
|
-
| 'KID'
|
|
2639
|
-
| 'LYD'
|
|
2640
|
-
| 'MRU'
|
|
2641
|
-
| 'SLL'
|
|
2642
|
-
| 'SHP'
|
|
2643
|
-
| 'SOS'
|
|
2644
|
-
| 'STD'
|
|
2645
|
-
| 'STN'
|
|
2646
|
-
| 'TJS'
|
|
2647
|
-
| 'TOP'
|
|
2648
|
-
| 'VED'
|
|
2649
|
-
| 'VEF'
|
|
2650
|
-
| 'VES'
|
|
2651
|
-
| 'XXX';
|
|
2652
2948
|
interface NumberFieldProps$1
|
|
2653
2949
|
extends GlobalProps,
|
|
2654
2950
|
BaseTextFieldProps,
|
|
@@ -2692,7 +2988,7 @@ interface OptionGroupProps$1 extends GlobalProps {
|
|
|
2692
2988
|
children?: ComponentChildren;
|
|
2693
2989
|
}
|
|
2694
2990
|
interface OrderedListProps$1 extends GlobalProps {}
|
|
2695
|
-
interface PageProps$1 extends GlobalProps
|
|
2991
|
+
interface PageProps$1 extends GlobalProps {
|
|
2696
2992
|
/**
|
|
2697
2993
|
* The content of the Page.
|
|
2698
2994
|
*/
|
|
@@ -2705,6 +3001,10 @@ interface PageProps$1 extends GlobalProps, ContainerProps {
|
|
|
2705
3001
|
* The text to be used as subtitle.
|
|
2706
3002
|
*/
|
|
2707
3003
|
subheading?: string;
|
|
3004
|
+
/**
|
|
3005
|
+
* Additional contextual information about the page.
|
|
3006
|
+
*/
|
|
3007
|
+
accessory?: ComponentChildren;
|
|
2708
3008
|
/**
|
|
2709
3009
|
* The primary action to perform, provided as a button or link type element.
|
|
2710
3010
|
* When a `Button` is added to the `primaryAction` it's variant is set to `primary`
|
|
@@ -2737,8 +3037,7 @@ interface ParagraphProps$1
|
|
|
2737
3037
|
extends GlobalProps,
|
|
2738
3038
|
BaseTypographyProps,
|
|
2739
3039
|
BlockTypographyProps,
|
|
2740
|
-
AccessibilityVisibilityProps
|
|
2741
|
-
ContainerProps {
|
|
3040
|
+
AccessibilityVisibilityProps {
|
|
2742
3041
|
/**
|
|
2743
3042
|
* The content of the Text.
|
|
2744
3043
|
*/
|
|
@@ -2779,7 +3078,38 @@ export type PasswordAutocompleteField = ExtractStrict<
|
|
|
2779
3078
|
AnyAutocompleteField,
|
|
2780
3079
|
'new-password' | 'current-password'
|
|
2781
3080
|
>;
|
|
2782
|
-
interface
|
|
3081
|
+
interface PopoverProps$1
|
|
3082
|
+
extends GlobalProps,
|
|
3083
|
+
BaseOverlayProps,
|
|
3084
|
+
BaseOverlayMethods,
|
|
3085
|
+
ToggleEventProps,
|
|
3086
|
+
SizingProps {
|
|
3087
|
+
/**
|
|
3088
|
+
* The content of the popover.
|
|
3089
|
+
*/
|
|
3090
|
+
children?: ComponentChildren;
|
|
3091
|
+
}
|
|
3092
|
+
interface QueryContainerProps$1 extends GlobalProps {
|
|
3093
|
+
/**
|
|
3094
|
+
* The content of the container.
|
|
3095
|
+
*/
|
|
3096
|
+
children?: ComponentChildren;
|
|
3097
|
+
/**
|
|
3098
|
+
* The name of the container, which can be used in your container queries to target this container specifically.
|
|
3099
|
+
*
|
|
3100
|
+
* We place the container name of `s-default` on every container. Because of this, it is not required to add a `containerName` identifier in your queries. For example, a `@container (inline-size <= 300px) none, auto` query is equivalent to `@container s-default (inline-size <= 300px) none, auto`.
|
|
3101
|
+
*
|
|
3102
|
+
* Any value set in `containerName` will be set alongside alongside `s-default`. For example, `containerName="my-container-name"` will result in a value of `s-default my-container-name` set on the `container-name` CSS property of the rendered HTML.
|
|
3103
|
+
*
|
|
3104
|
+
* @default ''
|
|
3105
|
+
*
|
|
3106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
3107
|
+
*
|
|
3108
|
+
* @implementation You must always have a CSS `container-name` of `s-default` for this component.
|
|
3109
|
+
*/
|
|
3110
|
+
containerName?: string;
|
|
3111
|
+
}
|
|
3112
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
2783
3113
|
/**
|
|
2784
3114
|
* The content of the Section.
|
|
2785
3115
|
*/
|
|
@@ -2838,7 +3168,7 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2838
3168
|
*/
|
|
2839
3169
|
accessibilityLabel?: string;
|
|
2840
3170
|
}
|
|
2841
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3171
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2842
3172
|
/**
|
|
2843
3173
|
* The content of the Stack.
|
|
2844
3174
|
*/
|
|
@@ -2889,11 +3219,11 @@ export interface PaginationProps {
|
|
|
2889
3219
|
/**
|
|
2890
3220
|
* Called when the previous page button is clicked.
|
|
2891
3221
|
*/
|
|
2892
|
-
onPreviousPage?: () => void;
|
|
3222
|
+
onPreviousPage?: (event: Event) => void;
|
|
2893
3223
|
/**
|
|
2894
3224
|
* Called when the next page button is clicked.
|
|
2895
3225
|
*/
|
|
2896
|
-
onNextPage?: () => void;
|
|
3226
|
+
onNextPage?: (event: Event) => void;
|
|
2897
3227
|
/**
|
|
2898
3228
|
* Whether there's an additional page of data.
|
|
2899
3229
|
*
|
|
@@ -2914,7 +3244,7 @@ export interface PaginationProps {
|
|
|
2914
3244
|
*/
|
|
2915
3245
|
loading?: boolean;
|
|
2916
3246
|
}
|
|
2917
|
-
interface TableProps$1 extends GlobalProps, PaginationProps
|
|
3247
|
+
interface TableProps$1 extends GlobalProps, PaginationProps {
|
|
2918
3248
|
/**
|
|
2919
3249
|
* The content of the Table.
|
|
2920
3250
|
*/
|
|
@@ -2938,11 +3268,11 @@ interface TableBodyProps$1 extends GlobalProps {
|
|
|
2938
3268
|
/**
|
|
2939
3269
|
* The body of the table. May not have any semantic meaning in the Table's `list` variant.
|
|
2940
3270
|
*/
|
|
2941
|
-
children
|
|
3271
|
+
children?: ComponentChildren;
|
|
2942
3272
|
}
|
|
2943
3273
|
interface TableCellProps$1 extends GlobalProps {
|
|
2944
3274
|
/**
|
|
2945
|
-
* The content of the table
|
|
3275
|
+
* The content of the table cell.
|
|
2946
3276
|
*/
|
|
2947
3277
|
children?: ComponentChildren;
|
|
2948
3278
|
}
|
|
@@ -2969,6 +3299,16 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2969
3299
|
* @default 'labeled'
|
|
2970
3300
|
*/
|
|
2971
3301
|
listSlot?: ListSlotType;
|
|
3302
|
+
/**
|
|
3303
|
+
* The format of the column. Will automatically apply styling and alignment to cell content based on the value.
|
|
3304
|
+
*
|
|
3305
|
+
* - `base`: The base format for columns.
|
|
3306
|
+
* - `currency`: Formats the column as currency.
|
|
3307
|
+
* - `numeric`: Formats the column as a number.
|
|
3308
|
+
*
|
|
3309
|
+
* @default 'base'
|
|
3310
|
+
*/
|
|
3311
|
+
format?: 'base' | 'currency' | 'numeric';
|
|
2972
3312
|
}
|
|
2973
3313
|
interface TableHeaderRowProps$1 extends GlobalProps {
|
|
2974
3314
|
/**
|
|
@@ -2981,12 +3321,24 @@ interface TableRowProps$1 extends GlobalProps {
|
|
|
2981
3321
|
* The content of a TableRow, which should be `TableCell` components.
|
|
2982
3322
|
*/
|
|
2983
3323
|
children?: ComponentChildren;
|
|
3324
|
+
/**
|
|
3325
|
+
* The ID of an interactive element (e.g. `s-link`) in the row that will be the target of the click when the row is clicked.
|
|
3326
|
+
* This is the primary action for the row; it should not be used for secondary actions.
|
|
3327
|
+
*
|
|
3328
|
+
* This is a click-only affordance, and does not introduce any keyboard or screen reader affordances.
|
|
3329
|
+
* Which is why the target element must be in the table; so that keyboard and screen reader users can interact with it normally.
|
|
3330
|
+
*
|
|
3331
|
+
* @implementation no focus or keyboard affordances are introduced by this property. No aria attributes need to be added to the table row.
|
|
3332
|
+
* @implementation the row and/or delegate should have some affordance that indicates it is clickable. This may be a background color, a border, a hover effect, etc.
|
|
3333
|
+
*/
|
|
3334
|
+
clickDelegate?: string;
|
|
2984
3335
|
}
|
|
2985
3336
|
interface TextProps$1
|
|
2986
3337
|
extends GlobalProps,
|
|
2987
3338
|
AccessibilityVisibilityProps,
|
|
2988
3339
|
BaseTypographyProps,
|
|
2989
|
-
DisplayProps
|
|
3340
|
+
DisplayProps,
|
|
3341
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2990
3342
|
/**
|
|
2991
3343
|
* The content of the Text.
|
|
2992
3344
|
*/
|
|
@@ -3094,22 +3446,207 @@ interface TextAreaProps$1
|
|
|
3094
3446
|
*/
|
|
3095
3447
|
rows?: number;
|
|
3096
3448
|
}
|
|
3097
|
-
interface TextFieldProps$1
|
|
3098
|
-
extends GlobalProps,
|
|
3099
|
-
BaseTextFieldProps,
|
|
3100
|
-
MinMaxLengthProps,
|
|
3101
|
-
AutocompleteProps<TextAutocompleteField>,
|
|
3102
|
-
FieldDecorationProps {}
|
|
3103
|
-
interface
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3449
|
+
interface TextFieldProps$1
|
|
3450
|
+
extends GlobalProps,
|
|
3451
|
+
BaseTextFieldProps,
|
|
3452
|
+
MinMaxLengthProps,
|
|
3453
|
+
AutocompleteProps<TextAutocompleteField>,
|
|
3454
|
+
FieldDecorationProps {}
|
|
3455
|
+
interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
3456
|
+
/**
|
|
3457
|
+
* Invoked when load of provided image completes successfully.
|
|
3458
|
+
*
|
|
3459
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3460
|
+
*/
|
|
3461
|
+
onLoad?: (event: Event) => void;
|
|
3462
|
+
/**
|
|
3463
|
+
* Invoked on load error of provided image.
|
|
3464
|
+
*
|
|
3465
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3466
|
+
*/
|
|
3467
|
+
onError?: (event: Event) => void;
|
|
3468
|
+
/**
|
|
3469
|
+
* Adjusts the size the product thumbnail image.
|
|
3470
|
+
*
|
|
3471
|
+
* @default 'base'
|
|
3472
|
+
*/
|
|
3473
|
+
size?: SizeKeyword;
|
|
3474
|
+
}
|
|
3475
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3476
|
+
/**
|
|
3477
|
+
* The content of the Tooltip.
|
|
3478
|
+
*/
|
|
3479
|
+
children?: ComponentChildren;
|
|
3480
|
+
}
|
|
3481
|
+
interface UnorderedListProps$1 extends GlobalProps {}
|
|
3482
|
+
interface URLFieldProps$1
|
|
3483
|
+
extends GlobalProps,
|
|
3484
|
+
BaseTextFieldProps,
|
|
3485
|
+
MinMaxLengthProps,
|
|
3486
|
+
AutocompleteProps<URLAutocompleteField> {}
|
|
3487
|
+
export type URLAutocompleteField = ExtractStrict<
|
|
3488
|
+
AnyAutocompleteField,
|
|
3489
|
+
'url' | 'photo' | 'impp' | `${AutocompleteAddressGroup} impp`
|
|
3490
|
+
>;
|
|
3491
|
+
//
|
|
3492
|
+
// Preact Virtual DOM
|
|
3493
|
+
// -----------------------------------
|
|
3494
|
+
export interface VNode<P = {}> {
|
|
3495
|
+
type: ComponentType<P> | string;
|
|
3496
|
+
props: P & {
|
|
3497
|
+
children: ComponentChildren$1;
|
|
3498
|
+
};
|
|
3499
|
+
key: Key;
|
|
3500
|
+
/**
|
|
3501
|
+
* ref is not guaranteed by React.ReactElement, for compatibility reasons
|
|
3502
|
+
* with popular react libs we define it as optional too
|
|
3503
|
+
*/
|
|
3504
|
+
ref?: Ref<any> | null;
|
|
3505
|
+
/**
|
|
3506
|
+
* The time this `vnode` started rendering. Will only be set when
|
|
3507
|
+
* the devtools are attached.
|
|
3508
|
+
* Default value: `0`
|
|
3509
|
+
*/
|
|
3510
|
+
startTime?: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* The time that the rendering of this `vnode` was completed. Will only be
|
|
3513
|
+
* set when the devtools are attached.
|
|
3514
|
+
* Default value: `-1`
|
|
3515
|
+
*/
|
|
3516
|
+
endTime?: number;
|
|
3517
|
+
}
|
|
3518
|
+
//
|
|
3519
|
+
// Preact Component interface
|
|
3520
|
+
// -----------------------------------
|
|
3521
|
+
export type Key = string | number | any;
|
|
3522
|
+
export interface RefObject<T> {
|
|
3523
|
+
current: T | null;
|
|
3524
|
+
}
|
|
3525
|
+
export type RefCallback<T> = (instance: T | null) => void;
|
|
3526
|
+
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3527
|
+
export type ComponentChild =
|
|
3528
|
+
| VNode<any>
|
|
3529
|
+
| object
|
|
3530
|
+
| string
|
|
3531
|
+
| number
|
|
3532
|
+
| bigint
|
|
3533
|
+
| boolean
|
|
3534
|
+
| null
|
|
3535
|
+
| undefined;
|
|
3536
|
+
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3537
|
+
export interface Attributes {
|
|
3538
|
+
key?: Key | undefined;
|
|
3539
|
+
jsx?: boolean | undefined;
|
|
3540
|
+
}
|
|
3541
|
+
export interface ErrorInfo {
|
|
3542
|
+
componentStack?: string;
|
|
3543
|
+
}
|
|
3544
|
+
export type RenderableProps<P, RefType = any> = P &
|
|
3545
|
+
Readonly<
|
|
3546
|
+
Attributes & {
|
|
3547
|
+
children?: ComponentChildren$1;
|
|
3548
|
+
ref?: Ref<RefType>;
|
|
3549
|
+
}
|
|
3550
|
+
>;
|
|
3551
|
+
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3552
|
+
export interface FunctionComponent<P = {}> {
|
|
3553
|
+
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3554
|
+
displayName?: string;
|
|
3555
|
+
defaultProps?: Partial<P> | undefined;
|
|
3556
|
+
}
|
|
3557
|
+
export interface ComponentClass<P = {}, S = {}> {
|
|
3558
|
+
new (props: P, context?: any): Component<P, S>;
|
|
3559
|
+
displayName?: string;
|
|
3560
|
+
defaultProps?: Partial<P>;
|
|
3561
|
+
contextType?: Context<any>;
|
|
3562
|
+
getDerivedStateFromProps?(
|
|
3563
|
+
props: Readonly<P>,
|
|
3564
|
+
state: Readonly<S>,
|
|
3565
|
+
): Partial<S> | null;
|
|
3566
|
+
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3567
|
+
}
|
|
3568
|
+
export interface Component<P = {}, S = {}> {
|
|
3569
|
+
componentWillMount?(): void;
|
|
3570
|
+
componentDidMount?(): void;
|
|
3571
|
+
componentWillUnmount?(): void;
|
|
3572
|
+
getChildContext?(): object;
|
|
3573
|
+
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
3574
|
+
shouldComponentUpdate?(
|
|
3575
|
+
nextProps: Readonly<P>,
|
|
3576
|
+
nextState: Readonly<S>,
|
|
3577
|
+
nextContext: any,
|
|
3578
|
+
): boolean;
|
|
3579
|
+
componentWillUpdate?(
|
|
3580
|
+
nextProps: Readonly<P>,
|
|
3581
|
+
nextState: Readonly<S>,
|
|
3582
|
+
nextContext: any,
|
|
3583
|
+
): void;
|
|
3584
|
+
getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
|
|
3585
|
+
componentDidUpdate?(
|
|
3586
|
+
previousProps: Readonly<P>,
|
|
3587
|
+
previousState: Readonly<S>,
|
|
3588
|
+
snapshot: any,
|
|
3589
|
+
): void;
|
|
3590
|
+
componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
|
|
3591
|
+
}
|
|
3592
|
+
declare abstract class Component<P, S> {
|
|
3593
|
+
constructor(props?: P, context?: any);
|
|
3594
|
+
static displayName?: string;
|
|
3595
|
+
static defaultProps?: any;
|
|
3596
|
+
static contextType?: Context<any>;
|
|
3597
|
+
// Static members cannot reference class type parameters. This is not
|
|
3598
|
+
// supported in TypeScript. Reusing the same type arguments from `Component`
|
|
3599
|
+
// will lead to an impossible state where one cannot satisfy the type
|
|
3600
|
+
// constraint under no circumstances, see #1356.In general type arguments
|
|
3601
|
+
// seem to be a bit buggy and not supported well at the time of this
|
|
3602
|
+
// writing with TS 3.3.3333.
|
|
3603
|
+
static getDerivedStateFromProps?(
|
|
3604
|
+
props: Readonly<object>,
|
|
3605
|
+
state: Readonly<object>,
|
|
3606
|
+
): object | null;
|
|
3607
|
+
|
|
3608
|
+
static getDerivedStateFromError?(error: any): object | null;
|
|
3609
|
+
state: Readonly<S>;
|
|
3610
|
+
props: RenderableProps<P>;
|
|
3611
|
+
context: any;
|
|
3612
|
+
base?: Element | Text;
|
|
3613
|
+
// From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
|
|
3614
|
+
// // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
|
|
3615
|
+
// // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
|
|
3616
|
+
setState<K extends keyof S>(
|
|
3617
|
+
state:
|
|
3618
|
+
| ((
|
|
3619
|
+
prevState: Readonly<S>,
|
|
3620
|
+
props: Readonly<P>,
|
|
3621
|
+
) => Pick<S, K> | Partial<S> | null)
|
|
3622
|
+
| (Pick<S, K> | Partial<S> | null),
|
|
3623
|
+
callback?: () => void,
|
|
3624
|
+
): void;
|
|
3625
|
+
|
|
3626
|
+
forceUpdate(callback?: () => void): void;
|
|
3627
|
+
abstract render(
|
|
3628
|
+
props?: RenderableProps<P>,
|
|
3629
|
+
state?: Readonly<S>,
|
|
3630
|
+
context?: any,
|
|
3631
|
+
): ComponentChildren$1;
|
|
3632
|
+
}
|
|
3633
|
+
//
|
|
3634
|
+
// Context
|
|
3635
|
+
// -----------------------------------
|
|
3636
|
+
export interface Consumer<T>
|
|
3637
|
+
extends FunctionComponent<{
|
|
3638
|
+
children: (value: T) => ComponentChildren$1;
|
|
3639
|
+
}> {}
|
|
3640
|
+
export interface Provider<T>
|
|
3641
|
+
extends FunctionComponent<{
|
|
3642
|
+
value: T;
|
|
3643
|
+
children?: ComponentChildren$1;
|
|
3644
|
+
}> {}
|
|
3645
|
+
export interface Context<T> extends Provider<T> {
|
|
3646
|
+
Consumer: Consumer<T>;
|
|
3647
|
+
Provider: Provider<T>;
|
|
3648
|
+
displayName?: string;
|
|
3649
|
+
}
|
|
3113
3650
|
type IconType$1 =
|
|
3114
3651
|
| 'adjust'
|
|
3115
3652
|
| 'affiliate'
|
|
@@ -3150,6 +3687,7 @@ type IconType$1 =
|
|
|
3150
3687
|
| 'book-open'
|
|
3151
3688
|
| 'bug'
|
|
3152
3689
|
| 'bullet'
|
|
3690
|
+
| 'business-entity'
|
|
3153
3691
|
| 'button'
|
|
3154
3692
|
| 'button-press'
|
|
3155
3693
|
| 'calculator'
|
|
@@ -3161,6 +3699,8 @@ type IconType$1 =
|
|
|
3161
3699
|
| 'camera'
|
|
3162
3700
|
| 'camera-flip'
|
|
3163
3701
|
| 'caret-down'
|
|
3702
|
+
| 'caret-left'
|
|
3703
|
+
| 'caret-right'
|
|
3164
3704
|
| 'caret-up'
|
|
3165
3705
|
| 'cart'
|
|
3166
3706
|
| 'cart-abandoned'
|
|
@@ -3288,6 +3828,7 @@ type IconType$1 =
|
|
|
3288
3828
|
| 'file'
|
|
3289
3829
|
| 'file-list'
|
|
3290
3830
|
| 'filter'
|
|
3831
|
+
| 'filter-active'
|
|
3291
3832
|
| 'flag'
|
|
3292
3833
|
| 'flip-horizontal'
|
|
3293
3834
|
| 'flip-vertical'
|
|
@@ -3336,6 +3877,7 @@ type IconType$1 =
|
|
|
3336
3877
|
| 'incoming'
|
|
3337
3878
|
| 'incomplete'
|
|
3338
3879
|
| 'info'
|
|
3880
|
+
| 'inheritance'
|
|
3339
3881
|
| 'inventory'
|
|
3340
3882
|
| 'inventory-updated'
|
|
3341
3883
|
| 'iq'
|
|
@@ -3466,6 +4008,7 @@ type IconType$1 =
|
|
|
3466
4008
|
| 'plus'
|
|
3467
4009
|
| 'plus-circle'
|
|
3468
4010
|
| 'plus-circle-down'
|
|
4011
|
+
| 'plus-circle-filled'
|
|
3469
4012
|
| 'plus-circle-up'
|
|
3470
4013
|
| 'point-of-sale'
|
|
3471
4014
|
| 'price-list'
|
|
@@ -3506,6 +4049,7 @@ type IconType$1 =
|
|
|
3506
4049
|
| 'sandbox'
|
|
3507
4050
|
| 'save'
|
|
3508
4051
|
| 'search'
|
|
4052
|
+
| 'search-add'
|
|
3509
4053
|
| 'search-list'
|
|
3510
4054
|
| 'search-recent'
|
|
3511
4055
|
| 'search-resource'
|
|
@@ -3605,191 +4149,3 @@ type IconType$1 =
|
|
|
3605
4149
|
| 'wrench'
|
|
3606
4150
|
| 'x'
|
|
3607
4151
|
| 'x-circle';
|
|
3608
|
-
//
|
|
3609
|
-
// Preact Virtual DOM
|
|
3610
|
-
// -----------------------------------
|
|
3611
|
-
export interface VNode<P = {}> {
|
|
3612
|
-
type: ComponentType<P> | string;
|
|
3613
|
-
props: P & {
|
|
3614
|
-
children: ComponentChildren$1;
|
|
3615
|
-
};
|
|
3616
|
-
key: Key;
|
|
3617
|
-
/**
|
|
3618
|
-
* ref is not guaranteed by React.ReactElement, for compatibility reasons
|
|
3619
|
-
* with popular react libs we define it as optional too
|
|
3620
|
-
*/
|
|
3621
|
-
ref?: Ref<any> | null;
|
|
3622
|
-
/**
|
|
3623
|
-
* The time this `vnode` started rendering. Will only be set when
|
|
3624
|
-
* the devtools are attached.
|
|
3625
|
-
* Default value: `0`
|
|
3626
|
-
*/
|
|
3627
|
-
startTime?: number;
|
|
3628
|
-
/**
|
|
3629
|
-
* The time that the rendering of this `vnode` was completed. Will only be
|
|
3630
|
-
* set when the devtools are attached.
|
|
3631
|
-
* Default value: `-1`
|
|
3632
|
-
*/
|
|
3633
|
-
endTime?: number;
|
|
3634
|
-
}
|
|
3635
|
-
//
|
|
3636
|
-
// Preact Component interface
|
|
3637
|
-
// -----------------------------------
|
|
3638
|
-
export type Key = string | number | any;
|
|
3639
|
-
export interface RefObject<T> {
|
|
3640
|
-
current: T | null;
|
|
3641
|
-
}
|
|
3642
|
-
export type RefCallback<T> = (instance: T | null) => void;
|
|
3643
|
-
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3644
|
-
export type ComponentChild =
|
|
3645
|
-
| VNode<any>
|
|
3646
|
-
| object
|
|
3647
|
-
| string
|
|
3648
|
-
| number
|
|
3649
|
-
| bigint
|
|
3650
|
-
| boolean
|
|
3651
|
-
| null
|
|
3652
|
-
| undefined;
|
|
3653
|
-
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3654
|
-
export interface Attributes {
|
|
3655
|
-
key?: Key | undefined;
|
|
3656
|
-
jsx?: boolean | undefined;
|
|
3657
|
-
}
|
|
3658
|
-
export interface ErrorInfo {
|
|
3659
|
-
componentStack?: string;
|
|
3660
|
-
}
|
|
3661
|
-
export type RenderableProps<P, RefType = any> = P &
|
|
3662
|
-
Readonly<
|
|
3663
|
-
Attributes & {
|
|
3664
|
-
children?: ComponentChildren$1;
|
|
3665
|
-
ref?: Ref<RefType>;
|
|
3666
|
-
}
|
|
3667
|
-
>;
|
|
3668
|
-
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3669
|
-
export interface FunctionComponent<P = {}> {
|
|
3670
|
-
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3671
|
-
displayName?: string;
|
|
3672
|
-
defaultProps?: Partial<P> | undefined;
|
|
3673
|
-
}
|
|
3674
|
-
export interface ComponentClass<P = {}, S = {}> {
|
|
3675
|
-
new (props: P, context?: any): Component<P, S>;
|
|
3676
|
-
displayName?: string;
|
|
3677
|
-
defaultProps?: Partial<P>;
|
|
3678
|
-
contextType?: Context<any>;
|
|
3679
|
-
getDerivedStateFromProps?(
|
|
3680
|
-
props: Readonly<P>,
|
|
3681
|
-
state: Readonly<S>,
|
|
3682
|
-
): Partial<S> | null;
|
|
3683
|
-
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3684
|
-
}
|
|
3685
|
-
export interface Component<P = {}, S = {}> {
|
|
3686
|
-
componentWillMount?(): void;
|
|
3687
|
-
componentDidMount?(): void;
|
|
3688
|
-
componentWillUnmount?(): void;
|
|
3689
|
-
getChildContext?(): object;
|
|
3690
|
-
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
3691
|
-
shouldComponentUpdate?(
|
|
3692
|
-
nextProps: Readonly<P>,
|
|
3693
|
-
nextState: Readonly<S>,
|
|
3694
|
-
nextContext: any,
|
|
3695
|
-
): boolean;
|
|
3696
|
-
componentWillUpdate?(
|
|
3697
|
-
nextProps: Readonly<P>,
|
|
3698
|
-
nextState: Readonly<S>,
|
|
3699
|
-
nextContext: any,
|
|
3700
|
-
): void;
|
|
3701
|
-
getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
|
|
3702
|
-
componentDidUpdate?(
|
|
3703
|
-
previousProps: Readonly<P>,
|
|
3704
|
-
previousState: Readonly<S>,
|
|
3705
|
-
snapshot: any,
|
|
3706
|
-
): void;
|
|
3707
|
-
componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
|
|
3708
|
-
}
|
|
3709
|
-
declare abstract class Component<P, S> {
|
|
3710
|
-
constructor(props?: P, context?: any);
|
|
3711
|
-
static displayName?: string;
|
|
3712
|
-
static defaultProps?: any;
|
|
3713
|
-
static contextType?: Context<any>;
|
|
3714
|
-
// Static members cannot reference class type parameters. This is not
|
|
3715
|
-
// supported in TypeScript. Reusing the same type arguments from `Component`
|
|
3716
|
-
// will lead to an impossible state where one cannot satisfy the type
|
|
3717
|
-
// constraint under no circumstances, see #1356.In general type arguments
|
|
3718
|
-
// seem to be a bit buggy and not supported well at the time of this
|
|
3719
|
-
// writing with TS 3.3.3333.
|
|
3720
|
-
static getDerivedStateFromProps?(
|
|
3721
|
-
props: Readonly<object>,
|
|
3722
|
-
state: Readonly<object>,
|
|
3723
|
-
): object | null;
|
|
3724
|
-
|
|
3725
|
-
static getDerivedStateFromError?(error: any): object | null;
|
|
3726
|
-
state: Readonly<S>;
|
|
3727
|
-
props: RenderableProps<P>;
|
|
3728
|
-
context: any;
|
|
3729
|
-
base?: Element | Text;
|
|
3730
|
-
// From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
|
|
3731
|
-
// // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
|
|
3732
|
-
// // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
|
|
3733
|
-
setState<K extends keyof S>(
|
|
3734
|
-
state:
|
|
3735
|
-
| ((
|
|
3736
|
-
prevState: Readonly<S>,
|
|
3737
|
-
props: Readonly<P>,
|
|
3738
|
-
) => Pick<S, K> | Partial<S> | null)
|
|
3739
|
-
| (Pick<S, K> | Partial<S> | null),
|
|
3740
|
-
callback?: () => void,
|
|
3741
|
-
): void;
|
|
3742
|
-
|
|
3743
|
-
forceUpdate(callback?: () => void): void;
|
|
3744
|
-
abstract render(
|
|
3745
|
-
props?: RenderableProps<P>,
|
|
3746
|
-
state?: Readonly<S>,
|
|
3747
|
-
context?: any,
|
|
3748
|
-
): ComponentChildren$1;
|
|
3749
|
-
}
|
|
3750
|
-
//
|
|
3751
|
-
// Context
|
|
3752
|
-
// -----------------------------------
|
|
3753
|
-
export interface Consumer<T>
|
|
3754
|
-
extends FunctionComponent<{
|
|
3755
|
-
children: (value: T) => ComponentChildren$1;
|
|
3756
|
-
}> {}
|
|
3757
|
-
export interface Provider<T>
|
|
3758
|
-
extends FunctionComponent<{
|
|
3759
|
-
value: T;
|
|
3760
|
-
children?: ComponentChildren$1;
|
|
3761
|
-
}> {}
|
|
3762
|
-
export interface Context<T> extends Provider<T> {
|
|
3763
|
-
Consumer: Consumer<T>;
|
|
3764
|
-
Provider: Provider<T>;
|
|
3765
|
-
displayName?: string;
|
|
3766
|
-
}
|
|
3767
|
-
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
3768
|
-
/**
|
|
3769
|
-
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
3770
|
-
* When true, the action could be in an inert state, which prevents user interaction.
|
|
3771
|
-
*
|
|
3772
|
-
* @default false
|
|
3773
|
-
*/
|
|
3774
|
-
loading?: boolean;
|
|
3775
|
-
}
|
|
3776
|
-
interface AdminBlockProps$1 extends GlobalProps {
|
|
3777
|
-
/**
|
|
3778
|
-
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
3779
|
-
* extension will be used.
|
|
3780
|
-
*/
|
|
3781
|
-
heading?: string;
|
|
3782
|
-
/**
|
|
3783
|
-
* The summary to display when the app block is collapsed.
|
|
3784
|
-
* Summary longer than 30 characters will be truncated.
|
|
3785
|
-
*/
|
|
3786
|
-
collapsedSummary?: string;
|
|
3787
|
-
}
|
|
3788
|
-
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
3789
|
-
/**
|
|
3790
|
-
* Sets the src URL of the preview and the document to print.
|
|
3791
|
-
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
3792
|
-
* HTML, PDFs and images are supported.
|
|
3793
|
-
*/
|
|
3794
|
-
src?: string;
|
|
3795
|
-
}
|