@shopify/ui-extensions 2025.10.0-rc.8 → 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 +128 -0
- 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 +1212 -737
- 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 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3548
- 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 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3548
- 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 -3548
- 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 -3548
- 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 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3548
- 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 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3548
- 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 -3548
- 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 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3537
- 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 -3548
- 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 -3548
- 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 -3548
- 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 -3537
- 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 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3537
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3548
- 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 -3548
- 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 -3537
- 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 -3548
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3548
- 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 -3590
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3497
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3497
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3497
- 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 +128 -0
- 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 +9 -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 +1212 -737
- 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 +3311 -1293
- 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 -3502
- 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
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
12
12
|
*/
|
|
13
13
|
export type ComponentChildren = any;
|
|
14
|
-
|
|
14
|
+
export type StringChildren = string;
|
|
15
|
+
export interface GlobalProps {
|
|
16
|
+
/**
|
|
17
|
+
* A unique identifier for the element.
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
}
|
|
21
|
+
interface AbbreviationProps$1 extends GlobalProps {
|
|
15
22
|
/**
|
|
16
23
|
* The content of the abbreviation or acronym.
|
|
17
24
|
*/
|
|
@@ -27,14 +34,136 @@ interface AbbreviationProps$1 {
|
|
|
27
34
|
*/
|
|
28
35
|
title?: string;
|
|
29
36
|
}
|
|
30
|
-
export
|
|
31
|
-
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
32
|
-
export interface GlobalProps {
|
|
37
|
+
export interface ActionSlots {
|
|
33
38
|
/**
|
|
34
|
-
*
|
|
39
|
+
* The primary action to perform, provided as a button or link type element.
|
|
35
40
|
*/
|
|
36
|
-
|
|
41
|
+
primaryAction?: ComponentChildren;
|
|
42
|
+
/**
|
|
43
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
44
|
+
*/
|
|
45
|
+
secondaryActions?: ComponentChildren;
|
|
46
|
+
}
|
|
47
|
+
export interface BaseOverlayProps {
|
|
48
|
+
/**
|
|
49
|
+
* Callback fired after the overlay is shown.
|
|
50
|
+
*/
|
|
51
|
+
onShow?: (event: Event) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
54
|
+
*/
|
|
55
|
+
onAfterShow?: (event: Event) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Callback fired after the overlay is hidden.
|
|
58
|
+
*/
|
|
59
|
+
onHide?: (event: Event) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
62
|
+
*/
|
|
63
|
+
onAfterHide?: (event: Event) => void;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Shared interfaces for web component methods.
|
|
67
|
+
*
|
|
68
|
+
* Methods are required (not optional) because:
|
|
69
|
+
* - Components implementing this interface must provide all methods
|
|
70
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
71
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
72
|
+
*/
|
|
73
|
+
export interface BaseOverlayMethods {
|
|
74
|
+
/**
|
|
75
|
+
* Method to show an overlay.
|
|
76
|
+
*
|
|
77
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
78
|
+
*/
|
|
79
|
+
showOverlay: () => void;
|
|
80
|
+
/**
|
|
81
|
+
* Method to hide an overlay.
|
|
82
|
+
*
|
|
83
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
84
|
+
*/
|
|
85
|
+
hideOverlay: () => void;
|
|
86
|
+
/**
|
|
87
|
+
* Method to toggle the visiblity of an overlay.
|
|
88
|
+
*
|
|
89
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
90
|
+
*/
|
|
91
|
+
toggleOverlay: () => void;
|
|
92
|
+
}
|
|
93
|
+
export interface FocusEventProps {
|
|
94
|
+
/**
|
|
95
|
+
* Callback when the element loses focus.
|
|
96
|
+
*
|
|
97
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
98
|
+
*/
|
|
99
|
+
onBlur?: (event: FocusEvent) => void;
|
|
100
|
+
/**
|
|
101
|
+
* Callback when the element receives focus.
|
|
102
|
+
*
|
|
103
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
104
|
+
*/
|
|
105
|
+
onFocus?: (event: FocusEvent) => void;
|
|
106
|
+
}
|
|
107
|
+
export interface ToggleEventProps {
|
|
108
|
+
/**
|
|
109
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
110
|
+
*
|
|
111
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
112
|
+
* `newState` property will be set to `open`.
|
|
113
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
114
|
+
* `newState` will be `closed`.
|
|
115
|
+
*
|
|
116
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
117
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
118
|
+
*/
|
|
119
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
120
|
+
/**
|
|
121
|
+
* Callback straight after the element state changes.
|
|
122
|
+
*
|
|
123
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
124
|
+
* `newState` property will be set to `open`.
|
|
125
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
126
|
+
* `newState` will be `closed`.
|
|
127
|
+
*
|
|
128
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
129
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
130
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
131
|
+
*/
|
|
132
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
133
|
+
}
|
|
134
|
+
export type ToggleState = "open" | "closed";
|
|
135
|
+
interface ToggleEvent$1 extends Event {
|
|
136
|
+
readonly newState: ToggleState;
|
|
137
|
+
readonly oldState: ToggleState;
|
|
37
138
|
}
|
|
139
|
+
export interface ExtendableEvent extends Event {
|
|
140
|
+
/**
|
|
141
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
142
|
+
*
|
|
143
|
+
* This may be called many times, which adds promises to the event.
|
|
144
|
+
*
|
|
145
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
146
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
147
|
+
*/
|
|
148
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
149
|
+
}
|
|
150
|
+
interface AnnouncementProps$1 extends GlobalProps, ToggleEventProps {
|
|
151
|
+
/**
|
|
152
|
+
* The content of the announcement.
|
|
153
|
+
*/
|
|
154
|
+
children?: ComponentChildren;
|
|
155
|
+
/**
|
|
156
|
+
* Callback fired when the announcement is dismissed by the user
|
|
157
|
+
* (either via the built-in dismiss button or programmatically).
|
|
158
|
+
*/
|
|
159
|
+
onDismiss?: (event: Event) => void;
|
|
160
|
+
/**
|
|
161
|
+
* Method to programmatically dismiss the announcement.
|
|
162
|
+
*/
|
|
163
|
+
dismiss: () => void;
|
|
164
|
+
}
|
|
165
|
+
export type SizeKeyword = "small-500" | "small-400" | "small-300" | "small-200" | "small-100" | "small" | "base" | "large" | "large-100" | "large-200" | "large-300" | "large-400" | "large-500";
|
|
166
|
+
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
38
167
|
export type BackgroundColorKeyword = "transparent" | ColorKeyword;
|
|
39
168
|
export interface BackgroundProps {
|
|
40
169
|
/**
|
|
@@ -54,7 +183,7 @@ export interface BackgroundProps {
|
|
|
54
183
|
*
|
|
55
184
|
* @default 'auto'
|
|
56
185
|
*/
|
|
57
|
-
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "custom";
|
|
186
|
+
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "accent" | "custom";
|
|
58
187
|
declare const privateIconArray: readonly [
|
|
59
188
|
"adjust",
|
|
60
189
|
"affiliate",
|
|
@@ -63,23 +192,23 @@ declare const privateIconArray: readonly [
|
|
|
63
192
|
"alert-circle",
|
|
64
193
|
"alert-diamond",
|
|
65
194
|
"alert-location",
|
|
66
|
-
"alert-octagon-filled",
|
|
67
195
|
"alert-octagon",
|
|
196
|
+
"alert-octagon-filled",
|
|
68
197
|
"alert-triangle",
|
|
69
198
|
"alert-triangle-filled",
|
|
70
199
|
"app-extension",
|
|
71
200
|
"apps",
|
|
72
201
|
"archive",
|
|
202
|
+
"arrow-down",
|
|
73
203
|
"arrow-down-circle",
|
|
74
204
|
"arrow-down-right",
|
|
75
|
-
"arrow-down",
|
|
76
|
-
"arrow-left-circle",
|
|
77
205
|
"arrow-left",
|
|
78
|
-
"arrow-
|
|
206
|
+
"arrow-left-circle",
|
|
79
207
|
"arrow-right",
|
|
208
|
+
"arrow-right-circle",
|
|
209
|
+
"arrow-up",
|
|
80
210
|
"arrow-up-circle",
|
|
81
211
|
"arrow-up-right",
|
|
82
|
-
"arrow-up",
|
|
83
212
|
"arrows-in-horizontal",
|
|
84
213
|
"arrows-out-horizontal",
|
|
85
214
|
"attachment",
|
|
@@ -88,34 +217,39 @@ declare const privateIconArray: readonly [
|
|
|
88
217
|
"bag",
|
|
89
218
|
"bank",
|
|
90
219
|
"barcode",
|
|
220
|
+
"battery-low",
|
|
91
221
|
"bill",
|
|
92
222
|
"blank",
|
|
93
223
|
"blog",
|
|
94
|
-
"bolt-filled",
|
|
95
224
|
"bolt",
|
|
96
|
-
"
|
|
225
|
+
"bolt-filled",
|
|
97
226
|
"book",
|
|
227
|
+
"book-open",
|
|
98
228
|
"bug",
|
|
99
229
|
"bullet",
|
|
100
230
|
"business-entity",
|
|
101
|
-
"button-press",
|
|
102
231
|
"button",
|
|
232
|
+
"button-press",
|
|
103
233
|
"calculator",
|
|
234
|
+
"calendar",
|
|
104
235
|
"calendar-check",
|
|
105
236
|
"calendar-compare",
|
|
106
237
|
"calendar-list",
|
|
107
238
|
"calendar-time",
|
|
108
|
-
"calendar",
|
|
109
|
-
"camera-flip",
|
|
110
239
|
"camera",
|
|
240
|
+
"camera-flip",
|
|
111
241
|
"caret-down",
|
|
242
|
+
"caret-left",
|
|
243
|
+
"caret-right",
|
|
112
244
|
"caret-up",
|
|
245
|
+
"cart",
|
|
113
246
|
"cart-abandoned",
|
|
114
247
|
"cart-discount",
|
|
115
248
|
"cart-down",
|
|
249
|
+
"cart-filled",
|
|
116
250
|
"cart-sale",
|
|
251
|
+
"cart-send",
|
|
117
252
|
"cart-up",
|
|
118
|
-
"cart",
|
|
119
253
|
"cash-dollar",
|
|
120
254
|
"cash-euro",
|
|
121
255
|
"cash-pound",
|
|
@@ -127,8 +261,8 @@ declare const privateIconArray: readonly [
|
|
|
127
261
|
"chart-cohort",
|
|
128
262
|
"chart-donut",
|
|
129
263
|
"chart-funnel",
|
|
130
|
-
"chart-histogram-first-last",
|
|
131
264
|
"chart-histogram-first",
|
|
265
|
+
"chart-histogram-first-last",
|
|
132
266
|
"chart-histogram-flat",
|
|
133
267
|
"chart-histogram-full",
|
|
134
268
|
"chart-histogram-growth",
|
|
@@ -139,36 +273,36 @@ declare const privateIconArray: readonly [
|
|
|
139
273
|
"chart-popular",
|
|
140
274
|
"chart-stacked",
|
|
141
275
|
"chart-vertical",
|
|
276
|
+
"chat",
|
|
142
277
|
"chat-new",
|
|
143
278
|
"chat-referral",
|
|
144
|
-
"chat",
|
|
145
|
-
"check-circle-filled",
|
|
146
|
-
"check-circle",
|
|
147
279
|
"check",
|
|
280
|
+
"check-circle",
|
|
281
|
+
"check-circle-filled",
|
|
148
282
|
"checkbox",
|
|
149
|
-
"chevron-down-circle",
|
|
150
283
|
"chevron-down",
|
|
151
|
-
"chevron-
|
|
284
|
+
"chevron-down-circle",
|
|
152
285
|
"chevron-left",
|
|
153
|
-
"chevron-
|
|
286
|
+
"chevron-left-circle",
|
|
154
287
|
"chevron-right",
|
|
155
|
-
"chevron-
|
|
288
|
+
"chevron-right-circle",
|
|
156
289
|
"chevron-up",
|
|
157
|
-
"circle
|
|
290
|
+
"chevron-up-circle",
|
|
158
291
|
"circle",
|
|
292
|
+
"circle-dashed",
|
|
293
|
+
"clipboard",
|
|
159
294
|
"clipboard-check",
|
|
160
295
|
"clipboard-checklist",
|
|
161
|
-
"clipboard",
|
|
162
|
-
"clock-revert",
|
|
163
296
|
"clock",
|
|
164
|
-
"
|
|
297
|
+
"clock-revert",
|
|
165
298
|
"code",
|
|
299
|
+
"code-add",
|
|
300
|
+
"collection",
|
|
166
301
|
"collection-featured",
|
|
167
302
|
"collection-list",
|
|
168
303
|
"collection-reference",
|
|
169
|
-
"collection",
|
|
170
|
-
"color-none",
|
|
171
304
|
"color",
|
|
305
|
+
"color-none",
|
|
172
306
|
"compass",
|
|
173
307
|
"complete",
|
|
174
308
|
"compose",
|
|
@@ -179,76 +313,81 @@ declare const privateIconArray: readonly [
|
|
|
179
313
|
"corner-pill",
|
|
180
314
|
"corner-round",
|
|
181
315
|
"corner-square",
|
|
316
|
+
"credit-card",
|
|
182
317
|
"credit-card-cancel",
|
|
183
318
|
"credit-card-percent",
|
|
319
|
+
"credit-card-reader",
|
|
184
320
|
"credit-card-reader-chip",
|
|
185
321
|
"credit-card-reader-tap",
|
|
186
|
-
"credit-card-reader",
|
|
187
322
|
"credit-card-secure",
|
|
188
323
|
"credit-card-tap-chip",
|
|
189
|
-
"credit-card",
|
|
190
324
|
"crop",
|
|
191
325
|
"currency-convert",
|
|
326
|
+
"cursor",
|
|
192
327
|
"cursor-banner",
|
|
193
328
|
"cursor-option",
|
|
194
|
-
"cursor",
|
|
195
329
|
"data-presentation",
|
|
196
330
|
"data-table",
|
|
331
|
+
"database",
|
|
197
332
|
"database-add",
|
|
198
333
|
"database-connect",
|
|
199
|
-
"database",
|
|
200
334
|
"delete",
|
|
201
335
|
"delivered",
|
|
202
336
|
"delivery",
|
|
203
337
|
"desktop",
|
|
204
338
|
"disabled",
|
|
339
|
+
"disabled-filled",
|
|
340
|
+
"discount",
|
|
205
341
|
"discount-add",
|
|
342
|
+
"discount-automatic",
|
|
206
343
|
"discount-code",
|
|
207
|
-
"discount",
|
|
344
|
+
"discount-remove",
|
|
208
345
|
"dns-settings",
|
|
209
346
|
"dock-floating",
|
|
210
347
|
"dock-side",
|
|
348
|
+
"domain",
|
|
211
349
|
"domain-landing-page",
|
|
212
350
|
"domain-new",
|
|
213
351
|
"domain-redirect",
|
|
214
|
-
"domain",
|
|
215
352
|
"download",
|
|
216
353
|
"drag-drop",
|
|
217
354
|
"drag-handle",
|
|
355
|
+
"drawer",
|
|
218
356
|
"duplicate",
|
|
219
357
|
"edit",
|
|
358
|
+
"email",
|
|
220
359
|
"email-follow-up",
|
|
221
360
|
"email-newsletter",
|
|
222
|
-
"email",
|
|
223
361
|
"empty",
|
|
224
362
|
"enabled",
|
|
225
363
|
"enter",
|
|
226
|
-
"envelope-soft-pack",
|
|
227
364
|
"envelope",
|
|
365
|
+
"envelope-soft-pack",
|
|
228
366
|
"eraser",
|
|
229
367
|
"exchange",
|
|
230
368
|
"exit",
|
|
231
369
|
"export",
|
|
232
370
|
"external",
|
|
233
371
|
"eye-check-mark",
|
|
234
|
-
"eye-dropper-list",
|
|
235
372
|
"eye-dropper",
|
|
373
|
+
"eye-dropper-list",
|
|
236
374
|
"eye-first",
|
|
237
375
|
"eyeglasses",
|
|
238
376
|
"fav",
|
|
239
377
|
"favicon",
|
|
240
|
-
"file-list",
|
|
241
378
|
"file",
|
|
379
|
+
"file-list",
|
|
242
380
|
"filter",
|
|
381
|
+
"filter-active",
|
|
243
382
|
"flag",
|
|
244
383
|
"flip-horizontal",
|
|
245
384
|
"flip-vertical",
|
|
246
385
|
"flower",
|
|
386
|
+
"folder",
|
|
247
387
|
"folder-add",
|
|
248
388
|
"folder-down",
|
|
249
389
|
"folder-remove",
|
|
250
390
|
"folder-up",
|
|
251
|
-
"folder",
|
|
252
391
|
"food",
|
|
253
392
|
"foreground",
|
|
254
393
|
"forklift",
|
|
@@ -256,33 +395,35 @@ declare const privateIconArray: readonly [
|
|
|
256
395
|
"games",
|
|
257
396
|
"gauge",
|
|
258
397
|
"geolocation",
|
|
259
|
-
"gift-card",
|
|
260
398
|
"gift",
|
|
399
|
+
"gift-card",
|
|
261
400
|
"git-branch",
|
|
262
401
|
"git-commit",
|
|
263
402
|
"git-repository",
|
|
403
|
+
"globe",
|
|
264
404
|
"globe-asia",
|
|
265
405
|
"globe-europe",
|
|
266
406
|
"globe-lines",
|
|
267
407
|
"globe-list",
|
|
268
|
-
"
|
|
408
|
+
"graduation-hat",
|
|
269
409
|
"grid",
|
|
410
|
+
"hashtag",
|
|
270
411
|
"hashtag-decimal",
|
|
271
412
|
"hashtag-list",
|
|
272
|
-
"hashtag",
|
|
273
413
|
"heart",
|
|
274
|
-
"hide-filled",
|
|
275
414
|
"hide",
|
|
415
|
+
"hide-filled",
|
|
276
416
|
"home",
|
|
417
|
+
"home-filled",
|
|
277
418
|
"icons",
|
|
278
419
|
"identity-card",
|
|
420
|
+
"image",
|
|
279
421
|
"image-add",
|
|
280
422
|
"image-alt",
|
|
281
423
|
"image-explore",
|
|
282
424
|
"image-magic",
|
|
283
425
|
"image-none",
|
|
284
426
|
"image-with-text-overlay",
|
|
285
|
-
"image",
|
|
286
427
|
"images",
|
|
287
428
|
"import",
|
|
288
429
|
"in-progress",
|
|
@@ -291,20 +432,25 @@ declare const privateIconArray: readonly [
|
|
|
291
432
|
"incomplete",
|
|
292
433
|
"info",
|
|
293
434
|
"info-filled",
|
|
294
|
-
"
|
|
435
|
+
"inheritance",
|
|
295
436
|
"inventory",
|
|
437
|
+
"inventory-edit",
|
|
438
|
+
"inventory-list",
|
|
439
|
+
"inventory-transfer",
|
|
440
|
+
"inventory-updated",
|
|
296
441
|
"iq",
|
|
297
442
|
"key",
|
|
443
|
+
"keyboard",
|
|
298
444
|
"keyboard-filled",
|
|
299
445
|
"keyboard-hide",
|
|
300
|
-
"
|
|
446
|
+
"keypad",
|
|
301
447
|
"label-printer",
|
|
302
|
-
"language-translate",
|
|
303
448
|
"language",
|
|
449
|
+
"language-translate",
|
|
304
450
|
"layout-block",
|
|
451
|
+
"layout-buy-button",
|
|
305
452
|
"layout-buy-button-horizontal",
|
|
306
453
|
"layout-buy-button-vertical",
|
|
307
|
-
"layout-buy-button",
|
|
308
454
|
"layout-column-1",
|
|
309
455
|
"layout-columns-2",
|
|
310
456
|
"layout-columns-3",
|
|
@@ -317,64 +463,73 @@ declare const privateIconArray: readonly [
|
|
|
317
463
|
"layout-sidebar-left",
|
|
318
464
|
"layout-sidebar-right",
|
|
319
465
|
"lightbulb",
|
|
320
|
-
"link-list",
|
|
321
466
|
"link",
|
|
467
|
+
"link-list",
|
|
322
468
|
"list-bulleted",
|
|
469
|
+
"list-bulleted-filled",
|
|
323
470
|
"list-numbered",
|
|
324
471
|
"live",
|
|
325
|
-
"
|
|
472
|
+
"live-critical",
|
|
473
|
+
"live-none",
|
|
326
474
|
"location",
|
|
475
|
+
"location-none",
|
|
327
476
|
"lock",
|
|
328
477
|
"map",
|
|
478
|
+
"markets",
|
|
329
479
|
"markets-euro",
|
|
330
480
|
"markets-rupee",
|
|
331
481
|
"markets-yen",
|
|
332
|
-
"markets",
|
|
333
482
|
"maximize",
|
|
334
|
-
"measurement-size-list",
|
|
335
483
|
"measurement-size",
|
|
336
|
-
"measurement-
|
|
484
|
+
"measurement-size-list",
|
|
337
485
|
"measurement-volume",
|
|
338
|
-
"measurement-
|
|
486
|
+
"measurement-volume-list",
|
|
339
487
|
"measurement-weight",
|
|
488
|
+
"measurement-weight-list",
|
|
340
489
|
"media-receiver",
|
|
341
490
|
"megaphone",
|
|
342
491
|
"mention",
|
|
492
|
+
"menu",
|
|
493
|
+
"menu-filled",
|
|
343
494
|
"menu-horizontal",
|
|
344
495
|
"menu-vertical",
|
|
345
|
-
"menu",
|
|
346
496
|
"merge",
|
|
347
497
|
"metafields",
|
|
498
|
+
"metaobject",
|
|
348
499
|
"metaobject-list",
|
|
349
500
|
"metaobject-reference",
|
|
350
|
-
"metaobject",
|
|
351
501
|
"microphone",
|
|
352
502
|
"minimize",
|
|
353
|
-
"minus-circle",
|
|
354
503
|
"minus",
|
|
504
|
+
"minus-circle",
|
|
355
505
|
"mobile",
|
|
356
|
-
"money-none",
|
|
357
506
|
"money",
|
|
507
|
+
"money-none",
|
|
508
|
+
"money-split",
|
|
358
509
|
"moon",
|
|
359
510
|
"nature",
|
|
360
|
-
"note-add",
|
|
361
511
|
"note",
|
|
512
|
+
"note-add",
|
|
362
513
|
"notification",
|
|
514
|
+
"order",
|
|
363
515
|
"order-batches",
|
|
364
516
|
"order-draft",
|
|
517
|
+
"order-filled",
|
|
365
518
|
"order-first",
|
|
366
519
|
"order-fulfilled",
|
|
367
520
|
"order-repeat",
|
|
368
521
|
"order-unfulfilled",
|
|
369
|
-
"order",
|
|
370
522
|
"orders-status",
|
|
371
523
|
"organization",
|
|
372
524
|
"outdent",
|
|
373
525
|
"outgoing",
|
|
526
|
+
"package",
|
|
527
|
+
"package-cancel",
|
|
374
528
|
"package-fulfilled",
|
|
375
529
|
"package-on-hold",
|
|
530
|
+
"package-reassign",
|
|
376
531
|
"package-returned",
|
|
377
|
-
"
|
|
532
|
+
"page",
|
|
378
533
|
"page-add",
|
|
379
534
|
"page-attachment",
|
|
380
535
|
"page-clock",
|
|
@@ -385,7 +540,6 @@ declare const privateIconArray: readonly [
|
|
|
385
540
|
"page-remove",
|
|
386
541
|
"page-report",
|
|
387
542
|
"page-up",
|
|
388
|
-
"page",
|
|
389
543
|
"pagination-end",
|
|
390
544
|
"pagination-start",
|
|
391
545
|
"paint-brush-flat",
|
|
@@ -395,49 +549,55 @@ declare const privateIconArray: readonly [
|
|
|
395
549
|
"passkey",
|
|
396
550
|
"paste",
|
|
397
551
|
"pause-circle",
|
|
398
|
-
"payment-capture",
|
|
399
552
|
"payment",
|
|
553
|
+
"payment-capture",
|
|
554
|
+
"payout",
|
|
400
555
|
"payout-dollar",
|
|
401
556
|
"payout-euro",
|
|
402
557
|
"payout-pound",
|
|
403
558
|
"payout-rupee",
|
|
404
559
|
"payout-yen",
|
|
405
|
-
"
|
|
560
|
+
"person",
|
|
406
561
|
"person-add",
|
|
407
562
|
"person-exit",
|
|
563
|
+
"person-filled",
|
|
408
564
|
"person-list",
|
|
409
565
|
"person-lock",
|
|
410
566
|
"person-remove",
|
|
411
567
|
"person-segment",
|
|
412
|
-
"person",
|
|
413
568
|
"personalized-text",
|
|
569
|
+
"phablet",
|
|
570
|
+
"phone",
|
|
414
571
|
"phone-in",
|
|
415
572
|
"phone-out",
|
|
416
|
-
"phone",
|
|
417
573
|
"pin",
|
|
418
574
|
"pin-remove",
|
|
419
575
|
"plan",
|
|
420
|
-
"play-circle",
|
|
421
576
|
"play",
|
|
577
|
+
"play-circle",
|
|
578
|
+
"plus",
|
|
422
579
|
"plus-circle",
|
|
423
580
|
"plus-circle-down",
|
|
581
|
+
"plus-circle-filled",
|
|
424
582
|
"plus-circle-up",
|
|
425
|
-
"plus",
|
|
426
583
|
"point-of-sale",
|
|
584
|
+
"point-of-sale-register",
|
|
427
585
|
"price-list",
|
|
428
586
|
"print",
|
|
587
|
+
"product",
|
|
429
588
|
"product-add",
|
|
430
589
|
"product-cost",
|
|
590
|
+
"product-filled",
|
|
431
591
|
"product-list",
|
|
432
592
|
"product-reference",
|
|
433
593
|
"product-remove",
|
|
434
594
|
"product-return",
|
|
435
595
|
"product-unavailable",
|
|
436
|
-
"product",
|
|
437
|
-
"profile-filled",
|
|
438
596
|
"profile",
|
|
439
|
-
"
|
|
597
|
+
"profile-filled",
|
|
440
598
|
"question-circle",
|
|
599
|
+
"question-circle-filled",
|
|
600
|
+
"receipt",
|
|
441
601
|
"receipt-dollar",
|
|
442
602
|
"receipt-euro",
|
|
443
603
|
"receipt-folded",
|
|
@@ -446,7 +606,6 @@ declare const privateIconArray: readonly [
|
|
|
446
606
|
"receipt-refund",
|
|
447
607
|
"receipt-rupee",
|
|
448
608
|
"receipt-yen",
|
|
449
|
-
"receipt",
|
|
450
609
|
"receivables",
|
|
451
610
|
"redo",
|
|
452
611
|
"referral-code",
|
|
@@ -464,10 +623,12 @@ declare const privateIconArray: readonly [
|
|
|
464
623
|
"sandbox",
|
|
465
624
|
"save",
|
|
466
625
|
"savings",
|
|
626
|
+
"scan-qr-code",
|
|
627
|
+
"search",
|
|
628
|
+
"search-add",
|
|
467
629
|
"search-list",
|
|
468
630
|
"search-recent",
|
|
469
631
|
"search-resource",
|
|
470
|
-
"search",
|
|
471
632
|
"select",
|
|
472
633
|
"send",
|
|
473
634
|
"settings",
|
|
@@ -477,6 +638,7 @@ declare const privateIconArray: readonly [
|
|
|
477
638
|
"shield-pending",
|
|
478
639
|
"shield-person",
|
|
479
640
|
"shipping-label",
|
|
641
|
+
"shipping-label-cancel",
|
|
480
642
|
"shopcodes",
|
|
481
643
|
"slideshow",
|
|
482
644
|
"smiley-happy",
|
|
@@ -485,68 +647,70 @@ declare const privateIconArray: readonly [
|
|
|
485
647
|
"smiley-sad",
|
|
486
648
|
"social-ad",
|
|
487
649
|
"social-post",
|
|
650
|
+
"sort",
|
|
488
651
|
"sort-ascending",
|
|
489
652
|
"sort-descending",
|
|
490
|
-
"sort",
|
|
491
653
|
"sound",
|
|
492
654
|
"sports",
|
|
655
|
+
"star",
|
|
656
|
+
"star-circle",
|
|
493
657
|
"star-filled",
|
|
494
658
|
"star-half",
|
|
495
659
|
"star-list",
|
|
496
|
-
"star",
|
|
497
|
-
"status-active",
|
|
498
660
|
"status",
|
|
661
|
+
"status-active",
|
|
499
662
|
"stop-circle",
|
|
663
|
+
"store",
|
|
500
664
|
"store-import",
|
|
501
665
|
"store-managed",
|
|
502
666
|
"store-online",
|
|
503
|
-
"store",
|
|
504
667
|
"sun",
|
|
505
|
-
"table-masonry",
|
|
506
668
|
"table",
|
|
669
|
+
"table-masonry",
|
|
507
670
|
"tablet",
|
|
508
671
|
"target",
|
|
509
672
|
"tax",
|
|
510
673
|
"team",
|
|
674
|
+
"text",
|
|
511
675
|
"text-align-center",
|
|
512
676
|
"text-align-left",
|
|
513
677
|
"text-align-right",
|
|
514
678
|
"text-block",
|
|
515
679
|
"text-bold",
|
|
516
680
|
"text-color",
|
|
517
|
-
"text-font-list",
|
|
518
681
|
"text-font",
|
|
682
|
+
"text-font-list",
|
|
519
683
|
"text-grammar",
|
|
520
684
|
"text-in-columns",
|
|
521
685
|
"text-in-rows",
|
|
522
|
-
"text-indent-remove",
|
|
523
686
|
"text-indent",
|
|
687
|
+
"text-indent-remove",
|
|
524
688
|
"text-italic",
|
|
525
689
|
"text-quote",
|
|
526
690
|
"text-title",
|
|
527
691
|
"text-underline",
|
|
528
692
|
"text-with-image",
|
|
529
|
-
"
|
|
693
|
+
"theme",
|
|
530
694
|
"theme-edit",
|
|
531
695
|
"theme-store",
|
|
532
696
|
"theme-template",
|
|
533
|
-
"theme",
|
|
534
697
|
"three-d-environment",
|
|
535
698
|
"thumbs-down",
|
|
536
699
|
"thumbs-up",
|
|
537
700
|
"tip-jar",
|
|
538
701
|
"toggle-off",
|
|
539
702
|
"toggle-on",
|
|
703
|
+
"transaction",
|
|
704
|
+
"transaction-fee-add",
|
|
540
705
|
"transaction-fee-dollar",
|
|
541
706
|
"transaction-fee-euro",
|
|
542
707
|
"transaction-fee-pound",
|
|
543
708
|
"transaction-fee-rupee",
|
|
544
709
|
"transaction-fee-yen",
|
|
545
|
-
"
|
|
710
|
+
"transfer",
|
|
546
711
|
"transfer-in",
|
|
547
712
|
"transfer-internal",
|
|
548
713
|
"transfer-out",
|
|
549
|
-
"transfer",
|
|
550
714
|
"truck",
|
|
551
715
|
"undo",
|
|
552
716
|
"unknown-device",
|
|
@@ -562,12 +726,12 @@ declare const privateIconArray: readonly [
|
|
|
562
726
|
"wand",
|
|
563
727
|
"watch",
|
|
564
728
|
"wifi",
|
|
565
|
-
"work-list",
|
|
566
729
|
"work",
|
|
730
|
+
"work-list",
|
|
567
731
|
"wrench",
|
|
568
|
-
"x
|
|
732
|
+
"x",
|
|
569
733
|
"x-circle",
|
|
570
|
-
"x"
|
|
734
|
+
"x-circle-filled"
|
|
571
735
|
];
|
|
572
736
|
export type IconType = (typeof privateIconArray)[number];
|
|
573
737
|
/**
|
|
@@ -576,6 +740,7 @@ export type IconType = (typeof privateIconArray)[number];
|
|
|
576
740
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
577
741
|
export type MaybeAllValuesShorthandProperty<T extends string> = T | `${T} ${T}` | `${T} ${T} ${T}` | `${T} ${T} ${T} ${T}`;
|
|
578
742
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
743
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
579
744
|
/**
|
|
580
745
|
* Prevents widening string literal types in a union to `string`.
|
|
581
746
|
* @example
|
|
@@ -585,44 +750,48 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
585
750
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
586
751
|
*/
|
|
587
752
|
export type AnyString = string & {};
|
|
588
|
-
|
|
753
|
+
/**
|
|
754
|
+
* This is purely to give the ability
|
|
755
|
+
* to have a space or not in the string literal types.
|
|
756
|
+
*
|
|
757
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
758
|
+
*/
|
|
759
|
+
export type optionalSpace = "" | " ";
|
|
760
|
+
interface BadgeProps$1 extends GlobalProps {
|
|
589
761
|
/**
|
|
590
|
-
* The
|
|
762
|
+
* The content of the Badge.
|
|
591
763
|
*/
|
|
592
|
-
|
|
764
|
+
children?: ComponentChildren;
|
|
593
765
|
/**
|
|
594
|
-
*
|
|
766
|
+
* Sets the tone of the Badge, based on the intention of the information being conveyed.
|
|
767
|
+
*
|
|
768
|
+
* @default 'auto'
|
|
595
769
|
*/
|
|
596
|
-
|
|
597
|
-
}
|
|
598
|
-
/**
|
|
599
|
-
* Used for Container Query-related props.
|
|
600
|
-
*/
|
|
601
|
-
export interface ContainerProps {
|
|
770
|
+
tone?: ToneKeyword;
|
|
602
771
|
/**
|
|
603
|
-
*
|
|
772
|
+
* Modify the color to be more or less intense.
|
|
604
773
|
*
|
|
605
|
-
* @
|
|
774
|
+
* @default 'base'
|
|
775
|
+
*/
|
|
776
|
+
color?: ColorKeyword;
|
|
777
|
+
/**
|
|
778
|
+
* The type of icon to be displayed in the badge.
|
|
606
779
|
*
|
|
607
780
|
* @default ''
|
|
608
|
-
*
|
|
609
|
-
* @implementation All components that implement this interface must put a containerName of `s-default` on the root element of that component, regardless of the value of `containerType`.
|
|
610
|
-
* The developer-supplied containerName here would be in addition to the above-mentioned containerName.
|
|
611
781
|
*/
|
|
612
|
-
|
|
782
|
+
icon?: IconType | AnyString;
|
|
613
783
|
/**
|
|
614
|
-
* The
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
*
|
|
619
|
-
* - `inline-size`: Establishes a query container for dimensional queries on the inline axis of the container. Applies layout, style, and inline-size containment to the element.
|
|
784
|
+
* The position of the icon in relation to the text.
|
|
785
|
+
*/
|
|
786
|
+
iconPosition?: "start" | "end";
|
|
787
|
+
/**
|
|
788
|
+
* Adjusts the size.
|
|
620
789
|
*
|
|
621
|
-
* @default '
|
|
790
|
+
* @default 'base'
|
|
622
791
|
*/
|
|
623
|
-
|
|
792
|
+
size?: SizeKeyword;
|
|
624
793
|
}
|
|
625
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots
|
|
794
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
626
795
|
/**
|
|
627
796
|
* The title of the banner.
|
|
628
797
|
*
|
|
@@ -673,7 +842,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
673
842
|
*
|
|
674
843
|
* The `hidden` property will be `false` when this event fires.
|
|
675
844
|
*/
|
|
676
|
-
onDismiss?: () => void;
|
|
845
|
+
onDismiss?: (event: Event) => void;
|
|
677
846
|
/**
|
|
678
847
|
* Event handler when the banner has fully hidden.
|
|
679
848
|
*
|
|
@@ -683,7 +852,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
683
852
|
* this event must fire after the banner has fully hidden.
|
|
684
853
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
685
854
|
*/
|
|
686
|
-
onAfterHide?: () => void;
|
|
855
|
+
onAfterHide?: (event: Event) => void;
|
|
687
856
|
/**
|
|
688
857
|
* Determines whether the banner is hidden.
|
|
689
858
|
*
|
|
@@ -707,7 +876,7 @@ export interface DisplayProps {
|
|
|
707
876
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
708
877
|
* @default 'auto'
|
|
709
878
|
*/
|
|
710
|
-
display?: "auto" | "none"
|
|
879
|
+
display?: MaybeResponsive<"auto" | "none">;
|
|
711
880
|
}
|
|
712
881
|
export interface AccessibilityRoleProps {
|
|
713
882
|
/**
|
|
@@ -882,7 +1051,7 @@ export interface PaddingProps {
|
|
|
882
1051
|
*
|
|
883
1052
|
* @default 'none'
|
|
884
1053
|
*/
|
|
885
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1054
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
886
1055
|
/**
|
|
887
1056
|
* Adjust the block-padding.
|
|
888
1057
|
*
|
|
@@ -892,7 +1061,7 @@ export interface PaddingProps {
|
|
|
892
1061
|
*
|
|
893
1062
|
* @default '' - meaning no override
|
|
894
1063
|
*/
|
|
895
|
-
paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1064
|
+
paddingBlock?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
896
1065
|
/**
|
|
897
1066
|
* Adjust the block-start padding.
|
|
898
1067
|
*
|
|
@@ -900,7 +1069,7 @@ export interface PaddingProps {
|
|
|
900
1069
|
*
|
|
901
1070
|
* @default '' - meaning no override
|
|
902
1071
|
*/
|
|
903
|
-
paddingBlockStart?: PaddingKeyword | ""
|
|
1072
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
904
1073
|
/**
|
|
905
1074
|
* Adjust the block-end padding.
|
|
906
1075
|
*
|
|
@@ -908,7 +1077,7 @@ export interface PaddingProps {
|
|
|
908
1077
|
*
|
|
909
1078
|
* @default '' - meaning no override
|
|
910
1079
|
*/
|
|
911
|
-
paddingBlockEnd?: PaddingKeyword | ""
|
|
1080
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
912
1081
|
/**
|
|
913
1082
|
* Adjust the inline padding.
|
|
914
1083
|
*
|
|
@@ -918,7 +1087,7 @@ export interface PaddingProps {
|
|
|
918
1087
|
*
|
|
919
1088
|
* @default '' - meaning no override
|
|
920
1089
|
*/
|
|
921
|
-
paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1090
|
+
paddingInline?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
922
1091
|
/**
|
|
923
1092
|
* Adjust the inline-start padding.
|
|
924
1093
|
*
|
|
@@ -926,7 +1095,7 @@ export interface PaddingProps {
|
|
|
926
1095
|
*
|
|
927
1096
|
* @default '' - meaning no override
|
|
928
1097
|
*/
|
|
929
|
-
paddingInlineStart?: PaddingKeyword | ""
|
|
1098
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
930
1099
|
/**
|
|
931
1100
|
* Adjust the inline-end padding.
|
|
932
1101
|
*
|
|
@@ -934,7 +1103,7 @@ export interface PaddingProps {
|
|
|
934
1103
|
*
|
|
935
1104
|
* @default '' - meaning no override
|
|
936
1105
|
*/
|
|
937
|
-
paddingInlineEnd?: PaddingKeyword | ""
|
|
1106
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
938
1107
|
}
|
|
939
1108
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
940
1109
|
export type SizeUnitsOrAuto = SizeUnits | "auto";
|
|
@@ -947,7 +1116,7 @@ export interface SizingProps {
|
|
|
947
1116
|
*
|
|
948
1117
|
* @default 'auto'
|
|
949
1118
|
*/
|
|
950
|
-
blockSize?: SizeUnitsOrAuto
|
|
1119
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
951
1120
|
/**
|
|
952
1121
|
* Adjust the minimum block size.
|
|
953
1122
|
*
|
|
@@ -955,7 +1124,7 @@ export interface SizingProps {
|
|
|
955
1124
|
*
|
|
956
1125
|
* @default '0'
|
|
957
1126
|
*/
|
|
958
|
-
minBlockSize?: SizeUnits
|
|
1127
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
959
1128
|
/**
|
|
960
1129
|
* Adjust the maximum block size.
|
|
961
1130
|
*
|
|
@@ -963,7 +1132,7 @@ export interface SizingProps {
|
|
|
963
1132
|
*
|
|
964
1133
|
* @default 'none'
|
|
965
1134
|
*/
|
|
966
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1135
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
967
1136
|
/**
|
|
968
1137
|
* Adjust the inline size.
|
|
969
1138
|
*
|
|
@@ -971,7 +1140,7 @@ export interface SizingProps {
|
|
|
971
1140
|
*
|
|
972
1141
|
* @default 'auto'
|
|
973
1142
|
*/
|
|
974
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1143
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
975
1144
|
/**
|
|
976
1145
|
* Adjust the minimum inline size.
|
|
977
1146
|
*
|
|
@@ -979,7 +1148,7 @@ export interface SizingProps {
|
|
|
979
1148
|
*
|
|
980
1149
|
* @default '0'
|
|
981
1150
|
*/
|
|
982
|
-
minInlineSize?: SizeUnits
|
|
1151
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
983
1152
|
/**
|
|
984
1153
|
* Adjust the maximum inline size.
|
|
985
1154
|
*
|
|
@@ -987,7 +1156,7 @@ export interface SizingProps {
|
|
|
987
1156
|
*
|
|
988
1157
|
* @default 'none'
|
|
989
1158
|
*/
|
|
990
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1159
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
991
1160
|
}
|
|
992
1161
|
export type BorderStyleKeyword = "none" | "solid" | "dashed" | "dotted" | "auto";
|
|
993
1162
|
export type BorderSizeKeyword = SizeKeyword | "none";
|
|
@@ -1093,7 +1262,7 @@ export interface OverflowProps {
|
|
|
1093
1262
|
*/
|
|
1094
1263
|
overflow?: "hidden" | "visible";
|
|
1095
1264
|
}
|
|
1096
|
-
export interface BaseBoxProps extends
|
|
1265
|
+
export interface BaseBoxProps extends AccessibilityVisibilityProps, BackgroundProps, DisplayProps, SizingProps, PaddingProps, BorderProps, OverflowProps {
|
|
1097
1266
|
/**
|
|
1098
1267
|
* The content of the Box.
|
|
1099
1268
|
*/
|
|
@@ -1108,49 +1277,11 @@ export interface BaseBoxProps extends GlobalProps, AccessibilityVisibilityProps,
|
|
|
1108
1277
|
}
|
|
1109
1278
|
export interface BaseBoxPropsWithRole extends BaseBoxProps, AccessibilityRoleProps {
|
|
1110
1279
|
}
|
|
1111
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {
|
|
1112
|
-
}
|
|
1113
|
-
export interface FocusEventProps {
|
|
1114
|
-
/**
|
|
1115
|
-
* Callback when the element loses focus.
|
|
1116
|
-
*/
|
|
1117
|
-
onBlur?: () => void;
|
|
1118
|
-
/**
|
|
1119
|
-
* Callback when the element receives focus.
|
|
1120
|
-
*/
|
|
1121
|
-
onFocus?: () => void;
|
|
1122
|
-
}
|
|
1123
|
-
export interface ToggleEventProps {
|
|
1124
|
-
/**
|
|
1125
|
-
* Callback fired when the element state changes **after** any animations have finished.
|
|
1126
|
-
*
|
|
1127
|
-
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1128
|
-
* `newState` property will be set to `open`.
|
|
1129
|
-
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
1130
|
-
* `newState` will be `closed`.
|
|
1131
|
-
*
|
|
1132
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1133
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1134
|
-
*/
|
|
1135
|
-
onAfterToggle?: (oldState: ToggleState, newState: ToggleState) => void;
|
|
1136
|
-
/**
|
|
1137
|
-
* Callback straight after the element state changes.
|
|
1138
|
-
*
|
|
1139
|
-
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1140
|
-
* `newState` property will be set to `open`.
|
|
1141
|
-
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
1142
|
-
* `newState` will be `closed`.
|
|
1143
|
-
*
|
|
1144
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
1145
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1146
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1147
|
-
*/
|
|
1148
|
-
onToggle?: (oldState: ToggleState, newState: ToggleState) => void;
|
|
1280
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {
|
|
1149
1281
|
}
|
|
1150
|
-
export type ToggleState = "open" | "closed";
|
|
1151
1282
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1152
1283
|
/**
|
|
1153
|
-
* The behavior of the
|
|
1284
|
+
* The behavior of the Button.
|
|
1154
1285
|
*
|
|
1155
1286
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1156
1287
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1162,12 +1293,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1162
1293
|
*/
|
|
1163
1294
|
type?: "submit" | "button" | "reset";
|
|
1164
1295
|
/**
|
|
1165
|
-
* Callback when the
|
|
1296
|
+
* Callback when the Button is activated.
|
|
1166
1297
|
* This will be called before the action indicated by `type`.
|
|
1298
|
+
*
|
|
1299
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1167
1300
|
*/
|
|
1168
|
-
onClick?: () => void;
|
|
1301
|
+
onClick?: (event: Event) => void;
|
|
1169
1302
|
/**
|
|
1170
|
-
* Disables the
|
|
1303
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1171
1304
|
*
|
|
1172
1305
|
* @default false
|
|
1173
1306
|
*/
|
|
@@ -1175,7 +1308,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1175
1308
|
/**
|
|
1176
1309
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1177
1310
|
*
|
|
1178
|
-
* This also disables the
|
|
1311
|
+
* This also disables the Button.
|
|
1179
1312
|
*
|
|
1180
1313
|
* @default false
|
|
1181
1314
|
*/
|
|
@@ -1205,15 +1338,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1205
1338
|
target?: "auto" | "_blank" | "_self" | "_parent" | "_top" | AnyString;
|
|
1206
1339
|
/**
|
|
1207
1340
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1208
|
-
* Download only works for same-origin URLs
|
|
1341
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1209
1342
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1210
1343
|
*/
|
|
1211
1344
|
download?: string;
|
|
1212
1345
|
/**
|
|
1213
1346
|
* Callback when the link is activated.
|
|
1214
1347
|
* This will be called before navigating to the location specified by `href`.
|
|
1348
|
+
*
|
|
1349
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1215
1350
|
*/
|
|
1216
|
-
onClick?: () => void;
|
|
1351
|
+
onClick?: (event: Event) => void;
|
|
1217
1352
|
}
|
|
1218
1353
|
export interface InteractionProps {
|
|
1219
1354
|
/**
|
|
@@ -1240,6 +1375,10 @@ export interface InteractionProps {
|
|
|
1240
1375
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1241
1376
|
*/
|
|
1242
1377
|
command?: "--auto" | "--show" | "--hide" | "--toggle" | "--copy";
|
|
1378
|
+
/**
|
|
1379
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1380
|
+
*/
|
|
1381
|
+
interestFor?: string;
|
|
1243
1382
|
}
|
|
1244
1383
|
export interface BaseClickableProps extends ButtonBehaviorProps, LinkBehaviorProps {
|
|
1245
1384
|
}
|
|
@@ -1247,7 +1386,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1247
1386
|
/**
|
|
1248
1387
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1249
1388
|
*
|
|
1250
|
-
* Use this when using only an icon or the
|
|
1389
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1251
1390
|
* for users using assistive technologies.
|
|
1252
1391
|
*/
|
|
1253
1392
|
accessibilityLabel?: string;
|
|
@@ -1256,13 +1395,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1256
1395
|
*/
|
|
1257
1396
|
children?: ComponentChildren;
|
|
1258
1397
|
/**
|
|
1259
|
-
* The type of icon to be displayed in the
|
|
1398
|
+
* The type of icon to be displayed in the Button.
|
|
1260
1399
|
*
|
|
1261
1400
|
* @default ''
|
|
1262
1401
|
*/
|
|
1263
1402
|
icon?: IconType | AnyString;
|
|
1264
1403
|
/**
|
|
1265
|
-
* The displayed inline width of the
|
|
1404
|
+
* The displayed inline width of the Button.
|
|
1266
1405
|
*
|
|
1267
1406
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1268
1407
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1278,7 +1417,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1278
1417
|
*/
|
|
1279
1418
|
variant?: "auto" | "primary" | "secondary" | "tertiary";
|
|
1280
1419
|
/**
|
|
1281
|
-
* Sets the tone of the Button
|
|
1420
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1282
1421
|
*
|
|
1283
1422
|
* @default 'auto'
|
|
1284
1423
|
*/
|
|
@@ -1305,12 +1444,16 @@ export interface BaseInputProps {
|
|
|
1305
1444
|
export interface InputProps extends BaseInputProps {
|
|
1306
1445
|
/**
|
|
1307
1446
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1447
|
+
*
|
|
1448
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1308
1449
|
*/
|
|
1309
|
-
onChange?: (
|
|
1450
|
+
onChange?: (event: Event) => void;
|
|
1310
1451
|
/**
|
|
1311
1452
|
* Callback when the user makes any changes in the field.
|
|
1453
|
+
*
|
|
1454
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1312
1455
|
*/
|
|
1313
|
-
onInput?: (
|
|
1456
|
+
onInput?: (event: Event) => void;
|
|
1314
1457
|
/**
|
|
1315
1458
|
* The current value for the field. If omitted, the field will be empty.
|
|
1316
1459
|
*/
|
|
@@ -1322,22 +1465,54 @@ export interface InputProps extends BaseInputProps {
|
|
|
1322
1465
|
*/
|
|
1323
1466
|
defaultValue?: string;
|
|
1324
1467
|
}
|
|
1325
|
-
export interface
|
|
1468
|
+
export interface MultipleInputProps extends BaseInputProps {
|
|
1326
1469
|
/**
|
|
1327
|
-
* Callback when the user has
|
|
1470
|
+
* Callback when the user has selected option(s).
|
|
1471
|
+
*
|
|
1472
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1328
1473
|
*/
|
|
1329
|
-
onChange?: (
|
|
1474
|
+
onChange?: (event: Event) => void;
|
|
1330
1475
|
/**
|
|
1331
|
-
* Callback when the user
|
|
1476
|
+
* Callback when the user has selected option(s).
|
|
1477
|
+
*
|
|
1478
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1332
1479
|
*/
|
|
1333
|
-
onInput?: (
|
|
1480
|
+
onInput?: (event: Event) => void;
|
|
1334
1481
|
/**
|
|
1335
|
-
*
|
|
1482
|
+
* An array of the `value`s of the selected options.
|
|
1336
1483
|
*
|
|
1337
|
-
*
|
|
1338
|
-
* We haven't agreed how to represent that yet.
|
|
1484
|
+
* This is a convenience prop for setting the `selected` prop on child options.
|
|
1339
1485
|
*/
|
|
1340
|
-
|
|
1486
|
+
values?: string[];
|
|
1487
|
+
}
|
|
1488
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1489
|
+
/**
|
|
1490
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1491
|
+
*/
|
|
1492
|
+
onChange?: (event: Event) => void;
|
|
1493
|
+
/**
|
|
1494
|
+
* Callback when the user makes any changes in the file selection.
|
|
1495
|
+
*/
|
|
1496
|
+
onInput?: (event: Event) => void;
|
|
1497
|
+
/**
|
|
1498
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1499
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1500
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1501
|
+
*
|
|
1502
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1503
|
+
*
|
|
1504
|
+
* @default ''
|
|
1505
|
+
*/
|
|
1506
|
+
value?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1509
|
+
*
|
|
1510
|
+
* This property is read-only and cannot be directly modified.
|
|
1511
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1512
|
+
*
|
|
1513
|
+
* @default []
|
|
1514
|
+
*/
|
|
1515
|
+
files?: readonly File[];
|
|
1341
1516
|
}
|
|
1342
1517
|
export interface FieldErrorProps {
|
|
1343
1518
|
/**
|
|
@@ -1539,12 +1714,16 @@ export interface BaseCheckableProps extends BaseSelectableProps, InteractionProp
|
|
|
1539
1714
|
name?: string;
|
|
1540
1715
|
/**
|
|
1541
1716
|
* A callback that is run whenever the control is changed.
|
|
1717
|
+
*
|
|
1718
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1542
1719
|
*/
|
|
1543
|
-
onChange?: (
|
|
1720
|
+
onChange?: (event: Event) => void;
|
|
1544
1721
|
/**
|
|
1545
1722
|
* A callback that is run whenever the control is changed.
|
|
1723
|
+
*
|
|
1724
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1546
1725
|
*/
|
|
1547
|
-
onInput?: (
|
|
1726
|
+
onInput?: (event: Event) => void;
|
|
1548
1727
|
}
|
|
1549
1728
|
interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
|
|
1550
1729
|
/**
|
|
@@ -1580,7 +1759,107 @@ interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorPro
|
|
|
1580
1759
|
*/
|
|
1581
1760
|
required?: boolean;
|
|
1582
1761
|
}
|
|
1583
|
-
interface
|
|
1762
|
+
export interface ChipProps$1 {
|
|
1763
|
+
/**
|
|
1764
|
+
* The content of the chip.
|
|
1765
|
+
*/
|
|
1766
|
+
children?: ComponentChildren;
|
|
1767
|
+
/**
|
|
1768
|
+
* The graphic to display inside of the chip.
|
|
1769
|
+
*
|
|
1770
|
+
* @implementation Only `s-icon` is supported.
|
|
1771
|
+
*/
|
|
1772
|
+
graphic?: ComponentChildren;
|
|
1773
|
+
/**
|
|
1774
|
+
* A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
|
|
1775
|
+
*/
|
|
1776
|
+
accessibilityLabel?: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* Modify the color to be more or less intense.
|
|
1779
|
+
*
|
|
1780
|
+
* @default 'base'
|
|
1781
|
+
*/
|
|
1782
|
+
color?: ColorKeyword;
|
|
1783
|
+
}
|
|
1784
|
+
interface ChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1785
|
+
}
|
|
1786
|
+
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1787
|
+
/**
|
|
1788
|
+
* Content to use as the choice label.
|
|
1789
|
+
*
|
|
1790
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1791
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1792
|
+
* element structure is ignored.
|
|
1793
|
+
*
|
|
1794
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1795
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1796
|
+
* is no coercion to a string.
|
|
1797
|
+
*/
|
|
1798
|
+
children?: ComponentChildren | StringChildren;
|
|
1799
|
+
/**
|
|
1800
|
+
* Additional text to provide context or guidance for the input.
|
|
1801
|
+
*
|
|
1802
|
+
* This text is displayed along with the input and its label
|
|
1803
|
+
* to offer more information or instructions to the user.
|
|
1804
|
+
*
|
|
1805
|
+
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1806
|
+
*/
|
|
1807
|
+
details?: ComponentChildren;
|
|
1808
|
+
/**
|
|
1809
|
+
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1810
|
+
*
|
|
1811
|
+
* @default false
|
|
1812
|
+
*/
|
|
1813
|
+
error?: boolean;
|
|
1814
|
+
/**
|
|
1815
|
+
* Secondary content for a choice.
|
|
1816
|
+
*/
|
|
1817
|
+
secondaryContent?: ComponentChildren;
|
|
1818
|
+
/**
|
|
1819
|
+
* Content to display when the option is selected.
|
|
1820
|
+
*
|
|
1821
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1822
|
+
*/
|
|
1823
|
+
selectedContent?: ComponentChildren;
|
|
1824
|
+
}
|
|
1825
|
+
interface ChoiceListProps$1 extends GlobalProps, Pick<BasicFieldProps, "label" | "labelAccessibilityVisibility" | "error">, MultipleInputProps, FieldDetailsProps {
|
|
1826
|
+
/**
|
|
1827
|
+
* Whether multiple choices can be selected.
|
|
1828
|
+
*
|
|
1829
|
+
* @default false
|
|
1830
|
+
*/
|
|
1831
|
+
multiple?: boolean;
|
|
1832
|
+
/**
|
|
1833
|
+
* The choices a user can select from.
|
|
1834
|
+
*
|
|
1835
|
+
* Accepts `Choice` components.
|
|
1836
|
+
*/
|
|
1837
|
+
children?: ComponentChildren;
|
|
1838
|
+
/**
|
|
1839
|
+
* Disables the field, disallowing any interaction.
|
|
1840
|
+
*
|
|
1841
|
+
* `disabled` on any child choices is ignored when this is true.
|
|
1842
|
+
*
|
|
1843
|
+
* @default false
|
|
1844
|
+
*/
|
|
1845
|
+
disabled?: MultipleInputProps["disabled"];
|
|
1846
|
+
/**
|
|
1847
|
+
* The variant of the choice grid.
|
|
1848
|
+
*
|
|
1849
|
+
* - `auto`: The variant is determined by the context.
|
|
1850
|
+
* - `list`: The choices are displayed in a list.
|
|
1851
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1852
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1853
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1854
|
+
*
|
|
1855
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1856
|
+
* discretion of each surface.
|
|
1857
|
+
*
|
|
1858
|
+
* @default 'auto'
|
|
1859
|
+
*/
|
|
1860
|
+
variant?: "auto" | "list" | "inline" | "block" | "grid";
|
|
1861
|
+
}
|
|
1862
|
+
interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps {
|
|
1584
1863
|
/**
|
|
1585
1864
|
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1586
1865
|
*
|
|
@@ -1604,9 +1883,59 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
|
1604
1883
|
* It will allow assistive technologies such as screen readers to invoke the correct pronunciation.
|
|
1605
1884
|
* [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label)
|
|
1606
1885
|
*
|
|
1607
|
-
* @default ''
|
|
1886
|
+
* @default ''
|
|
1887
|
+
*/
|
|
1888
|
+
lang?: string;
|
|
1889
|
+
}
|
|
1890
|
+
interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1891
|
+
/**
|
|
1892
|
+
* Callback when the chip is clicked.
|
|
1893
|
+
*/
|
|
1894
|
+
onClick?: (event: Event) => void;
|
|
1895
|
+
/**
|
|
1896
|
+
* The URL to link to.
|
|
1897
|
+
*
|
|
1898
|
+
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
1899
|
+
*/
|
|
1900
|
+
href?: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* Whether the chip is removable.
|
|
1903
|
+
*
|
|
1904
|
+
* @default false
|
|
1905
|
+
*/
|
|
1906
|
+
removable?: boolean;
|
|
1907
|
+
/**
|
|
1908
|
+
* Callback when the chip is removed.
|
|
1909
|
+
*/
|
|
1910
|
+
onRemove?: (event: Event) => void;
|
|
1911
|
+
/**
|
|
1912
|
+
* Determines whether the chip is hidden.
|
|
1913
|
+
*
|
|
1914
|
+
* If this property is being set on each framework render (as in 'controlled' usage),
|
|
1915
|
+
* and the chip is `removable`,
|
|
1916
|
+
* ensure you update app state for this property when the `remove` event fires.
|
|
1917
|
+
*
|
|
1918
|
+
* If the chip is not `removable`, it can still be hidden by setting this property.
|
|
1919
|
+
*
|
|
1920
|
+
* @default false
|
|
1921
|
+
*/
|
|
1922
|
+
hidden?: boolean;
|
|
1923
|
+
/**
|
|
1924
|
+
* Event handler when the chip has fully hidden.
|
|
1925
|
+
*
|
|
1926
|
+
* The `hidden` property will be `true` when this event fires.
|
|
1927
|
+
*
|
|
1928
|
+
* @implementation If implementations animate the hiding of the chip,
|
|
1929
|
+
* this event must fire after the chip has fully hidden.
|
|
1930
|
+
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
1931
|
+
*/
|
|
1932
|
+
onAfterHide?: (event: Event) => void;
|
|
1933
|
+
/**
|
|
1934
|
+
* Disables the chip, disallowing any interaction.
|
|
1935
|
+
*
|
|
1936
|
+
* @default false
|
|
1608
1937
|
*/
|
|
1609
|
-
|
|
1938
|
+
disabled?: boolean;
|
|
1610
1939
|
}
|
|
1611
1940
|
interface ClipboardItemProps$1 extends GlobalProps {
|
|
1612
1941
|
/**
|
|
@@ -1618,11 +1947,11 @@ interface ClipboardItemProps$1 extends GlobalProps {
|
|
|
1618
1947
|
/**
|
|
1619
1948
|
* Callback run when the copy to clipboard succeeds.
|
|
1620
1949
|
*/
|
|
1621
|
-
onCopy?: () => void;
|
|
1950
|
+
onCopy?: (event: ClipboardEvent) => void;
|
|
1622
1951
|
/**
|
|
1623
1952
|
* Callback run when the copy to clipboard fails.
|
|
1624
1953
|
*/
|
|
1625
|
-
onCopyError?: () => void;
|
|
1954
|
+
onCopyError?: (event: Event) => void;
|
|
1626
1955
|
}
|
|
1627
1956
|
export interface AutocompleteProps<AutocompleteField extends AnyAutocompleteField> {
|
|
1628
1957
|
/**
|
|
@@ -1665,7 +1994,210 @@ export type AutocompleteGroup = "shipping" | "billing";
|
|
|
1665
1994
|
export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
|
|
1666
1995
|
export type AnyAutocompleteField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "current-password" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "new-password" | "nickname" | "one-time-code" | "organization-title" | "organization" | "photo" | "postal-code" | "sex" | "street-address" | "transaction-amount" | "transaction-currency" | "url" | "username" | "bday-day" | "bday-month" | "bday-year" | "bday" | "cc-additional-name" | "cc-expiry-month" | "cc-expiry-year" | "cc-expiry" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-csc" | "cc-type" | `${AutocompleteAddressGroup} email` | "impp" | `${AutocompleteAddressGroup} impp` | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`;
|
|
1667
1996
|
export type TextAutocompleteField = ExtractStrict<AnyAutocompleteField, "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "nickname" | "one-time-code" | "organization-title" | "organization" | "postal-code" | "sex" | "street-address" | "transaction-currency" | "username" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-type">;
|
|
1668
|
-
|
|
1997
|
+
export type ConsentPolicy = "sms-marketing";
|
|
1998
|
+
interface ConsentCheckboxProps$1 extends GlobalProps, CheckboxProps$1 {
|
|
1999
|
+
/**
|
|
2000
|
+
* The policy for which user consent is being collected for.
|
|
2001
|
+
*
|
|
2002
|
+
* `sms-marketing`: Represents the policy for SMS marketing consent.
|
|
2003
|
+
*/
|
|
2004
|
+
policy?: ConsentPolicy;
|
|
2005
|
+
}
|
|
2006
|
+
export type PhoneAutocompleteField = ExtractStrict<AnyAutocompleteField, "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`>;
|
|
2007
|
+
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
2008
|
+
/**
|
|
2009
|
+
* The type of number to collect.
|
|
2010
|
+
*
|
|
2011
|
+
* Specific style may be applied to each type to provide extra guidance to users. Note that no extra validation is performed based on the type.
|
|
2012
|
+
*
|
|
2013
|
+
* @default '' meaning no specific kind of phone number
|
|
2014
|
+
*/
|
|
2015
|
+
type?: "mobile" | "";
|
|
2016
|
+
}
|
|
2017
|
+
interface ConsentPhoneFieldProps$1 extends GlobalProps, PhoneFieldProps$1 {
|
|
2018
|
+
/**
|
|
2019
|
+
* The policy for which user consent is being collected for.
|
|
2020
|
+
*
|
|
2021
|
+
* `sms-marketing`: Represents the policy for SMS marketing consent.
|
|
2022
|
+
*/
|
|
2023
|
+
policy?: ConsentPolicy;
|
|
2024
|
+
}
|
|
2025
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
2026
|
+
/**
|
|
2027
|
+
* Default month to display in `YYYY-MM` format.
|
|
2028
|
+
*
|
|
2029
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
2030
|
+
*
|
|
2031
|
+
* Defaults to the current month in the user's locale.
|
|
2032
|
+
*/
|
|
2033
|
+
defaultView?: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* Displayed month in `YYYY-MM` format.
|
|
2036
|
+
*
|
|
2037
|
+
* `onViewChange` is called when this value changes.
|
|
2038
|
+
*
|
|
2039
|
+
* Defaults to `defaultView`.
|
|
2040
|
+
*/
|
|
2041
|
+
view?: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* Called whenever the month to display changes.
|
|
2044
|
+
*
|
|
2045
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
2046
|
+
*/
|
|
2047
|
+
onViewChange?: (view: string) => void;
|
|
2048
|
+
/**
|
|
2049
|
+
* The type of selection the date picker allows.
|
|
2050
|
+
*
|
|
2051
|
+
* - `single` allows selecting a single date.
|
|
2052
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
2053
|
+
* - `range` allows selecting a single range of dates.
|
|
2054
|
+
*
|
|
2055
|
+
* @default "single"
|
|
2056
|
+
*/
|
|
2057
|
+
type?: "single" | "multiple" | "range";
|
|
2058
|
+
/**
|
|
2059
|
+
* Dates that can be selected.
|
|
2060
|
+
*
|
|
2061
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2062
|
+
*
|
|
2063
|
+
* The default `''` allows all dates.
|
|
2064
|
+
*
|
|
2065
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
2066
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
2067
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
2068
|
+
* - Ranges are expressed as `start--end`.
|
|
2069
|
+
* - Ranges are inclusive.
|
|
2070
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2071
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2072
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2073
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2074
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2075
|
+
* - Whitespace is allowed either side of `--`.
|
|
2076
|
+
*
|
|
2077
|
+
* @default ""
|
|
2078
|
+
*
|
|
2079
|
+
* @example
|
|
2080
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
2081
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
2082
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2083
|
+
*/
|
|
2084
|
+
allow?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
2087
|
+
*
|
|
2088
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2089
|
+
*
|
|
2090
|
+
* The default `''` has no effect on `allow`.
|
|
2091
|
+
*
|
|
2092
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
2093
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
2094
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
2095
|
+
* - Ranges are expressed as `start--end`.
|
|
2096
|
+
* - Ranges are inclusive.
|
|
2097
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2098
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2099
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2100
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2101
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2102
|
+
* - Whitespace is allowed either side of `--`.
|
|
2103
|
+
*
|
|
2104
|
+
* @default ""
|
|
2105
|
+
*
|
|
2106
|
+
* @example
|
|
2107
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2108
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2109
|
+
*/
|
|
2110
|
+
disallow?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2113
|
+
*
|
|
2114
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2115
|
+
*
|
|
2116
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2117
|
+
*
|
|
2118
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2119
|
+
*
|
|
2120
|
+
* @default ""
|
|
2121
|
+
*
|
|
2122
|
+
* @example
|
|
2123
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2124
|
+
*/
|
|
2125
|
+
allowDays?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2128
|
+
*
|
|
2129
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2130
|
+
*
|
|
2131
|
+
* The default `''` has no effect on `allowDays`.
|
|
2132
|
+
*
|
|
2133
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2134
|
+
*
|
|
2135
|
+
* @default ""
|
|
2136
|
+
*
|
|
2137
|
+
* @example
|
|
2138
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2139
|
+
*/
|
|
2140
|
+
disallowDays?: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Default selected value.
|
|
2143
|
+
*
|
|
2144
|
+
* The default means no date is selected.
|
|
2145
|
+
*
|
|
2146
|
+
* If the provided value is invalid, no date is selected.
|
|
2147
|
+
*
|
|
2148
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2149
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2150
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2151
|
+
*
|
|
2152
|
+
* @default ""
|
|
2153
|
+
*/
|
|
2154
|
+
defaultValue?: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* Current selected value.
|
|
2157
|
+
*
|
|
2158
|
+
* The default means no date is selected.
|
|
2159
|
+
*
|
|
2160
|
+
* If the provided value is invalid, no date is selected.
|
|
2161
|
+
*
|
|
2162
|
+
* Otherwise:
|
|
2163
|
+
*
|
|
2164
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2165
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2166
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2167
|
+
*
|
|
2168
|
+
* @default ""
|
|
2169
|
+
*/
|
|
2170
|
+
value?: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* Callback when any date is selected. Will fire before `onChange`.
|
|
2173
|
+
*/
|
|
2174
|
+
onInput?: (event: Event) => void;
|
|
2175
|
+
/**
|
|
2176
|
+
* Callback when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
2177
|
+
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2178
|
+
*/
|
|
2179
|
+
onChange?: (event: Event) => void;
|
|
2180
|
+
}
|
|
2181
|
+
interface DateFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<DatePickerProps$1, "view" | "defaultView" | "value" | "defaultValue" | "allow" | "disallow" | "allowDays" | "disallowDays" | "onViewChange">, AutocompleteProps<DateAutocompleteField> {
|
|
2182
|
+
/**
|
|
2183
|
+
* Callback when the field has an invalid date.
|
|
2184
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2185
|
+
*
|
|
2186
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2187
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2188
|
+
* - 2021-02-00: The day can’t be 00
|
|
2189
|
+
*
|
|
2190
|
+
* Disallowed dates are considered invalid.
|
|
2191
|
+
*
|
|
2192
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2193
|
+
* and it’s called right after the `onChange` callback.
|
|
2194
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2195
|
+
* 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.
|
|
2196
|
+
*/
|
|
2197
|
+
onInvalid?: (event: Event) => void;
|
|
2198
|
+
}
|
|
2199
|
+
export type DateAutocompleteField = ExtractStrict<AnyAutocompleteField, "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-expiry" | "cc-expiry-month" | "cc-expiry-year">;
|
|
2200
|
+
interface DetailsProps$1 extends GlobalProps, ToggleEventProps {
|
|
1669
2201
|
/**
|
|
1670
2202
|
* The content of the details.
|
|
1671
2203
|
*
|
|
@@ -1680,10 +2212,18 @@ interface DetailsProps$1 extends GlobalProps, ToggleEventProps, ContainerProps {
|
|
|
1680
2212
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
|
|
1681
2213
|
*/
|
|
1682
2214
|
name?: string;
|
|
2215
|
+
/**
|
|
2216
|
+
* Whether the element is open.
|
|
2217
|
+
*
|
|
2218
|
+
* This does not reflect to any attribute.
|
|
2219
|
+
*
|
|
2220
|
+
* @default false
|
|
2221
|
+
*/
|
|
2222
|
+
open?: boolean;
|
|
1683
2223
|
/**
|
|
1684
2224
|
* Indicates whether the element should be open by default.
|
|
1685
2225
|
*
|
|
1686
|
-
* This reflects to the `
|
|
2226
|
+
* This reflects to the `open` attribute.
|
|
1687
2227
|
*
|
|
1688
2228
|
* @default false
|
|
1689
2229
|
*/
|
|
@@ -1695,16 +2235,31 @@ interface DetailsProps$1 extends GlobalProps, ToggleEventProps, ContainerProps {
|
|
|
1695
2235
|
*/
|
|
1696
2236
|
toggleTransition?: "none" | "auto";
|
|
1697
2237
|
}
|
|
1698
|
-
interface
|
|
2238
|
+
interface DividerProps$1 extends GlobalProps {
|
|
2239
|
+
/**
|
|
2240
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2241
|
+
*
|
|
2242
|
+
* @default 'inline'
|
|
2243
|
+
*/
|
|
2244
|
+
direction?: "inline" | "block";
|
|
2245
|
+
/**
|
|
2246
|
+
* Modify the color to be more or less intense.
|
|
2247
|
+
*
|
|
2248
|
+
* @default 'base'
|
|
2249
|
+
*/
|
|
2250
|
+
color?: ColorKeyword;
|
|
2251
|
+
}
|
|
2252
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
1699
2253
|
/**
|
|
1700
|
-
* A string representing the types of files that are accepted by the
|
|
2254
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
1701
2255
|
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
1702
2256
|
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
1703
2257
|
* - A valid MIME type string with no extensions
|
|
1704
2258
|
*
|
|
1705
|
-
* If
|
|
2259
|
+
* If omitted, all file types are accepted.
|
|
1706
2260
|
*
|
|
1707
2261
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2262
|
+
* @default ''
|
|
1708
2263
|
*/
|
|
1709
2264
|
accept?: string;
|
|
1710
2265
|
/**
|
|
@@ -1714,43 +2269,34 @@ interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFiel
|
|
|
1714
2269
|
*/
|
|
1715
2270
|
accessibilityLabel?: string;
|
|
1716
2271
|
/**
|
|
1717
|
-
*
|
|
2272
|
+
* Whether multiple files can be selected or dropped at once.
|
|
1718
2273
|
*
|
|
1719
2274
|
* @default false
|
|
1720
2275
|
*/
|
|
1721
2276
|
multiple?: boolean;
|
|
1722
2277
|
/**
|
|
1723
|
-
* Callback when rejected files are dropped.
|
|
2278
|
+
* Callback fired when rejected files are dropped.
|
|
2279
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
1724
2280
|
*/
|
|
1725
|
-
onDropRejected
|
|
2281
|
+
onDropRejected?: (event: Event) => void;
|
|
1726
2282
|
}
|
|
1727
2283
|
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
1728
2284
|
}
|
|
1729
2285
|
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
1730
|
-
|
|
1731
|
-
/**
|
|
1732
|
-
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
1733
|
-
*
|
|
1734
|
-
* This may be called many times, which adds promises to the event.
|
|
1735
|
-
*
|
|
1736
|
-
* However, this may only be called synchronously during the dispatch of the event.
|
|
1737
|
-
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
1738
|
-
*/
|
|
1739
|
-
waitUntil: (promise: Promise<void>) => void;
|
|
1740
|
-
}
|
|
1741
|
-
interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
2286
|
+
interface FormProps$1 extends GlobalProps {
|
|
1742
2287
|
/**
|
|
1743
|
-
*
|
|
1744
|
-
*
|
|
1745
|
-
* @default 'on'
|
|
2288
|
+
* The content of the form.
|
|
1746
2289
|
*/
|
|
1747
|
-
|
|
2290
|
+
children?: ComponentChildren;
|
|
1748
2291
|
/**
|
|
1749
2292
|
* Whether the form is able to be submitted.
|
|
1750
2293
|
*
|
|
1751
2294
|
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
1752
2295
|
*
|
|
1753
2296
|
* @default false
|
|
2297
|
+
*
|
|
2298
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2299
|
+
* @private
|
|
1754
2300
|
*/
|
|
1755
2301
|
disabled?: boolean;
|
|
1756
2302
|
/**
|
|
@@ -1763,11 +2309,7 @@ interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
|
1763
2309
|
/**
|
|
1764
2310
|
* A callback that is run when the form is reset.
|
|
1765
2311
|
*/
|
|
1766
|
-
onReset?: () => void;
|
|
1767
|
-
/**
|
|
1768
|
-
* The content of the form.
|
|
1769
|
-
*/
|
|
1770
|
-
children?: ComponentChildren;
|
|
2312
|
+
onReset?: (event: Event) => void;
|
|
1771
2313
|
}
|
|
1772
2314
|
export type SpacingKeyword = SizeKeyword | "none";
|
|
1773
2315
|
export interface GapProps {
|
|
@@ -1779,7 +2321,7 @@ export interface GapProps {
|
|
|
1779
2321
|
*
|
|
1780
2322
|
* @default 'none'
|
|
1781
2323
|
*/
|
|
1782
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2324
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
1783
2325
|
/**
|
|
1784
2326
|
* Adjust spacing between elements in the block axis.
|
|
1785
2327
|
*
|
|
@@ -1787,7 +2329,7 @@ export interface GapProps {
|
|
|
1787
2329
|
*
|
|
1788
2330
|
* @default '' - meaning no override
|
|
1789
2331
|
*/
|
|
1790
|
-
rowGap?: SpacingKeyword | ""
|
|
2332
|
+
rowGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1791
2333
|
/**
|
|
1792
2334
|
* Adjust spacing between elements in the inline axis.
|
|
1793
2335
|
*
|
|
@@ -1795,12 +2337,18 @@ export interface GapProps {
|
|
|
1795
2337
|
*
|
|
1796
2338
|
* @default '' - meaning no override
|
|
1797
2339
|
*/
|
|
1798
|
-
columnGap?: SpacingKeyword | ""
|
|
2340
|
+
columnGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1799
2341
|
}
|
|
1800
2342
|
export type BaselinePosition = "baseline" | "first baseline" | "last baseline";
|
|
1801
2343
|
export type ContentDistribution = "space-between" | "space-around" | "space-evenly" | "stretch";
|
|
1802
2344
|
export type ContentPosition = "center" | "start" | "end";
|
|
1803
2345
|
export type OverflowPosition = `unsafe ${ContentPosition}` | `safe ${ContentPosition}`;
|
|
2346
|
+
/**
|
|
2347
|
+
* Justify items defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.
|
|
2348
|
+
*
|
|
2349
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2350
|
+
*/
|
|
2351
|
+
export type JustifyItemsKeyword = "normal" | "stretch" | BaselinePosition | OverflowPosition | ContentPosition;
|
|
1804
2352
|
/**
|
|
1805
2353
|
* Align items sets the align-self value on all direct children as a group.
|
|
1806
2354
|
*
|
|
@@ -1819,6 +2367,90 @@ export type JustifyContentKeyword = "normal" | ContentDistribution | OverflowPos
|
|
|
1819
2367
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
1820
2368
|
*/
|
|
1821
2369
|
export type AlignContentKeyword = "normal" | BaselinePosition | ContentDistribution | OverflowPosition | ContentPosition;
|
|
2370
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2371
|
+
/**
|
|
2372
|
+
Define columns and specify their size.
|
|
2373
|
+
|
|
2374
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2375
|
+
@default 'none'
|
|
2376
|
+
*/
|
|
2377
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2378
|
+
/**
|
|
2379
|
+
Define rows and specify their size.
|
|
2380
|
+
|
|
2381
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2382
|
+
@default 'none'
|
|
2383
|
+
*/
|
|
2384
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2385
|
+
/**
|
|
2386
|
+
Aligns the grid items along the inline (row) axis.
|
|
2387
|
+
|
|
2388
|
+
This overrides the inline value of `placeItems`.
|
|
2389
|
+
|
|
2390
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2391
|
+
@default '' - meaning no override
|
|
2392
|
+
*/
|
|
2393
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | "">;
|
|
2394
|
+
/**
|
|
2395
|
+
Aligns the grid items along the block (column) axis.
|
|
2396
|
+
|
|
2397
|
+
This overrides the block value of `placeItems`.
|
|
2398
|
+
|
|
2399
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2400
|
+
@default '' - meaning no override
|
|
2401
|
+
*/
|
|
2402
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | "">;
|
|
2403
|
+
/**
|
|
2404
|
+
A shorthand property for `justify-items` and `align-items`.
|
|
2405
|
+
|
|
2406
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2407
|
+
@default 'normal normal'
|
|
2408
|
+
*/
|
|
2409
|
+
placeItems?: MaybeResponsive<`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword>;
|
|
2410
|
+
/**
|
|
2411
|
+
Aligns the grid along the inline (row) axis.
|
|
2412
|
+
|
|
2413
|
+
This overrides the inline value of `placeContent`.
|
|
2414
|
+
|
|
2415
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2416
|
+
@default '' - meaning no override
|
|
2417
|
+
*/
|
|
2418
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | "">;
|
|
2419
|
+
/**
|
|
2420
|
+
Aligns the grid along the block (column) axis.
|
|
2421
|
+
|
|
2422
|
+
This overrides the block value of `placeContent`.
|
|
2423
|
+
|
|
2424
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2425
|
+
@default '' - meaning no override
|
|
2426
|
+
*/
|
|
2427
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | "">;
|
|
2428
|
+
/**
|
|
2429
|
+
A shorthand property for `justify-content` and `align-content`.
|
|
2430
|
+
|
|
2431
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2432
|
+
@default 'normal normal'
|
|
2433
|
+
*/
|
|
2434
|
+
placeContent?: MaybeResponsive<`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword>;
|
|
2435
|
+
}
|
|
2436
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2437
|
+
/**
|
|
2438
|
+
* Number of columns the item will span across
|
|
2439
|
+
*
|
|
2440
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
2441
|
+
*
|
|
2442
|
+
* @default 'auto'
|
|
2443
|
+
*/
|
|
2444
|
+
gridColumn?: `span ${number}` | "auto";
|
|
2445
|
+
/**
|
|
2446
|
+
* Number of rows the item will span across
|
|
2447
|
+
*
|
|
2448
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row
|
|
2449
|
+
*
|
|
2450
|
+
* @default 'auto'
|
|
2451
|
+
*/
|
|
2452
|
+
gridRow?: `span ${number}` | "auto";
|
|
2453
|
+
}
|
|
1822
2454
|
export interface BaseTypographyProps {
|
|
1823
2455
|
/**
|
|
1824
2456
|
* Modify the color to be more or less intense.
|
|
@@ -1874,7 +2506,7 @@ export interface BlockTypographyProps {
|
|
|
1874
2506
|
*/
|
|
1875
2507
|
lineClamp?: number;
|
|
1876
2508
|
}
|
|
1877
|
-
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps
|
|
2509
|
+
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
1878
2510
|
/**
|
|
1879
2511
|
* The content of the Heading.
|
|
1880
2512
|
*/
|
|
@@ -1898,7 +2530,7 @@ interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, Bloc
|
|
|
1898
2530
|
*/
|
|
1899
2531
|
accessibilityRole?: "heading" | ExtractStrict<AccessibilityRole, "presentation" | "none">;
|
|
1900
2532
|
}
|
|
1901
|
-
interface IconProps$1 extends GlobalProps {
|
|
2533
|
+
interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor"> {
|
|
1902
2534
|
/**
|
|
1903
2535
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
1904
2536
|
*
|
|
@@ -1964,13 +2596,6 @@ export interface BaseImageProps {
|
|
|
1964
2596
|
*/
|
|
1965
2597
|
srcSet?: string;
|
|
1966
2598
|
}
|
|
1967
|
-
/**
|
|
1968
|
-
* This is purely to give the ability
|
|
1969
|
-
* to have a space or not in the string literal types.
|
|
1970
|
-
*
|
|
1971
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
1972
|
-
*/
|
|
1973
|
-
export type optionalSpace = "" | " ";
|
|
1974
2599
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
1975
2600
|
/**
|
|
1976
2601
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2034,13 +2659,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2034
2659
|
*
|
|
2035
2660
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2036
2661
|
*/
|
|
2037
|
-
onLoad?: () => void;
|
|
2662
|
+
onLoad?: (event: Event) => void;
|
|
2038
2663
|
/**
|
|
2039
2664
|
* Invoked on load error.
|
|
2040
2665
|
*
|
|
2041
2666
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2042
2667
|
*/
|
|
2043
|
-
onError?: () => void;
|
|
2668
|
+
onError?: (event: Event) => void;
|
|
2044
2669
|
}
|
|
2045
2670
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
2046
2671
|
/**
|
|
@@ -2126,19 +2751,19 @@ interface MapProps$1 extends GlobalProps, SizingProps {
|
|
|
2126
2751
|
/**
|
|
2127
2752
|
* Callback when the viewport bounds have changed or the map is resized.
|
|
2128
2753
|
*/
|
|
2129
|
-
onBoundsChange?: (
|
|
2754
|
+
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2130
2755
|
/**
|
|
2131
2756
|
* Callback when the map view changes.
|
|
2132
2757
|
*/
|
|
2133
|
-
onViewChange?: (
|
|
2758
|
+
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2134
2759
|
/**
|
|
2135
2760
|
* Callback when the user clicks on the map.
|
|
2136
2761
|
*/
|
|
2137
|
-
onClick?: (
|
|
2762
|
+
onClick?: (event: MapClickEvent) => void;
|
|
2138
2763
|
/**
|
|
2139
2764
|
* Callback when the user double-clicks on the map.
|
|
2140
2765
|
*/
|
|
2141
|
-
onDblClick?: (
|
|
2766
|
+
onDblClick?: (event: MapDblClickEvent) => void;
|
|
2142
2767
|
}
|
|
2143
2768
|
interface Location$1 {
|
|
2144
2769
|
latitude?: number;
|
|
@@ -2148,6 +2773,19 @@ export interface Bounds {
|
|
|
2148
2773
|
northEast?: Location$1;
|
|
2149
2774
|
southWest?: Location$1;
|
|
2150
2775
|
}
|
|
2776
|
+
export interface MapViewChangeEvent extends Event {
|
|
2777
|
+
location?: Location$1;
|
|
2778
|
+
zoom?: number;
|
|
2779
|
+
}
|
|
2780
|
+
export interface MapBoundsChangeEvent extends Event {
|
|
2781
|
+
bounds?: Bounds;
|
|
2782
|
+
}
|
|
2783
|
+
export interface MapClickEvent extends Event {
|
|
2784
|
+
location?: Location$1;
|
|
2785
|
+
}
|
|
2786
|
+
export interface MapDblClickEvent extends Event {
|
|
2787
|
+
location?: Location$1;
|
|
2788
|
+
}
|
|
2151
2789
|
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2152
2790
|
/**
|
|
2153
2791
|
* Marker’s location latitude in degrees.
|
|
@@ -2184,27 +2822,9 @@ interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingPro
|
|
|
2184
2822
|
*
|
|
2185
2823
|
* It does not trigger a click event on the map itself.
|
|
2186
2824
|
*/
|
|
2187
|
-
onClick?: () => void;
|
|
2188
|
-
}
|
|
2189
|
-
export interface BaseOverlayProps {
|
|
2190
|
-
/**
|
|
2191
|
-
* Callback fired after the overlay is shown.
|
|
2192
|
-
*/
|
|
2193
|
-
onShow?: () => void;
|
|
2194
|
-
/**
|
|
2195
|
-
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
2196
|
-
*/
|
|
2197
|
-
onAfterShow?: () => void;
|
|
2198
|
-
/**
|
|
2199
|
-
* Callback fired after the overlay is hidden.
|
|
2200
|
-
*/
|
|
2201
|
-
onHide?: () => void;
|
|
2202
|
-
/**
|
|
2203
|
-
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
2204
|
-
*/
|
|
2205
|
-
onAfterHide?: () => void;
|
|
2825
|
+
onClick?: (event: Event) => void;
|
|
2206
2826
|
}
|
|
2207
|
-
interface ModalProps$1 extends GlobalProps, BaseOverlayProps,
|
|
2827
|
+
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2208
2828
|
/**
|
|
2209
2829
|
* A label that describes the purpose of the modal. When set,
|
|
2210
2830
|
* it will be announced to users using assistive technologies and will
|
|
@@ -2243,6 +2863,9 @@ interface ModalProps$1 extends GlobalProps, BaseOverlayProps, ActionSlots, Conta
|
|
|
2243
2863
|
*/
|
|
2244
2864
|
children?: ComponentChildren;
|
|
2245
2865
|
}
|
|
2866
|
+
interface MoneyFieldProps$1 extends GlobalProps, BaseTextFieldProps, NumberConstraintsProps, AutocompleteProps<MoneyAutocompleteField> {
|
|
2867
|
+
}
|
|
2868
|
+
export type MoneyAutocompleteField = ExtractStrict<AnyAutocompleteField, "transaction-amount">;
|
|
2246
2869
|
interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
|
|
2247
2870
|
/**
|
|
2248
2871
|
* Sets the virtual keyboard.
|
|
@@ -2261,7 +2884,7 @@ interface OptionProps$1 extends GlobalProps, BaseOptionProps {
|
|
|
2261
2884
|
}
|
|
2262
2885
|
interface OrderedListProps$1 extends GlobalProps {
|
|
2263
2886
|
}
|
|
2264
|
-
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps
|
|
2887
|
+
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps {
|
|
2265
2888
|
/**
|
|
2266
2889
|
* The content of the Text.
|
|
2267
2890
|
*/
|
|
@@ -2293,6 +2916,9 @@ export type ParagraphType =
|
|
|
2293
2916
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
2294
2917
|
*/
|
|
2295
2918
|
| "small";
|
|
2919
|
+
interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<PasswordAutocompleteField> {
|
|
2920
|
+
}
|
|
2921
|
+
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
2296
2922
|
interface PaymentIconProps$1 extends GlobalProps {
|
|
2297
2923
|
/**
|
|
2298
2924
|
* The icon type of the payment method
|
|
@@ -2310,16 +2936,27 @@ interface PaymentIconProps$1 extends GlobalProps {
|
|
|
2310
2936
|
accessibilityLabel?: string;
|
|
2311
2937
|
}
|
|
2312
2938
|
export type PaymentIconName = "abn" | "acima-leasing" | "acuotaz" | "ada" | "addi" | "adyen" | "aeropay" | "affin-bank" | "affirm" | "aftee" | "afterpay-paynl-version" | "afterpay" | "airtel-money" | "airteltigo-mobile-money" | "aktia" | "akulaku-paylater" | "akulaku" | "alandsbanken" | "alfamart" | "alfamidi" | "alipay-hk" | "alipay-paynl-version" | "alipay" | "alliance-bank" | "alma" | "aman" | "amazon" | "ambank" | "american-express" | "amex" | "ansa-stored-value" | "ansa" | "anyday" | "apecoin" | "aplazo" | "apple-pay" | "aqsat" | "arbitrum" | "arhaus" | "arvato" | "ashley-plcc" | "ask" | "astrapay" | "atm-bersama" | "atobaraidotcom" | "atome" | "atone" | "atrato" | "au-kantan-kessai" | "au-pay" | "authorize-net" | "avalanche" | "axs" | "bancnet" | "banco-azteca" | "bancomat" | "bancontact" | "bangkok-bank" | "bank-islam" | "bank-muamalat" | "bank-rakyat" | "barclays" | "base" | "bbva-cie" | "bc-card" | "bca-klikpay" | "bca" | "bdo" | "belfius" | "benefit" | "best-buy-card" | "biercheque-paynl-version" | "bigc" | "billease" | "biller-paynl-version" | "billie" | "billink-method" | "billink" | "bitcoin-cash" | "bitcoin" | "bizum" | "blik" | "bnbchain" | "bni" | "bnp" | "bogus-app-coin" | "bogus" | "boleto" | "boodil" | "boost" | "bpi" | "braintree" | "bread-pay" | "bread" | "bri-direct-debit" | "bri" | "brimo" | "bsi" | "bsn" | "bss" | "busd" | "careem-pay" | "cartes-bancaires" | "cash-app-pay" | "cash" | "cashew" | "cashinvoice-latin-america" | "catch-payments" | "cebuana" | "cembrapay" | "centi" | "cetelem" | "checkout-finance" | "chinabank" | "cimb-clicks" | "cimb" | "circle-k" | "citadele" | "citi-pay" | "clave-telered" | "clearpay" | "clerq" | "cleverpay" | "clip" | "cliq" | "codensa" | "coinsph" | "collector-bank" | "coop" | "coppel-pay" | "credit-agricole" | "credit-key" | "creditclick-paynl-version" | "credix" | "cuotas" | "d-barai" | "dai" | "daily-yamazaki" | "dan-dan" | "dana" | "danamon-online" | "dankort" | "danske-bank" | "dappmx" | "dash" | "daviplata" | "de-cadeaukaart" | "depay" | "deutsche-bank" | "dinacard" | "diners-club" | "direct-bank-transfer-latin-america" | "directa24" | "directpay" | "discover" | "divido" | "dnb" | "docomo-barai" | "dogecoin" | "dropp" | "duitnow" | "duologi" | "dwolla" | "easywallet" | "ebucks" | "echelon-financing" | "ecpay" | "edenred" | "efecty" | "eft-secure" | "eftpos-au" | "eghl" | "elo" | "elv" | "empty" | "enets" | "eos" | "epayments" | "epospay" | "eps" | "erste" | "escrowcom" | "esr-paymentslip-switzerland" | "ethereum" | "etihad-guest-pay" | "etika" | "ewallet-indonesia" | "ewallet-philippines" | "ewallet-southkorea" | "facebook-pay" | "fairstone-payments" | "fam" | "familymart" | "fantom" | "farmlands" | "fashion-giftcard-paynlversion" | "fashioncheque" | "favepay" | "fawry" | "finloup" | "fintecture" | "fintoc" | "flexiti" | "float-payments" | "flying-blue-plus" | "forbrugsforeningen" | "forsa" | "fortiva" | "fps" | "fpx" | "freecharge" | "freedompay" | "futurepay-mytab" | "gcash" | "generalfinancing" | "generic" | "genoapay" | "gezondheidsbon-paynl-version" | "giftcard" | "giropay" | "givacard" | "glbe-paypal" | "glbe-plus" | "gmo-atokara" | "gmo-bank-transfer" | "gmo-postpay" | "gmo-virtualaccount" | "gnosis" | "google-pay" | "google-wallet" | "gopay" | "grabpay" | "grailpay" | "gusd" | "hana-card" | "handelsbanken" | "happy-pay" | "hello-clever" | "heylight" | "hitrustpay-transfer" | "home-credit" | "hong-leong-bank" | "hong-leong-connect" | "hsbc" | "huis-tuin-cadeau" | "humm" | "hyper" | "hypercard" | "hypercash" | "hyundai-card" | "ibexpay" | "ideal" | "in3-via-ideal" | "in3" | "inbank" | "indomaret" | "ing-homepay" | "interac" | "ivy" | "iwocapay-pay-later" | "jcb" | "jenius" | "jko" | "jousto" | "kakao-pay" | "kakebaraidotcom" | "kasikornbank" | "kasssh" | "katapult" | "kb-card" | "kbc-cbc" | "kcp-credit-card" | "kfast" | "khqr" | "klarna-pay-later" | "klarna-pay-now" | "klarna-slice-it" | "klarna" | "knaken-settle" | "knet" | "koalafi" | "koin" | "krediidipank" | "kredivo" | "krungsri" | "krungthai-bank" | "kueski-pay" | "kunst-en-cultuur-cadeaukaart" | "kuwait-finance-house" | "land-bank" | "laser" | "latitude-creditline-au" | "latitude-gem-au" | "latitude-gem-nz" | "latitude-go-au" | "latitudepay" | "lawson" | "laybuy-heart" | "laybuy" | "lbc" | "lhv" | "line-pay" | "linkaja" | "linkpay" | "litecoin" | "lku" | "lloyds" | "lotte-card" | "lpb" | "luminor" | "lunch-check" | "lydia" | "mach" | "mada" | "maestro" | "mandiri" | "mash" | "master" | "mastercard" | "masterpass" | "maxima" | "maya-bank" | "maya" | "maybank-qrpay" | "maybank" | "maybankm2u" | "mb-way" | "mb" | "mcash" | "medicinos-bankas" | "meeza" | "mercado-credito" | "mercado-pago" | "merpay" | "meta-pay" | "metro-bank" | "military-starcard" | "minicuotas" | "ministop" | "mobicred" | "mobikwik" | "mobilepay" | "mode" | "mokka" | "momopay" | "mondido" | "monero" | "monzo" | "mpesa" | "mtn-mobile-money" | "multisafepay" | "mybank" | "myfatoorah" | "n26" | "naps" | "nationale-bioscoopbon" | "nationale-entertainmentcard" | "natwest" | "naver-pay" | "nelo" | "nequi" | "netbanking" | "neteller" | "nh-card" | "nordea" | "notyd" | "novuna" | "npatobarai" | "npkakebarai" | "oca" | "ocbc-bank" | "octo-clicks" | "octopus" | "offline-bank-transfer-latin-america" | "ola-money" | "omannet" | "omasp" | "oney" | "online-banking" | "online-banktransfer" | "op" | "opay" | "openpay" | "optimism" | "orange-mobile-money" | "overstock-citicobrand" | "overstock-citiplcc" | "ovo" | "oxxo" | "ozow" | "pagoefectivo" | "paid" | "paidy" | "palawa" | "palawan" | "pastpay" | "pay-after-delivery-instalments" | "pay-by-bank-us" | "pay-by-bank" | "pay-easy" | "pay-pay" | "paybylink" | "paycash" | "payco" | "payconiq" | "payd" | "payfast-instant-eft" | "payflex" | "payid" | "payitmonthly" | "payjustnow" | "paymark-online-eftpos" | "paymaya" | "payme" | "paynow-mbank" | "paynow" | "payoo-qr" | "payoo" | "paypal" | "payplan" | "paypo" | "payrexx-bank-transfer" | "payright" | "paysafecard-paynl-version" | "paysafecard" | "paysafecash" | "paysera" | "paysquad" | "paytm" | "payto" | "paytomorrow" | "payu" | "payzapp" | "pei" | "perlasfinance" | "permata" | "pf-pay" | "pivo" | "pix" | "podium-cadeaukaart" | "pointspay" | "poli" | "polygon" | "poppankki" | "postfinance-card" | "postfinance-efinance" | "postpay" | "powered-by-ansa-stored-value" | "powered-by-ansa" | "powerpay" | "pps" | "prepaysolutions" | "progressive-leasing" | "przelew24" | "przelewy24-paynl-version" | "przelewy24" | "pse" | "public-bank" | "publicbank-pbe" | "qasitli" | "qliro" | "qr-promptpay" | "qris" | "qrph" | "rabbit-line-pay" | "rabobank" | "rakuten-pay" | "rapid-transfer" | "ratepay" | "raty-pekao" | "rcbc" | "rcs" | "reka" | "resolve-pay" | "revolut" | "rhb-bank" | "rhb-now" | "rietumu" | "riverty-paynl-version" | "riverty" | "rupay" | "saastopankki" | "sadad" | "sam" | "samsung-card" | "samsung-pay" | "santander" | "satisfi" | "satispay" | "sbpl" | "scalapay" | "scream-truck-wallet" | "scream-truck" | "seb" | "seicomart" | "sepa-bank-transfer" | "sepa-direct-debit" | "sequra" | "seven-eleven" | "sezzle" | "shib" | "shinhan-card" | "shop-pay" | "shopeepay" | "shopify-pay" | "siam-commercial" | "siauliu-bankas" | "siirto" | "sika-fsa" | "sika-hsa" | "sika" | "simpl" | "simple-pay" | "sinpe-movil" | "sistecredito" | "skeps" | "skrill-digital-wallet" | "slice-fnbo" | "smartpay" | "snap-checkout" | "snapmint" | "societe-generale" | "sofort" | "softbank" | "solana-pay-helio" | "solana-pay" | "solana" | "souhoola" | "spankki" | "sparkasse" | "spei" | "splitit" | "spotii" | "spraypay" | "standard-chartered" | "stc-pay" | "stoov" | "store-credit" | "stripe" | "sunkus" | "super-payments" | "svea-b2b-faktura" | "svea-b2b-invoice" | "svea-checkout" | "svea-credit-account" | "svea-delbetalning" | "svea-faktura" | "svea-invoice" | "svea-lasku" | "svea-ostukonto" | "svea-part-payment" | "svea-yrityslasku" | "sveaeramaksu" | "swedbank" | "swiftpay" | "swish" | "swissbilling" | "sympl" | "synchrony-pay" | "synchrony" | "tabby" | "tabit" | "taly" | "tamara" | "tandympayment" | "tasa-cero" | "tbi-bank" | "tcf" | "tendopay" | "tensile" | "tesco-lotus" | "thanachart-bank" | "timepayment" | "tiptop" | "todopay" | "toss" | "touch-n-go" | "tpay" | "trevipay" | "truelayer" | "truemoney-pay" | "trustly" | "twig-pay" | "twint" | "twoinvoice" | "uae-visa" | "uangme" | "ubp" | "underpay" | "unionpay" | "unipay" | "uob-ez-pay" | "uob-thai" | "uob" | "upi" | "urbo" | "urpay" | "usdc" | "usdp" | "v-pay" | "valu" | "venmo" | "ventipay" | "venus-plcc" | "viabill" | "vipps" | "visa-electron" | "visa" | "volksbank" | "volt" | "vvv-cadeaukaart-paynl-version" | "vvv-giftcard" | "waave-pay-by-bank" | "wallet" | "walley" | "wbtc" | "webshop-giftcard" | "wechat-pay" | "wechat-paynl-version" | "wegetfinancing" | "whish-checkout" | "whish-pay" | "wise" | "wissel" | "world-chain" | "xrp" | "yape" | "yappy" | "ymobile" | "younited-pay" | "zalopay" | "zapper" | "zingala" | "zinia" | "zip" | "zoodpay" | "zulily-credit-card" | "zustaina";
|
|
2313
|
-
|
|
2314
|
-
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
2939
|
+
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2315
2940
|
/**
|
|
2316
|
-
* The
|
|
2941
|
+
* The content of the popover.
|
|
2942
|
+
*/
|
|
2943
|
+
children?: ComponentChildren;
|
|
2944
|
+
}
|
|
2945
|
+
interface PressButtonProps$1 extends GlobalProps, Pick<ButtonProps$1, "accessibilityLabel" | "children" | "icon" | "inlineSize" | "lang" | "tone" | "variant" | "disabled" | "loading" | "onClick" | "onBlur" | "onFocus"> {
|
|
2946
|
+
/**
|
|
2947
|
+
* Whether the button is pressed.
|
|
2317
2948
|
*
|
|
2318
|
-
*
|
|
2949
|
+
* @default false
|
|
2950
|
+
*/
|
|
2951
|
+
pressed?: boolean;
|
|
2952
|
+
/**
|
|
2953
|
+
* Whether the button is pressed by default.
|
|
2319
2954
|
*
|
|
2320
|
-
* @default
|
|
2955
|
+
* @default false
|
|
2956
|
+
*
|
|
2957
|
+
* @implementation `defaultPressed` reflects to the `pressed` attribute.
|
|
2321
2958
|
*/
|
|
2322
|
-
|
|
2959
|
+
defaultPressed?: boolean;
|
|
2323
2960
|
}
|
|
2324
2961
|
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2325
2962
|
/**
|
|
@@ -2337,13 +2974,13 @@ interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
|
2337
2974
|
*
|
|
2338
2975
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2339
2976
|
*/
|
|
2340
|
-
onLoad?: () => void;
|
|
2977
|
+
onLoad?: (event: Event) => void;
|
|
2341
2978
|
/**
|
|
2342
2979
|
* Invoked on load error of provided image.
|
|
2343
2980
|
*
|
|
2344
2981
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2345
2982
|
*/
|
|
2346
|
-
onError?: () => void;
|
|
2983
|
+
onError?: (event: Event) => void;
|
|
2347
2984
|
}
|
|
2348
2985
|
interface ProgressProps$1 extends GlobalProps {
|
|
2349
2986
|
/**
|
|
@@ -2422,7 +3059,7 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
2422
3059
|
* Invoked when the conversion of `content` to a QR code fails.
|
|
2423
3060
|
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
2424
3061
|
*/
|
|
2425
|
-
onError?: () => void;
|
|
3062
|
+
onError?: (event: Event) => void;
|
|
2426
3063
|
/**
|
|
2427
3064
|
* URL of an image to be displayed in the center of the QR code.
|
|
2428
3065
|
* This is useful for branding or to indicate to the user what scanning the QR code will do.
|
|
@@ -2430,7 +3067,45 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
2430
3067
|
*/
|
|
2431
3068
|
logo?: string;
|
|
2432
3069
|
}
|
|
2433
|
-
interface
|
|
3070
|
+
interface QueryContainerProps$1 extends GlobalProps {
|
|
3071
|
+
/**
|
|
3072
|
+
* The content of the container.
|
|
3073
|
+
*/
|
|
3074
|
+
children?: ComponentChildren;
|
|
3075
|
+
/**
|
|
3076
|
+
* The name of the container, which can be used in your container queries to target this container specifically.
|
|
3077
|
+
*
|
|
3078
|
+
* We place the container name of `s-default` on every container. Because of this, it is not required to add a `containerName` identifier in your queries. For example, a `@container (inline-size <= 300px) none, auto` query is equivalent to `@container s-default (inline-size <= 300px) none, auto`.
|
|
3079
|
+
*
|
|
3080
|
+
* Any value set in `containerName` will be set alongside alongside `s-default`. For example, `containerName="my-container-name"` will result in a value of `s-default my-container-name` set on the `container-name` CSS property of the rendered HTML.
|
|
3081
|
+
*
|
|
3082
|
+
* @default ''
|
|
3083
|
+
*
|
|
3084
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
3085
|
+
*
|
|
3086
|
+
* @implementation You must always have a CSS `container-name` of `s-default` for this component.
|
|
3087
|
+
*/
|
|
3088
|
+
containerName?: string;
|
|
3089
|
+
}
|
|
3090
|
+
export type OverflowKeyword = "auto" | "hidden";
|
|
3091
|
+
interface ScrollBoxProps$1 extends GlobalProps, Omit<BaseBoxPropsWithRole, "overflow"> {
|
|
3092
|
+
/**
|
|
3093
|
+
* Sets the overflow behavior of the element.
|
|
3094
|
+
*
|
|
3095
|
+
* - `hidden`: clips the content when it is larger than the element’s container and the element will not be scrollable in that axis.
|
|
3096
|
+
* - `auto`: clips the content when it is larger than the element’s container and make it scrollable in that axis.
|
|
3097
|
+
*
|
|
3098
|
+
* 1-to-2-value syntax is supported but note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
3099
|
+
*
|
|
3100
|
+
* - 2 values: `block inline`
|
|
3101
|
+
*
|
|
3102
|
+
* @default 'auto'
|
|
3103
|
+
*
|
|
3104
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
|
|
3105
|
+
*/
|
|
3106
|
+
overflow?: OverflowKeyword | `${OverflowKeyword} ${OverflowKeyword}`;
|
|
3107
|
+
}
|
|
3108
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
2434
3109
|
/**
|
|
2435
3110
|
* The content of the Section.
|
|
2436
3111
|
*/
|
|
@@ -2468,6 +3143,66 @@ interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteFi
|
|
|
2468
3143
|
*/
|
|
2469
3144
|
children?: ComponentChildren;
|
|
2470
3145
|
}
|
|
3146
|
+
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
3147
|
+
/**
|
|
3148
|
+
* A label that describes the purpose of the sheet. When set,
|
|
3149
|
+
* it will be announced to users using assistive technologies and will
|
|
3150
|
+
* provide them with more context.
|
|
3151
|
+
*
|
|
3152
|
+
* This overrides the `heading` prop for screen readers.
|
|
3153
|
+
*/
|
|
3154
|
+
accessibilityLabel?: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* The content of the Sheet.
|
|
3157
|
+
*/
|
|
3158
|
+
children?: ComponentChildren;
|
|
3159
|
+
/**
|
|
3160
|
+
* Indicates whether the Sheet should be open by default.
|
|
3161
|
+
* This property is necessary in some cases, but its usage is generally discouraged due to potential negative impacts on user experience.
|
|
3162
|
+
*
|
|
3163
|
+
* Developers should:
|
|
3164
|
+
* - Only set this property to true when there are vitally important behaviors of the application that depend on the user interacting with the sheet.
|
|
3165
|
+
* - Make every effort to conditionally hide the sheet based on the state of checkout. An explicit example is custom privacy consent, where the sheet should only be displayed when consent is necessary and has not yet been explicitly given by the user.
|
|
3166
|
+
*
|
|
3167
|
+
* This property is useful for when the Sheet needs to be rendered on the page load and not triggered by a user action.
|
|
3168
|
+
* The property should only take effect when the `Sheet` is rendered for the first time.
|
|
3169
|
+
* To toggle the Sheet after it has been rendered, use the `ui.showOverlay()` method instead.
|
|
3170
|
+
*
|
|
3171
|
+
* @default false
|
|
3172
|
+
*/
|
|
3173
|
+
defaultOpen?: boolean;
|
|
3174
|
+
/**
|
|
3175
|
+
* A title that describes the content of the sheet.
|
|
3176
|
+
*/
|
|
3177
|
+
heading?: string;
|
|
3178
|
+
/**
|
|
3179
|
+
* Adjust the padding of all edges.
|
|
3180
|
+
*
|
|
3181
|
+
* `base`: applies padding that is appropriate for the element. Note that it may result in no padding if Shopify
|
|
3182
|
+
* believes this is the right design decision in a particular context.
|
|
3183
|
+
*
|
|
3184
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Sheet need to span
|
|
3185
|
+
* to the edge of the Sheet. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3186
|
+
* to bring back the desired padding for the rest of the content.
|
|
3187
|
+
*
|
|
3188
|
+
* @default 'base'
|
|
3189
|
+
*/
|
|
3190
|
+
padding?: "base" | "none";
|
|
3191
|
+
}
|
|
3192
|
+
interface SkeletonParagraphProps$1 extends GlobalProps {
|
|
3193
|
+
/**
|
|
3194
|
+
* The content to be used as a base for the skeleton. This content will be hidden when the skeleton is visible.
|
|
3195
|
+
*
|
|
3196
|
+
* This can be useful when the skeleton is representing a known piece of content which is part of a larger
|
|
3197
|
+
* element that has not yet fully loaded.
|
|
3198
|
+
*
|
|
3199
|
+
* @implementation When `content` is specified, the visual skeleton should be the size of the content. The element should
|
|
3200
|
+
* still be a block layout.
|
|
3201
|
+
*
|
|
3202
|
+
* @default ''
|
|
3203
|
+
*/
|
|
3204
|
+
content?: string;
|
|
3205
|
+
}
|
|
2471
3206
|
interface SpinnerProps$1 extends GlobalProps {
|
|
2472
3207
|
/**
|
|
2473
3208
|
* Adjusts the size of the spinner icon.
|
|
@@ -2484,40 +3219,40 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2484
3219
|
*/
|
|
2485
3220
|
accessibilityLabel?: string;
|
|
2486
3221
|
}
|
|
2487
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3222
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2488
3223
|
/**
|
|
2489
3224
|
* The content of the Stack.
|
|
2490
3225
|
*/
|
|
2491
3226
|
children?: ComponentChildren;
|
|
2492
3227
|
/**
|
|
2493
|
-
* Sets how the children are placed within the Stack.
|
|
3228
|
+
* 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).
|
|
2494
3229
|
*
|
|
2495
3230
|
* @default 'block'
|
|
2496
3231
|
*
|
|
2497
3232
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2498
3233
|
*/
|
|
2499
|
-
direction?: "block" | "inline"
|
|
3234
|
+
direction?: MaybeResponsive<"block" | "inline">;
|
|
2500
3235
|
/**
|
|
2501
3236
|
* Aligns the Stack along the main axis.
|
|
2502
3237
|
*
|
|
2503
3238
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2504
3239
|
* @default 'normal'
|
|
2505
3240
|
*/
|
|
2506
|
-
justifyContent?: JustifyContentKeyword
|
|
3241
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2507
3242
|
/**
|
|
2508
3243
|
* Aligns the Stack's children along the cross axis.
|
|
2509
3244
|
*
|
|
2510
3245
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2511
3246
|
* @default 'normal'
|
|
2512
3247
|
*/
|
|
2513
|
-
alignItems?: AlignItemsKeyword
|
|
3248
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2514
3249
|
/**
|
|
2515
3250
|
* Aligns the Stack along the cross axis.
|
|
2516
3251
|
*
|
|
2517
3252
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2518
3253
|
* @default 'normal'
|
|
2519
3254
|
*/
|
|
2520
|
-
alignContent?: AlignContentKeyword
|
|
3255
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2521
3256
|
}
|
|
2522
3257
|
interface SummaryProps$1 extends GlobalProps {
|
|
2523
3258
|
/**
|
|
@@ -2535,7 +3270,9 @@ interface SummaryProps$1 extends GlobalProps {
|
|
|
2535
3270
|
*/
|
|
2536
3271
|
children?: ComponentChildren;
|
|
2537
3272
|
}
|
|
2538
|
-
interface
|
|
3273
|
+
interface SwitchProps$1 extends GlobalProps, BaseCheckableProps, BasicFieldProps, FieldDetailsProps, FieldErrorProps {
|
|
3274
|
+
}
|
|
3275
|
+
interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps, Pick<InteractionProps, "interestFor"> {
|
|
2539
3276
|
/**
|
|
2540
3277
|
* The content of the Text.
|
|
2541
3278
|
*/
|
|
@@ -2543,7 +3280,7 @@ interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTyp
|
|
|
2543
3280
|
/**
|
|
2544
3281
|
* Provide semantic meaning and default styling to the text.
|
|
2545
3282
|
*
|
|
2546
|
-
* Other presentation properties on
|
|
3283
|
+
* Other presentation properties on Text override the default styling.
|
|
2547
3284
|
*
|
|
2548
3285
|
* @default 'generic'
|
|
2549
3286
|
*/
|
|
@@ -2641,7 +3378,7 @@ interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthP
|
|
|
2641
3378
|
}
|
|
2642
3379
|
interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
|
|
2643
3380
|
}
|
|
2644
|
-
interface TimeProps$1 {
|
|
3381
|
+
interface TimeProps$1 extends GlobalProps {
|
|
2645
3382
|
/**
|
|
2646
3383
|
* The content of the Time.
|
|
2647
3384
|
*/
|
|
@@ -2657,7 +3394,16 @@ interface TimeProps$1 {
|
|
|
2657
3394
|
*/
|
|
2658
3395
|
dateTime?: string;
|
|
2659
3396
|
}
|
|
3397
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3398
|
+
/**
|
|
3399
|
+
* The content of the Tooltip.
|
|
3400
|
+
*/
|
|
3401
|
+
children?: ComponentChildren;
|
|
3402
|
+
}
|
|
2660
3403
|
interface UnorderedListProps$1 extends GlobalProps {
|
|
2661
3404
|
}
|
|
3405
|
+
export interface URLFieldProps extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<URLAutocompleteField> {
|
|
3406
|
+
}
|
|
3407
|
+
export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "photo" | "impp" | `${AutocompleteAddressGroup} impp`>;
|
|
2662
3408
|
|
|
2663
3409
|
|