@shopify/ui-extensions 2025.10.0-rc.9 → 2025.10.0
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/api.js +5 -1
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +35 -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/api.mjs +5 -1
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +31 -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/api.esnext +5 -1
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +31 -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/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +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/ConsentCheckbox.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DateField.d.ts +4 -0
- package/build/ts/docs/shared/components/DateField.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/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- 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/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- 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/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.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/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/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.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/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- 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/components/index.d.ts +12 -0
- package/build/ts/docs/shared/components/index.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 +14 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +132 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +8 -8
- 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/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- 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 +9 -20
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +8 -5
- package/build/ts/surfaces/admin/components/Banner.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +41 -36
- 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 +132 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +23 -34
- 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 +121 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +109 -56
- 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 +152 -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 +240 -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 +128 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +242 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- 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/EmailField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +48 -36
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +148 -34
- package/build/ts/surfaces/admin/components/GridItem.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +8 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +95 -55
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -39
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- 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 +139 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +227 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/build/ts/surfaces/admin/components/NumberField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +33 -7
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -33
- 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/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +49 -33
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +117 -41
- 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 +22 -27
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +16 -15
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +6 -4
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +5 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -33
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -34
- 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 +15 -21
- 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 +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1034 -594
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3605
- 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 +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3605
- 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 +53 -3605
- 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 +53 -3605
- 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.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3605
- 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 +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3605
- 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 +53 -3605
- 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 +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3594
- 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 +53 -3605
- 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 +53 -3605
- 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 +53 -3605
- 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 +53 -3594
- 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 +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3594
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3605
- 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 +53 -3605
- 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 +53 -3594
- 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 +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3605
- 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 +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3554
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3554
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3554
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- 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 +20 -4
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +63 -40
- 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 +1 -1
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- 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/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Map.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -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/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -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/QRCode.d.ts +8 -5
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- 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/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -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/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -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/TextArea.d.ts +24 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/checkout/components/components.d.ts +1947 -530
- package/build/ts/surfaces/checkout/extension-targets.d.ts +64 -60
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.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 +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +36 -5
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +62 -1397
- 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 +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +62 -1397
- 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 +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +68 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +62 -1397
- 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 +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout.d.ts +3 -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 -40
- 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 +38 -23
- 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 +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -5
- 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 +11 -5
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/customer-account/components/Form.d.ts +11 -8
- 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/Icon.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/Map.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +16 -15
- 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 +22 -18
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- 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 +17 -2
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- 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/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
- 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/TextArea.d.ts +24 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/customer-account/components/components.d.ts +1947 -530
- package/build/ts/surfaces/customer-account/components/shared.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +12 -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 +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +70 -1537
- 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 +8 -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 +47 -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 +34 -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 +61 -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 +77 -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 +175 -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 +102 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +50 -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 +70 -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 +66 -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 +78 -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 +74 -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 +74 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +48 -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 +95 -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 +52 -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 +183 -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 +71 -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 +90 -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 +159 -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 +76 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +47 -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 +172 -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 +74 -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 +68 -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 +250 -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 +75 -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 +96 -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 +95 -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 +71 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +77 -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 +74 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3210 -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/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -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 +165 -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/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -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 +64 -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 +37 -5
- package/src/docs/shared/components/Announcement.ts +12 -0
- 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 +12 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
- package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
- package/src/docs/shared/components/DateField.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +2 -2
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- 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/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ScrollBox.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/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- 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/components/index.ts +12 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api/intents/examples/create-article.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-catalog.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-collection.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-customer.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-market.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-menu.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-page.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-product.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-variant.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-article.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-catalog.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-collection.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-customer.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-market.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-menu.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-page.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-product.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +11 -0
- package/src/surfaces/admin/api/intents/intents.ts +153 -0
- package/src/surfaces/admin/api/standard/standard.ts +9 -7
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -20
- package/src/surfaces/admin/components/Badge.d.ts +8 -5
- package/src/surfaces/admin/components/Banner.d.ts +22 -28
- package/src/surfaces/admin/components/Box.d.ts +76 -24
- package/src/surfaces/admin/components/Button.d.ts +41 -36
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +121 -0
- package/src/surfaces/admin/components/Choice.d.ts +10 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/src/surfaces/admin/components/Clickable.d.ts +109 -56
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +240 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +242 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/EmailField.d.ts +27 -33
- package/src/surfaces/admin/components/Form.d.ts +48 -36
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +148 -34
- package/src/surfaces/admin/components/GridItem.d.ts +76 -24
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +8 -4
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +95 -55
- package/src/surfaces/admin/components/Link.d.ts +35 -39
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +139 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +227 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/src/surfaces/admin/components/NumberField.d.ts +27 -33
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +33 -7
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +4 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/src/surfaces/admin/components/SearchField.d.ts +27 -33
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +49 -33
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +117 -41
- package/src/surfaces/admin/components/StandardComponents.ts +8 -0
- package/src/surfaces/admin/components/Switch.d.ts +22 -27
- package/src/surfaces/admin/components/Table.d.ts +16 -15
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +18 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/src/surfaces/admin/components/TableRow.d.ts +6 -4
- package/src/surfaces/admin/components/Text.d.ts +5 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -33
- package/src/surfaces/admin/components/TextField.d.ts +28 -34
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +27 -33
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +16 -16
- package/src/surfaces/admin/components/patterns/examples/details.jsx +13 -20
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +26 -59
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +26 -63
- package/src/surfaces/admin/components/patterns/examples/index.html +26 -34
- package/src/surfaces/admin/components/patterns/examples/index.jsx +23 -35
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +168 -215
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +169 -311
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +8 -10
- package/src/surfaces/admin/components/shared.d.ts +1034 -594
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +3076 -1150
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +14 -4
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
- package/src/surfaces/checkout/api/standard/standard.ts +65 -41
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +57 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +9 -6
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Button.d.ts +10 -5
- 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 -1
- package/src/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +85 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +46 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +11 -8
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- 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/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +4 -3
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -5
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/Map.d.ts +11 -8
- package/src/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +1 -1
- package/src/surfaces/checkout/components/Modal.d.ts +22 -18
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +116 -0
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +4 -4
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +1 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/checkout/components/TextField.d.ts +35 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/src/surfaces/checkout/components/components.d.ts +1947 -530
- package/src/surfaces/checkout/extension-targets.ts +70 -61
- package/src/surfaces/checkout/preact/api.ts +5 -1
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
- package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
- package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
- package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +56 -26
- package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
- package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
- package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
- package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
- package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +26 -20
- package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
- package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
- package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
- package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
- package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
- package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
- package/src/surfaces/checkout/preact/tests/mount.tsx +63 -20
- package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
- package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
- package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
- package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
- package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
- package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
- package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
- package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
- package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
- package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
- package/src/surfaces/checkout/shared.ts +112 -43
- package/src/surfaces/checkout.ts +5 -1
- 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 +58 -40
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +17 -2
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +5 -2
- package/src/surfaces/customer-account/components/shared.ts +12 -5
- package/src/surfaces/customer-account/components.d.ts +109 -83
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +4 -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 +7 -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 +55 -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 +128 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/multiple-selection.jsx +9 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Divider/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/controls-constraints.jsx +9 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/input-mode.jsx +15 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/rows-configuration.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/accessory-slot.jsx +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/common-props.jsx +11 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/event-handling.jsx +17 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3210 -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 +6491 -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/globals.ts +6 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +174 -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/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +9 -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 +64 -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/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -3559
- package/build/ts/surfaces/checkout/errors.d.ts +0 -10
- package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.html +0 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.html +0 -1
- package/src/surfaces/checkout/errors.ts +0 -13
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +0 -9
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -9
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -16
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -15
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -36
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
|
|
@@ -8,13 +8,168 @@
|
|
|
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
|
-
export type ComponentChildren =
|
|
11
|
+
export type ComponentChildren = preact.ComponentChildren;
|
|
12
|
+
export type StringChildren = string;
|
|
12
13
|
export interface GlobalProps {
|
|
13
14
|
/**
|
|
14
15
|
* A unique identifier for the element.
|
|
15
16
|
*/
|
|
16
17
|
id?: string;
|
|
17
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
|
+
}
|
|
110
|
+
export interface FocusEventProps {
|
|
111
|
+
/**
|
|
112
|
+
* Callback when the element loses focus.
|
|
113
|
+
*
|
|
114
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
115
|
+
*/
|
|
116
|
+
onBlur?: (event: FocusEvent) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Callback when the element receives focus.
|
|
119
|
+
*
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
121
|
+
*/
|
|
122
|
+
onFocus?: (event: FocusEvent) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ToggleEventProps {
|
|
125
|
+
/**
|
|
126
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
127
|
+
*
|
|
128
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
129
|
+
* `newState` property will be set to `open`.
|
|
130
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
131
|
+
* `newState` will be `closed`.
|
|
132
|
+
*
|
|
133
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
134
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
135
|
+
*/
|
|
136
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
137
|
+
/**
|
|
138
|
+
* Callback straight after the element state changes.
|
|
139
|
+
*
|
|
140
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
141
|
+
* `newState` property will be set to `open`.
|
|
142
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
143
|
+
* `newState` will be `closed`.
|
|
144
|
+
*
|
|
145
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
146
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
147
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
148
|
+
*/
|
|
149
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
150
|
+
}
|
|
151
|
+
export type ToggleState = 'open' | 'closed';
|
|
152
|
+
interface ToggleEvent$1 extends Event {
|
|
153
|
+
readonly newState: ToggleState;
|
|
154
|
+
readonly oldState: ToggleState;
|
|
155
|
+
}
|
|
156
|
+
export interface ExtendableEvent extends Event {
|
|
157
|
+
/**
|
|
158
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
159
|
+
*
|
|
160
|
+
* This may be called many times, which adds promises to the event.
|
|
161
|
+
*
|
|
162
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
163
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
164
|
+
*/
|
|
165
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
166
|
+
}
|
|
167
|
+
interface AggregateError$1<T extends Error> extends Error {
|
|
168
|
+
errors: T[];
|
|
169
|
+
}
|
|
170
|
+
export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
|
|
171
|
+
error: AggregateError$1<T>;
|
|
172
|
+
}
|
|
18
173
|
export type SizeKeyword =
|
|
19
174
|
| 'small-500'
|
|
20
175
|
| 'small-400'
|
|
@@ -46,13 +201,13 @@ interface AvatarProps$1 extends GlobalProps {
|
|
|
46
201
|
*
|
|
47
202
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
48
203
|
*/
|
|
49
|
-
onLoad?: () => void;
|
|
204
|
+
onLoad?: (event: Event) => void;
|
|
50
205
|
/**
|
|
51
206
|
* Invoked on load error of provided image.
|
|
52
207
|
*
|
|
53
208
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
54
209
|
*/
|
|
55
|
-
onError?: () => void;
|
|
210
|
+
onError?: (event: Event) => void;
|
|
56
211
|
/**
|
|
57
212
|
* Size of the avatar.
|
|
58
213
|
*
|
|
@@ -92,6 +247,7 @@ export type ToneKeyword =
|
|
|
92
247
|
| 'caution'
|
|
93
248
|
| 'warning'
|
|
94
249
|
| 'critical'
|
|
250
|
+
| 'accent'
|
|
95
251
|
| 'custom';
|
|
96
252
|
declare const privateIconArray: readonly [
|
|
97
253
|
'adjust',
|
|
@@ -101,23 +257,23 @@ declare const privateIconArray: readonly [
|
|
|
101
257
|
'alert-circle',
|
|
102
258
|
'alert-diamond',
|
|
103
259
|
'alert-location',
|
|
104
|
-
'alert-octagon-filled',
|
|
105
260
|
'alert-octagon',
|
|
261
|
+
'alert-octagon-filled',
|
|
106
262
|
'alert-triangle',
|
|
107
263
|
'alert-triangle-filled',
|
|
108
264
|
'app-extension',
|
|
109
265
|
'apps',
|
|
110
266
|
'archive',
|
|
267
|
+
'arrow-down',
|
|
111
268
|
'arrow-down-circle',
|
|
112
269
|
'arrow-down-right',
|
|
113
|
-
'arrow-down',
|
|
114
|
-
'arrow-left-circle',
|
|
115
270
|
'arrow-left',
|
|
116
|
-
'arrow-
|
|
271
|
+
'arrow-left-circle',
|
|
117
272
|
'arrow-right',
|
|
273
|
+
'arrow-right-circle',
|
|
274
|
+
'arrow-up',
|
|
118
275
|
'arrow-up-circle',
|
|
119
276
|
'arrow-up-right',
|
|
120
|
-
'arrow-up',
|
|
121
277
|
'arrows-in-horizontal',
|
|
122
278
|
'arrows-out-horizontal',
|
|
123
279
|
'attachment',
|
|
@@ -126,36 +282,39 @@ declare const privateIconArray: readonly [
|
|
|
126
282
|
'bag',
|
|
127
283
|
'bank',
|
|
128
284
|
'barcode',
|
|
285
|
+
'battery-low',
|
|
129
286
|
'bill',
|
|
130
287
|
'blank',
|
|
131
288
|
'blog',
|
|
132
|
-
'bolt-filled',
|
|
133
289
|
'bolt',
|
|
134
|
-
'
|
|
290
|
+
'bolt-filled',
|
|
135
291
|
'book',
|
|
292
|
+
'book-open',
|
|
136
293
|
'bug',
|
|
137
294
|
'bullet',
|
|
138
295
|
'business-entity',
|
|
139
|
-
'button-press',
|
|
140
296
|
'button',
|
|
297
|
+
'button-press',
|
|
141
298
|
'calculator',
|
|
299
|
+
'calendar',
|
|
142
300
|
'calendar-check',
|
|
143
301
|
'calendar-compare',
|
|
144
302
|
'calendar-list',
|
|
145
303
|
'calendar-time',
|
|
146
|
-
'calendar',
|
|
147
|
-
'camera-flip',
|
|
148
304
|
'camera',
|
|
305
|
+
'camera-flip',
|
|
149
306
|
'caret-down',
|
|
150
|
-
'caret-up',
|
|
151
307
|
'caret-left',
|
|
152
308
|
'caret-right',
|
|
309
|
+
'caret-up',
|
|
310
|
+
'cart',
|
|
153
311
|
'cart-abandoned',
|
|
154
312
|
'cart-discount',
|
|
155
313
|
'cart-down',
|
|
314
|
+
'cart-filled',
|
|
156
315
|
'cart-sale',
|
|
316
|
+
'cart-send',
|
|
157
317
|
'cart-up',
|
|
158
|
-
'cart',
|
|
159
318
|
'cash-dollar',
|
|
160
319
|
'cash-euro',
|
|
161
320
|
'cash-pound',
|
|
@@ -167,8 +326,8 @@ declare const privateIconArray: readonly [
|
|
|
167
326
|
'chart-cohort',
|
|
168
327
|
'chart-donut',
|
|
169
328
|
'chart-funnel',
|
|
170
|
-
'chart-histogram-first-last',
|
|
171
329
|
'chart-histogram-first',
|
|
330
|
+
'chart-histogram-first-last',
|
|
172
331
|
'chart-histogram-flat',
|
|
173
332
|
'chart-histogram-full',
|
|
174
333
|
'chart-histogram-growth',
|
|
@@ -179,36 +338,37 @@ declare const privateIconArray: readonly [
|
|
|
179
338
|
'chart-popular',
|
|
180
339
|
'chart-stacked',
|
|
181
340
|
'chart-vertical',
|
|
341
|
+
'chat',
|
|
182
342
|
'chat-new',
|
|
183
343
|
'chat-referral',
|
|
184
|
-
'chat',
|
|
185
|
-
'check-circle-filled',
|
|
186
|
-
'check-circle',
|
|
187
344
|
'check',
|
|
345
|
+
'check-circle',
|
|
346
|
+
'check-circle-filled',
|
|
188
347
|
'checkbox',
|
|
189
|
-
'chevron-down-circle',
|
|
190
348
|
'chevron-down',
|
|
191
|
-
'chevron-
|
|
349
|
+
'chevron-down-circle',
|
|
192
350
|
'chevron-left',
|
|
193
|
-
'chevron-
|
|
351
|
+
'chevron-left-circle',
|
|
194
352
|
'chevron-right',
|
|
195
|
-
'chevron-
|
|
353
|
+
'chevron-right-circle',
|
|
196
354
|
'chevron-up',
|
|
197
|
-
'circle
|
|
355
|
+
'chevron-up-circle',
|
|
198
356
|
'circle',
|
|
357
|
+
'circle-dashed',
|
|
358
|
+
'clipboard',
|
|
199
359
|
'clipboard-check',
|
|
200
360
|
'clipboard-checklist',
|
|
201
|
-
'clipboard',
|
|
202
|
-
'clock-revert',
|
|
203
361
|
'clock',
|
|
204
|
-
'
|
|
362
|
+
'clock-list',
|
|
363
|
+
'clock-revert',
|
|
205
364
|
'code',
|
|
365
|
+
'code-add',
|
|
366
|
+
'collection',
|
|
206
367
|
'collection-featured',
|
|
207
368
|
'collection-list',
|
|
208
369
|
'collection-reference',
|
|
209
|
-
'collection',
|
|
210
|
-
'color-none',
|
|
211
370
|
'color',
|
|
371
|
+
'color-none',
|
|
212
372
|
'compass',
|
|
213
373
|
'complete',
|
|
214
374
|
'compose',
|
|
@@ -219,76 +379,81 @@ declare const privateIconArray: readonly [
|
|
|
219
379
|
'corner-pill',
|
|
220
380
|
'corner-round',
|
|
221
381
|
'corner-square',
|
|
382
|
+
'credit-card',
|
|
222
383
|
'credit-card-cancel',
|
|
223
384
|
'credit-card-percent',
|
|
385
|
+
'credit-card-reader',
|
|
224
386
|
'credit-card-reader-chip',
|
|
225
387
|
'credit-card-reader-tap',
|
|
226
|
-
'credit-card-reader',
|
|
227
388
|
'credit-card-secure',
|
|
228
389
|
'credit-card-tap-chip',
|
|
229
|
-
'credit-card',
|
|
230
390
|
'crop',
|
|
231
391
|
'currency-convert',
|
|
392
|
+
'cursor',
|
|
232
393
|
'cursor-banner',
|
|
233
394
|
'cursor-option',
|
|
234
|
-
'cursor',
|
|
235
395
|
'data-presentation',
|
|
236
396
|
'data-table',
|
|
397
|
+
'database',
|
|
237
398
|
'database-add',
|
|
238
399
|
'database-connect',
|
|
239
|
-
'database',
|
|
240
400
|
'delete',
|
|
241
401
|
'delivered',
|
|
242
402
|
'delivery',
|
|
243
403
|
'desktop',
|
|
244
404
|
'disabled',
|
|
405
|
+
'disabled-filled',
|
|
406
|
+
'discount',
|
|
245
407
|
'discount-add',
|
|
408
|
+
'discount-automatic',
|
|
246
409
|
'discount-code',
|
|
247
|
-
'discount',
|
|
410
|
+
'discount-remove',
|
|
248
411
|
'dns-settings',
|
|
249
412
|
'dock-floating',
|
|
250
413
|
'dock-side',
|
|
414
|
+
'domain',
|
|
251
415
|
'domain-landing-page',
|
|
252
416
|
'domain-new',
|
|
253
417
|
'domain-redirect',
|
|
254
|
-
'domain',
|
|
255
418
|
'download',
|
|
256
419
|
'drag-drop',
|
|
257
420
|
'drag-handle',
|
|
421
|
+
'drawer',
|
|
258
422
|
'duplicate',
|
|
259
423
|
'edit',
|
|
424
|
+
'email',
|
|
260
425
|
'email-follow-up',
|
|
261
426
|
'email-newsletter',
|
|
262
|
-
'email',
|
|
263
427
|
'empty',
|
|
264
428
|
'enabled',
|
|
265
429
|
'enter',
|
|
266
|
-
'envelope-soft-pack',
|
|
267
430
|
'envelope',
|
|
431
|
+
'envelope-soft-pack',
|
|
268
432
|
'eraser',
|
|
269
433
|
'exchange',
|
|
270
434
|
'exit',
|
|
271
435
|
'export',
|
|
272
436
|
'external',
|
|
273
437
|
'eye-check-mark',
|
|
274
|
-
'eye-dropper-list',
|
|
275
438
|
'eye-dropper',
|
|
439
|
+
'eye-dropper-list',
|
|
276
440
|
'eye-first',
|
|
277
441
|
'eyeglasses',
|
|
278
442
|
'fav',
|
|
279
443
|
'favicon',
|
|
280
|
-
'file-list',
|
|
281
444
|
'file',
|
|
445
|
+
'file-list',
|
|
282
446
|
'filter',
|
|
447
|
+
'filter-active',
|
|
283
448
|
'flag',
|
|
284
449
|
'flip-horizontal',
|
|
285
450
|
'flip-vertical',
|
|
286
451
|
'flower',
|
|
452
|
+
'folder',
|
|
287
453
|
'folder-add',
|
|
288
454
|
'folder-down',
|
|
289
455
|
'folder-remove',
|
|
290
456
|
'folder-up',
|
|
291
|
-
'folder',
|
|
292
457
|
'food',
|
|
293
458
|
'foreground',
|
|
294
459
|
'forklift',
|
|
@@ -296,33 +461,35 @@ declare const privateIconArray: readonly [
|
|
|
296
461
|
'games',
|
|
297
462
|
'gauge',
|
|
298
463
|
'geolocation',
|
|
299
|
-
'gift-card',
|
|
300
464
|
'gift',
|
|
465
|
+
'gift-card',
|
|
301
466
|
'git-branch',
|
|
302
467
|
'git-commit',
|
|
303
468
|
'git-repository',
|
|
469
|
+
'globe',
|
|
304
470
|
'globe-asia',
|
|
305
471
|
'globe-europe',
|
|
306
472
|
'globe-lines',
|
|
307
473
|
'globe-list',
|
|
308
|
-
'
|
|
474
|
+
'graduation-hat',
|
|
309
475
|
'grid',
|
|
476
|
+
'hashtag',
|
|
310
477
|
'hashtag-decimal',
|
|
311
478
|
'hashtag-list',
|
|
312
|
-
'hashtag',
|
|
313
479
|
'heart',
|
|
314
|
-
'hide-filled',
|
|
315
480
|
'hide',
|
|
481
|
+
'hide-filled',
|
|
316
482
|
'home',
|
|
483
|
+
'home-filled',
|
|
317
484
|
'icons',
|
|
318
485
|
'identity-card',
|
|
486
|
+
'image',
|
|
319
487
|
'image-add',
|
|
320
488
|
'image-alt',
|
|
321
489
|
'image-explore',
|
|
322
490
|
'image-magic',
|
|
323
491
|
'image-none',
|
|
324
492
|
'image-with-text-overlay',
|
|
325
|
-
'image',
|
|
326
493
|
'images',
|
|
327
494
|
'import',
|
|
328
495
|
'in-progress',
|
|
@@ -331,20 +498,25 @@ declare const privateIconArray: readonly [
|
|
|
331
498
|
'incomplete',
|
|
332
499
|
'info',
|
|
333
500
|
'info-filled',
|
|
334
|
-
'
|
|
501
|
+
'inheritance',
|
|
335
502
|
'inventory',
|
|
503
|
+
'inventory-edit',
|
|
504
|
+
'inventory-list',
|
|
505
|
+
'inventory-transfer',
|
|
506
|
+
'inventory-updated',
|
|
336
507
|
'iq',
|
|
337
508
|
'key',
|
|
509
|
+
'keyboard',
|
|
338
510
|
'keyboard-filled',
|
|
339
511
|
'keyboard-hide',
|
|
340
|
-
'
|
|
512
|
+
'keypad',
|
|
341
513
|
'label-printer',
|
|
342
|
-
'language-translate',
|
|
343
514
|
'language',
|
|
515
|
+
'language-translate',
|
|
344
516
|
'layout-block',
|
|
517
|
+
'layout-buy-button',
|
|
345
518
|
'layout-buy-button-horizontal',
|
|
346
519
|
'layout-buy-button-vertical',
|
|
347
|
-
'layout-buy-button',
|
|
348
520
|
'layout-column-1',
|
|
349
521
|
'layout-columns-2',
|
|
350
522
|
'layout-columns-3',
|
|
@@ -357,64 +529,74 @@ declare const privateIconArray: readonly [
|
|
|
357
529
|
'layout-sidebar-left',
|
|
358
530
|
'layout-sidebar-right',
|
|
359
531
|
'lightbulb',
|
|
360
|
-
'link-list',
|
|
361
532
|
'link',
|
|
533
|
+
'link-list',
|
|
362
534
|
'list-bulleted',
|
|
535
|
+
'list-bulleted-filled',
|
|
363
536
|
'list-numbered',
|
|
364
537
|
'live',
|
|
365
|
-
'
|
|
538
|
+
'live-critical',
|
|
539
|
+
'live-none',
|
|
366
540
|
'location',
|
|
541
|
+
'location-none',
|
|
367
542
|
'lock',
|
|
368
543
|
'map',
|
|
544
|
+
'markets',
|
|
369
545
|
'markets-euro',
|
|
370
546
|
'markets-rupee',
|
|
371
547
|
'markets-yen',
|
|
372
|
-
'markets',
|
|
373
548
|
'maximize',
|
|
374
|
-
'measurement-size-list',
|
|
375
549
|
'measurement-size',
|
|
376
|
-
'measurement-
|
|
550
|
+
'measurement-size-list',
|
|
377
551
|
'measurement-volume',
|
|
378
|
-
'measurement-
|
|
552
|
+
'measurement-volume-list',
|
|
379
553
|
'measurement-weight',
|
|
554
|
+
'measurement-weight-list',
|
|
380
555
|
'media-receiver',
|
|
381
556
|
'megaphone',
|
|
382
557
|
'mention',
|
|
558
|
+
'menu',
|
|
559
|
+
'menu-filled',
|
|
383
560
|
'menu-horizontal',
|
|
384
561
|
'menu-vertical',
|
|
385
|
-
'menu',
|
|
386
562
|
'merge',
|
|
387
563
|
'metafields',
|
|
564
|
+
'metaobject',
|
|
388
565
|
'metaobject-list',
|
|
389
566
|
'metaobject-reference',
|
|
390
|
-
'metaobject',
|
|
391
567
|
'microphone',
|
|
392
568
|
'minimize',
|
|
393
|
-
'minus-circle',
|
|
394
569
|
'minus',
|
|
570
|
+
'minus-circle',
|
|
395
571
|
'mobile',
|
|
396
|
-
'money-none',
|
|
397
572
|
'money',
|
|
573
|
+
'money-none',
|
|
574
|
+
'money-split',
|
|
398
575
|
'moon',
|
|
399
576
|
'nature',
|
|
400
|
-
'note-add',
|
|
401
577
|
'note',
|
|
578
|
+
'note-add',
|
|
402
579
|
'notification',
|
|
580
|
+
'number-one',
|
|
581
|
+
'order',
|
|
403
582
|
'order-batches',
|
|
404
583
|
'order-draft',
|
|
584
|
+
'order-filled',
|
|
405
585
|
'order-first',
|
|
406
586
|
'order-fulfilled',
|
|
407
587
|
'order-repeat',
|
|
408
588
|
'order-unfulfilled',
|
|
409
|
-
'order',
|
|
410
589
|
'orders-status',
|
|
411
590
|
'organization',
|
|
412
591
|
'outdent',
|
|
413
592
|
'outgoing',
|
|
593
|
+
'package',
|
|
594
|
+
'package-cancel',
|
|
414
595
|
'package-fulfilled',
|
|
415
596
|
'package-on-hold',
|
|
597
|
+
'package-reassign',
|
|
416
598
|
'package-returned',
|
|
417
|
-
'
|
|
599
|
+
'page',
|
|
418
600
|
'page-add',
|
|
419
601
|
'page-attachment',
|
|
420
602
|
'page-clock',
|
|
@@ -425,7 +607,6 @@ declare const privateIconArray: readonly [
|
|
|
425
607
|
'page-remove',
|
|
426
608
|
'page-report',
|
|
427
609
|
'page-up',
|
|
428
|
-
'page',
|
|
429
610
|
'pagination-end',
|
|
430
611
|
'pagination-start',
|
|
431
612
|
'paint-brush-flat',
|
|
@@ -435,49 +616,56 @@ declare const privateIconArray: readonly [
|
|
|
435
616
|
'passkey',
|
|
436
617
|
'paste',
|
|
437
618
|
'pause-circle',
|
|
438
|
-
'payment-capture',
|
|
439
619
|
'payment',
|
|
620
|
+
'payment-capture',
|
|
621
|
+
'payout',
|
|
440
622
|
'payout-dollar',
|
|
441
623
|
'payout-euro',
|
|
442
624
|
'payout-pound',
|
|
443
625
|
'payout-rupee',
|
|
444
626
|
'payout-yen',
|
|
445
|
-
'
|
|
627
|
+
'person',
|
|
446
628
|
'person-add',
|
|
447
629
|
'person-exit',
|
|
630
|
+
'person-filled',
|
|
448
631
|
'person-list',
|
|
449
632
|
'person-lock',
|
|
450
633
|
'person-remove',
|
|
451
634
|
'person-segment',
|
|
452
|
-
'person',
|
|
453
635
|
'personalized-text',
|
|
636
|
+
'phablet',
|
|
637
|
+
'phone',
|
|
454
638
|
'phone-in',
|
|
455
639
|
'phone-out',
|
|
456
|
-
'phone',
|
|
457
640
|
'pin',
|
|
458
641
|
'pin-remove',
|
|
459
642
|
'plan',
|
|
460
|
-
'play-circle',
|
|
461
643
|
'play',
|
|
644
|
+
'play-circle',
|
|
645
|
+
'plus',
|
|
462
646
|
'plus-circle',
|
|
463
647
|
'plus-circle-down',
|
|
648
|
+
'plus-circle-filled',
|
|
464
649
|
'plus-circle-up',
|
|
465
|
-
'plus',
|
|
466
650
|
'point-of-sale',
|
|
651
|
+
'point-of-sale-register',
|
|
467
652
|
'price-list',
|
|
468
653
|
'print',
|
|
654
|
+
'product',
|
|
469
655
|
'product-add',
|
|
470
656
|
'product-cost',
|
|
657
|
+
'product-filled',
|
|
471
658
|
'product-list',
|
|
472
659
|
'product-reference',
|
|
473
660
|
'product-remove',
|
|
474
661
|
'product-return',
|
|
475
662
|
'product-unavailable',
|
|
476
|
-
'product',
|
|
477
|
-
'profile-filled',
|
|
478
663
|
'profile',
|
|
479
|
-
'
|
|
664
|
+
'profile-filled',
|
|
480
665
|
'question-circle',
|
|
666
|
+
'question-circle-filled',
|
|
667
|
+
'radio-control',
|
|
668
|
+
'receipt',
|
|
481
669
|
'receipt-dollar',
|
|
482
670
|
'receipt-euro',
|
|
483
671
|
'receipt-folded',
|
|
@@ -486,7 +674,6 @@ declare const privateIconArray: readonly [
|
|
|
486
674
|
'receipt-refund',
|
|
487
675
|
'receipt-rupee',
|
|
488
676
|
'receipt-yen',
|
|
489
|
-
'receipt',
|
|
490
677
|
'receivables',
|
|
491
678
|
'redo',
|
|
492
679
|
'referral-code',
|
|
@@ -504,10 +691,12 @@ declare const privateIconArray: readonly [
|
|
|
504
691
|
'sandbox',
|
|
505
692
|
'save',
|
|
506
693
|
'savings',
|
|
694
|
+
'scan-qr-code',
|
|
695
|
+
'search',
|
|
696
|
+
'search-add',
|
|
507
697
|
'search-list',
|
|
508
698
|
'search-recent',
|
|
509
699
|
'search-resource',
|
|
510
|
-
'search',
|
|
511
700
|
'select',
|
|
512
701
|
'send',
|
|
513
702
|
'settings',
|
|
@@ -517,6 +706,7 @@ declare const privateIconArray: readonly [
|
|
|
517
706
|
'shield-pending',
|
|
518
707
|
'shield-person',
|
|
519
708
|
'shipping-label',
|
|
709
|
+
'shipping-label-cancel',
|
|
520
710
|
'shopcodes',
|
|
521
711
|
'slideshow',
|
|
522
712
|
'smiley-happy',
|
|
@@ -525,74 +715,80 @@ declare const privateIconArray: readonly [
|
|
|
525
715
|
'smiley-sad',
|
|
526
716
|
'social-ad',
|
|
527
717
|
'social-post',
|
|
718
|
+
'sort',
|
|
528
719
|
'sort-ascending',
|
|
529
720
|
'sort-descending',
|
|
530
|
-
'sort',
|
|
531
721
|
'sound',
|
|
722
|
+
'split',
|
|
532
723
|
'sports',
|
|
724
|
+
'star',
|
|
725
|
+
'star-circle',
|
|
533
726
|
'star-filled',
|
|
534
727
|
'star-half',
|
|
535
728
|
'star-list',
|
|
536
|
-
'star',
|
|
537
|
-
'status-active',
|
|
538
729
|
'status',
|
|
730
|
+
'status-active',
|
|
539
731
|
'stop-circle',
|
|
732
|
+
'store',
|
|
540
733
|
'store-import',
|
|
541
734
|
'store-managed',
|
|
542
735
|
'store-online',
|
|
543
|
-
'store',
|
|
544
736
|
'sun',
|
|
545
|
-
'table-masonry',
|
|
546
737
|
'table',
|
|
738
|
+
'table-masonry',
|
|
547
739
|
'tablet',
|
|
548
740
|
'target',
|
|
549
741
|
'tax',
|
|
550
742
|
'team',
|
|
743
|
+
'text',
|
|
551
744
|
'text-align-center',
|
|
552
745
|
'text-align-left',
|
|
553
746
|
'text-align-right',
|
|
554
747
|
'text-block',
|
|
555
748
|
'text-bold',
|
|
556
749
|
'text-color',
|
|
557
|
-
'text-font-list',
|
|
558
750
|
'text-font',
|
|
751
|
+
'text-font-list',
|
|
559
752
|
'text-grammar',
|
|
560
753
|
'text-in-columns',
|
|
561
754
|
'text-in-rows',
|
|
562
|
-
'text-indent-remove',
|
|
563
755
|
'text-indent',
|
|
756
|
+
'text-indent-remove',
|
|
564
757
|
'text-italic',
|
|
565
758
|
'text-quote',
|
|
566
759
|
'text-title',
|
|
567
760
|
'text-underline',
|
|
568
761
|
'text-with-image',
|
|
569
|
-
'
|
|
762
|
+
'theme',
|
|
570
763
|
'theme-edit',
|
|
571
764
|
'theme-store',
|
|
572
765
|
'theme-template',
|
|
573
|
-
'theme',
|
|
574
766
|
'three-d-environment',
|
|
575
767
|
'thumbs-down',
|
|
576
768
|
'thumbs-up',
|
|
577
769
|
'tip-jar',
|
|
578
770
|
'toggle-off',
|
|
579
771
|
'toggle-on',
|
|
772
|
+
'transaction',
|
|
773
|
+
'transaction-fee-add',
|
|
580
774
|
'transaction-fee-dollar',
|
|
581
775
|
'transaction-fee-euro',
|
|
582
776
|
'transaction-fee-pound',
|
|
583
777
|
'transaction-fee-rupee',
|
|
584
778
|
'transaction-fee-yen',
|
|
585
|
-
'
|
|
779
|
+
'transfer',
|
|
586
780
|
'transfer-in',
|
|
587
781
|
'transfer-internal',
|
|
588
782
|
'transfer-out',
|
|
589
|
-
'transfer',
|
|
590
783
|
'truck',
|
|
591
784
|
'undo',
|
|
592
785
|
'unknown-device',
|
|
593
786
|
'unlock',
|
|
594
787
|
'upload',
|
|
595
788
|
'variant',
|
|
789
|
+
'variant-list',
|
|
790
|
+
'video',
|
|
791
|
+
'video-list',
|
|
596
792
|
'view',
|
|
597
793
|
'viewport-narrow',
|
|
598
794
|
'viewport-short',
|
|
@@ -602,12 +798,12 @@ declare const privateIconArray: readonly [
|
|
|
602
798
|
'wand',
|
|
603
799
|
'watch',
|
|
604
800
|
'wifi',
|
|
605
|
-
'work-list',
|
|
606
801
|
'work',
|
|
802
|
+
'work-list',
|
|
607
803
|
'wrench',
|
|
608
|
-
'x-circle-filled',
|
|
609
|
-
'x-circle',
|
|
610
804
|
'x',
|
|
805
|
+
'x-circle',
|
|
806
|
+
'x-circle-filled',
|
|
611
807
|
];
|
|
612
808
|
export type IconType = (typeof privateIconArray)[number];
|
|
613
809
|
/**
|
|
@@ -620,6 +816,7 @@ export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
|
620
816
|
| `${T} ${T} ${T}`
|
|
621
817
|
| `${T} ${T} ${T} ${T}`;
|
|
622
818
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
819
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
623
820
|
/**
|
|
624
821
|
* Prevents widening string literal types in a union to `string`.
|
|
625
822
|
* @example
|
|
@@ -629,6 +826,13 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
629
826
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
630
827
|
*/
|
|
631
828
|
export type AnyString = string & {};
|
|
829
|
+
/**
|
|
830
|
+
* This is purely to give the ability
|
|
831
|
+
* to have a space or not in the string literal types.
|
|
832
|
+
*
|
|
833
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
834
|
+
*/
|
|
835
|
+
export type optionalSpace = '' | ' ';
|
|
632
836
|
interface BadgeProps$1 extends GlobalProps {
|
|
633
837
|
/**
|
|
634
838
|
* The content of the Badge.
|
|
@@ -663,22 +867,6 @@ interface BadgeProps$1 extends GlobalProps {
|
|
|
663
867
|
*/
|
|
664
868
|
size?: SizeKeyword;
|
|
665
869
|
}
|
|
666
|
-
export interface ActionProps {
|
|
667
|
-
/**
|
|
668
|
-
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
669
|
-
*/
|
|
670
|
-
heading?: string;
|
|
671
|
-
}
|
|
672
|
-
export interface ActionSlots {
|
|
673
|
-
/**
|
|
674
|
-
* The primary action to perform, provided as a button or link type element.
|
|
675
|
-
*/
|
|
676
|
-
primaryAction?: ComponentChildren;
|
|
677
|
-
/**
|
|
678
|
-
* The secondary actions to perform, provided as button or link type elements.
|
|
679
|
-
*/
|
|
680
|
-
secondaryActions?: ComponentChildren;
|
|
681
|
-
}
|
|
682
870
|
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
683
871
|
/**
|
|
684
872
|
* The title of the banner.
|
|
@@ -730,7 +918,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
|
730
918
|
*
|
|
731
919
|
* The `hidden` property will be `false` when this event fires.
|
|
732
920
|
*/
|
|
733
|
-
onDismiss?: () => void;
|
|
921
|
+
onDismiss?: (event: Event) => void;
|
|
734
922
|
/**
|
|
735
923
|
* Event handler when the banner has fully hidden.
|
|
736
924
|
*
|
|
@@ -740,7 +928,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
|
740
928
|
* this event must fire after the banner has fully hidden.
|
|
741
929
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
742
930
|
*/
|
|
743
|
-
onAfterHide?: () => void;
|
|
931
|
+
onAfterHide?: (event: Event) => void;
|
|
744
932
|
/**
|
|
745
933
|
* Determines whether the banner is hidden.
|
|
746
934
|
*
|
|
@@ -764,7 +952,7 @@ export interface DisplayProps {
|
|
|
764
952
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
765
953
|
* @default 'auto'
|
|
766
954
|
*/
|
|
767
|
-
display?: 'auto' | 'none'
|
|
955
|
+
display?: MaybeResponsive<'auto' | 'none'>;
|
|
768
956
|
}
|
|
769
957
|
export interface AccessibilityRoleProps {
|
|
770
958
|
/**
|
|
@@ -942,7 +1130,7 @@ export interface PaddingProps {
|
|
|
942
1130
|
*
|
|
943
1131
|
* @default 'none'
|
|
944
1132
|
*/
|
|
945
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1133
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
946
1134
|
/**
|
|
947
1135
|
* Adjust the block-padding.
|
|
948
1136
|
*
|
|
@@ -952,7 +1140,9 @@ export interface PaddingProps {
|
|
|
952
1140
|
*
|
|
953
1141
|
* @default '' - meaning no override
|
|
954
1142
|
*/
|
|
955
|
-
paddingBlock?:
|
|
1143
|
+
paddingBlock?: MaybeResponsive<
|
|
1144
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1145
|
+
>;
|
|
956
1146
|
/**
|
|
957
1147
|
* Adjust the block-start padding.
|
|
958
1148
|
*
|
|
@@ -960,7 +1150,7 @@ export interface PaddingProps {
|
|
|
960
1150
|
*
|
|
961
1151
|
* @default '' - meaning no override
|
|
962
1152
|
*/
|
|
963
|
-
paddingBlockStart?: PaddingKeyword | ''
|
|
1153
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
964
1154
|
/**
|
|
965
1155
|
* Adjust the block-end padding.
|
|
966
1156
|
*
|
|
@@ -968,7 +1158,7 @@ export interface PaddingProps {
|
|
|
968
1158
|
*
|
|
969
1159
|
* @default '' - meaning no override
|
|
970
1160
|
*/
|
|
971
|
-
paddingBlockEnd?: PaddingKeyword | ''
|
|
1161
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
972
1162
|
/**
|
|
973
1163
|
* Adjust the inline padding.
|
|
974
1164
|
*
|
|
@@ -978,7 +1168,9 @@ export interface PaddingProps {
|
|
|
978
1168
|
*
|
|
979
1169
|
* @default '' - meaning no override
|
|
980
1170
|
*/
|
|
981
|
-
paddingInline?:
|
|
1171
|
+
paddingInline?: MaybeResponsive<
|
|
1172
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1173
|
+
>;
|
|
982
1174
|
/**
|
|
983
1175
|
* Adjust the inline-start padding.
|
|
984
1176
|
*
|
|
@@ -986,7 +1178,7 @@ export interface PaddingProps {
|
|
|
986
1178
|
*
|
|
987
1179
|
* @default '' - meaning no override
|
|
988
1180
|
*/
|
|
989
|
-
paddingInlineStart?: PaddingKeyword | ''
|
|
1181
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
990
1182
|
/**
|
|
991
1183
|
* Adjust the inline-end padding.
|
|
992
1184
|
*
|
|
@@ -994,7 +1186,7 @@ export interface PaddingProps {
|
|
|
994
1186
|
*
|
|
995
1187
|
* @default '' - meaning no override
|
|
996
1188
|
*/
|
|
997
|
-
paddingInlineEnd?: PaddingKeyword | ''
|
|
1189
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
998
1190
|
}
|
|
999
1191
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
1000
1192
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
@@ -1007,7 +1199,7 @@ export interface SizingProps {
|
|
|
1007
1199
|
*
|
|
1008
1200
|
* @default 'auto'
|
|
1009
1201
|
*/
|
|
1010
|
-
blockSize?: SizeUnitsOrAuto
|
|
1202
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1011
1203
|
/**
|
|
1012
1204
|
* Adjust the minimum block size.
|
|
1013
1205
|
*
|
|
@@ -1015,7 +1207,7 @@ export interface SizingProps {
|
|
|
1015
1207
|
*
|
|
1016
1208
|
* @default '0'
|
|
1017
1209
|
*/
|
|
1018
|
-
minBlockSize?: SizeUnits
|
|
1210
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
1019
1211
|
/**
|
|
1020
1212
|
* Adjust the maximum block size.
|
|
1021
1213
|
*
|
|
@@ -1023,7 +1215,7 @@ export interface SizingProps {
|
|
|
1023
1215
|
*
|
|
1024
1216
|
* @default 'none'
|
|
1025
1217
|
*/
|
|
1026
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1218
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1027
1219
|
/**
|
|
1028
1220
|
* Adjust the inline size.
|
|
1029
1221
|
*
|
|
@@ -1031,7 +1223,7 @@ export interface SizingProps {
|
|
|
1031
1223
|
*
|
|
1032
1224
|
* @default 'auto'
|
|
1033
1225
|
*/
|
|
1034
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1226
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1035
1227
|
/**
|
|
1036
1228
|
* Adjust the minimum inline size.
|
|
1037
1229
|
*
|
|
@@ -1039,7 +1231,7 @@ export interface SizingProps {
|
|
|
1039
1231
|
*
|
|
1040
1232
|
* @default '0'
|
|
1041
1233
|
*/
|
|
1042
|
-
minInlineSize?: SizeUnits
|
|
1234
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
1043
1235
|
/**
|
|
1044
1236
|
* Adjust the maximum inline size.
|
|
1045
1237
|
*
|
|
@@ -1047,7 +1239,7 @@ export interface SizingProps {
|
|
|
1047
1239
|
*
|
|
1048
1240
|
* @default 'none'
|
|
1049
1241
|
*/
|
|
1050
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1242
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1051
1243
|
}
|
|
1052
1244
|
export type BorderStyleKeyword =
|
|
1053
1245
|
| 'none'
|
|
@@ -1162,8 +1354,7 @@ export interface OverflowProps {
|
|
|
1162
1354
|
overflow?: 'hidden' | 'visible';
|
|
1163
1355
|
}
|
|
1164
1356
|
export interface BaseBoxProps
|
|
1165
|
-
extends
|
|
1166
|
-
AccessibilityVisibilityProps,
|
|
1357
|
+
extends AccessibilityVisibilityProps,
|
|
1167
1358
|
BackgroundProps,
|
|
1168
1359
|
DisplayProps,
|
|
1169
1360
|
SizingProps,
|
|
@@ -1185,20 +1376,10 @@ export interface BaseBoxProps
|
|
|
1185
1376
|
export interface BaseBoxPropsWithRole
|
|
1186
1377
|
extends BaseBoxProps,
|
|
1187
1378
|
AccessibilityRoleProps {}
|
|
1188
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {}
|
|
1189
|
-
export interface FocusEventProps {
|
|
1190
|
-
/**
|
|
1191
|
-
* Callback when the element loses focus.
|
|
1192
|
-
*/
|
|
1193
|
-
onBlur?: () => void;
|
|
1194
|
-
/**
|
|
1195
|
-
* Callback when the element receives focus.
|
|
1196
|
-
*/
|
|
1197
|
-
onFocus?: () => void;
|
|
1198
|
-
}
|
|
1379
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {}
|
|
1199
1380
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1200
1381
|
/**
|
|
1201
|
-
* The behavior of the
|
|
1382
|
+
* The behavior of the Button.
|
|
1202
1383
|
*
|
|
1203
1384
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1204
1385
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1210,12 +1391,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1210
1391
|
*/
|
|
1211
1392
|
type?: 'submit' | 'button' | 'reset';
|
|
1212
1393
|
/**
|
|
1213
|
-
* Callback when the
|
|
1394
|
+
* Callback when the Button is activated.
|
|
1214
1395
|
* This will be called before the action indicated by `type`.
|
|
1396
|
+
*
|
|
1397
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1215
1398
|
*/
|
|
1216
|
-
onClick?: () => void;
|
|
1399
|
+
onClick?: (event: Event) => void;
|
|
1217
1400
|
/**
|
|
1218
|
-
* Disables the
|
|
1401
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1219
1402
|
*
|
|
1220
1403
|
* @default false
|
|
1221
1404
|
*/
|
|
@@ -1223,7 +1406,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1223
1406
|
/**
|
|
1224
1407
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1225
1408
|
*
|
|
1226
|
-
* This also disables the
|
|
1409
|
+
* This also disables the Button.
|
|
1227
1410
|
*
|
|
1228
1411
|
* @default false
|
|
1229
1412
|
*/
|
|
@@ -1253,15 +1436,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1253
1436
|
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | AnyString;
|
|
1254
1437
|
/**
|
|
1255
1438
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1256
|
-
* Download only works for same-origin URLs
|
|
1439
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1257
1440
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1258
1441
|
*/
|
|
1259
1442
|
download?: string;
|
|
1260
1443
|
/**
|
|
1261
1444
|
* Callback when the link is activated.
|
|
1262
1445
|
* This will be called before navigating to the location specified by `href`.
|
|
1446
|
+
*
|
|
1447
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1263
1448
|
*/
|
|
1264
|
-
onClick?: () => void;
|
|
1449
|
+
onClick?: (event: Event) => void;
|
|
1265
1450
|
}
|
|
1266
1451
|
export interface InteractionProps {
|
|
1267
1452
|
/**
|
|
@@ -1288,6 +1473,10 @@ export interface InteractionProps {
|
|
|
1288
1473
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1289
1474
|
*/
|
|
1290
1475
|
command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
|
|
1476
|
+
/**
|
|
1477
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1478
|
+
*/
|
|
1479
|
+
interestFor?: string;
|
|
1291
1480
|
}
|
|
1292
1481
|
export interface BaseClickableProps
|
|
1293
1482
|
extends ButtonBehaviorProps,
|
|
@@ -1296,7 +1485,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1296
1485
|
/**
|
|
1297
1486
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1298
1487
|
*
|
|
1299
|
-
* Use this when using only an icon or the
|
|
1488
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1300
1489
|
* for users using assistive technologies.
|
|
1301
1490
|
*/
|
|
1302
1491
|
accessibilityLabel?: string;
|
|
@@ -1305,13 +1494,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1305
1494
|
*/
|
|
1306
1495
|
children?: ComponentChildren;
|
|
1307
1496
|
/**
|
|
1308
|
-
* The type of icon to be displayed in the
|
|
1497
|
+
* The type of icon to be displayed in the Button.
|
|
1309
1498
|
*
|
|
1310
1499
|
* @default ''
|
|
1311
1500
|
*/
|
|
1312
1501
|
icon?: IconType | AnyString;
|
|
1313
1502
|
/**
|
|
1314
|
-
* The displayed inline width of the
|
|
1503
|
+
* The displayed inline width of the Button.
|
|
1315
1504
|
*
|
|
1316
1505
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1317
1506
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1327,7 +1516,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1327
1516
|
*/
|
|
1328
1517
|
variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
|
|
1329
1518
|
/**
|
|
1330
|
-
* Sets the tone of the Button
|
|
1519
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1331
1520
|
*
|
|
1332
1521
|
* @default 'auto'
|
|
1333
1522
|
*/
|
|
@@ -1339,6 +1528,23 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1339
1528
|
*/
|
|
1340
1529
|
lang?: string;
|
|
1341
1530
|
}
|
|
1531
|
+
interface ButtonGroupProps$1 extends GlobalProps, ActionSlots {
|
|
1532
|
+
/**
|
|
1533
|
+
* The content of the ButtonGroup.
|
|
1534
|
+
*/
|
|
1535
|
+
children?: ComponentChildren;
|
|
1536
|
+
/**
|
|
1537
|
+
* The gap between elements.
|
|
1538
|
+
* @default 'base'
|
|
1539
|
+
*/
|
|
1540
|
+
gap?: 'base' | 'none';
|
|
1541
|
+
/**
|
|
1542
|
+
* Label for the button group that describes the content of the group for screen reader users to understand what's included.
|
|
1543
|
+
*
|
|
1544
|
+
* @implementation Used as a hidden heading or an aria-label on the wrapping element.
|
|
1545
|
+
*/
|
|
1546
|
+
accessibilityLabel?: string;
|
|
1547
|
+
}
|
|
1342
1548
|
export interface BaseInputProps {
|
|
1343
1549
|
/**
|
|
1344
1550
|
* An identifier for the field that is unique within the nearest containing form.
|
|
@@ -1354,12 +1560,16 @@ export interface BaseInputProps {
|
|
|
1354
1560
|
export interface InputProps extends BaseInputProps {
|
|
1355
1561
|
/**
|
|
1356
1562
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1563
|
+
*
|
|
1564
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1357
1565
|
*/
|
|
1358
|
-
onChange?: (
|
|
1566
|
+
onChange?: (event: Event) => void;
|
|
1359
1567
|
/**
|
|
1360
1568
|
* Callback when the user makes any changes in the field.
|
|
1569
|
+
*
|
|
1570
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1361
1571
|
*/
|
|
1362
|
-
onInput?: (
|
|
1572
|
+
onInput?: (event: Event) => void;
|
|
1363
1573
|
/**
|
|
1364
1574
|
* The current value for the field. If omitted, the field will be empty.
|
|
1365
1575
|
*/
|
|
@@ -1373,13 +1583,17 @@ export interface InputProps extends BaseInputProps {
|
|
|
1373
1583
|
}
|
|
1374
1584
|
export interface MultipleInputProps extends BaseInputProps {
|
|
1375
1585
|
/**
|
|
1376
|
-
* Callback when the user has selected
|
|
1586
|
+
* Callback when the user has selected option(s).
|
|
1587
|
+
*
|
|
1588
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1377
1589
|
*/
|
|
1378
|
-
onChange?: (
|
|
1590
|
+
onChange?: (event: Event) => void;
|
|
1379
1591
|
/**
|
|
1380
|
-
* Callback when the user has selected
|
|
1592
|
+
* Callback when the user has selected option(s).
|
|
1593
|
+
*
|
|
1594
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1381
1595
|
*/
|
|
1382
|
-
onInput?: (
|
|
1596
|
+
onInput?: (event: Event) => void;
|
|
1383
1597
|
/**
|
|
1384
1598
|
* An array of the `value`s of the selected options.
|
|
1385
1599
|
*
|
|
@@ -1387,6 +1601,35 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1387
1601
|
*/
|
|
1388
1602
|
values?: string[];
|
|
1389
1603
|
}
|
|
1604
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1605
|
+
/**
|
|
1606
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1607
|
+
*/
|
|
1608
|
+
onChange?: (event: Event) => void;
|
|
1609
|
+
/**
|
|
1610
|
+
* Callback when the user makes any changes in the file selection.
|
|
1611
|
+
*/
|
|
1612
|
+
onInput?: (event: Event) => void;
|
|
1613
|
+
/**
|
|
1614
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1615
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1616
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1617
|
+
*
|
|
1618
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1619
|
+
*
|
|
1620
|
+
* @default ''
|
|
1621
|
+
*/
|
|
1622
|
+
value?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1625
|
+
*
|
|
1626
|
+
* This property is read-only and cannot be directly modified.
|
|
1627
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1628
|
+
*
|
|
1629
|
+
* @default []
|
|
1630
|
+
*/
|
|
1631
|
+
files?: ReadonlyArray<File>;
|
|
1632
|
+
}
|
|
1390
1633
|
export interface FieldErrorProps {
|
|
1391
1634
|
/**
|
|
1392
1635
|
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
@@ -1595,12 +1838,16 @@ export interface BaseCheckableProps
|
|
|
1595
1838
|
name?: string;
|
|
1596
1839
|
/**
|
|
1597
1840
|
* A callback that is run whenever the control is changed.
|
|
1841
|
+
*
|
|
1842
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1598
1843
|
*/
|
|
1599
|
-
onChange?: (
|
|
1844
|
+
onChange?: (event: Event) => void;
|
|
1600
1845
|
/**
|
|
1601
1846
|
* A callback that is run whenever the control is changed.
|
|
1847
|
+
*
|
|
1848
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1602
1849
|
*/
|
|
1603
|
-
onInput?: (
|
|
1850
|
+
onInput?: (event: Event) => void;
|
|
1604
1851
|
}
|
|
1605
1852
|
interface CheckboxProps$1
|
|
1606
1853
|
extends GlobalProps,
|
|
@@ -1640,11 +1887,42 @@ interface CheckboxProps$1
|
|
|
1640
1887
|
*/
|
|
1641
1888
|
required?: boolean;
|
|
1642
1889
|
}
|
|
1890
|
+
export interface ChipProps$1 extends GlobalProps {
|
|
1891
|
+
/**
|
|
1892
|
+
* The content of the chip.
|
|
1893
|
+
*/
|
|
1894
|
+
children?: ComponentChildren;
|
|
1895
|
+
/**
|
|
1896
|
+
* The graphic to display inside of the chip.
|
|
1897
|
+
*
|
|
1898
|
+
* @implementation Only `s-icon` is supported.
|
|
1899
|
+
*/
|
|
1900
|
+
graphic?: ComponentChildren;
|
|
1901
|
+
/**
|
|
1902
|
+
* A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
|
|
1903
|
+
*/
|
|
1904
|
+
accessibilityLabel?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Modify the color to be more or less intense.
|
|
1907
|
+
*
|
|
1908
|
+
* @default 'base'
|
|
1909
|
+
*/
|
|
1910
|
+
color?: ColorKeyword;
|
|
1911
|
+
}
|
|
1912
|
+
interface ChipProps$2 extends ChipProps$1, GlobalProps {}
|
|
1643
1913
|
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1644
1914
|
/**
|
|
1645
1915
|
* Content to use as the choice label.
|
|
1916
|
+
*
|
|
1917
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1918
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1919
|
+
* element structure is ignored.
|
|
1920
|
+
*
|
|
1921
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1922
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1923
|
+
* is no coercion to a string.
|
|
1646
1924
|
*/
|
|
1647
|
-
|
|
1925
|
+
children?: ComponentChildren | StringChildren;
|
|
1648
1926
|
/**
|
|
1649
1927
|
* Additional text to provide context or guidance for the input.
|
|
1650
1928
|
*
|
|
@@ -1653,13 +1931,23 @@ interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
|
1653
1931
|
*
|
|
1654
1932
|
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1655
1933
|
*/
|
|
1656
|
-
details?:
|
|
1934
|
+
details?: ComponentChildren;
|
|
1657
1935
|
/**
|
|
1658
1936
|
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1659
1937
|
*
|
|
1660
1938
|
* @default false
|
|
1661
1939
|
*/
|
|
1662
1940
|
error?: boolean;
|
|
1941
|
+
/**
|
|
1942
|
+
* Secondary content for a choice.
|
|
1943
|
+
*/
|
|
1944
|
+
secondaryContent?: ComponentChildren;
|
|
1945
|
+
/**
|
|
1946
|
+
* Content to display when the option is selected.
|
|
1947
|
+
*
|
|
1948
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1949
|
+
*/
|
|
1950
|
+
selectedContent?: ComponentChildren;
|
|
1663
1951
|
}
|
|
1664
1952
|
interface ChoiceListProps$1
|
|
1665
1953
|
extends GlobalProps,
|
|
@@ -1686,8 +1974,26 @@ interface ChoiceListProps$1
|
|
|
1686
1974
|
* @default false
|
|
1687
1975
|
*/
|
|
1688
1976
|
disabled?: MultipleInputProps['disabled'];
|
|
1977
|
+
/**
|
|
1978
|
+
* The variant of the choice grid.
|
|
1979
|
+
*
|
|
1980
|
+
* - `auto`: The variant is determined by the context.
|
|
1981
|
+
* - `list`: The choices are displayed in a list.
|
|
1982
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1983
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1984
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1985
|
+
*
|
|
1986
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1987
|
+
* discretion of each surface.
|
|
1988
|
+
*
|
|
1989
|
+
* @default 'auto'
|
|
1990
|
+
*/
|
|
1991
|
+
variant?: 'auto' | 'list' | 'inline' | 'block' | 'grid';
|
|
1689
1992
|
}
|
|
1690
|
-
interface ClickableProps$1
|
|
1993
|
+
interface ClickableProps$1
|
|
1994
|
+
extends GlobalProps,
|
|
1995
|
+
BaseBoxProps,
|
|
1996
|
+
BaseClickableProps {
|
|
1691
1997
|
/**
|
|
1692
1998
|
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1693
1999
|
*
|
|
@@ -1715,158 +2021,95 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
|
1715
2021
|
*/
|
|
1716
2022
|
lang?: string;
|
|
1717
2023
|
}
|
|
1718
|
-
interface
|
|
2024
|
+
interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1719
2025
|
/**
|
|
1720
|
-
*
|
|
1721
|
-
*
|
|
1722
|
-
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1723
|
-
*
|
|
1724
|
-
* Defaults to the current month in the user's locale.
|
|
2026
|
+
* Callback when the chip is clicked.
|
|
1725
2027
|
*/
|
|
1726
|
-
|
|
2028
|
+
onClick?: (event: Event) => void;
|
|
1727
2029
|
/**
|
|
1728
|
-
*
|
|
1729
|
-
*
|
|
1730
|
-
* `onViewChange` is called when this value changes.
|
|
2030
|
+
* The URL to link to.
|
|
1731
2031
|
*
|
|
1732
|
-
*
|
|
2032
|
+
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
1733
2033
|
*/
|
|
1734
|
-
|
|
2034
|
+
href?: string;
|
|
1735
2035
|
/**
|
|
1736
|
-
*
|
|
2036
|
+
* Whether the chip is removable.
|
|
1737
2037
|
*
|
|
1738
|
-
* @
|
|
2038
|
+
* @default false
|
|
1739
2039
|
*/
|
|
1740
|
-
|
|
2040
|
+
removable?: boolean;
|
|
1741
2041
|
/**
|
|
1742
|
-
*
|
|
1743
|
-
*
|
|
1744
|
-
* - `single` allows selecting a single date.
|
|
1745
|
-
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
1746
|
-
* - `range` allows selecting a single range of dates.
|
|
1747
|
-
*
|
|
1748
|
-
* @default "single"
|
|
2042
|
+
* Callback when the chip is removed.
|
|
1749
2043
|
*/
|
|
1750
|
-
|
|
2044
|
+
onRemove?: (event: Event) => void;
|
|
1751
2045
|
/**
|
|
1752
|
-
*
|
|
1753
|
-
*
|
|
1754
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1755
|
-
*
|
|
1756
|
-
* The default `''` allows all dates.
|
|
2046
|
+
* Determines whether the chip is hidden.
|
|
1757
2047
|
*
|
|
1758
|
-
*
|
|
1759
|
-
*
|
|
1760
|
-
*
|
|
1761
|
-
* - Ranges are expressed as `start--end`.
|
|
1762
|
-
* - Ranges are inclusive.
|
|
1763
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1764
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1765
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1766
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1767
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1768
|
-
* - Whitespace is allowed either side of `--`.
|
|
2048
|
+
* If this property is being set on each framework render (as in 'controlled' usage),
|
|
2049
|
+
* and the chip is `removable`,
|
|
2050
|
+
* ensure you update app state for this property when the `remove` event fires.
|
|
1769
2051
|
*
|
|
1770
|
-
*
|
|
2052
|
+
* If the chip is not `removable`, it can still be hidden by setting this property.
|
|
1771
2053
|
*
|
|
1772
|
-
* @
|
|
1773
|
-
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
1774
|
-
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
1775
|
-
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2054
|
+
* @default false
|
|
1776
2055
|
*/
|
|
1777
|
-
|
|
2056
|
+
hidden?: boolean;
|
|
1778
2057
|
/**
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1781
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1782
|
-
*
|
|
1783
|
-
* The default `''` has no effect on `allowDates`.
|
|
1784
|
-
*
|
|
1785
|
-
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
1786
|
-
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
1787
|
-
* - Dates in `YYYY` format disallow a whole year.
|
|
1788
|
-
* - Ranges are expressed as `start--end`.
|
|
1789
|
-
* - Ranges are inclusive.
|
|
1790
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1791
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1792
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1793
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1794
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1795
|
-
* - Whitespace is allowed either side of `--`.
|
|
2058
|
+
* Event handler when the chip has fully hidden.
|
|
1796
2059
|
*
|
|
1797
|
-
*
|
|
2060
|
+
* The `hidden` property will be `true` when this event fires.
|
|
1798
2061
|
*
|
|
1799
|
-
* @
|
|
1800
|
-
*
|
|
1801
|
-
*
|
|
2062
|
+
* @implementation If implementations animate the hiding of the chip,
|
|
2063
|
+
* this event must fire after the chip has fully hidden.
|
|
2064
|
+
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
1802
2065
|
*/
|
|
1803
|
-
|
|
2066
|
+
onAfterHide?: (event: Event) => void;
|
|
1804
2067
|
/**
|
|
1805
|
-
*
|
|
2068
|
+
* Disables the chip, disallowing any interaction.
|
|
1806
2069
|
*
|
|
1807
|
-
*
|
|
1808
|
-
*
|
|
1809
|
-
* The default `''` has no effect on the result of `allowDates` and `disallowDates`.
|
|
1810
|
-
*
|
|
1811
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1812
|
-
*
|
|
1813
|
-
* @default ""
|
|
1814
|
-
*
|
|
1815
|
-
* @example
|
|
1816
|
-
* 'saturday, sunday' // allow only weekends within the result of `allowDates` and `disallowDates`.
|
|
2070
|
+
* @default false
|
|
1817
2071
|
*/
|
|
1818
|
-
|
|
2072
|
+
disabled?: boolean;
|
|
2073
|
+
}
|
|
2074
|
+
interface ColorPickerProps$1 extends GlobalProps, InputProps {
|
|
1819
2075
|
/**
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1822
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2076
|
+
* Allow user to select an alpha value.
|
|
1823
2077
|
*
|
|
1824
|
-
*
|
|
1825
|
-
*
|
|
1826
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1827
|
-
*
|
|
1828
|
-
* @default ""
|
|
1829
|
-
*
|
|
1830
|
-
* @example
|
|
1831
|
-
* 'saturday, sunday' // disallow weekends within the result of `allowDates` and `disallowDates`.
|
|
2078
|
+
* @default false
|
|
1832
2079
|
*/
|
|
1833
|
-
|
|
2080
|
+
alpha?: boolean;
|
|
1834
2081
|
/**
|
|
1835
|
-
*
|
|
1836
|
-
*
|
|
1837
|
-
* The default means no date is selected.
|
|
2082
|
+
* This callback will emit the value in hex.
|
|
1838
2083
|
*
|
|
1839
|
-
* If the
|
|
1840
|
-
*
|
|
1841
|
-
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
1842
|
-
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
1843
|
-
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
1844
|
-
*
|
|
1845
|
-
* @default ""
|
|
2084
|
+
* If the `alpha` prop is `true`, `onChange` will emit an 8-value hex (#RRGGBBAA).
|
|
2085
|
+
* If the `alpha` prop is `false`, `onChange` will emit a 6-value hex (#RRGGBB).
|
|
1846
2086
|
*/
|
|
1847
|
-
|
|
2087
|
+
onChange?: InputProps['onChange'];
|
|
1848
2088
|
/**
|
|
1849
|
-
*
|
|
1850
|
-
*
|
|
1851
|
-
* The default means no date is selected.
|
|
2089
|
+
* This callback will emit the value in hex.
|
|
1852
2090
|
*
|
|
1853
|
-
* If the
|
|
2091
|
+
* If the `alpha` prop is `true`, `onInput` will emit an 8-value hex (#RRGGBBAA).
|
|
2092
|
+
* If the `alpha` prop is `false`, `onInput` will emit a 6-value hex (#RRGGBB).
|
|
2093
|
+
*/
|
|
2094
|
+
onInput?: InputProps['onChange'];
|
|
2095
|
+
/**
|
|
2096
|
+
* The currently selected color.
|
|
1854
2097
|
*
|
|
1855
|
-
*
|
|
2098
|
+
* Supported formats include:
|
|
2099
|
+
* - HSL @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
|
|
2100
|
+
* - HSLA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
|
|
2101
|
+
* - RGB @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2102
|
+
* - RGBA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2103
|
+
* - Hex (3-value, 4-value, 6-value, 8-value) @see https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color
|
|
1856
2104
|
*
|
|
1857
|
-
*
|
|
1858
|
-
*
|
|
1859
|
-
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
1860
|
-
*
|
|
1861
|
-
* Events:
|
|
2105
|
+
* For RGB and RGBA, both the legacy syntax (comma-separated) and modern syntax (space-separate) are supported.
|
|
2106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
1862
2107
|
*
|
|
1863
|
-
*
|
|
1864
|
-
* - `onChange` - Invoked when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
1865
|
-
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2108
|
+
* If the value is invalid, the component will return an empty string ''.
|
|
1866
2109
|
*
|
|
1867
|
-
*
|
|
2110
|
+
* Note that the `onChange` handler will emit the value in hex.
|
|
1868
2111
|
*/
|
|
1869
|
-
value?:
|
|
2112
|
+
value?: InputProps['value'];
|
|
1870
2113
|
}
|
|
1871
2114
|
export interface AutocompleteProps<
|
|
1872
2115
|
AutocompleteField extends AnyAutocompleteField,
|
|
@@ -1950,78 +2193,297 @@ export type AnyAutocompleteField =
|
|
|
1950
2193
|
| 'bday-day'
|
|
1951
2194
|
| 'bday-month'
|
|
1952
2195
|
| 'bday-year'
|
|
1953
|
-
| 'bday'
|
|
1954
|
-
| 'cc-additional-name'
|
|
2196
|
+
| 'bday'
|
|
2197
|
+
| 'cc-additional-name'
|
|
2198
|
+
| 'cc-expiry-month'
|
|
2199
|
+
| 'cc-expiry-year'
|
|
2200
|
+
| 'cc-expiry'
|
|
2201
|
+
| 'cc-family-name'
|
|
2202
|
+
| 'cc-given-name'
|
|
2203
|
+
| 'cc-name'
|
|
2204
|
+
| 'cc-number'
|
|
2205
|
+
| 'cc-csc'
|
|
2206
|
+
| 'cc-type'
|
|
2207
|
+
| `${AutocompleteAddressGroup} email`
|
|
2208
|
+
| 'impp'
|
|
2209
|
+
| `${AutocompleteAddressGroup} impp`
|
|
2210
|
+
| 'tel'
|
|
2211
|
+
| 'tel-area-code'
|
|
2212
|
+
| 'tel-country-code'
|
|
2213
|
+
| 'tel-extension'
|
|
2214
|
+
| 'tel-local-prefix'
|
|
2215
|
+
| 'tel-local-suffix'
|
|
2216
|
+
| 'tel-local'
|
|
2217
|
+
| 'tel-national'
|
|
2218
|
+
| `${AutocompleteAddressGroup} tel`
|
|
2219
|
+
| `${AutocompleteAddressGroup} tel-area-code`
|
|
2220
|
+
| `${AutocompleteAddressGroup} tel-country-code`
|
|
2221
|
+
| `${AutocompleteAddressGroup} tel-extension`
|
|
2222
|
+
| `${AutocompleteAddressGroup} tel-local-prefix`
|
|
2223
|
+
| `${AutocompleteAddressGroup} tel-local-suffix`
|
|
2224
|
+
| `${AutocompleteAddressGroup} tel-local`
|
|
2225
|
+
| `${AutocompleteAddressGroup} tel-national`;
|
|
2226
|
+
export type TextAutocompleteField = ExtractStrict<
|
|
2227
|
+
AnyAutocompleteField,
|
|
2228
|
+
| 'additional-name'
|
|
2229
|
+
| 'address-level1'
|
|
2230
|
+
| 'address-level2'
|
|
2231
|
+
| 'address-level3'
|
|
2232
|
+
| 'address-level4'
|
|
2233
|
+
| 'address-line1'
|
|
2234
|
+
| 'address-line2'
|
|
2235
|
+
| 'address-line3'
|
|
2236
|
+
| 'country-name'
|
|
2237
|
+
| 'country'
|
|
2238
|
+
| 'family-name'
|
|
2239
|
+
| 'given-name'
|
|
2240
|
+
| 'honorific-prefix'
|
|
2241
|
+
| 'honorific-suffix'
|
|
2242
|
+
| 'language'
|
|
2243
|
+
| 'name'
|
|
2244
|
+
| 'nickname'
|
|
2245
|
+
| 'one-time-code'
|
|
2246
|
+
| 'organization-title'
|
|
2247
|
+
| 'organization'
|
|
2248
|
+
| 'postal-code'
|
|
2249
|
+
| 'sex'
|
|
2250
|
+
| 'street-address'
|
|
2251
|
+
| 'transaction-currency'
|
|
2252
|
+
| 'username'
|
|
2253
|
+
| 'cc-name'
|
|
2254
|
+
| 'cc-given-name'
|
|
2255
|
+
| 'cc-additional-name'
|
|
2256
|
+
| 'cc-family-name'
|
|
2257
|
+
| 'cc-type'
|
|
2258
|
+
>;
|
|
2259
|
+
interface ColorFieldProps$1
|
|
2260
|
+
extends GlobalProps,
|
|
2261
|
+
BaseTextFieldProps,
|
|
2262
|
+
Pick<ColorPickerProps$1, 'alpha' | 'value' | 'defaultValue'> {
|
|
2263
|
+
autocomplete?: Extract<
|
|
2264
|
+
AutocompleteProps<never>['autocomplete'],
|
|
2265
|
+
'on' | 'off'
|
|
2266
|
+
>;
|
|
2267
|
+
}
|
|
2268
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
2269
|
+
/**
|
|
2270
|
+
* Default month to display in `YYYY-MM` format.
|
|
2271
|
+
*
|
|
2272
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
2273
|
+
*
|
|
2274
|
+
* Defaults to the current month in the user's locale.
|
|
2275
|
+
*/
|
|
2276
|
+
defaultView?: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* Displayed month in `YYYY-MM` format.
|
|
2279
|
+
*
|
|
2280
|
+
* `onViewChange` is called when this value changes.
|
|
2281
|
+
*
|
|
2282
|
+
* Defaults to `defaultView`.
|
|
2283
|
+
*/
|
|
2284
|
+
view?: string;
|
|
2285
|
+
/**
|
|
2286
|
+
* Called whenever the month to display changes.
|
|
2287
|
+
*
|
|
2288
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
2289
|
+
*/
|
|
2290
|
+
onViewChange?: (view: string) => void;
|
|
2291
|
+
/**
|
|
2292
|
+
* The type of selection the date picker allows.
|
|
2293
|
+
*
|
|
2294
|
+
* - `single` allows selecting a single date.
|
|
2295
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
2296
|
+
* - `range` allows selecting a single range of dates.
|
|
2297
|
+
*
|
|
2298
|
+
* @default "single"
|
|
2299
|
+
*/
|
|
2300
|
+
type?: 'single' | 'multiple' | 'range';
|
|
2301
|
+
/**
|
|
2302
|
+
* Dates that can be selected.
|
|
2303
|
+
*
|
|
2304
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2305
|
+
*
|
|
2306
|
+
* The default `''` allows all dates.
|
|
2307
|
+
*
|
|
2308
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
2309
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
2310
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
2311
|
+
* - Ranges are expressed as `start--end`.
|
|
2312
|
+
* - Ranges are inclusive.
|
|
2313
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2314
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2315
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2316
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2317
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2318
|
+
* - Whitespace is allowed either side of `--`.
|
|
2319
|
+
*
|
|
2320
|
+
* @default ""
|
|
2321
|
+
*
|
|
2322
|
+
* @example
|
|
2323
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
2324
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
2325
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2326
|
+
*/
|
|
2327
|
+
allow?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
2330
|
+
*
|
|
2331
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2332
|
+
*
|
|
2333
|
+
* The default `''` has no effect on `allow`.
|
|
2334
|
+
*
|
|
2335
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
2336
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
2337
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
2338
|
+
* - Ranges are expressed as `start--end`.
|
|
2339
|
+
* - Ranges are inclusive.
|
|
2340
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2341
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2342
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2343
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2344
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2345
|
+
* - Whitespace is allowed either side of `--`.
|
|
2346
|
+
*
|
|
2347
|
+
* @default ""
|
|
2348
|
+
*
|
|
2349
|
+
* @example
|
|
2350
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2351
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2352
|
+
*/
|
|
2353
|
+
disallow?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2356
|
+
*
|
|
2357
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2358
|
+
*
|
|
2359
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2360
|
+
*
|
|
2361
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2362
|
+
*
|
|
2363
|
+
* @default ""
|
|
2364
|
+
*
|
|
2365
|
+
* @example
|
|
2366
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2367
|
+
*/
|
|
2368
|
+
allowDays?: string;
|
|
2369
|
+
/**
|
|
2370
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2371
|
+
*
|
|
2372
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2373
|
+
*
|
|
2374
|
+
* The default `''` has no effect on `allowDays`.
|
|
2375
|
+
*
|
|
2376
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2377
|
+
*
|
|
2378
|
+
* @default ""
|
|
2379
|
+
*
|
|
2380
|
+
* @example
|
|
2381
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2382
|
+
*/
|
|
2383
|
+
disallowDays?: string;
|
|
2384
|
+
/**
|
|
2385
|
+
* Default selected value.
|
|
2386
|
+
*
|
|
2387
|
+
* The default means no date is selected.
|
|
2388
|
+
*
|
|
2389
|
+
* If the provided value is invalid, no date is selected.
|
|
2390
|
+
*
|
|
2391
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2392
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2393
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2394
|
+
*
|
|
2395
|
+
* @default ""
|
|
2396
|
+
*/
|
|
2397
|
+
defaultValue?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Current selected value.
|
|
2400
|
+
*
|
|
2401
|
+
* The default means no date is selected.
|
|
2402
|
+
*
|
|
2403
|
+
* If the provided value is invalid, no date is selected.
|
|
2404
|
+
*
|
|
2405
|
+
* Otherwise:
|
|
2406
|
+
*
|
|
2407
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2408
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2409
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2410
|
+
*
|
|
2411
|
+
* @default ""
|
|
2412
|
+
*/
|
|
2413
|
+
value?: string;
|
|
2414
|
+
/**
|
|
2415
|
+
* Callback when any date is selected.
|
|
2416
|
+
*
|
|
2417
|
+
* - If `type="single"`, fires when a date is selected and happens before `onChange`.
|
|
2418
|
+
* - If `type="multiple"`, fires when a date is selected before `onChange`.
|
|
2419
|
+
* - If `type="range"`, fires when a first date is selected (with the partial value formatted as `YYYY-MM-DD--`), and when the last date is selected before `onChange`.
|
|
2420
|
+
*/
|
|
2421
|
+
onInput?: (event: Event) => void;
|
|
2422
|
+
/**
|
|
2423
|
+
* Callback when the value is committed.
|
|
2424
|
+
*
|
|
2425
|
+
* - If `type="single"`, fires when a date is selected after `onInput`.
|
|
2426
|
+
* - If `type="multiple"`, fires when a date is selected after `onInput`.
|
|
2427
|
+
* - If `type="range"`, fires when a range is completed by selecting the end date after `onInput`.
|
|
2428
|
+
*/
|
|
2429
|
+
onChange?: (event: Event) => void;
|
|
2430
|
+
}
|
|
2431
|
+
interface DateFieldProps$1
|
|
2432
|
+
extends GlobalProps,
|
|
2433
|
+
BaseTextFieldProps,
|
|
2434
|
+
Pick<
|
|
2435
|
+
DatePickerProps$1,
|
|
2436
|
+
| 'view'
|
|
2437
|
+
| 'defaultView'
|
|
2438
|
+
| 'value'
|
|
2439
|
+
| 'defaultValue'
|
|
2440
|
+
| 'allow'
|
|
2441
|
+
| 'disallow'
|
|
2442
|
+
| 'allowDays'
|
|
2443
|
+
| 'disallowDays'
|
|
2444
|
+
| 'onViewChange'
|
|
2445
|
+
>,
|
|
2446
|
+
AutocompleteProps<DateAutocompleteField> {
|
|
2447
|
+
/**
|
|
2448
|
+
* Callback when the user makes any changes in the field.
|
|
2449
|
+
* Also triggered when a date is selected using the date picker popup before `onChange`.
|
|
2450
|
+
*/
|
|
2451
|
+
onInput?: (event: Event) => void;
|
|
2452
|
+
/**
|
|
2453
|
+
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
2454
|
+
* Also triggered when a date is selected using the date picker popup after `onInput`.
|
|
2455
|
+
*/
|
|
2456
|
+
onChange?: (event: Event) => void;
|
|
2457
|
+
/**
|
|
2458
|
+
* Callback when the field has an invalid date.
|
|
2459
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2460
|
+
*
|
|
2461
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2462
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2463
|
+
* - 2021-02-00: The day can’t be 00
|
|
2464
|
+
*
|
|
2465
|
+
* Disallowed dates are considered invalid.
|
|
2466
|
+
*
|
|
2467
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2468
|
+
* and it’s called right after the `onChange` callback.
|
|
2469
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2470
|
+
* they have finished editing the field (typically, by blurring the field), the field gets validated and the callback is run if the value is invalid.
|
|
2471
|
+
*/
|
|
2472
|
+
onInvalid?: (event: Event) => void;
|
|
2473
|
+
}
|
|
2474
|
+
export type DateAutocompleteField = ExtractStrict<
|
|
2475
|
+
AnyAutocompleteField,
|
|
2476
|
+
| 'bday'
|
|
2477
|
+
| 'bday-day'
|
|
2478
|
+
| 'bday-month'
|
|
2479
|
+
| 'bday-year'
|
|
2480
|
+
| 'cc-expiry'
|
|
1955
2481
|
| 'cc-expiry-month'
|
|
1956
2482
|
| 'cc-expiry-year'
|
|
1957
|
-
| 'cc-expiry'
|
|
1958
|
-
| 'cc-family-name'
|
|
1959
|
-
| 'cc-given-name'
|
|
1960
|
-
| 'cc-name'
|
|
1961
|
-
| 'cc-number'
|
|
1962
|
-
| 'cc-csc'
|
|
1963
|
-
| 'cc-type'
|
|
1964
|
-
| `${AutocompleteAddressGroup} email`
|
|
1965
|
-
| 'impp'
|
|
1966
|
-
| `${AutocompleteAddressGroup} impp`
|
|
1967
|
-
| 'tel'
|
|
1968
|
-
| 'tel-area-code'
|
|
1969
|
-
| 'tel-country-code'
|
|
1970
|
-
| 'tel-extension'
|
|
1971
|
-
| 'tel-local-prefix'
|
|
1972
|
-
| 'tel-local-suffix'
|
|
1973
|
-
| 'tel-local'
|
|
1974
|
-
| 'tel-national'
|
|
1975
|
-
| `${AutocompleteAddressGroup} tel`
|
|
1976
|
-
| `${AutocompleteAddressGroup} tel-area-code`
|
|
1977
|
-
| `${AutocompleteAddressGroup} tel-country-code`
|
|
1978
|
-
| `${AutocompleteAddressGroup} tel-extension`
|
|
1979
|
-
| `${AutocompleteAddressGroup} tel-local-prefix`
|
|
1980
|
-
| `${AutocompleteAddressGroup} tel-local-suffix`
|
|
1981
|
-
| `${AutocompleteAddressGroup} tel-local`
|
|
1982
|
-
| `${AutocompleteAddressGroup} tel-national`;
|
|
1983
|
-
export type TextAutocompleteField = ExtractStrict<
|
|
1984
|
-
AnyAutocompleteField,
|
|
1985
|
-
| 'additional-name'
|
|
1986
|
-
| 'address-level1'
|
|
1987
|
-
| 'address-level2'
|
|
1988
|
-
| 'address-level3'
|
|
1989
|
-
| 'address-level4'
|
|
1990
|
-
| 'address-line1'
|
|
1991
|
-
| 'address-line2'
|
|
1992
|
-
| 'address-line3'
|
|
1993
|
-
| 'country-name'
|
|
1994
|
-
| 'country'
|
|
1995
|
-
| 'family-name'
|
|
1996
|
-
| 'given-name'
|
|
1997
|
-
| 'honorific-prefix'
|
|
1998
|
-
| 'honorific-suffix'
|
|
1999
|
-
| 'language'
|
|
2000
|
-
| 'name'
|
|
2001
|
-
| 'nickname'
|
|
2002
|
-
| 'one-time-code'
|
|
2003
|
-
| 'organization-title'
|
|
2004
|
-
| 'organization'
|
|
2005
|
-
| 'postal-code'
|
|
2006
|
-
| 'sex'
|
|
2007
|
-
| 'street-address'
|
|
2008
|
-
| 'transaction-currency'
|
|
2009
|
-
| 'username'
|
|
2010
|
-
| 'cc-name'
|
|
2011
|
-
| 'cc-given-name'
|
|
2012
|
-
| 'cc-additional-name'
|
|
2013
|
-
| 'cc-family-name'
|
|
2014
|
-
| 'cc-type'
|
|
2015
2483
|
>;
|
|
2016
2484
|
interface DividerProps$1 extends GlobalProps {
|
|
2017
2485
|
/**
|
|
2018
|
-
* Specify the direction of the divider.
|
|
2019
|
-
*
|
|
2020
|
-
* An 'inline' divider separates blocks of content.
|
|
2021
|
-
* In a left-to-right or right-to-left writing mode, this would typically be a horizontal line.
|
|
2022
|
-
*
|
|
2023
|
-
* A 'block' divider separates items within the current line of content.
|
|
2024
|
-
* In a left-to-right or right-to-left writing mode, this would typically be a vertical line.
|
|
2486
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2025
2487
|
*
|
|
2026
2488
|
* @default 'inline'
|
|
2027
2489
|
*/
|
|
@@ -2033,6 +2495,37 @@ interface DividerProps$1 extends GlobalProps {
|
|
|
2033
2495
|
*/
|
|
2034
2496
|
color?: ColorKeyword;
|
|
2035
2497
|
}
|
|
2498
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2499
|
+
/**
|
|
2500
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
2501
|
+
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
2502
|
+
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
2503
|
+
* - A valid MIME type string with no extensions
|
|
2504
|
+
*
|
|
2505
|
+
* If omitted, all file types are accepted.
|
|
2506
|
+
*
|
|
2507
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2508
|
+
* @default ''
|
|
2509
|
+
*/
|
|
2510
|
+
accept?: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* A label that describes the purpose or contents of the item. When set,
|
|
2513
|
+
* it will be announced to buyers using assistive technologies and will
|
|
2514
|
+
* provide them with more context.
|
|
2515
|
+
*/
|
|
2516
|
+
accessibilityLabel?: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* Whether multiple files can be selected or dropped at once.
|
|
2519
|
+
*
|
|
2520
|
+
* @default false
|
|
2521
|
+
*/
|
|
2522
|
+
multiple?: boolean;
|
|
2523
|
+
/**
|
|
2524
|
+
* Callback fired when rejected files are dropped.
|
|
2525
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
2526
|
+
*/
|
|
2527
|
+
onDropRejected?: (event: Event) => void;
|
|
2528
|
+
}
|
|
2036
2529
|
interface EmailFieldProps$1
|
|
2037
2530
|
extends GlobalProps,
|
|
2038
2531
|
BaseTextFieldProps,
|
|
@@ -2042,6 +2535,68 @@ export type EmailAutocompleteField = ExtractStrict<
|
|
|
2042
2535
|
AnyAutocompleteField,
|
|
2043
2536
|
'email' | `${AutocompleteAddressGroup} email`
|
|
2044
2537
|
>;
|
|
2538
|
+
interface FormProps$1 extends GlobalProps {
|
|
2539
|
+
/**
|
|
2540
|
+
* The content of the form.
|
|
2541
|
+
*/
|
|
2542
|
+
children?: ComponentChildren;
|
|
2543
|
+
/**
|
|
2544
|
+
* Whether the form is able to be submitted.
|
|
2545
|
+
*
|
|
2546
|
+
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
2547
|
+
*
|
|
2548
|
+
* @default false
|
|
2549
|
+
*
|
|
2550
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2551
|
+
* @private
|
|
2552
|
+
*/
|
|
2553
|
+
disabled?: boolean;
|
|
2554
|
+
/**
|
|
2555
|
+
* A callback that is run when the form is submitted.
|
|
2556
|
+
*
|
|
2557
|
+
* Use `event.waitUntil` to signal how long it takes to save the data,
|
|
2558
|
+
* and whether it was successful or not.
|
|
2559
|
+
*/
|
|
2560
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2561
|
+
/**
|
|
2562
|
+
* A callback that is run when the form is reset.
|
|
2563
|
+
*/
|
|
2564
|
+
onReset?: (event: Event) => void;
|
|
2565
|
+
}
|
|
2566
|
+
interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
|
|
2567
|
+
/**
|
|
2568
|
+
* An optional callback function that will be run by the admin when the user
|
|
2569
|
+
* commits their changes in the admin-rendered part of the function settings
|
|
2570
|
+
* experience. If `event.waitUntil` is called with a promise, the admin will wait for the
|
|
2571
|
+
* promise to resolve before committing any changes to Shopify’s servers. If
|
|
2572
|
+
* the promise rejects, the admin will abort the changes and display an error,
|
|
2573
|
+
* using the `message` property of the error you reject with.
|
|
2574
|
+
*/
|
|
2575
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2576
|
+
/**
|
|
2577
|
+
* An optional callback function that will be run by the admin when
|
|
2578
|
+
* committing the changes to Shopify’s servers fails. The error event you receive includes
|
|
2579
|
+
* an `error` property that is an `AggregateError` object. This object includes
|
|
2580
|
+
* an array of errors that were caused by data your extension provided.
|
|
2581
|
+
* Network errors and user errors that are out of your control will not be reported here.
|
|
2582
|
+
*
|
|
2583
|
+
* In the `onError` callback, you should update your extension’s UI to
|
|
2584
|
+
* highlight the fields that caused the errors, and display the error messages
|
|
2585
|
+
* to the user.
|
|
2586
|
+
*/
|
|
2587
|
+
onError?: (event: AggregateErrorEvent<FunctionSettingsError>) => void;
|
|
2588
|
+
}
|
|
2589
|
+
export interface FunctionSettingsError extends Error {
|
|
2590
|
+
/**
|
|
2591
|
+
* A unique identifier describing the “class” of error. These will match
|
|
2592
|
+
* the GraphQL error codes as closely as possible. For example the enums
|
|
2593
|
+
* returned by the `metafieldsSet` mutation
|
|
2594
|
+
*
|
|
2595
|
+
* @see https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldsSetUserErrorCode
|
|
2596
|
+
*/
|
|
2597
|
+
code: string;
|
|
2598
|
+
name: 'FunctionSettingsError';
|
|
2599
|
+
}
|
|
2045
2600
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
2046
2601
|
export interface GapProps {
|
|
2047
2602
|
/**
|
|
@@ -2052,7 +2607,7 @@ export interface GapProps {
|
|
|
2052
2607
|
*
|
|
2053
2608
|
* @default 'none'
|
|
2054
2609
|
*/
|
|
2055
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2610
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
2056
2611
|
/**
|
|
2057
2612
|
* Adjust spacing between elements in the block axis.
|
|
2058
2613
|
*
|
|
@@ -2060,7 +2615,7 @@ export interface GapProps {
|
|
|
2060
2615
|
*
|
|
2061
2616
|
* @default '' - meaning no override
|
|
2062
2617
|
*/
|
|
2063
|
-
rowGap?: SpacingKeyword | ''
|
|
2618
|
+
rowGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2064
2619
|
/**
|
|
2065
2620
|
* Adjust spacing between elements in the inline axis.
|
|
2066
2621
|
*
|
|
@@ -2068,7 +2623,7 @@ export interface GapProps {
|
|
|
2068
2623
|
*
|
|
2069
2624
|
* @default '' - meaning no override
|
|
2070
2625
|
*/
|
|
2071
|
-
columnGap?: SpacingKeyword | ''
|
|
2626
|
+
columnGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2072
2627
|
}
|
|
2073
2628
|
export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
|
|
2074
2629
|
export type ContentDistribution =
|
|
@@ -2123,21 +2678,21 @@ export type AlignContentKeyword =
|
|
|
2123
2678
|
| ContentDistribution
|
|
2124
2679
|
| OverflowPosition
|
|
2125
2680
|
| ContentPosition;
|
|
2126
|
-
interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
2681
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2127
2682
|
/**
|
|
2128
2683
|
Define columns and specify their size.
|
|
2129
2684
|
|
|
2130
2685
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2131
2686
|
@default 'none'
|
|
2132
2687
|
*/
|
|
2133
|
-
gridTemplateColumns?: string
|
|
2688
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2134
2689
|
/**
|
|
2135
2690
|
Define rows and specify their size.
|
|
2136
2691
|
|
|
2137
2692
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2138
2693
|
@default 'none'
|
|
2139
2694
|
*/
|
|
2140
|
-
gridTemplateRows?: string
|
|
2695
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2141
2696
|
/**
|
|
2142
2697
|
Aligns the grid items along the inline (row) axis.
|
|
2143
2698
|
|
|
@@ -2146,7 +2701,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2146
2701
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2147
2702
|
@default '' - meaning no override
|
|
2148
2703
|
*/
|
|
2149
|
-
justifyItems?: JustifyItemsKeyword | ''
|
|
2704
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | ''>;
|
|
2150
2705
|
/**
|
|
2151
2706
|
Aligns the grid items along the block (column) axis.
|
|
2152
2707
|
|
|
@@ -2155,16 +2710,16 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2155
2710
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2156
2711
|
@default '' - meaning no override
|
|
2157
2712
|
*/
|
|
2158
|
-
alignItems?: AlignItemsKeyword | ''
|
|
2713
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | ''>;
|
|
2159
2714
|
/**
|
|
2160
2715
|
A shorthand property for `justify-items` and `align-items`.
|
|
2161
2716
|
|
|
2162
2717
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2163
2718
|
@default 'normal normal'
|
|
2164
2719
|
*/
|
|
2165
|
-
placeItems?:
|
|
2166
|
-
|
|
2167
|
-
|
|
2720
|
+
placeItems?: MaybeResponsive<
|
|
2721
|
+
`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword
|
|
2722
|
+
>;
|
|
2168
2723
|
/**
|
|
2169
2724
|
Aligns the grid along the inline (row) axis.
|
|
2170
2725
|
|
|
@@ -2173,7 +2728,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2173
2728
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2174
2729
|
@default '' - meaning no override
|
|
2175
2730
|
*/
|
|
2176
|
-
justifyContent?: JustifyContentKeyword | ''
|
|
2731
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | ''>;
|
|
2177
2732
|
/**
|
|
2178
2733
|
Aligns the grid along the block (column) axis.
|
|
2179
2734
|
|
|
@@ -2182,18 +2737,18 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2182
2737
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2183
2738
|
@default '' - meaning no override
|
|
2184
2739
|
*/
|
|
2185
|
-
alignContent?: AlignContentKeyword | ''
|
|
2740
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | ''>;
|
|
2186
2741
|
/**
|
|
2187
2742
|
A shorthand property for `justify-content` and `align-content`.
|
|
2188
2743
|
|
|
2189
2744
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2190
2745
|
@default 'normal normal'
|
|
2191
2746
|
*/
|
|
2192
|
-
placeContent?:
|
|
2193
|
-
|
|
2194
|
-
|
|
2747
|
+
placeContent?: MaybeResponsive<
|
|
2748
|
+
`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword
|
|
2749
|
+
>;
|
|
2195
2750
|
}
|
|
2196
|
-
interface GridItemProps$1 extends BaseBoxPropsWithRole {
|
|
2751
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2197
2752
|
/**
|
|
2198
2753
|
* Number of columns the item will span across
|
|
2199
2754
|
*
|
|
@@ -2295,7 +2850,9 @@ interface HeadingProps$1
|
|
|
2295
2850
|
| 'heading'
|
|
2296
2851
|
| ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2297
2852
|
}
|
|
2298
|
-
interface IconProps$1
|
|
2853
|
+
interface IconProps$1
|
|
2854
|
+
extends GlobalProps,
|
|
2855
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2299
2856
|
/**
|
|
2300
2857
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2301
2858
|
*
|
|
@@ -2361,13 +2918,6 @@ export interface BaseImageProps {
|
|
|
2361
2918
|
*/
|
|
2362
2919
|
srcSet?: string;
|
|
2363
2920
|
}
|
|
2364
|
-
/**
|
|
2365
|
-
* This is purely to give the ability
|
|
2366
|
-
* to have a space or not in the string literal types.
|
|
2367
|
-
*
|
|
2368
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
2369
|
-
*/
|
|
2370
|
-
export type optionalSpace = '' | ' ';
|
|
2371
2921
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2372
2922
|
/**
|
|
2373
2923
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2435,13 +2985,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2435
2985
|
*
|
|
2436
2986
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2437
2987
|
*/
|
|
2438
|
-
onLoad?: () => void;
|
|
2988
|
+
onLoad?: (event: Event) => void;
|
|
2439
2989
|
/**
|
|
2440
2990
|
* Invoked on load error.
|
|
2441
2991
|
*
|
|
2442
2992
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2443
2993
|
*/
|
|
2444
|
-
onError?: () => void;
|
|
2994
|
+
onError?: (event: Event) => void;
|
|
2445
2995
|
}
|
|
2446
2996
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
2447
2997
|
/**
|
|
@@ -2474,189 +3024,69 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2474
3024
|
*/
|
|
2475
3025
|
children?: ComponentChildren;
|
|
2476
3026
|
}
|
|
2477
|
-
interface
|
|
3027
|
+
interface MenuProps$1 extends GlobalProps {
|
|
3028
|
+
/**
|
|
3029
|
+
* A label that describes the purpose or contents of the element. When set,
|
|
3030
|
+
* it will be announced using assistive technologies and provide additional context.
|
|
3031
|
+
*/
|
|
3032
|
+
accessibilityLabel?: string;
|
|
3033
|
+
/**
|
|
3034
|
+
* 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.
|
|
3035
|
+
*/
|
|
3036
|
+
children?: ComponentChildren;
|
|
3037
|
+
}
|
|
3038
|
+
interface ModalProps$1
|
|
2478
3039
|
extends GlobalProps,
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
3040
|
+
BaseOverlayProps,
|
|
3041
|
+
BaseOverlayMethods,
|
|
3042
|
+
ActionSlots {
|
|
2482
3043
|
/**
|
|
2483
|
-
*
|
|
3044
|
+
* A label that describes the purpose of the modal. When set,
|
|
3045
|
+
* it will be announced to users using assistive technologies and will
|
|
3046
|
+
* provide them with more context.
|
|
2484
3047
|
*
|
|
2485
|
-
*
|
|
3048
|
+
* This overrides the `heading` prop for screen readers.
|
|
3049
|
+
*/
|
|
3050
|
+
accessibilityLabel?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* A title that describes the content of the Modal.
|
|
3053
|
+
*
|
|
3054
|
+
*/
|
|
3055
|
+
heading?: string;
|
|
3056
|
+
/**
|
|
3057
|
+
* Adjust the padding around the Modal content.
|
|
3058
|
+
*
|
|
3059
|
+
* `base`: applies padding that is appropriate for the element.
|
|
3060
|
+
*
|
|
3061
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
3062
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3063
|
+
* to bring back the desired padding for the rest of the content.
|
|
3064
|
+
*
|
|
3065
|
+
* @default 'base'
|
|
3066
|
+
*/
|
|
3067
|
+
padding?: 'base' | 'none';
|
|
3068
|
+
/**
|
|
3069
|
+
* Adjust the size of the Modal.
|
|
3070
|
+
*
|
|
3071
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
3072
|
+
*
|
|
3073
|
+
* @default 'base'
|
|
3074
|
+
*/
|
|
3075
|
+
size?: SizeKeyword | 'max';
|
|
3076
|
+
/**
|
|
3077
|
+
* The content of the Modal.
|
|
2486
3078
|
*/
|
|
2487
|
-
|
|
3079
|
+
children?: ComponentChildren;
|
|
2488
3080
|
}
|
|
3081
|
+
interface MoneyFieldProps$1
|
|
3082
|
+
extends GlobalProps,
|
|
3083
|
+
BaseTextFieldProps,
|
|
3084
|
+
NumberConstraintsProps,
|
|
3085
|
+
AutocompleteProps<MoneyAutocompleteField> {}
|
|
2489
3086
|
export type MoneyAutocompleteField = ExtractStrict<
|
|
2490
3087
|
AnyAutocompleteField,
|
|
2491
3088
|
'transaction-amount'
|
|
2492
3089
|
>;
|
|
2493
|
-
/**
|
|
2494
|
-
* Supported monetary currencies from [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
|
|
2495
|
-
*
|
|
2496
|
-
* @see https://www.iso.org/iso-4217-currency-codes.html
|
|
2497
|
-
*/
|
|
2498
|
-
export type CurrencyCode =
|
|
2499
|
-
| 'USD'
|
|
2500
|
-
| 'EUR'
|
|
2501
|
-
| 'GBP'
|
|
2502
|
-
| 'CAD'
|
|
2503
|
-
| 'AFN'
|
|
2504
|
-
| 'ALL'
|
|
2505
|
-
| 'DZD'
|
|
2506
|
-
| 'AOA'
|
|
2507
|
-
| 'ARS'
|
|
2508
|
-
| 'AMD'
|
|
2509
|
-
| 'AWG'
|
|
2510
|
-
| 'AUD'
|
|
2511
|
-
| 'BBD'
|
|
2512
|
-
| 'AZN'
|
|
2513
|
-
| 'BDT'
|
|
2514
|
-
| 'BSD'
|
|
2515
|
-
| 'BHD'
|
|
2516
|
-
| 'BIF'
|
|
2517
|
-
| 'BZD'
|
|
2518
|
-
| 'BMD'
|
|
2519
|
-
| 'BTN'
|
|
2520
|
-
| 'BAM'
|
|
2521
|
-
| 'BRL'
|
|
2522
|
-
| 'BOB'
|
|
2523
|
-
| 'BWP'
|
|
2524
|
-
| 'BND'
|
|
2525
|
-
| 'BGN'
|
|
2526
|
-
| 'MMK'
|
|
2527
|
-
| 'KHR'
|
|
2528
|
-
| 'CVE'
|
|
2529
|
-
| 'KYD'
|
|
2530
|
-
| 'XAF'
|
|
2531
|
-
| 'CLP'
|
|
2532
|
-
| 'CNY'
|
|
2533
|
-
| 'COP'
|
|
2534
|
-
| 'KMF'
|
|
2535
|
-
| 'CDF'
|
|
2536
|
-
| 'CRC'
|
|
2537
|
-
| 'HRK'
|
|
2538
|
-
| 'CZK'
|
|
2539
|
-
| 'DKK'
|
|
2540
|
-
| 'DOP'
|
|
2541
|
-
| 'XCD'
|
|
2542
|
-
| 'EGP'
|
|
2543
|
-
| 'ETB'
|
|
2544
|
-
| 'XPF'
|
|
2545
|
-
| 'FJD'
|
|
2546
|
-
| 'GMD'
|
|
2547
|
-
| 'GHS'
|
|
2548
|
-
| 'GTQ'
|
|
2549
|
-
| 'GYD'
|
|
2550
|
-
| 'GEL'
|
|
2551
|
-
| 'HTG'
|
|
2552
|
-
| 'HNL'
|
|
2553
|
-
| 'HKD'
|
|
2554
|
-
| 'HUF'
|
|
2555
|
-
| 'ISK'
|
|
2556
|
-
| 'INR'
|
|
2557
|
-
| 'IDR'
|
|
2558
|
-
| 'ILS'
|
|
2559
|
-
| 'IQD'
|
|
2560
|
-
| 'JMD'
|
|
2561
|
-
| 'JPY'
|
|
2562
|
-
| 'JEP'
|
|
2563
|
-
| 'JOD'
|
|
2564
|
-
| 'KZT'
|
|
2565
|
-
| 'KES'
|
|
2566
|
-
| 'KWD'
|
|
2567
|
-
| 'KGS'
|
|
2568
|
-
| 'LAK'
|
|
2569
|
-
| 'LVL'
|
|
2570
|
-
| 'LBP'
|
|
2571
|
-
| 'LSL'
|
|
2572
|
-
| 'LRD'
|
|
2573
|
-
| 'LTL'
|
|
2574
|
-
| 'MGA'
|
|
2575
|
-
| 'MKD'
|
|
2576
|
-
| 'MOP'
|
|
2577
|
-
| 'MWK'
|
|
2578
|
-
| 'MVR'
|
|
2579
|
-
| 'MXN'
|
|
2580
|
-
| 'MYR'
|
|
2581
|
-
| 'MUR'
|
|
2582
|
-
| 'MDL'
|
|
2583
|
-
| 'MAD'
|
|
2584
|
-
| 'MNT'
|
|
2585
|
-
| 'MZN'
|
|
2586
|
-
| 'NAD'
|
|
2587
|
-
| 'NPR'
|
|
2588
|
-
| 'ANG'
|
|
2589
|
-
| 'NZD'
|
|
2590
|
-
| 'NIO'
|
|
2591
|
-
| 'NGN'
|
|
2592
|
-
| 'NOK'
|
|
2593
|
-
| 'OMR'
|
|
2594
|
-
| 'PAB'
|
|
2595
|
-
| 'PKR'
|
|
2596
|
-
| 'PGK'
|
|
2597
|
-
| 'PYG'
|
|
2598
|
-
| 'PEN'
|
|
2599
|
-
| 'PHP'
|
|
2600
|
-
| 'PLN'
|
|
2601
|
-
| 'QAR'
|
|
2602
|
-
| 'RON'
|
|
2603
|
-
| 'RUB'
|
|
2604
|
-
| 'RWF'
|
|
2605
|
-
| 'WST'
|
|
2606
|
-
| 'SAR'
|
|
2607
|
-
| 'RSD'
|
|
2608
|
-
| 'SCR'
|
|
2609
|
-
| 'SGD'
|
|
2610
|
-
| 'SDG'
|
|
2611
|
-
| 'SYP'
|
|
2612
|
-
| 'ZAR'
|
|
2613
|
-
| 'KRW'
|
|
2614
|
-
| 'SSP'
|
|
2615
|
-
| 'SBD'
|
|
2616
|
-
| 'LKR'
|
|
2617
|
-
| 'SRD'
|
|
2618
|
-
| 'SZL'
|
|
2619
|
-
| 'SEK'
|
|
2620
|
-
| 'CHF'
|
|
2621
|
-
| 'TWD'
|
|
2622
|
-
| 'THB'
|
|
2623
|
-
| 'TZS'
|
|
2624
|
-
| 'TTD'
|
|
2625
|
-
| 'TND'
|
|
2626
|
-
| 'TRY'
|
|
2627
|
-
| 'TMT'
|
|
2628
|
-
| 'UGX'
|
|
2629
|
-
| 'UAH'
|
|
2630
|
-
| 'AED'
|
|
2631
|
-
| 'UYU'
|
|
2632
|
-
| 'UZS'
|
|
2633
|
-
| 'VUV'
|
|
2634
|
-
| 'VND'
|
|
2635
|
-
| 'XOF'
|
|
2636
|
-
| 'YER'
|
|
2637
|
-
| 'ZMW'
|
|
2638
|
-
| 'BYN'
|
|
2639
|
-
| 'BYR'
|
|
2640
|
-
| 'DJF'
|
|
2641
|
-
| 'ERN'
|
|
2642
|
-
| 'FKP'
|
|
2643
|
-
| 'GIP'
|
|
2644
|
-
| 'GNF'
|
|
2645
|
-
| 'IRR'
|
|
2646
|
-
| 'KID'
|
|
2647
|
-
| 'LYD'
|
|
2648
|
-
| 'MRU'
|
|
2649
|
-
| 'SLL'
|
|
2650
|
-
| 'SHP'
|
|
2651
|
-
| 'SOS'
|
|
2652
|
-
| 'STD'
|
|
2653
|
-
| 'STN'
|
|
2654
|
-
| 'TJS'
|
|
2655
|
-
| 'TOP'
|
|
2656
|
-
| 'VED'
|
|
2657
|
-
| 'VEF'
|
|
2658
|
-
| 'VES'
|
|
2659
|
-
| 'XXX';
|
|
2660
3090
|
interface NumberFieldProps$1
|
|
2661
3091
|
extends GlobalProps,
|
|
2662
3092
|
BaseTextFieldProps,
|
|
@@ -2700,7 +3130,7 @@ interface OptionGroupProps$1 extends GlobalProps {
|
|
|
2700
3130
|
children?: ComponentChildren;
|
|
2701
3131
|
}
|
|
2702
3132
|
interface OrderedListProps$1 extends GlobalProps {}
|
|
2703
|
-
interface PageProps$1 extends GlobalProps {
|
|
3133
|
+
interface PageProps$1 extends GlobalProps, ActionSlots {
|
|
2704
3134
|
/**
|
|
2705
3135
|
* The content of the Page.
|
|
2706
3136
|
*/
|
|
@@ -2714,18 +3144,13 @@ interface PageProps$1 extends GlobalProps {
|
|
|
2714
3144
|
*/
|
|
2715
3145
|
subheading?: string;
|
|
2716
3146
|
/**
|
|
2717
|
-
*
|
|
2718
|
-
* When a `Button` is added to the `primaryAction` it's variant is set to `primary`
|
|
3147
|
+
* Additional contextual information about the page.
|
|
2719
3148
|
*/
|
|
2720
|
-
|
|
3149
|
+
accessory?: ComponentChildren;
|
|
2721
3150
|
/**
|
|
2722
3151
|
* The breadcrumb actions to perform, provided as link elements.
|
|
2723
3152
|
*/
|
|
2724
3153
|
breadcrumbActions?: ComponentChildren;
|
|
2725
|
-
/**
|
|
2726
|
-
* Secondary actions. These are `Button`s that will be contextually the 'secondary' variant.
|
|
2727
|
-
*/
|
|
2728
|
-
secondaryActions?: ComponentChildren;
|
|
2729
3154
|
/**
|
|
2730
3155
|
* The aside element is section of a page that contains content that is tangentially related to the content around the aside element, and which could be considered separate from that content.
|
|
2731
3156
|
* Such sections are often represented as sidebars in printed typography.
|
|
@@ -2786,6 +3211,17 @@ export type PasswordAutocompleteField = ExtractStrict<
|
|
|
2786
3211
|
AnyAutocompleteField,
|
|
2787
3212
|
'new-password' | 'current-password'
|
|
2788
3213
|
>;
|
|
3214
|
+
interface PopoverProps$1
|
|
3215
|
+
extends GlobalProps,
|
|
3216
|
+
BaseOverlayProps,
|
|
3217
|
+
BaseOverlayMethods,
|
|
3218
|
+
ToggleEventProps,
|
|
3219
|
+
SizingProps {
|
|
3220
|
+
/**
|
|
3221
|
+
* The content of the popover.
|
|
3222
|
+
*/
|
|
3223
|
+
children?: ComponentChildren;
|
|
3224
|
+
}
|
|
2789
3225
|
interface QueryContainerProps$1 extends GlobalProps {
|
|
2790
3226
|
/**
|
|
2791
3227
|
* The content of the container.
|
|
@@ -2806,7 +3242,7 @@ interface QueryContainerProps$1 extends GlobalProps {
|
|
|
2806
3242
|
*/
|
|
2807
3243
|
containerName?: string;
|
|
2808
3244
|
}
|
|
2809
|
-
interface SectionProps$1 extends GlobalProps {
|
|
3245
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
2810
3246
|
/**
|
|
2811
3247
|
* The content of the Section.
|
|
2812
3248
|
*/
|
|
@@ -2865,40 +3301,40 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2865
3301
|
*/
|
|
2866
3302
|
accessibilityLabel?: string;
|
|
2867
3303
|
}
|
|
2868
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3304
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2869
3305
|
/**
|
|
2870
3306
|
* The content of the Stack.
|
|
2871
3307
|
*/
|
|
2872
3308
|
children?: ComponentChildren;
|
|
2873
3309
|
/**
|
|
2874
|
-
* Sets how the children are placed within the Stack.
|
|
3310
|
+
* Sets how the children are placed within the Stack. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2875
3311
|
*
|
|
2876
3312
|
* @default 'block'
|
|
2877
3313
|
*
|
|
2878
3314
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2879
3315
|
*/
|
|
2880
|
-
direction?: 'block' | 'inline'
|
|
3316
|
+
direction?: MaybeResponsive<'block' | 'inline'>;
|
|
2881
3317
|
/**
|
|
2882
3318
|
* Aligns the Stack along the main axis.
|
|
2883
3319
|
*
|
|
2884
3320
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2885
3321
|
* @default 'normal'
|
|
2886
3322
|
*/
|
|
2887
|
-
justifyContent?: JustifyContentKeyword
|
|
3323
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2888
3324
|
/**
|
|
2889
3325
|
* Aligns the Stack's children along the cross axis.
|
|
2890
3326
|
*
|
|
2891
3327
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2892
3328
|
* @default 'normal'
|
|
2893
3329
|
*/
|
|
2894
|
-
alignItems?: AlignItemsKeyword
|
|
3330
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2895
3331
|
/**
|
|
2896
3332
|
* Aligns the Stack along the cross axis.
|
|
2897
3333
|
*
|
|
2898
3334
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2899
3335
|
* @default 'normal'
|
|
2900
3336
|
*/
|
|
2901
|
-
alignContent?: AlignContentKeyword
|
|
3337
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2902
3338
|
}
|
|
2903
3339
|
interface SwitchProps$1
|
|
2904
3340
|
extends GlobalProps,
|
|
@@ -2916,11 +3352,11 @@ export interface PaginationProps {
|
|
|
2916
3352
|
/**
|
|
2917
3353
|
* Called when the previous page button is clicked.
|
|
2918
3354
|
*/
|
|
2919
|
-
onPreviousPage?: () => void;
|
|
3355
|
+
onPreviousPage?: (event: Event) => void;
|
|
2920
3356
|
/**
|
|
2921
3357
|
* Called when the next page button is clicked.
|
|
2922
3358
|
*/
|
|
2923
|
-
onNextPage?: () => void;
|
|
3359
|
+
onNextPage?: (event: Event) => void;
|
|
2924
3360
|
/**
|
|
2925
3361
|
* Whether there's an additional page of data.
|
|
2926
3362
|
*
|
|
@@ -2965,11 +3401,11 @@ interface TableBodyProps$1 extends GlobalProps {
|
|
|
2965
3401
|
/**
|
|
2966
3402
|
* The body of the table. May not have any semantic meaning in the Table's `list` variant.
|
|
2967
3403
|
*/
|
|
2968
|
-
children
|
|
3404
|
+
children?: ComponentChildren;
|
|
2969
3405
|
}
|
|
2970
3406
|
interface TableCellProps$1 extends GlobalProps {
|
|
2971
3407
|
/**
|
|
2972
|
-
* The content of the table
|
|
3408
|
+
* The content of the table cell.
|
|
2973
3409
|
*/
|
|
2974
3410
|
children?: ComponentChildren;
|
|
2975
3411
|
}
|
|
@@ -2987,7 +3423,7 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2987
3423
|
/**
|
|
2988
3424
|
* Content designation for the table's `list` variant.
|
|
2989
3425
|
*
|
|
2990
|
-
* - `primary
|
|
3426
|
+
* - `primary`: The most important content. Only one column can have this designation.
|
|
2991
3427
|
* - `secondary`: The secondary content. Only one column can have this designation.
|
|
2992
3428
|
* - `kicker`: Content that is displayed before primary and secondary content, but with less visual prominence. Only one column can have this designation.
|
|
2993
3429
|
* - `inline`: Content that is displayed inline.
|
|
@@ -2996,6 +3432,16 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2996
3432
|
* @default 'labeled'
|
|
2997
3433
|
*/
|
|
2998
3434
|
listSlot?: ListSlotType;
|
|
3435
|
+
/**
|
|
3436
|
+
* The format of the column. Will automatically apply styling and alignment to cell content based on the value.
|
|
3437
|
+
*
|
|
3438
|
+
* - `base`: The base format for columns.
|
|
3439
|
+
* - `currency`: Formats the column as currency.
|
|
3440
|
+
* - `numeric`: Formats the column as a number.
|
|
3441
|
+
*
|
|
3442
|
+
* @default 'base'
|
|
3443
|
+
*/
|
|
3444
|
+
format?: 'base' | 'currency' | 'numeric';
|
|
2999
3445
|
}
|
|
3000
3446
|
interface TableHeaderRowProps$1 extends GlobalProps {
|
|
3001
3447
|
/**
|
|
@@ -3008,12 +3454,24 @@ interface TableRowProps$1 extends GlobalProps {
|
|
|
3008
3454
|
* The content of a TableRow, which should be `TableCell` components.
|
|
3009
3455
|
*/
|
|
3010
3456
|
children?: ComponentChildren;
|
|
3457
|
+
/**
|
|
3458
|
+
* 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.
|
|
3459
|
+
* This is the primary action for the row; it should not be used for secondary actions.
|
|
3460
|
+
*
|
|
3461
|
+
* This is a click-only affordance, and does not introduce any keyboard or screen reader affordances.
|
|
3462
|
+
* Which is why the target element must be in the table; so that keyboard and screen reader users can interact with it normally.
|
|
3463
|
+
*
|
|
3464
|
+
* @implementation no focus or keyboard affordances are introduced by this property. No aria attributes need to be added to the table row.
|
|
3465
|
+
* @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.
|
|
3466
|
+
*/
|
|
3467
|
+
clickDelegate?: string;
|
|
3011
3468
|
}
|
|
3012
3469
|
interface TextProps$1
|
|
3013
3470
|
extends GlobalProps,
|
|
3014
3471
|
AccessibilityVisibilityProps,
|
|
3015
3472
|
BaseTypographyProps,
|
|
3016
|
-
DisplayProps
|
|
3473
|
+
DisplayProps,
|
|
3474
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
3017
3475
|
/**
|
|
3018
3476
|
* The content of the Text.
|
|
3019
3477
|
*/
|
|
@@ -3021,7 +3479,7 @@ interface TextProps$1
|
|
|
3021
3479
|
/**
|
|
3022
3480
|
* Provide semantic meaning and default styling to the text.
|
|
3023
3481
|
*
|
|
3024
|
-
* Other presentation properties on
|
|
3482
|
+
* Other presentation properties on Text override the default styling.
|
|
3025
3483
|
*
|
|
3026
3484
|
* @default 'generic'
|
|
3027
3485
|
*/
|
|
@@ -3133,13 +3591,13 @@ interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
|
3133
3591
|
*
|
|
3134
3592
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3135
3593
|
*/
|
|
3136
|
-
onLoad?: () => void;
|
|
3594
|
+
onLoad?: (event: Event) => void;
|
|
3137
3595
|
/**
|
|
3138
3596
|
* Invoked on load error of provided image.
|
|
3139
3597
|
*
|
|
3140
3598
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3141
3599
|
*/
|
|
3142
|
-
onError?: () => void;
|
|
3600
|
+
onError?: (event: Event) => void;
|
|
3143
3601
|
/**
|
|
3144
3602
|
* Adjusts the size the product thumbnail image.
|
|
3145
3603
|
*
|
|
@@ -3147,6 +3605,12 @@ interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
|
3147
3605
|
*/
|
|
3148
3606
|
size?: SizeKeyword;
|
|
3149
3607
|
}
|
|
3608
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3609
|
+
/**
|
|
3610
|
+
* The content of the Tooltip.
|
|
3611
|
+
*/
|
|
3612
|
+
children?: ComponentChildren;
|
|
3613
|
+
}
|
|
3150
3614
|
interface UnorderedListProps$1 extends GlobalProps {}
|
|
3151
3615
|
interface URLFieldProps$1
|
|
3152
3616
|
extends GlobalProps,
|
|
@@ -3356,6 +3820,7 @@ type IconType$1 =
|
|
|
3356
3820
|
| 'book-open'
|
|
3357
3821
|
| 'bug'
|
|
3358
3822
|
| 'bullet'
|
|
3823
|
+
| 'business-entity'
|
|
3359
3824
|
| 'button'
|
|
3360
3825
|
| 'button-press'
|
|
3361
3826
|
| 'calculator'
|
|
@@ -3496,6 +3961,7 @@ type IconType$1 =
|
|
|
3496
3961
|
| 'file'
|
|
3497
3962
|
| 'file-list'
|
|
3498
3963
|
| 'filter'
|
|
3964
|
+
| 'filter-active'
|
|
3499
3965
|
| 'flag'
|
|
3500
3966
|
| 'flip-horizontal'
|
|
3501
3967
|
| 'flip-vertical'
|
|
@@ -3544,6 +4010,7 @@ type IconType$1 =
|
|
|
3544
4010
|
| 'incoming'
|
|
3545
4011
|
| 'incomplete'
|
|
3546
4012
|
| 'info'
|
|
4013
|
+
| 'inheritance'
|
|
3547
4014
|
| 'inventory'
|
|
3548
4015
|
| 'inventory-updated'
|
|
3549
4016
|
| 'iq'
|
|
@@ -3674,6 +4141,7 @@ type IconType$1 =
|
|
|
3674
4141
|
| 'plus'
|
|
3675
4142
|
| 'plus-circle'
|
|
3676
4143
|
| 'plus-circle-down'
|
|
4144
|
+
| 'plus-circle-filled'
|
|
3677
4145
|
| 'plus-circle-up'
|
|
3678
4146
|
| 'point-of-sale'
|
|
3679
4147
|
| 'price-list'
|
|
@@ -3714,6 +4182,7 @@ type IconType$1 =
|
|
|
3714
4182
|
| 'sandbox'
|
|
3715
4183
|
| 'save'
|
|
3716
4184
|
| 'search'
|
|
4185
|
+
| 'search-add'
|
|
3717
4186
|
| 'search-list'
|
|
3718
4187
|
| 'search-recent'
|
|
3719
4188
|
| 'search-resource'
|
|
@@ -3813,32 +4282,3 @@ type IconType$1 =
|
|
|
3813
4282
|
| 'wrench'
|
|
3814
4283
|
| 'x'
|
|
3815
4284
|
| 'x-circle';
|
|
3816
|
-
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
3817
|
-
/**
|
|
3818
|
-
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
3819
|
-
* When true, the action could be in an inert state, which prevents user interaction.
|
|
3820
|
-
*
|
|
3821
|
-
* @default false
|
|
3822
|
-
*/
|
|
3823
|
-
loading?: boolean;
|
|
3824
|
-
}
|
|
3825
|
-
interface AdminBlockProps$1 extends GlobalProps {
|
|
3826
|
-
/**
|
|
3827
|
-
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
3828
|
-
* extension will be used.
|
|
3829
|
-
*/
|
|
3830
|
-
heading?: string;
|
|
3831
|
-
/**
|
|
3832
|
-
* The summary to display when the app block is collapsed.
|
|
3833
|
-
* Summary longer than 30 characters will be truncated.
|
|
3834
|
-
*/
|
|
3835
|
-
collapsedSummary?: string;
|
|
3836
|
-
}
|
|
3837
|
-
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
3838
|
-
/**
|
|
3839
|
-
* Sets the src URL of the preview and the document to print.
|
|
3840
|
-
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
3841
|
-
* HTML, PDFs and images are supported.
|
|
3842
|
-
*/
|
|
3843
|
-
src?: string;
|
|
3844
|
-
}
|