@shopify/ui-extensions 2025.10.0-rc.9 → 2025.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +5 -1
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +35 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +5 -1
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +31 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +5 -1
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +31 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DateField.d.ts +4 -0
- package/build/ts/docs/shared/components/DateField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +12 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +14 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +132 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +8 -8
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -20
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +8 -5
- package/build/ts/surfaces/admin/components/Banner.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +41 -36
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +121 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +109 -56
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +240 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +242 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +48 -36
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +148 -34
- package/build/ts/surfaces/admin/components/GridItem.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +8 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +95 -55
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -39
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +139 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +227 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/build/ts/surfaces/admin/components/NumberField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +33 -7
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +49 -33
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +117 -41
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +22 -27
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +16 -15
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +6 -4
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +5 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -33
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -34
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1034 -594
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3554
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3554
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3554
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +20 -4
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +63 -40
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Map.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/checkout/components/components.d.ts +1947 -530
- package/build/ts/surfaces/checkout/extension-targets.d.ts +64 -60
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +36 -5
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +68 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout.d.ts +3 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -40
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/customer-account/components/Form.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/Map.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/customer-account/components/components.d.ts +1947 -530
- package/build/ts/surfaces/customer-account/components/shared.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +12 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +165 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -5
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +12 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
- package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
- package/src/docs/shared/components/DateField.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +2 -2
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/components/index.ts +12 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api/intents/examples/create-article.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-catalog.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-collection.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-customer.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-market.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-menu.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-page.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-product.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-variant.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-article.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-catalog.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-collection.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-customer.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-market.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-menu.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-page.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-product.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +11 -0
- package/src/surfaces/admin/api/intents/intents.ts +153 -0
- package/src/surfaces/admin/api/standard/standard.ts +9 -7
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -20
- package/src/surfaces/admin/components/Badge.d.ts +8 -5
- package/src/surfaces/admin/components/Banner.d.ts +22 -28
- package/src/surfaces/admin/components/Box.d.ts +76 -24
- package/src/surfaces/admin/components/Button.d.ts +41 -36
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +121 -0
- package/src/surfaces/admin/components/Choice.d.ts +10 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/src/surfaces/admin/components/Clickable.d.ts +109 -56
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +240 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +242 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/EmailField.d.ts +27 -33
- package/src/surfaces/admin/components/Form.d.ts +48 -36
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +148 -34
- package/src/surfaces/admin/components/GridItem.d.ts +76 -24
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +8 -4
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +95 -55
- package/src/surfaces/admin/components/Link.d.ts +35 -39
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +139 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +227 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/src/surfaces/admin/components/NumberField.d.ts +27 -33
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +33 -7
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +4 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/src/surfaces/admin/components/SearchField.d.ts +27 -33
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +49 -33
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +117 -41
- package/src/surfaces/admin/components/StandardComponents.ts +8 -0
- package/src/surfaces/admin/components/Switch.d.ts +22 -27
- package/src/surfaces/admin/components/Table.d.ts +16 -15
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +18 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/src/surfaces/admin/components/TableRow.d.ts +6 -4
- package/src/surfaces/admin/components/Text.d.ts +5 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -33
- package/src/surfaces/admin/components/TextField.d.ts +28 -34
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +27 -33
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +16 -16
- package/src/surfaces/admin/components/patterns/examples/details.jsx +13 -20
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +26 -59
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +26 -63
- package/src/surfaces/admin/components/patterns/examples/index.html +26 -34
- package/src/surfaces/admin/components/patterns/examples/index.jsx +23 -35
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +168 -215
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +169 -311
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +8 -10
- package/src/surfaces/admin/components/shared.d.ts +1034 -594
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +3076 -1150
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +14 -4
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
- package/src/surfaces/checkout/api/standard/standard.ts +65 -41
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +57 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +9 -6
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Button.d.ts +10 -5
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +85 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +46 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +11 -8
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +4 -3
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -5
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/Map.d.ts +11 -8
- package/src/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +1 -1
- package/src/surfaces/checkout/components/Modal.d.ts +22 -18
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +116 -0
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +4 -4
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +1 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/checkout/components/TextField.d.ts +35 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/src/surfaces/checkout/components/components.d.ts +1947 -530
- package/src/surfaces/checkout/extension-targets.ts +70 -61
- package/src/surfaces/checkout/preact/api.ts +5 -1
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
- package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
- package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
- package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +56 -26
- package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
- package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
- package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
- package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
- package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +26 -20
- package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
- package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
- package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
- package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
- package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
- package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
- package/src/surfaces/checkout/preact/tests/mount.tsx +63 -20
- package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
- package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
- package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
- package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
- package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
- package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
- package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
- package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
- package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
- package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
- package/src/surfaces/checkout/shared.ts +112 -43
- package/src/surfaces/checkout.ts +5 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +58 -40
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +17 -2
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +5 -2
- package/src/surfaces/customer-account/components/shared.ts +12 -5
- package/src/surfaces/customer-account/components.d.ts +109 -83
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +4 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +55 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +128 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/multiple-selection.jsx +9 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Divider/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/controls-constraints.jsx +9 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/input-mode.jsx +15 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/rows-configuration.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/accessory-slot.jsx +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/common-props.jsx +11 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/event-handling.jsx +17 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +6491 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/globals.ts +6 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +174 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +9 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +64 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -3559
- package/build/ts/surfaces/checkout/errors.d.ts +0 -10
- package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.html +0 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.html +0 -1
- package/src/surfaces/checkout/errors.ts +0 -13
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +0 -9
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -9
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -16
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -15
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -36
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -13,7 +13,14 @@
|
|
|
13
13
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
14
14
|
*/
|
|
15
15
|
export type ComponentChildren = any;
|
|
16
|
-
|
|
16
|
+
export type StringChildren = string;
|
|
17
|
+
export interface GlobalProps {
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for the element.
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
}
|
|
23
|
+
interface AbbreviationProps$1 extends GlobalProps {
|
|
17
24
|
/**
|
|
18
25
|
* The content of the abbreviation or acronym.
|
|
19
26
|
*/
|
|
@@ -29,14 +36,136 @@ interface AbbreviationProps$1 {
|
|
|
29
36
|
*/
|
|
30
37
|
title?: string;
|
|
31
38
|
}
|
|
32
|
-
export
|
|
33
|
-
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
34
|
-
export interface GlobalProps {
|
|
39
|
+
export interface ActionSlots {
|
|
35
40
|
/**
|
|
36
|
-
*
|
|
41
|
+
* The primary action to perform, provided as a button or link type element.
|
|
37
42
|
*/
|
|
38
|
-
|
|
43
|
+
primaryAction?: ComponentChildren;
|
|
44
|
+
/**
|
|
45
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
46
|
+
*/
|
|
47
|
+
secondaryActions?: ComponentChildren;
|
|
48
|
+
}
|
|
49
|
+
export interface BaseOverlayProps {
|
|
50
|
+
/**
|
|
51
|
+
* Callback fired after the overlay is shown.
|
|
52
|
+
*/
|
|
53
|
+
onShow?: (event: Event) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
56
|
+
*/
|
|
57
|
+
onAfterShow?: (event: Event) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Callback fired after the overlay is hidden.
|
|
60
|
+
*/
|
|
61
|
+
onHide?: (event: Event) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
64
|
+
*/
|
|
65
|
+
onAfterHide?: (event: Event) => void;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Shared interfaces for web component methods.
|
|
69
|
+
*
|
|
70
|
+
* Methods are required (not optional) because:
|
|
71
|
+
* - Components implementing this interface must provide all methods
|
|
72
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
73
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
74
|
+
*/
|
|
75
|
+
export interface BaseOverlayMethods {
|
|
76
|
+
/**
|
|
77
|
+
* Method to show an overlay.
|
|
78
|
+
*
|
|
79
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
80
|
+
*/
|
|
81
|
+
showOverlay: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* Method to hide an overlay.
|
|
84
|
+
*
|
|
85
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
86
|
+
*/
|
|
87
|
+
hideOverlay: () => void;
|
|
88
|
+
/**
|
|
89
|
+
* Method to toggle the visiblity of an overlay.
|
|
90
|
+
*
|
|
91
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
92
|
+
*/
|
|
93
|
+
toggleOverlay: () => void;
|
|
94
|
+
}
|
|
95
|
+
export interface FocusEventProps {
|
|
96
|
+
/**
|
|
97
|
+
* Callback when the element loses focus.
|
|
98
|
+
*
|
|
99
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
100
|
+
*/
|
|
101
|
+
onBlur?: (event: FocusEvent) => void;
|
|
102
|
+
/**
|
|
103
|
+
* Callback when the element receives focus.
|
|
104
|
+
*
|
|
105
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
106
|
+
*/
|
|
107
|
+
onFocus?: (event: FocusEvent) => void;
|
|
108
|
+
}
|
|
109
|
+
export interface ToggleEventProps {
|
|
110
|
+
/**
|
|
111
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
112
|
+
*
|
|
113
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
114
|
+
* `newState` property will be set to `open`.
|
|
115
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
116
|
+
* `newState` will be `closed`.
|
|
117
|
+
*
|
|
118
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
119
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
120
|
+
*/
|
|
121
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
122
|
+
/**
|
|
123
|
+
* Callback straight after the element state changes.
|
|
124
|
+
*
|
|
125
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
126
|
+
* `newState` property will be set to `open`.
|
|
127
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
128
|
+
* `newState` will be `closed`.
|
|
129
|
+
*
|
|
130
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
131
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
132
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
133
|
+
*/
|
|
134
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
135
|
+
}
|
|
136
|
+
export type ToggleState = "open" | "closed";
|
|
137
|
+
interface ToggleEvent$1 extends Event {
|
|
138
|
+
readonly newState: ToggleState;
|
|
139
|
+
readonly oldState: ToggleState;
|
|
140
|
+
}
|
|
141
|
+
export interface ExtendableEvent extends Event {
|
|
142
|
+
/**
|
|
143
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
144
|
+
*
|
|
145
|
+
* This may be called many times, which adds promises to the event.
|
|
146
|
+
*
|
|
147
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
148
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
149
|
+
*/
|
|
150
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
151
|
+
}
|
|
152
|
+
interface AnnouncementProps$1 extends GlobalProps, ToggleEventProps {
|
|
153
|
+
/**
|
|
154
|
+
* The content of the announcement.
|
|
155
|
+
*/
|
|
156
|
+
children?: ComponentChildren;
|
|
157
|
+
/**
|
|
158
|
+
* Callback fired when the announcement is dismissed by the user
|
|
159
|
+
* (either via the built-in dismiss button or programmatically).
|
|
160
|
+
*/
|
|
161
|
+
onDismiss?: (event: Event) => void;
|
|
162
|
+
/**
|
|
163
|
+
* Method to programmatically dismiss the announcement.
|
|
164
|
+
*/
|
|
165
|
+
dismiss: () => void;
|
|
39
166
|
}
|
|
167
|
+
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";
|
|
168
|
+
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
40
169
|
export type BackgroundColorKeyword = "transparent" | ColorKeyword;
|
|
41
170
|
export interface BackgroundProps {
|
|
42
171
|
/**
|
|
@@ -56,7 +185,7 @@ export interface BackgroundProps {
|
|
|
56
185
|
*
|
|
57
186
|
* @default 'auto'
|
|
58
187
|
*/
|
|
59
|
-
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "custom";
|
|
188
|
+
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "accent" | "custom";
|
|
60
189
|
declare const privateIconArray: readonly [
|
|
61
190
|
"adjust",
|
|
62
191
|
"affiliate",
|
|
@@ -65,23 +194,23 @@ declare const privateIconArray: readonly [
|
|
|
65
194
|
"alert-circle",
|
|
66
195
|
"alert-diamond",
|
|
67
196
|
"alert-location",
|
|
68
|
-
"alert-octagon-filled",
|
|
69
197
|
"alert-octagon",
|
|
198
|
+
"alert-octagon-filled",
|
|
70
199
|
"alert-triangle",
|
|
71
200
|
"alert-triangle-filled",
|
|
72
201
|
"app-extension",
|
|
73
202
|
"apps",
|
|
74
203
|
"archive",
|
|
204
|
+
"arrow-down",
|
|
75
205
|
"arrow-down-circle",
|
|
76
206
|
"arrow-down-right",
|
|
77
|
-
"arrow-down",
|
|
78
|
-
"arrow-left-circle",
|
|
79
207
|
"arrow-left",
|
|
80
|
-
"arrow-
|
|
208
|
+
"arrow-left-circle",
|
|
81
209
|
"arrow-right",
|
|
210
|
+
"arrow-right-circle",
|
|
211
|
+
"arrow-up",
|
|
82
212
|
"arrow-up-circle",
|
|
83
213
|
"arrow-up-right",
|
|
84
|
-
"arrow-up",
|
|
85
214
|
"arrows-in-horizontal",
|
|
86
215
|
"arrows-out-horizontal",
|
|
87
216
|
"attachment",
|
|
@@ -90,34 +219,39 @@ declare const privateIconArray: readonly [
|
|
|
90
219
|
"bag",
|
|
91
220
|
"bank",
|
|
92
221
|
"barcode",
|
|
222
|
+
"battery-low",
|
|
93
223
|
"bill",
|
|
94
224
|
"blank",
|
|
95
225
|
"blog",
|
|
96
|
-
"bolt-filled",
|
|
97
226
|
"bolt",
|
|
98
|
-
"
|
|
227
|
+
"bolt-filled",
|
|
99
228
|
"book",
|
|
229
|
+
"book-open",
|
|
100
230
|
"bug",
|
|
101
231
|
"bullet",
|
|
102
232
|
"business-entity",
|
|
103
|
-
"button-press",
|
|
104
233
|
"button",
|
|
234
|
+
"button-press",
|
|
105
235
|
"calculator",
|
|
236
|
+
"calendar",
|
|
106
237
|
"calendar-check",
|
|
107
238
|
"calendar-compare",
|
|
108
239
|
"calendar-list",
|
|
109
240
|
"calendar-time",
|
|
110
|
-
"calendar",
|
|
111
|
-
"camera-flip",
|
|
112
241
|
"camera",
|
|
242
|
+
"camera-flip",
|
|
113
243
|
"caret-down",
|
|
244
|
+
"caret-left",
|
|
245
|
+
"caret-right",
|
|
114
246
|
"caret-up",
|
|
247
|
+
"cart",
|
|
115
248
|
"cart-abandoned",
|
|
116
249
|
"cart-discount",
|
|
117
250
|
"cart-down",
|
|
251
|
+
"cart-filled",
|
|
118
252
|
"cart-sale",
|
|
253
|
+
"cart-send",
|
|
119
254
|
"cart-up",
|
|
120
|
-
"cart",
|
|
121
255
|
"cash-dollar",
|
|
122
256
|
"cash-euro",
|
|
123
257
|
"cash-pound",
|
|
@@ -129,8 +263,8 @@ declare const privateIconArray: readonly [
|
|
|
129
263
|
"chart-cohort",
|
|
130
264
|
"chart-donut",
|
|
131
265
|
"chart-funnel",
|
|
132
|
-
"chart-histogram-first-last",
|
|
133
266
|
"chart-histogram-first",
|
|
267
|
+
"chart-histogram-first-last",
|
|
134
268
|
"chart-histogram-flat",
|
|
135
269
|
"chart-histogram-full",
|
|
136
270
|
"chart-histogram-growth",
|
|
@@ -141,36 +275,36 @@ declare const privateIconArray: readonly [
|
|
|
141
275
|
"chart-popular",
|
|
142
276
|
"chart-stacked",
|
|
143
277
|
"chart-vertical",
|
|
278
|
+
"chat",
|
|
144
279
|
"chat-new",
|
|
145
280
|
"chat-referral",
|
|
146
|
-
"chat",
|
|
147
|
-
"check-circle-filled",
|
|
148
|
-
"check-circle",
|
|
149
281
|
"check",
|
|
282
|
+
"check-circle",
|
|
283
|
+
"check-circle-filled",
|
|
150
284
|
"checkbox",
|
|
151
|
-
"chevron-down-circle",
|
|
152
285
|
"chevron-down",
|
|
153
|
-
"chevron-
|
|
286
|
+
"chevron-down-circle",
|
|
154
287
|
"chevron-left",
|
|
155
|
-
"chevron-
|
|
288
|
+
"chevron-left-circle",
|
|
156
289
|
"chevron-right",
|
|
157
|
-
"chevron-
|
|
290
|
+
"chevron-right-circle",
|
|
158
291
|
"chevron-up",
|
|
159
|
-
"circle
|
|
292
|
+
"chevron-up-circle",
|
|
160
293
|
"circle",
|
|
294
|
+
"circle-dashed",
|
|
295
|
+
"clipboard",
|
|
161
296
|
"clipboard-check",
|
|
162
297
|
"clipboard-checklist",
|
|
163
|
-
"clipboard",
|
|
164
|
-
"clock-revert",
|
|
165
298
|
"clock",
|
|
166
|
-
"
|
|
299
|
+
"clock-revert",
|
|
167
300
|
"code",
|
|
301
|
+
"code-add",
|
|
302
|
+
"collection",
|
|
168
303
|
"collection-featured",
|
|
169
304
|
"collection-list",
|
|
170
305
|
"collection-reference",
|
|
171
|
-
"collection",
|
|
172
|
-
"color-none",
|
|
173
306
|
"color",
|
|
307
|
+
"color-none",
|
|
174
308
|
"compass",
|
|
175
309
|
"complete",
|
|
176
310
|
"compose",
|
|
@@ -181,76 +315,81 @@ declare const privateIconArray: readonly [
|
|
|
181
315
|
"corner-pill",
|
|
182
316
|
"corner-round",
|
|
183
317
|
"corner-square",
|
|
318
|
+
"credit-card",
|
|
184
319
|
"credit-card-cancel",
|
|
185
320
|
"credit-card-percent",
|
|
321
|
+
"credit-card-reader",
|
|
186
322
|
"credit-card-reader-chip",
|
|
187
323
|
"credit-card-reader-tap",
|
|
188
|
-
"credit-card-reader",
|
|
189
324
|
"credit-card-secure",
|
|
190
325
|
"credit-card-tap-chip",
|
|
191
|
-
"credit-card",
|
|
192
326
|
"crop",
|
|
193
327
|
"currency-convert",
|
|
328
|
+
"cursor",
|
|
194
329
|
"cursor-banner",
|
|
195
330
|
"cursor-option",
|
|
196
|
-
"cursor",
|
|
197
331
|
"data-presentation",
|
|
198
332
|
"data-table",
|
|
333
|
+
"database",
|
|
199
334
|
"database-add",
|
|
200
335
|
"database-connect",
|
|
201
|
-
"database",
|
|
202
336
|
"delete",
|
|
203
337
|
"delivered",
|
|
204
338
|
"delivery",
|
|
205
339
|
"desktop",
|
|
206
340
|
"disabled",
|
|
341
|
+
"disabled-filled",
|
|
342
|
+
"discount",
|
|
207
343
|
"discount-add",
|
|
344
|
+
"discount-automatic",
|
|
208
345
|
"discount-code",
|
|
209
|
-
"discount",
|
|
346
|
+
"discount-remove",
|
|
210
347
|
"dns-settings",
|
|
211
348
|
"dock-floating",
|
|
212
349
|
"dock-side",
|
|
350
|
+
"domain",
|
|
213
351
|
"domain-landing-page",
|
|
214
352
|
"domain-new",
|
|
215
353
|
"domain-redirect",
|
|
216
|
-
"domain",
|
|
217
354
|
"download",
|
|
218
355
|
"drag-drop",
|
|
219
356
|
"drag-handle",
|
|
357
|
+
"drawer",
|
|
220
358
|
"duplicate",
|
|
221
359
|
"edit",
|
|
360
|
+
"email",
|
|
222
361
|
"email-follow-up",
|
|
223
362
|
"email-newsletter",
|
|
224
|
-
"email",
|
|
225
363
|
"empty",
|
|
226
364
|
"enabled",
|
|
227
365
|
"enter",
|
|
228
|
-
"envelope-soft-pack",
|
|
229
366
|
"envelope",
|
|
367
|
+
"envelope-soft-pack",
|
|
230
368
|
"eraser",
|
|
231
369
|
"exchange",
|
|
232
370
|
"exit",
|
|
233
371
|
"export",
|
|
234
372
|
"external",
|
|
235
373
|
"eye-check-mark",
|
|
236
|
-
"eye-dropper-list",
|
|
237
374
|
"eye-dropper",
|
|
375
|
+
"eye-dropper-list",
|
|
238
376
|
"eye-first",
|
|
239
377
|
"eyeglasses",
|
|
240
378
|
"fav",
|
|
241
379
|
"favicon",
|
|
242
|
-
"file-list",
|
|
243
380
|
"file",
|
|
381
|
+
"file-list",
|
|
244
382
|
"filter",
|
|
383
|
+
"filter-active",
|
|
245
384
|
"flag",
|
|
246
385
|
"flip-horizontal",
|
|
247
386
|
"flip-vertical",
|
|
248
387
|
"flower",
|
|
388
|
+
"folder",
|
|
249
389
|
"folder-add",
|
|
250
390
|
"folder-down",
|
|
251
391
|
"folder-remove",
|
|
252
392
|
"folder-up",
|
|
253
|
-
"folder",
|
|
254
393
|
"food",
|
|
255
394
|
"foreground",
|
|
256
395
|
"forklift",
|
|
@@ -258,33 +397,35 @@ declare const privateIconArray: readonly [
|
|
|
258
397
|
"games",
|
|
259
398
|
"gauge",
|
|
260
399
|
"geolocation",
|
|
261
|
-
"gift-card",
|
|
262
400
|
"gift",
|
|
401
|
+
"gift-card",
|
|
263
402
|
"git-branch",
|
|
264
403
|
"git-commit",
|
|
265
404
|
"git-repository",
|
|
405
|
+
"globe",
|
|
266
406
|
"globe-asia",
|
|
267
407
|
"globe-europe",
|
|
268
408
|
"globe-lines",
|
|
269
409
|
"globe-list",
|
|
270
|
-
"
|
|
410
|
+
"graduation-hat",
|
|
271
411
|
"grid",
|
|
412
|
+
"hashtag",
|
|
272
413
|
"hashtag-decimal",
|
|
273
414
|
"hashtag-list",
|
|
274
|
-
"hashtag",
|
|
275
415
|
"heart",
|
|
276
|
-
"hide-filled",
|
|
277
416
|
"hide",
|
|
417
|
+
"hide-filled",
|
|
278
418
|
"home",
|
|
419
|
+
"home-filled",
|
|
279
420
|
"icons",
|
|
280
421
|
"identity-card",
|
|
422
|
+
"image",
|
|
281
423
|
"image-add",
|
|
282
424
|
"image-alt",
|
|
283
425
|
"image-explore",
|
|
284
426
|
"image-magic",
|
|
285
427
|
"image-none",
|
|
286
428
|
"image-with-text-overlay",
|
|
287
|
-
"image",
|
|
288
429
|
"images",
|
|
289
430
|
"import",
|
|
290
431
|
"in-progress",
|
|
@@ -293,20 +434,25 @@ declare const privateIconArray: readonly [
|
|
|
293
434
|
"incomplete",
|
|
294
435
|
"info",
|
|
295
436
|
"info-filled",
|
|
296
|
-
"
|
|
437
|
+
"inheritance",
|
|
297
438
|
"inventory",
|
|
439
|
+
"inventory-edit",
|
|
440
|
+
"inventory-list",
|
|
441
|
+
"inventory-transfer",
|
|
442
|
+
"inventory-updated",
|
|
298
443
|
"iq",
|
|
299
444
|
"key",
|
|
445
|
+
"keyboard",
|
|
300
446
|
"keyboard-filled",
|
|
301
447
|
"keyboard-hide",
|
|
302
|
-
"
|
|
448
|
+
"keypad",
|
|
303
449
|
"label-printer",
|
|
304
|
-
"language-translate",
|
|
305
450
|
"language",
|
|
451
|
+
"language-translate",
|
|
306
452
|
"layout-block",
|
|
453
|
+
"layout-buy-button",
|
|
307
454
|
"layout-buy-button-horizontal",
|
|
308
455
|
"layout-buy-button-vertical",
|
|
309
|
-
"layout-buy-button",
|
|
310
456
|
"layout-column-1",
|
|
311
457
|
"layout-columns-2",
|
|
312
458
|
"layout-columns-3",
|
|
@@ -319,64 +465,73 @@ declare const privateIconArray: readonly [
|
|
|
319
465
|
"layout-sidebar-left",
|
|
320
466
|
"layout-sidebar-right",
|
|
321
467
|
"lightbulb",
|
|
322
|
-
"link-list",
|
|
323
468
|
"link",
|
|
469
|
+
"link-list",
|
|
324
470
|
"list-bulleted",
|
|
471
|
+
"list-bulleted-filled",
|
|
325
472
|
"list-numbered",
|
|
326
473
|
"live",
|
|
327
|
-
"
|
|
474
|
+
"live-critical",
|
|
475
|
+
"live-none",
|
|
328
476
|
"location",
|
|
477
|
+
"location-none",
|
|
329
478
|
"lock",
|
|
330
479
|
"map",
|
|
480
|
+
"markets",
|
|
331
481
|
"markets-euro",
|
|
332
482
|
"markets-rupee",
|
|
333
483
|
"markets-yen",
|
|
334
|
-
"markets",
|
|
335
484
|
"maximize",
|
|
336
|
-
"measurement-size-list",
|
|
337
485
|
"measurement-size",
|
|
338
|
-
"measurement-
|
|
486
|
+
"measurement-size-list",
|
|
339
487
|
"measurement-volume",
|
|
340
|
-
"measurement-
|
|
488
|
+
"measurement-volume-list",
|
|
341
489
|
"measurement-weight",
|
|
490
|
+
"measurement-weight-list",
|
|
342
491
|
"media-receiver",
|
|
343
492
|
"megaphone",
|
|
344
493
|
"mention",
|
|
494
|
+
"menu",
|
|
495
|
+
"menu-filled",
|
|
345
496
|
"menu-horizontal",
|
|
346
497
|
"menu-vertical",
|
|
347
|
-
"menu",
|
|
348
498
|
"merge",
|
|
349
499
|
"metafields",
|
|
500
|
+
"metaobject",
|
|
350
501
|
"metaobject-list",
|
|
351
502
|
"metaobject-reference",
|
|
352
|
-
"metaobject",
|
|
353
503
|
"microphone",
|
|
354
504
|
"minimize",
|
|
355
|
-
"minus-circle",
|
|
356
505
|
"minus",
|
|
506
|
+
"minus-circle",
|
|
357
507
|
"mobile",
|
|
358
|
-
"money-none",
|
|
359
508
|
"money",
|
|
509
|
+
"money-none",
|
|
510
|
+
"money-split",
|
|
360
511
|
"moon",
|
|
361
512
|
"nature",
|
|
362
|
-
"note-add",
|
|
363
513
|
"note",
|
|
514
|
+
"note-add",
|
|
364
515
|
"notification",
|
|
516
|
+
"order",
|
|
365
517
|
"order-batches",
|
|
366
518
|
"order-draft",
|
|
519
|
+
"order-filled",
|
|
367
520
|
"order-first",
|
|
368
521
|
"order-fulfilled",
|
|
369
522
|
"order-repeat",
|
|
370
523
|
"order-unfulfilled",
|
|
371
|
-
"order",
|
|
372
524
|
"orders-status",
|
|
373
525
|
"organization",
|
|
374
526
|
"outdent",
|
|
375
527
|
"outgoing",
|
|
528
|
+
"package",
|
|
529
|
+
"package-cancel",
|
|
376
530
|
"package-fulfilled",
|
|
377
531
|
"package-on-hold",
|
|
532
|
+
"package-reassign",
|
|
378
533
|
"package-returned",
|
|
379
|
-
"
|
|
534
|
+
"page",
|
|
380
535
|
"page-add",
|
|
381
536
|
"page-attachment",
|
|
382
537
|
"page-clock",
|
|
@@ -387,7 +542,6 @@ declare const privateIconArray: readonly [
|
|
|
387
542
|
"page-remove",
|
|
388
543
|
"page-report",
|
|
389
544
|
"page-up",
|
|
390
|
-
"page",
|
|
391
545
|
"pagination-end",
|
|
392
546
|
"pagination-start",
|
|
393
547
|
"paint-brush-flat",
|
|
@@ -397,49 +551,55 @@ declare const privateIconArray: readonly [
|
|
|
397
551
|
"passkey",
|
|
398
552
|
"paste",
|
|
399
553
|
"pause-circle",
|
|
400
|
-
"payment-capture",
|
|
401
554
|
"payment",
|
|
555
|
+
"payment-capture",
|
|
556
|
+
"payout",
|
|
402
557
|
"payout-dollar",
|
|
403
558
|
"payout-euro",
|
|
404
559
|
"payout-pound",
|
|
405
560
|
"payout-rupee",
|
|
406
561
|
"payout-yen",
|
|
407
|
-
"
|
|
562
|
+
"person",
|
|
408
563
|
"person-add",
|
|
409
564
|
"person-exit",
|
|
565
|
+
"person-filled",
|
|
410
566
|
"person-list",
|
|
411
567
|
"person-lock",
|
|
412
568
|
"person-remove",
|
|
413
569
|
"person-segment",
|
|
414
|
-
"person",
|
|
415
570
|
"personalized-text",
|
|
571
|
+
"phablet",
|
|
572
|
+
"phone",
|
|
416
573
|
"phone-in",
|
|
417
574
|
"phone-out",
|
|
418
|
-
"phone",
|
|
419
575
|
"pin",
|
|
420
576
|
"pin-remove",
|
|
421
577
|
"plan",
|
|
422
|
-
"play-circle",
|
|
423
578
|
"play",
|
|
579
|
+
"play-circle",
|
|
580
|
+
"plus",
|
|
424
581
|
"plus-circle",
|
|
425
582
|
"plus-circle-down",
|
|
583
|
+
"plus-circle-filled",
|
|
426
584
|
"plus-circle-up",
|
|
427
|
-
"plus",
|
|
428
585
|
"point-of-sale",
|
|
586
|
+
"point-of-sale-register",
|
|
429
587
|
"price-list",
|
|
430
588
|
"print",
|
|
589
|
+
"product",
|
|
431
590
|
"product-add",
|
|
432
591
|
"product-cost",
|
|
592
|
+
"product-filled",
|
|
433
593
|
"product-list",
|
|
434
594
|
"product-reference",
|
|
435
595
|
"product-remove",
|
|
436
596
|
"product-return",
|
|
437
597
|
"product-unavailable",
|
|
438
|
-
"product",
|
|
439
|
-
"profile-filled",
|
|
440
598
|
"profile",
|
|
441
|
-
"
|
|
599
|
+
"profile-filled",
|
|
442
600
|
"question-circle",
|
|
601
|
+
"question-circle-filled",
|
|
602
|
+
"receipt",
|
|
443
603
|
"receipt-dollar",
|
|
444
604
|
"receipt-euro",
|
|
445
605
|
"receipt-folded",
|
|
@@ -448,7 +608,6 @@ declare const privateIconArray: readonly [
|
|
|
448
608
|
"receipt-refund",
|
|
449
609
|
"receipt-rupee",
|
|
450
610
|
"receipt-yen",
|
|
451
|
-
"receipt",
|
|
452
611
|
"receivables",
|
|
453
612
|
"redo",
|
|
454
613
|
"referral-code",
|
|
@@ -466,10 +625,12 @@ declare const privateIconArray: readonly [
|
|
|
466
625
|
"sandbox",
|
|
467
626
|
"save",
|
|
468
627
|
"savings",
|
|
628
|
+
"scan-qr-code",
|
|
629
|
+
"search",
|
|
630
|
+
"search-add",
|
|
469
631
|
"search-list",
|
|
470
632
|
"search-recent",
|
|
471
633
|
"search-resource",
|
|
472
|
-
"search",
|
|
473
634
|
"select",
|
|
474
635
|
"send",
|
|
475
636
|
"settings",
|
|
@@ -479,6 +640,7 @@ declare const privateIconArray: readonly [
|
|
|
479
640
|
"shield-pending",
|
|
480
641
|
"shield-person",
|
|
481
642
|
"shipping-label",
|
|
643
|
+
"shipping-label-cancel",
|
|
482
644
|
"shopcodes",
|
|
483
645
|
"slideshow",
|
|
484
646
|
"smiley-happy",
|
|
@@ -487,68 +649,70 @@ declare const privateIconArray: readonly [
|
|
|
487
649
|
"smiley-sad",
|
|
488
650
|
"social-ad",
|
|
489
651
|
"social-post",
|
|
652
|
+
"sort",
|
|
490
653
|
"sort-ascending",
|
|
491
654
|
"sort-descending",
|
|
492
|
-
"sort",
|
|
493
655
|
"sound",
|
|
494
656
|
"sports",
|
|
657
|
+
"star",
|
|
658
|
+
"star-circle",
|
|
495
659
|
"star-filled",
|
|
496
660
|
"star-half",
|
|
497
661
|
"star-list",
|
|
498
|
-
"star",
|
|
499
|
-
"status-active",
|
|
500
662
|
"status",
|
|
663
|
+
"status-active",
|
|
501
664
|
"stop-circle",
|
|
665
|
+
"store",
|
|
502
666
|
"store-import",
|
|
503
667
|
"store-managed",
|
|
504
668
|
"store-online",
|
|
505
|
-
"store",
|
|
506
669
|
"sun",
|
|
507
|
-
"table-masonry",
|
|
508
670
|
"table",
|
|
671
|
+
"table-masonry",
|
|
509
672
|
"tablet",
|
|
510
673
|
"target",
|
|
511
674
|
"tax",
|
|
512
675
|
"team",
|
|
676
|
+
"text",
|
|
513
677
|
"text-align-center",
|
|
514
678
|
"text-align-left",
|
|
515
679
|
"text-align-right",
|
|
516
680
|
"text-block",
|
|
517
681
|
"text-bold",
|
|
518
682
|
"text-color",
|
|
519
|
-
"text-font-list",
|
|
520
683
|
"text-font",
|
|
684
|
+
"text-font-list",
|
|
521
685
|
"text-grammar",
|
|
522
686
|
"text-in-columns",
|
|
523
687
|
"text-in-rows",
|
|
524
|
-
"text-indent-remove",
|
|
525
688
|
"text-indent",
|
|
689
|
+
"text-indent-remove",
|
|
526
690
|
"text-italic",
|
|
527
691
|
"text-quote",
|
|
528
692
|
"text-title",
|
|
529
693
|
"text-underline",
|
|
530
694
|
"text-with-image",
|
|
531
|
-
"
|
|
695
|
+
"theme",
|
|
532
696
|
"theme-edit",
|
|
533
697
|
"theme-store",
|
|
534
698
|
"theme-template",
|
|
535
|
-
"theme",
|
|
536
699
|
"three-d-environment",
|
|
537
700
|
"thumbs-down",
|
|
538
701
|
"thumbs-up",
|
|
539
702
|
"tip-jar",
|
|
540
703
|
"toggle-off",
|
|
541
704
|
"toggle-on",
|
|
705
|
+
"transaction",
|
|
706
|
+
"transaction-fee-add",
|
|
542
707
|
"transaction-fee-dollar",
|
|
543
708
|
"transaction-fee-euro",
|
|
544
709
|
"transaction-fee-pound",
|
|
545
710
|
"transaction-fee-rupee",
|
|
546
711
|
"transaction-fee-yen",
|
|
547
|
-
"
|
|
712
|
+
"transfer",
|
|
548
713
|
"transfer-in",
|
|
549
714
|
"transfer-internal",
|
|
550
715
|
"transfer-out",
|
|
551
|
-
"transfer",
|
|
552
716
|
"truck",
|
|
553
717
|
"undo",
|
|
554
718
|
"unknown-device",
|
|
@@ -564,12 +728,12 @@ declare const privateIconArray: readonly [
|
|
|
564
728
|
"wand",
|
|
565
729
|
"watch",
|
|
566
730
|
"wifi",
|
|
567
|
-
"work-list",
|
|
568
731
|
"work",
|
|
732
|
+
"work-list",
|
|
569
733
|
"wrench",
|
|
570
|
-
"x
|
|
734
|
+
"x",
|
|
571
735
|
"x-circle",
|
|
572
|
-
"x"
|
|
736
|
+
"x-circle-filled"
|
|
573
737
|
];
|
|
574
738
|
export type IconType = (typeof privateIconArray)[number];
|
|
575
739
|
/**
|
|
@@ -578,6 +742,7 @@ export type IconType = (typeof privateIconArray)[number];
|
|
|
578
742
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
579
743
|
export type MaybeAllValuesShorthandProperty<T extends string> = T | `${T} ${T}` | `${T} ${T} ${T}` | `${T} ${T} ${T} ${T}`;
|
|
580
744
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
745
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
581
746
|
/**
|
|
582
747
|
* Prevents widening string literal types in a union to `string`.
|
|
583
748
|
* @example
|
|
@@ -587,44 +752,48 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
587
752
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
588
753
|
*/
|
|
589
754
|
export type AnyString = string & {};
|
|
590
|
-
|
|
755
|
+
/**
|
|
756
|
+
* This is purely to give the ability
|
|
757
|
+
* to have a space or not in the string literal types.
|
|
758
|
+
*
|
|
759
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
760
|
+
*/
|
|
761
|
+
export type optionalSpace = "" | " ";
|
|
762
|
+
interface BadgeProps$1 extends GlobalProps {
|
|
591
763
|
/**
|
|
592
|
-
* The
|
|
764
|
+
* The content of the Badge.
|
|
593
765
|
*/
|
|
594
|
-
|
|
766
|
+
children?: ComponentChildren;
|
|
595
767
|
/**
|
|
596
|
-
*
|
|
768
|
+
* Sets the tone of the Badge, based on the intention of the information being conveyed.
|
|
769
|
+
*
|
|
770
|
+
* @default 'auto'
|
|
597
771
|
*/
|
|
598
|
-
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Used for Container Query-related props.
|
|
602
|
-
*/
|
|
603
|
-
export interface ContainerProps {
|
|
772
|
+
tone?: ToneKeyword;
|
|
604
773
|
/**
|
|
605
|
-
*
|
|
774
|
+
* Modify the color to be more or less intense.
|
|
606
775
|
*
|
|
607
|
-
* @
|
|
776
|
+
* @default 'base'
|
|
777
|
+
*/
|
|
778
|
+
color?: ColorKeyword;
|
|
779
|
+
/**
|
|
780
|
+
* The type of icon to be displayed in the badge.
|
|
608
781
|
*
|
|
609
782
|
* @default ''
|
|
610
|
-
*
|
|
611
|
-
* @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`.
|
|
612
|
-
* The developer-supplied containerName here would be in addition to the above-mentioned containerName.
|
|
613
783
|
*/
|
|
614
|
-
|
|
784
|
+
icon?: IconType | AnyString;
|
|
615
785
|
/**
|
|
616
|
-
* The
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
*
|
|
621
|
-
* - `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.
|
|
786
|
+
* The position of the icon in relation to the text.
|
|
787
|
+
*/
|
|
788
|
+
iconPosition?: "start" | "end";
|
|
789
|
+
/**
|
|
790
|
+
* Adjusts the size.
|
|
622
791
|
*
|
|
623
|
-
* @default '
|
|
792
|
+
* @default 'base'
|
|
624
793
|
*/
|
|
625
|
-
|
|
794
|
+
size?: SizeKeyword;
|
|
626
795
|
}
|
|
627
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots
|
|
796
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
628
797
|
/**
|
|
629
798
|
* The title of the banner.
|
|
630
799
|
*
|
|
@@ -675,7 +844,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
675
844
|
*
|
|
676
845
|
* The `hidden` property will be `false` when this event fires.
|
|
677
846
|
*/
|
|
678
|
-
onDismiss?: () => void;
|
|
847
|
+
onDismiss?: (event: Event) => void;
|
|
679
848
|
/**
|
|
680
849
|
* Event handler when the banner has fully hidden.
|
|
681
850
|
*
|
|
@@ -685,7 +854,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
685
854
|
* this event must fire after the banner has fully hidden.
|
|
686
855
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
687
856
|
*/
|
|
688
|
-
onAfterHide?: () => void;
|
|
857
|
+
onAfterHide?: (event: Event) => void;
|
|
689
858
|
/**
|
|
690
859
|
* Determines whether the banner is hidden.
|
|
691
860
|
*
|
|
@@ -709,7 +878,7 @@ export interface DisplayProps {
|
|
|
709
878
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
710
879
|
* @default 'auto'
|
|
711
880
|
*/
|
|
712
|
-
display?: "auto" | "none"
|
|
881
|
+
display?: MaybeResponsive<"auto" | "none">;
|
|
713
882
|
}
|
|
714
883
|
export interface AccessibilityRoleProps {
|
|
715
884
|
/**
|
|
@@ -884,7 +1053,7 @@ export interface PaddingProps {
|
|
|
884
1053
|
*
|
|
885
1054
|
* @default 'none'
|
|
886
1055
|
*/
|
|
887
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1056
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
888
1057
|
/**
|
|
889
1058
|
* Adjust the block-padding.
|
|
890
1059
|
*
|
|
@@ -894,7 +1063,7 @@ export interface PaddingProps {
|
|
|
894
1063
|
*
|
|
895
1064
|
* @default '' - meaning no override
|
|
896
1065
|
*/
|
|
897
|
-
paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1066
|
+
paddingBlock?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
898
1067
|
/**
|
|
899
1068
|
* Adjust the block-start padding.
|
|
900
1069
|
*
|
|
@@ -902,7 +1071,7 @@ export interface PaddingProps {
|
|
|
902
1071
|
*
|
|
903
1072
|
* @default '' - meaning no override
|
|
904
1073
|
*/
|
|
905
|
-
paddingBlockStart?: PaddingKeyword | ""
|
|
1074
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
906
1075
|
/**
|
|
907
1076
|
* Adjust the block-end padding.
|
|
908
1077
|
*
|
|
@@ -910,7 +1079,7 @@ export interface PaddingProps {
|
|
|
910
1079
|
*
|
|
911
1080
|
* @default '' - meaning no override
|
|
912
1081
|
*/
|
|
913
|
-
paddingBlockEnd?: PaddingKeyword | ""
|
|
1082
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
914
1083
|
/**
|
|
915
1084
|
* Adjust the inline padding.
|
|
916
1085
|
*
|
|
@@ -920,7 +1089,7 @@ export interface PaddingProps {
|
|
|
920
1089
|
*
|
|
921
1090
|
* @default '' - meaning no override
|
|
922
1091
|
*/
|
|
923
|
-
paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1092
|
+
paddingInline?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
924
1093
|
/**
|
|
925
1094
|
* Adjust the inline-start padding.
|
|
926
1095
|
*
|
|
@@ -928,7 +1097,7 @@ export interface PaddingProps {
|
|
|
928
1097
|
*
|
|
929
1098
|
* @default '' - meaning no override
|
|
930
1099
|
*/
|
|
931
|
-
paddingInlineStart?: PaddingKeyword | ""
|
|
1100
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
932
1101
|
/**
|
|
933
1102
|
* Adjust the inline-end padding.
|
|
934
1103
|
*
|
|
@@ -936,7 +1105,7 @@ export interface PaddingProps {
|
|
|
936
1105
|
*
|
|
937
1106
|
* @default '' - meaning no override
|
|
938
1107
|
*/
|
|
939
|
-
paddingInlineEnd?: PaddingKeyword | ""
|
|
1108
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
940
1109
|
}
|
|
941
1110
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
942
1111
|
export type SizeUnitsOrAuto = SizeUnits | "auto";
|
|
@@ -949,7 +1118,7 @@ export interface SizingProps {
|
|
|
949
1118
|
*
|
|
950
1119
|
* @default 'auto'
|
|
951
1120
|
*/
|
|
952
|
-
blockSize?: SizeUnitsOrAuto
|
|
1121
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
953
1122
|
/**
|
|
954
1123
|
* Adjust the minimum block size.
|
|
955
1124
|
*
|
|
@@ -957,7 +1126,7 @@ export interface SizingProps {
|
|
|
957
1126
|
*
|
|
958
1127
|
* @default '0'
|
|
959
1128
|
*/
|
|
960
|
-
minBlockSize?: SizeUnits
|
|
1129
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
961
1130
|
/**
|
|
962
1131
|
* Adjust the maximum block size.
|
|
963
1132
|
*
|
|
@@ -965,7 +1134,7 @@ export interface SizingProps {
|
|
|
965
1134
|
*
|
|
966
1135
|
* @default 'none'
|
|
967
1136
|
*/
|
|
968
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1137
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
969
1138
|
/**
|
|
970
1139
|
* Adjust the inline size.
|
|
971
1140
|
*
|
|
@@ -973,7 +1142,7 @@ export interface SizingProps {
|
|
|
973
1142
|
*
|
|
974
1143
|
* @default 'auto'
|
|
975
1144
|
*/
|
|
976
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1145
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
977
1146
|
/**
|
|
978
1147
|
* Adjust the minimum inline size.
|
|
979
1148
|
*
|
|
@@ -981,7 +1150,7 @@ export interface SizingProps {
|
|
|
981
1150
|
*
|
|
982
1151
|
* @default '0'
|
|
983
1152
|
*/
|
|
984
|
-
minInlineSize?: SizeUnits
|
|
1153
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
985
1154
|
/**
|
|
986
1155
|
* Adjust the maximum inline size.
|
|
987
1156
|
*
|
|
@@ -989,7 +1158,7 @@ export interface SizingProps {
|
|
|
989
1158
|
*
|
|
990
1159
|
* @default 'none'
|
|
991
1160
|
*/
|
|
992
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1161
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
993
1162
|
}
|
|
994
1163
|
export type BorderStyleKeyword = "none" | "solid" | "dashed" | "dotted" | "auto";
|
|
995
1164
|
export type BorderSizeKeyword = SizeKeyword | "none";
|
|
@@ -1095,7 +1264,7 @@ export interface OverflowProps {
|
|
|
1095
1264
|
*/
|
|
1096
1265
|
overflow?: "hidden" | "visible";
|
|
1097
1266
|
}
|
|
1098
|
-
export interface BaseBoxProps extends
|
|
1267
|
+
export interface BaseBoxProps extends AccessibilityVisibilityProps, BackgroundProps, DisplayProps, SizingProps, PaddingProps, BorderProps, OverflowProps {
|
|
1099
1268
|
/**
|
|
1100
1269
|
* The content of the Box.
|
|
1101
1270
|
*/
|
|
@@ -1110,49 +1279,11 @@ export interface BaseBoxProps extends GlobalProps, AccessibilityVisibilityProps,
|
|
|
1110
1279
|
}
|
|
1111
1280
|
export interface BaseBoxPropsWithRole extends BaseBoxProps, AccessibilityRoleProps {
|
|
1112
1281
|
}
|
|
1113
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {
|
|
1114
|
-
}
|
|
1115
|
-
export interface FocusEventProps {
|
|
1116
|
-
/**
|
|
1117
|
-
* Callback when the element loses focus.
|
|
1118
|
-
*/
|
|
1119
|
-
onBlur?: () => void;
|
|
1120
|
-
/**
|
|
1121
|
-
* Callback when the element receives focus.
|
|
1122
|
-
*/
|
|
1123
|
-
onFocus?: () => void;
|
|
1124
|
-
}
|
|
1125
|
-
export interface ToggleEventProps {
|
|
1126
|
-
/**
|
|
1127
|
-
* Callback fired when the element state changes **after** any animations have finished.
|
|
1128
|
-
*
|
|
1129
|
-
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1130
|
-
* `newState` property will be set to `open`.
|
|
1131
|
-
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
1132
|
-
* `newState` will be `closed`.
|
|
1133
|
-
*
|
|
1134
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1135
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1136
|
-
*/
|
|
1137
|
-
onAfterToggle?: (oldState: ToggleState, newState: ToggleState) => void;
|
|
1138
|
-
/**
|
|
1139
|
-
* Callback straight after the element state changes.
|
|
1140
|
-
*
|
|
1141
|
-
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1142
|
-
* `newState` property will be set to `open`.
|
|
1143
|
-
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
1144
|
-
* `newState` will be `closed`.
|
|
1145
|
-
*
|
|
1146
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
1147
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1148
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1149
|
-
*/
|
|
1150
|
-
onToggle?: (oldState: ToggleState, newState: ToggleState) => void;
|
|
1282
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {
|
|
1151
1283
|
}
|
|
1152
|
-
export type ToggleState = "open" | "closed";
|
|
1153
1284
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1154
1285
|
/**
|
|
1155
|
-
* The behavior of the
|
|
1286
|
+
* The behavior of the Button.
|
|
1156
1287
|
*
|
|
1157
1288
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1158
1289
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1164,12 +1295,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1164
1295
|
*/
|
|
1165
1296
|
type?: "submit" | "button" | "reset";
|
|
1166
1297
|
/**
|
|
1167
|
-
* Callback when the
|
|
1298
|
+
* Callback when the Button is activated.
|
|
1168
1299
|
* This will be called before the action indicated by `type`.
|
|
1300
|
+
*
|
|
1301
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1169
1302
|
*/
|
|
1170
|
-
onClick?: () => void;
|
|
1303
|
+
onClick?: (event: Event) => void;
|
|
1171
1304
|
/**
|
|
1172
|
-
* Disables the
|
|
1305
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1173
1306
|
*
|
|
1174
1307
|
* @default false
|
|
1175
1308
|
*/
|
|
@@ -1177,7 +1310,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1177
1310
|
/**
|
|
1178
1311
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1179
1312
|
*
|
|
1180
|
-
* This also disables the
|
|
1313
|
+
* This also disables the Button.
|
|
1181
1314
|
*
|
|
1182
1315
|
* @default false
|
|
1183
1316
|
*/
|
|
@@ -1207,15 +1340,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1207
1340
|
target?: "auto" | "_blank" | "_self" | "_parent" | "_top" | AnyString;
|
|
1208
1341
|
/**
|
|
1209
1342
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1210
|
-
* Download only works for same-origin URLs
|
|
1343
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1211
1344
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1212
1345
|
*/
|
|
1213
1346
|
download?: string;
|
|
1214
1347
|
/**
|
|
1215
1348
|
* Callback when the link is activated.
|
|
1216
1349
|
* This will be called before navigating to the location specified by `href`.
|
|
1350
|
+
*
|
|
1351
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1217
1352
|
*/
|
|
1218
|
-
onClick?: () => void;
|
|
1353
|
+
onClick?: (event: Event) => void;
|
|
1219
1354
|
}
|
|
1220
1355
|
export interface InteractionProps {
|
|
1221
1356
|
/**
|
|
@@ -1242,6 +1377,10 @@ export interface InteractionProps {
|
|
|
1242
1377
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1243
1378
|
*/
|
|
1244
1379
|
command?: "--auto" | "--show" | "--hide" | "--toggle" | "--copy";
|
|
1380
|
+
/**
|
|
1381
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1382
|
+
*/
|
|
1383
|
+
interestFor?: string;
|
|
1245
1384
|
}
|
|
1246
1385
|
export interface BaseClickableProps extends ButtonBehaviorProps, LinkBehaviorProps {
|
|
1247
1386
|
}
|
|
@@ -1249,7 +1388,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1249
1388
|
/**
|
|
1250
1389
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1251
1390
|
*
|
|
1252
|
-
* Use this when using only an icon or the
|
|
1391
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1253
1392
|
* for users using assistive technologies.
|
|
1254
1393
|
*/
|
|
1255
1394
|
accessibilityLabel?: string;
|
|
@@ -1258,13 +1397,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1258
1397
|
*/
|
|
1259
1398
|
children?: ComponentChildren;
|
|
1260
1399
|
/**
|
|
1261
|
-
* The type of icon to be displayed in the
|
|
1400
|
+
* The type of icon to be displayed in the Button.
|
|
1262
1401
|
*
|
|
1263
1402
|
* @default ''
|
|
1264
1403
|
*/
|
|
1265
1404
|
icon?: IconType | AnyString;
|
|
1266
1405
|
/**
|
|
1267
|
-
* The displayed inline width of the
|
|
1406
|
+
* The displayed inline width of the Button.
|
|
1268
1407
|
*
|
|
1269
1408
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1270
1409
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1280,7 +1419,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1280
1419
|
*/
|
|
1281
1420
|
variant?: "auto" | "primary" | "secondary" | "tertiary";
|
|
1282
1421
|
/**
|
|
1283
|
-
* Sets the tone of the Button
|
|
1422
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1284
1423
|
*
|
|
1285
1424
|
* @default 'auto'
|
|
1286
1425
|
*/
|
|
@@ -1307,12 +1446,16 @@ export interface BaseInputProps {
|
|
|
1307
1446
|
export interface InputProps extends BaseInputProps {
|
|
1308
1447
|
/**
|
|
1309
1448
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1449
|
+
*
|
|
1450
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1310
1451
|
*/
|
|
1311
|
-
onChange?: (
|
|
1452
|
+
onChange?: (event: Event) => void;
|
|
1312
1453
|
/**
|
|
1313
1454
|
* Callback when the user makes any changes in the field.
|
|
1455
|
+
*
|
|
1456
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1314
1457
|
*/
|
|
1315
|
-
onInput?: (
|
|
1458
|
+
onInput?: (event: Event) => void;
|
|
1316
1459
|
/**
|
|
1317
1460
|
* The current value for the field. If omitted, the field will be empty.
|
|
1318
1461
|
*/
|
|
@@ -1324,22 +1467,54 @@ export interface InputProps extends BaseInputProps {
|
|
|
1324
1467
|
*/
|
|
1325
1468
|
defaultValue?: string;
|
|
1326
1469
|
}
|
|
1327
|
-
export interface
|
|
1470
|
+
export interface MultipleInputProps extends BaseInputProps {
|
|
1328
1471
|
/**
|
|
1329
|
-
* Callback when the user has
|
|
1472
|
+
* Callback when the user has selected option(s).
|
|
1473
|
+
*
|
|
1474
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1330
1475
|
*/
|
|
1331
|
-
onChange?: (
|
|
1476
|
+
onChange?: (event: Event) => void;
|
|
1332
1477
|
/**
|
|
1333
|
-
* Callback when the user
|
|
1478
|
+
* Callback when the user has selected option(s).
|
|
1479
|
+
*
|
|
1480
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1481
|
+
*/
|
|
1482
|
+
onInput?: (event: Event) => void;
|
|
1483
|
+
/**
|
|
1484
|
+
* An array of the `value`s of the selected options.
|
|
1485
|
+
*
|
|
1486
|
+
* This is a convenience prop for setting the `selected` prop on child options.
|
|
1487
|
+
*/
|
|
1488
|
+
values?: string[];
|
|
1489
|
+
}
|
|
1490
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1491
|
+
/**
|
|
1492
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1493
|
+
*/
|
|
1494
|
+
onChange?: (event: Event) => void;
|
|
1495
|
+
/**
|
|
1496
|
+
* Callback when the user makes any changes in the file selection.
|
|
1497
|
+
*/
|
|
1498
|
+
onInput?: (event: Event) => void;
|
|
1499
|
+
/**
|
|
1500
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1501
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1502
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1503
|
+
*
|
|
1504
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1505
|
+
*
|
|
1506
|
+
* @default ''
|
|
1334
1507
|
*/
|
|
1335
|
-
|
|
1508
|
+
value?: string;
|
|
1336
1509
|
/**
|
|
1337
|
-
*
|
|
1510
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1511
|
+
*
|
|
1512
|
+
* This property is read-only and cannot be directly modified.
|
|
1513
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1338
1514
|
*
|
|
1339
|
-
*
|
|
1340
|
-
* We haven't agreed how to represent that yet.
|
|
1515
|
+
* @default []
|
|
1341
1516
|
*/
|
|
1342
|
-
|
|
1517
|
+
files?: readonly File[];
|
|
1343
1518
|
}
|
|
1344
1519
|
export interface FieldErrorProps {
|
|
1345
1520
|
/**
|
|
@@ -1541,12 +1716,16 @@ export interface BaseCheckableProps extends BaseSelectableProps, InteractionProp
|
|
|
1541
1716
|
name?: string;
|
|
1542
1717
|
/**
|
|
1543
1718
|
* A callback that is run whenever the control is changed.
|
|
1719
|
+
*
|
|
1720
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1544
1721
|
*/
|
|
1545
|
-
onChange?: (
|
|
1722
|
+
onChange?: (event: Event) => void;
|
|
1546
1723
|
/**
|
|
1547
1724
|
* A callback that is run whenever the control is changed.
|
|
1725
|
+
*
|
|
1726
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1548
1727
|
*/
|
|
1549
|
-
onInput?: (
|
|
1728
|
+
onInput?: (event: Event) => void;
|
|
1550
1729
|
}
|
|
1551
1730
|
interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
|
|
1552
1731
|
/**
|
|
@@ -1582,7 +1761,107 @@ interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorPro
|
|
|
1582
1761
|
*/
|
|
1583
1762
|
required?: boolean;
|
|
1584
1763
|
}
|
|
1585
|
-
interface
|
|
1764
|
+
export interface ChipProps$1 {
|
|
1765
|
+
/**
|
|
1766
|
+
* The content of the chip.
|
|
1767
|
+
*/
|
|
1768
|
+
children?: ComponentChildren;
|
|
1769
|
+
/**
|
|
1770
|
+
* The graphic to display inside of the chip.
|
|
1771
|
+
*
|
|
1772
|
+
* @implementation Only `s-icon` is supported.
|
|
1773
|
+
*/
|
|
1774
|
+
graphic?: ComponentChildren;
|
|
1775
|
+
/**
|
|
1776
|
+
* A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
|
|
1777
|
+
*/
|
|
1778
|
+
accessibilityLabel?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* Modify the color to be more or less intense.
|
|
1781
|
+
*
|
|
1782
|
+
* @default 'base'
|
|
1783
|
+
*/
|
|
1784
|
+
color?: ColorKeyword;
|
|
1785
|
+
}
|
|
1786
|
+
interface ChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1787
|
+
}
|
|
1788
|
+
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1789
|
+
/**
|
|
1790
|
+
* Content to use as the choice label.
|
|
1791
|
+
*
|
|
1792
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1793
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1794
|
+
* element structure is ignored.
|
|
1795
|
+
*
|
|
1796
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1797
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1798
|
+
* is no coercion to a string.
|
|
1799
|
+
*/
|
|
1800
|
+
children?: ComponentChildren | StringChildren;
|
|
1801
|
+
/**
|
|
1802
|
+
* Additional text to provide context or guidance for the input.
|
|
1803
|
+
*
|
|
1804
|
+
* This text is displayed along with the input and its label
|
|
1805
|
+
* to offer more information or instructions to the user.
|
|
1806
|
+
*
|
|
1807
|
+
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1808
|
+
*/
|
|
1809
|
+
details?: ComponentChildren;
|
|
1810
|
+
/**
|
|
1811
|
+
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1812
|
+
*
|
|
1813
|
+
* @default false
|
|
1814
|
+
*/
|
|
1815
|
+
error?: boolean;
|
|
1816
|
+
/**
|
|
1817
|
+
* Secondary content for a choice.
|
|
1818
|
+
*/
|
|
1819
|
+
secondaryContent?: ComponentChildren;
|
|
1820
|
+
/**
|
|
1821
|
+
* Content to display when the option is selected.
|
|
1822
|
+
*
|
|
1823
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1824
|
+
*/
|
|
1825
|
+
selectedContent?: ComponentChildren;
|
|
1826
|
+
}
|
|
1827
|
+
interface ChoiceListProps$1 extends GlobalProps, Pick<BasicFieldProps, "label" | "labelAccessibilityVisibility" | "error">, MultipleInputProps, FieldDetailsProps {
|
|
1828
|
+
/**
|
|
1829
|
+
* Whether multiple choices can be selected.
|
|
1830
|
+
*
|
|
1831
|
+
* @default false
|
|
1832
|
+
*/
|
|
1833
|
+
multiple?: boolean;
|
|
1834
|
+
/**
|
|
1835
|
+
* The choices a user can select from.
|
|
1836
|
+
*
|
|
1837
|
+
* Accepts `Choice` components.
|
|
1838
|
+
*/
|
|
1839
|
+
children?: ComponentChildren;
|
|
1840
|
+
/**
|
|
1841
|
+
* Disables the field, disallowing any interaction.
|
|
1842
|
+
*
|
|
1843
|
+
* `disabled` on any child choices is ignored when this is true.
|
|
1844
|
+
*
|
|
1845
|
+
* @default false
|
|
1846
|
+
*/
|
|
1847
|
+
disabled?: MultipleInputProps["disabled"];
|
|
1848
|
+
/**
|
|
1849
|
+
* The variant of the choice grid.
|
|
1850
|
+
*
|
|
1851
|
+
* - `auto`: The variant is determined by the context.
|
|
1852
|
+
* - `list`: The choices are displayed in a list.
|
|
1853
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1854
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1855
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1856
|
+
*
|
|
1857
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1858
|
+
* discretion of each surface.
|
|
1859
|
+
*
|
|
1860
|
+
* @default 'auto'
|
|
1861
|
+
*/
|
|
1862
|
+
variant?: "auto" | "list" | "inline" | "block" | "grid";
|
|
1863
|
+
}
|
|
1864
|
+
interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps {
|
|
1586
1865
|
/**
|
|
1587
1866
|
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1588
1867
|
*
|
|
@@ -1610,6 +1889,56 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
|
1610
1889
|
*/
|
|
1611
1890
|
lang?: string;
|
|
1612
1891
|
}
|
|
1892
|
+
interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1893
|
+
/**
|
|
1894
|
+
* Callback when the chip is clicked.
|
|
1895
|
+
*/
|
|
1896
|
+
onClick?: (event: Event) => void;
|
|
1897
|
+
/**
|
|
1898
|
+
* The URL to link to.
|
|
1899
|
+
*
|
|
1900
|
+
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
1901
|
+
*/
|
|
1902
|
+
href?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* Whether the chip is removable.
|
|
1905
|
+
*
|
|
1906
|
+
* @default false
|
|
1907
|
+
*/
|
|
1908
|
+
removable?: boolean;
|
|
1909
|
+
/**
|
|
1910
|
+
* Callback when the chip is removed.
|
|
1911
|
+
*/
|
|
1912
|
+
onRemove?: (event: Event) => void;
|
|
1913
|
+
/**
|
|
1914
|
+
* Determines whether the chip is hidden.
|
|
1915
|
+
*
|
|
1916
|
+
* If this property is being set on each framework render (as in 'controlled' usage),
|
|
1917
|
+
* and the chip is `removable`,
|
|
1918
|
+
* ensure you update app state for this property when the `remove` event fires.
|
|
1919
|
+
*
|
|
1920
|
+
* If the chip is not `removable`, it can still be hidden by setting this property.
|
|
1921
|
+
*
|
|
1922
|
+
* @default false
|
|
1923
|
+
*/
|
|
1924
|
+
hidden?: boolean;
|
|
1925
|
+
/**
|
|
1926
|
+
* Event handler when the chip has fully hidden.
|
|
1927
|
+
*
|
|
1928
|
+
* The `hidden` property will be `true` when this event fires.
|
|
1929
|
+
*
|
|
1930
|
+
* @implementation If implementations animate the hiding of the chip,
|
|
1931
|
+
* this event must fire after the chip has fully hidden.
|
|
1932
|
+
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
1933
|
+
*/
|
|
1934
|
+
onAfterHide?: (event: Event) => void;
|
|
1935
|
+
/**
|
|
1936
|
+
* Disables the chip, disallowing any interaction.
|
|
1937
|
+
*
|
|
1938
|
+
* @default false
|
|
1939
|
+
*/
|
|
1940
|
+
disabled?: boolean;
|
|
1941
|
+
}
|
|
1613
1942
|
interface ClipboardItemProps$1 extends GlobalProps {
|
|
1614
1943
|
/**
|
|
1615
1944
|
* Plain text to be written to the clipboard.
|
|
@@ -1620,11 +1949,11 @@ interface ClipboardItemProps$1 extends GlobalProps {
|
|
|
1620
1949
|
/**
|
|
1621
1950
|
* Callback run when the copy to clipboard succeeds.
|
|
1622
1951
|
*/
|
|
1623
|
-
onCopy?: () => void;
|
|
1952
|
+
onCopy?: (event: ClipboardEvent) => void;
|
|
1624
1953
|
/**
|
|
1625
1954
|
* Callback run when the copy to clipboard fails.
|
|
1626
1955
|
*/
|
|
1627
|
-
onCopyError?: () => void;
|
|
1956
|
+
onCopyError?: (event: Event) => void;
|
|
1628
1957
|
}
|
|
1629
1958
|
export interface AutocompleteProps<AutocompleteField extends AnyAutocompleteField> {
|
|
1630
1959
|
/**
|
|
@@ -1667,93 +1996,310 @@ export type AutocompleteGroup = "shipping" | "billing";
|
|
|
1667
1996
|
export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
|
|
1668
1997
|
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`;
|
|
1669
1998
|
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">;
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
* The content of the details.
|
|
1673
|
-
*
|
|
1674
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
1675
|
-
*/
|
|
1676
|
-
children?: ComponentChildren;
|
|
1999
|
+
export type ConsentPolicy = "sms-marketing";
|
|
2000
|
+
interface ConsentCheckboxProps$1 extends GlobalProps, CheckboxProps$1 {
|
|
1677
2001
|
/**
|
|
1678
|
-
*
|
|
1679
|
-
*
|
|
1680
|
-
* This can be used to create multiple named disclosure boxes that where only one can be open at a time.
|
|
2002
|
+
* The policy for which user consent is being collected for.
|
|
1681
2003
|
*
|
|
1682
|
-
*
|
|
2004
|
+
* `sms-marketing`: Represents the policy for SMS marketing consent.
|
|
1683
2005
|
*/
|
|
1684
|
-
|
|
2006
|
+
policy?: ConsentPolicy;
|
|
2007
|
+
}
|
|
2008
|
+
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`>;
|
|
2009
|
+
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
1685
2010
|
/**
|
|
1686
|
-
*
|
|
2011
|
+
* The type of number to collect.
|
|
1687
2012
|
*
|
|
1688
|
-
*
|
|
2013
|
+
* 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.
|
|
1689
2014
|
*
|
|
1690
|
-
* @default
|
|
2015
|
+
* @default '' meaning no specific kind of phone number
|
|
1691
2016
|
*/
|
|
1692
|
-
|
|
2017
|
+
type?: "mobile" | "";
|
|
2018
|
+
}
|
|
2019
|
+
interface ConsentPhoneFieldProps$1 extends GlobalProps, PhoneFieldProps$1 {
|
|
1693
2020
|
/**
|
|
1694
|
-
*
|
|
2021
|
+
* The policy for which user consent is being collected for.
|
|
1695
2022
|
*
|
|
1696
|
-
*
|
|
2023
|
+
* `sms-marketing`: Represents the policy for SMS marketing consent.
|
|
1697
2024
|
*/
|
|
1698
|
-
|
|
2025
|
+
policy?: ConsentPolicy;
|
|
1699
2026
|
}
|
|
1700
|
-
interface
|
|
2027
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
1701
2028
|
/**
|
|
1702
|
-
*
|
|
1703
|
-
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
1704
|
-
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
1705
|
-
* - A valid MIME type string with no extensions
|
|
2029
|
+
* Default month to display in `YYYY-MM` format.
|
|
1706
2030
|
*
|
|
1707
|
-
*
|
|
2031
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1708
2032
|
*
|
|
1709
|
-
*
|
|
1710
|
-
*/
|
|
1711
|
-
accept?: string;
|
|
1712
|
-
/**
|
|
1713
|
-
* A label that describes the purpose or contents of the item. When set,
|
|
1714
|
-
* it will be announced to buyers using assistive technologies and will
|
|
1715
|
-
* provide them with more context.
|
|
2033
|
+
* Defaults to the current month in the user's locale.
|
|
1716
2034
|
*/
|
|
1717
|
-
|
|
2035
|
+
defaultView?: string;
|
|
1718
2036
|
/**
|
|
1719
|
-
*
|
|
2037
|
+
* Displayed month in `YYYY-MM` format.
|
|
1720
2038
|
*
|
|
1721
|
-
*
|
|
2039
|
+
* `onViewChange` is called when this value changes.
|
|
2040
|
+
*
|
|
2041
|
+
* Defaults to `defaultView`.
|
|
1722
2042
|
*/
|
|
1723
|
-
|
|
2043
|
+
view?: string;
|
|
1724
2044
|
/**
|
|
1725
|
-
*
|
|
2045
|
+
* Called whenever the month to display changes.
|
|
2046
|
+
*
|
|
2047
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
1726
2048
|
*/
|
|
1727
|
-
|
|
1728
|
-
}
|
|
1729
|
-
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
1730
|
-
}
|
|
1731
|
-
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
1732
|
-
export interface ExtendableEvent extends Event {
|
|
2049
|
+
onViewChange?: (view: string) => void;
|
|
1733
2050
|
/**
|
|
1734
|
-
*
|
|
2051
|
+
* The type of selection the date picker allows.
|
|
1735
2052
|
*
|
|
1736
|
-
*
|
|
2053
|
+
* - `single` allows selecting a single date.
|
|
2054
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
2055
|
+
* - `range` allows selecting a single range of dates.
|
|
1737
2056
|
*
|
|
1738
|
-
*
|
|
1739
|
-
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
2057
|
+
* @default "single"
|
|
1740
2058
|
*/
|
|
1741
|
-
|
|
1742
|
-
}
|
|
1743
|
-
interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
2059
|
+
type?: "single" | "multiple" | "range";
|
|
1744
2060
|
/**
|
|
1745
|
-
*
|
|
2061
|
+
* Dates that can be selected.
|
|
2062
|
+
*
|
|
2063
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2064
|
+
*
|
|
2065
|
+
* The default `''` allows all dates.
|
|
2066
|
+
*
|
|
2067
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
2068
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
2069
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
2070
|
+
* - Ranges are expressed as `start--end`.
|
|
2071
|
+
* - Ranges are inclusive.
|
|
2072
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2073
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2074
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2075
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2076
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2077
|
+
* - Whitespace is allowed either side of `--`.
|
|
1746
2078
|
*
|
|
1747
|
-
* @default
|
|
2079
|
+
* @default ""
|
|
2080
|
+
*
|
|
2081
|
+
* @example
|
|
2082
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
2083
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
2084
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
1748
2085
|
*/
|
|
1749
|
-
|
|
2086
|
+
allow?: string;
|
|
1750
2087
|
/**
|
|
1751
|
-
*
|
|
2088
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
1752
2089
|
*
|
|
1753
|
-
*
|
|
2090
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2091
|
+
*
|
|
2092
|
+
* The default `''` has no effect on `allow`.
|
|
2093
|
+
*
|
|
2094
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
2095
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
2096
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
2097
|
+
* - Ranges are expressed as `start--end`.
|
|
2098
|
+
* - Ranges are inclusive.
|
|
2099
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2100
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2101
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2102
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2103
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2104
|
+
* - Whitespace is allowed either side of `--`.
|
|
2105
|
+
*
|
|
2106
|
+
* @default ""
|
|
2107
|
+
*
|
|
2108
|
+
* @example
|
|
2109
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2110
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2111
|
+
*/
|
|
2112
|
+
disallow?: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2115
|
+
*
|
|
2116
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2117
|
+
*
|
|
2118
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2119
|
+
*
|
|
2120
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2121
|
+
*
|
|
2122
|
+
* @default ""
|
|
2123
|
+
*
|
|
2124
|
+
* @example
|
|
2125
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2126
|
+
*/
|
|
2127
|
+
allowDays?: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2130
|
+
*
|
|
2131
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2132
|
+
*
|
|
2133
|
+
* The default `''` has no effect on `allowDays`.
|
|
2134
|
+
*
|
|
2135
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2136
|
+
*
|
|
2137
|
+
* @default ""
|
|
2138
|
+
*
|
|
2139
|
+
* @example
|
|
2140
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2141
|
+
*/
|
|
2142
|
+
disallowDays?: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* Default selected value.
|
|
2145
|
+
*
|
|
2146
|
+
* The default means no date is selected.
|
|
2147
|
+
*
|
|
2148
|
+
* If the provided value is invalid, no date is selected.
|
|
2149
|
+
*
|
|
2150
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2151
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2152
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2153
|
+
*
|
|
2154
|
+
* @default ""
|
|
2155
|
+
*/
|
|
2156
|
+
defaultValue?: string;
|
|
2157
|
+
/**
|
|
2158
|
+
* Current selected value.
|
|
2159
|
+
*
|
|
2160
|
+
* The default means no date is selected.
|
|
2161
|
+
*
|
|
2162
|
+
* If the provided value is invalid, no date is selected.
|
|
2163
|
+
*
|
|
2164
|
+
* Otherwise:
|
|
2165
|
+
*
|
|
2166
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2167
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2168
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2169
|
+
*
|
|
2170
|
+
* @default ""
|
|
2171
|
+
*/
|
|
2172
|
+
value?: string;
|
|
2173
|
+
/**
|
|
2174
|
+
* Callback when any date is selected. Will fire before `onChange`.
|
|
2175
|
+
*/
|
|
2176
|
+
onInput?: (event: Event) => void;
|
|
2177
|
+
/**
|
|
2178
|
+
* Callback when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
2179
|
+
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2180
|
+
*/
|
|
2181
|
+
onChange?: (event: Event) => void;
|
|
2182
|
+
}
|
|
2183
|
+
interface DateFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<DatePickerProps$1, "view" | "defaultView" | "value" | "defaultValue" | "allow" | "disallow" | "allowDays" | "disallowDays" | "onViewChange">, AutocompleteProps<DateAutocompleteField> {
|
|
2184
|
+
/**
|
|
2185
|
+
* Callback when the field has an invalid date.
|
|
2186
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2187
|
+
*
|
|
2188
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2189
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2190
|
+
* - 2021-02-00: The day can’t be 00
|
|
2191
|
+
*
|
|
2192
|
+
* Disallowed dates are considered invalid.
|
|
2193
|
+
*
|
|
2194
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2195
|
+
* and it’s called right after the `onChange` callback.
|
|
2196
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2197
|
+
* 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.
|
|
2198
|
+
*/
|
|
2199
|
+
onInvalid?: (event: Event) => void;
|
|
2200
|
+
}
|
|
2201
|
+
export type DateAutocompleteField = ExtractStrict<AnyAutocompleteField, "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-expiry" | "cc-expiry-month" | "cc-expiry-year">;
|
|
2202
|
+
interface DetailsProps$1 extends GlobalProps, ToggleEventProps {
|
|
2203
|
+
/**
|
|
2204
|
+
* The content of the details.
|
|
2205
|
+
*
|
|
2206
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
2207
|
+
*/
|
|
2208
|
+
children?: ComponentChildren;
|
|
2209
|
+
/**
|
|
2210
|
+
* Name of the element.
|
|
2211
|
+
*
|
|
2212
|
+
* This can be used to create multiple named disclosure boxes that where only one can be open at a time.
|
|
2213
|
+
*
|
|
2214
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
|
|
2215
|
+
*/
|
|
2216
|
+
name?: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* Whether the element is open.
|
|
2219
|
+
*
|
|
2220
|
+
* This does not reflect to any attribute.
|
|
2221
|
+
*
|
|
2222
|
+
* @default false
|
|
2223
|
+
*/
|
|
2224
|
+
open?: boolean;
|
|
2225
|
+
/**
|
|
2226
|
+
* Indicates whether the element should be open by default.
|
|
2227
|
+
*
|
|
2228
|
+
* This reflects to the `open` attribute.
|
|
2229
|
+
*
|
|
2230
|
+
* @default false
|
|
2231
|
+
*/
|
|
2232
|
+
defaultOpen?: boolean;
|
|
2233
|
+
/**
|
|
2234
|
+
* Sets the transition between the two states.
|
|
2235
|
+
*
|
|
2236
|
+
* @default 'auto'
|
|
2237
|
+
*/
|
|
2238
|
+
toggleTransition?: "none" | "auto";
|
|
2239
|
+
}
|
|
2240
|
+
interface DividerProps$1 extends GlobalProps {
|
|
2241
|
+
/**
|
|
2242
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2243
|
+
*
|
|
2244
|
+
* @default 'inline'
|
|
2245
|
+
*/
|
|
2246
|
+
direction?: "inline" | "block";
|
|
2247
|
+
/**
|
|
2248
|
+
* Modify the color to be more or less intense.
|
|
2249
|
+
*
|
|
2250
|
+
* @default 'base'
|
|
2251
|
+
*/
|
|
2252
|
+
color?: ColorKeyword;
|
|
2253
|
+
}
|
|
2254
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2255
|
+
/**
|
|
2256
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
2257
|
+
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
2258
|
+
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
2259
|
+
* - A valid MIME type string with no extensions
|
|
2260
|
+
*
|
|
2261
|
+
* If omitted, all file types are accepted.
|
|
2262
|
+
*
|
|
2263
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2264
|
+
* @default ''
|
|
2265
|
+
*/
|
|
2266
|
+
accept?: string;
|
|
2267
|
+
/**
|
|
2268
|
+
* A label that describes the purpose or contents of the item. When set,
|
|
2269
|
+
* it will be announced to buyers using assistive technologies and will
|
|
2270
|
+
* provide them with more context.
|
|
2271
|
+
*/
|
|
2272
|
+
accessibilityLabel?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* Whether multiple files can be selected or dropped at once.
|
|
1754
2275
|
*
|
|
1755
2276
|
* @default false
|
|
1756
2277
|
*/
|
|
2278
|
+
multiple?: boolean;
|
|
2279
|
+
/**
|
|
2280
|
+
* Callback fired when rejected files are dropped.
|
|
2281
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
2282
|
+
*/
|
|
2283
|
+
onDropRejected?: (event: Event) => void;
|
|
2284
|
+
}
|
|
2285
|
+
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
2286
|
+
}
|
|
2287
|
+
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
2288
|
+
interface FormProps$1 extends GlobalProps {
|
|
2289
|
+
/**
|
|
2290
|
+
* The content of the form.
|
|
2291
|
+
*/
|
|
2292
|
+
children?: ComponentChildren;
|
|
2293
|
+
/**
|
|
2294
|
+
* Whether the form is able to be submitted.
|
|
2295
|
+
*
|
|
2296
|
+
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
2297
|
+
*
|
|
2298
|
+
* @default false
|
|
2299
|
+
*
|
|
2300
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2301
|
+
* @private
|
|
2302
|
+
*/
|
|
1757
2303
|
disabled?: boolean;
|
|
1758
2304
|
/**
|
|
1759
2305
|
* A callback that is run when the form is submitted.
|
|
@@ -1765,11 +2311,7 @@ interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
|
1765
2311
|
/**
|
|
1766
2312
|
* A callback that is run when the form is reset.
|
|
1767
2313
|
*/
|
|
1768
|
-
onReset?: () => void;
|
|
1769
|
-
/**
|
|
1770
|
-
* The content of the form.
|
|
1771
|
-
*/
|
|
1772
|
-
children?: ComponentChildren;
|
|
2314
|
+
onReset?: (event: Event) => void;
|
|
1773
2315
|
}
|
|
1774
2316
|
export type SpacingKeyword = SizeKeyword | "none";
|
|
1775
2317
|
export interface GapProps {
|
|
@@ -1781,7 +2323,7 @@ export interface GapProps {
|
|
|
1781
2323
|
*
|
|
1782
2324
|
* @default 'none'
|
|
1783
2325
|
*/
|
|
1784
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2326
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
1785
2327
|
/**
|
|
1786
2328
|
* Adjust spacing between elements in the block axis.
|
|
1787
2329
|
*
|
|
@@ -1789,7 +2331,7 @@ export interface GapProps {
|
|
|
1789
2331
|
*
|
|
1790
2332
|
* @default '' - meaning no override
|
|
1791
2333
|
*/
|
|
1792
|
-
rowGap?: SpacingKeyword | ""
|
|
2334
|
+
rowGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1793
2335
|
/**
|
|
1794
2336
|
* Adjust spacing between elements in the inline axis.
|
|
1795
2337
|
*
|
|
@@ -1797,12 +2339,18 @@ export interface GapProps {
|
|
|
1797
2339
|
*
|
|
1798
2340
|
* @default '' - meaning no override
|
|
1799
2341
|
*/
|
|
1800
|
-
columnGap?: SpacingKeyword | ""
|
|
2342
|
+
columnGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1801
2343
|
}
|
|
1802
2344
|
export type BaselinePosition = "baseline" | "first baseline" | "last baseline";
|
|
1803
2345
|
export type ContentDistribution = "space-between" | "space-around" | "space-evenly" | "stretch";
|
|
1804
2346
|
export type ContentPosition = "center" | "start" | "end";
|
|
1805
2347
|
export type OverflowPosition = `unsafe ${ContentPosition}` | `safe ${ContentPosition}`;
|
|
2348
|
+
/**
|
|
2349
|
+
* 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.
|
|
2350
|
+
*
|
|
2351
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2352
|
+
*/
|
|
2353
|
+
export type JustifyItemsKeyword = "normal" | "stretch" | BaselinePosition | OverflowPosition | ContentPosition;
|
|
1806
2354
|
/**
|
|
1807
2355
|
* Align items sets the align-self value on all direct children as a group.
|
|
1808
2356
|
*
|
|
@@ -1821,6 +2369,90 @@ export type JustifyContentKeyword = "normal" | ContentDistribution | OverflowPos
|
|
|
1821
2369
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
1822
2370
|
*/
|
|
1823
2371
|
export type AlignContentKeyword = "normal" | BaselinePosition | ContentDistribution | OverflowPosition | ContentPosition;
|
|
2372
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2373
|
+
/**
|
|
2374
|
+
Define columns and specify their size.
|
|
2375
|
+
|
|
2376
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2377
|
+
@default 'none'
|
|
2378
|
+
*/
|
|
2379
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2380
|
+
/**
|
|
2381
|
+
Define rows and specify their size.
|
|
2382
|
+
|
|
2383
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2384
|
+
@default 'none'
|
|
2385
|
+
*/
|
|
2386
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2387
|
+
/**
|
|
2388
|
+
Aligns the grid items along the inline (row) axis.
|
|
2389
|
+
|
|
2390
|
+
This overrides the inline value of `placeItems`.
|
|
2391
|
+
|
|
2392
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2393
|
+
@default '' - meaning no override
|
|
2394
|
+
*/
|
|
2395
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | "">;
|
|
2396
|
+
/**
|
|
2397
|
+
Aligns the grid items along the block (column) axis.
|
|
2398
|
+
|
|
2399
|
+
This overrides the block value of `placeItems`.
|
|
2400
|
+
|
|
2401
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2402
|
+
@default '' - meaning no override
|
|
2403
|
+
*/
|
|
2404
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | "">;
|
|
2405
|
+
/**
|
|
2406
|
+
A shorthand property for `justify-items` and `align-items`.
|
|
2407
|
+
|
|
2408
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2409
|
+
@default 'normal normal'
|
|
2410
|
+
*/
|
|
2411
|
+
placeItems?: MaybeResponsive<`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword>;
|
|
2412
|
+
/**
|
|
2413
|
+
Aligns the grid along the inline (row) axis.
|
|
2414
|
+
|
|
2415
|
+
This overrides the inline value of `placeContent`.
|
|
2416
|
+
|
|
2417
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2418
|
+
@default '' - meaning no override
|
|
2419
|
+
*/
|
|
2420
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | "">;
|
|
2421
|
+
/**
|
|
2422
|
+
Aligns the grid along the block (column) axis.
|
|
2423
|
+
|
|
2424
|
+
This overrides the block value of `placeContent`.
|
|
2425
|
+
|
|
2426
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2427
|
+
@default '' - meaning no override
|
|
2428
|
+
*/
|
|
2429
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | "">;
|
|
2430
|
+
/**
|
|
2431
|
+
A shorthand property for `justify-content` and `align-content`.
|
|
2432
|
+
|
|
2433
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2434
|
+
@default 'normal normal'
|
|
2435
|
+
*/
|
|
2436
|
+
placeContent?: MaybeResponsive<`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword>;
|
|
2437
|
+
}
|
|
2438
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2439
|
+
/**
|
|
2440
|
+
* Number of columns the item will span across
|
|
2441
|
+
*
|
|
2442
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
2443
|
+
*
|
|
2444
|
+
* @default 'auto'
|
|
2445
|
+
*/
|
|
2446
|
+
gridColumn?: `span ${number}` | "auto";
|
|
2447
|
+
/**
|
|
2448
|
+
* Number of rows the item will span across
|
|
2449
|
+
*
|
|
2450
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row
|
|
2451
|
+
*
|
|
2452
|
+
* @default 'auto'
|
|
2453
|
+
*/
|
|
2454
|
+
gridRow?: `span ${number}` | "auto";
|
|
2455
|
+
}
|
|
1824
2456
|
export interface BaseTypographyProps {
|
|
1825
2457
|
/**
|
|
1826
2458
|
* Modify the color to be more or less intense.
|
|
@@ -1876,7 +2508,7 @@ export interface BlockTypographyProps {
|
|
|
1876
2508
|
*/
|
|
1877
2509
|
lineClamp?: number;
|
|
1878
2510
|
}
|
|
1879
|
-
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps
|
|
2511
|
+
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
1880
2512
|
/**
|
|
1881
2513
|
* The content of the Heading.
|
|
1882
2514
|
*/
|
|
@@ -1900,7 +2532,7 @@ interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, Bloc
|
|
|
1900
2532
|
*/
|
|
1901
2533
|
accessibilityRole?: "heading" | ExtractStrict<AccessibilityRole, "presentation" | "none">;
|
|
1902
2534
|
}
|
|
1903
|
-
interface IconProps$1 extends GlobalProps {
|
|
2535
|
+
interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor"> {
|
|
1904
2536
|
/**
|
|
1905
2537
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
1906
2538
|
*
|
|
@@ -1966,13 +2598,6 @@ export interface BaseImageProps {
|
|
|
1966
2598
|
*/
|
|
1967
2599
|
srcSet?: string;
|
|
1968
2600
|
}
|
|
1969
|
-
/**
|
|
1970
|
-
* This is purely to give the ability
|
|
1971
|
-
* to have a space or not in the string literal types.
|
|
1972
|
-
*
|
|
1973
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
1974
|
-
*/
|
|
1975
|
-
export type optionalSpace = "" | " ";
|
|
1976
2601
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
1977
2602
|
/**
|
|
1978
2603
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2036,13 +2661,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2036
2661
|
*
|
|
2037
2662
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2038
2663
|
*/
|
|
2039
|
-
onLoad?: () => void;
|
|
2664
|
+
onLoad?: (event: Event) => void;
|
|
2040
2665
|
/**
|
|
2041
2666
|
* Invoked on load error.
|
|
2042
2667
|
*
|
|
2043
2668
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2044
2669
|
*/
|
|
2045
|
-
onError?: () => void;
|
|
2670
|
+
onError?: (event: Event) => void;
|
|
2046
2671
|
}
|
|
2047
2672
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
2048
2673
|
/**
|
|
@@ -2128,19 +2753,19 @@ interface MapProps$1 extends GlobalProps, SizingProps {
|
|
|
2128
2753
|
/**
|
|
2129
2754
|
* Callback when the viewport bounds have changed or the map is resized.
|
|
2130
2755
|
*/
|
|
2131
|
-
onBoundsChange?: (
|
|
2756
|
+
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2132
2757
|
/**
|
|
2133
2758
|
* Callback when the map view changes.
|
|
2134
2759
|
*/
|
|
2135
|
-
onViewChange?: (
|
|
2760
|
+
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2136
2761
|
/**
|
|
2137
2762
|
* Callback when the user clicks on the map.
|
|
2138
2763
|
*/
|
|
2139
|
-
onClick?: (
|
|
2764
|
+
onClick?: (event: MapClickEvent) => void;
|
|
2140
2765
|
/**
|
|
2141
2766
|
* Callback when the user double-clicks on the map.
|
|
2142
2767
|
*/
|
|
2143
|
-
onDblClick?: (
|
|
2768
|
+
onDblClick?: (event: MapDblClickEvent) => void;
|
|
2144
2769
|
}
|
|
2145
2770
|
interface Location$1 {
|
|
2146
2771
|
latitude?: number;
|
|
@@ -2150,6 +2775,19 @@ export interface Bounds {
|
|
|
2150
2775
|
northEast?: Location$1;
|
|
2151
2776
|
southWest?: Location$1;
|
|
2152
2777
|
}
|
|
2778
|
+
export interface MapViewChangeEvent extends Event {
|
|
2779
|
+
location?: Location$1;
|
|
2780
|
+
zoom?: number;
|
|
2781
|
+
}
|
|
2782
|
+
export interface MapBoundsChangeEvent extends Event {
|
|
2783
|
+
bounds?: Bounds;
|
|
2784
|
+
}
|
|
2785
|
+
export interface MapClickEvent extends Event {
|
|
2786
|
+
location?: Location$1;
|
|
2787
|
+
}
|
|
2788
|
+
export interface MapDblClickEvent extends Event {
|
|
2789
|
+
location?: Location$1;
|
|
2790
|
+
}
|
|
2153
2791
|
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2154
2792
|
/**
|
|
2155
2793
|
* Marker’s location latitude in degrees.
|
|
@@ -2186,27 +2824,9 @@ interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingPro
|
|
|
2186
2824
|
*
|
|
2187
2825
|
* It does not trigger a click event on the map itself.
|
|
2188
2826
|
*/
|
|
2189
|
-
onClick?: () => void;
|
|
2827
|
+
onClick?: (event: Event) => void;
|
|
2190
2828
|
}
|
|
2191
|
-
|
|
2192
|
-
/**
|
|
2193
|
-
* Callback fired after the overlay is shown.
|
|
2194
|
-
*/
|
|
2195
|
-
onShow?: () => void;
|
|
2196
|
-
/**
|
|
2197
|
-
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
2198
|
-
*/
|
|
2199
|
-
onAfterShow?: () => void;
|
|
2200
|
-
/**
|
|
2201
|
-
* Callback fired after the overlay is hidden.
|
|
2202
|
-
*/
|
|
2203
|
-
onHide?: () => void;
|
|
2204
|
-
/**
|
|
2205
|
-
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
2206
|
-
*/
|
|
2207
|
-
onAfterHide?: () => void;
|
|
2208
|
-
}
|
|
2209
|
-
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, ActionSlots, ContainerProps {
|
|
2829
|
+
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2210
2830
|
/**
|
|
2211
2831
|
* A label that describes the purpose of the modal. When set,
|
|
2212
2832
|
* it will be announced to users using assistive technologies and will
|
|
@@ -2245,6 +2865,9 @@ interface ModalProps$1 extends GlobalProps, BaseOverlayProps, ActionSlots, Conta
|
|
|
2245
2865
|
*/
|
|
2246
2866
|
children?: ComponentChildren;
|
|
2247
2867
|
}
|
|
2868
|
+
interface MoneyFieldProps$1 extends GlobalProps, BaseTextFieldProps, NumberConstraintsProps, AutocompleteProps<MoneyAutocompleteField> {
|
|
2869
|
+
}
|
|
2870
|
+
export type MoneyAutocompleteField = ExtractStrict<AnyAutocompleteField, "transaction-amount">;
|
|
2248
2871
|
interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
|
|
2249
2872
|
/**
|
|
2250
2873
|
* Sets the virtual keyboard.
|
|
@@ -2263,7 +2886,7 @@ interface OptionProps$1 extends GlobalProps, BaseOptionProps {
|
|
|
2263
2886
|
}
|
|
2264
2887
|
interface OrderedListProps$1 extends GlobalProps {
|
|
2265
2888
|
}
|
|
2266
|
-
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps
|
|
2889
|
+
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps {
|
|
2267
2890
|
/**
|
|
2268
2891
|
* The content of the Text.
|
|
2269
2892
|
*/
|
|
@@ -2295,6 +2918,9 @@ export type ParagraphType =
|
|
|
2295
2918
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
2296
2919
|
*/
|
|
2297
2920
|
| "small";
|
|
2921
|
+
interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<PasswordAutocompleteField> {
|
|
2922
|
+
}
|
|
2923
|
+
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
2298
2924
|
interface PaymentIconProps$1 extends GlobalProps {
|
|
2299
2925
|
/**
|
|
2300
2926
|
* The icon type of the payment method
|
|
@@ -2312,16 +2938,27 @@ interface PaymentIconProps$1 extends GlobalProps {
|
|
|
2312
2938
|
accessibilityLabel?: string;
|
|
2313
2939
|
}
|
|
2314
2940
|
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";
|
|
2315
|
-
|
|
2316
|
-
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
2941
|
+
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2317
2942
|
/**
|
|
2318
|
-
* The
|
|
2943
|
+
* The content of the popover.
|
|
2944
|
+
*/
|
|
2945
|
+
children?: ComponentChildren;
|
|
2946
|
+
}
|
|
2947
|
+
interface PressButtonProps$1 extends GlobalProps, Pick<ButtonProps$1, "accessibilityLabel" | "children" | "icon" | "inlineSize" | "lang" | "tone" | "variant" | "disabled" | "loading" | "onClick" | "onBlur" | "onFocus"> {
|
|
2948
|
+
/**
|
|
2949
|
+
* Whether the button is pressed.
|
|
2319
2950
|
*
|
|
2320
|
-
*
|
|
2951
|
+
* @default false
|
|
2952
|
+
*/
|
|
2953
|
+
pressed?: boolean;
|
|
2954
|
+
/**
|
|
2955
|
+
* Whether the button is pressed by default.
|
|
2321
2956
|
*
|
|
2322
|
-
* @default
|
|
2957
|
+
* @default false
|
|
2958
|
+
*
|
|
2959
|
+
* @implementation `defaultPressed` reflects to the `pressed` attribute.
|
|
2323
2960
|
*/
|
|
2324
|
-
|
|
2961
|
+
defaultPressed?: boolean;
|
|
2325
2962
|
}
|
|
2326
2963
|
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2327
2964
|
/**
|
|
@@ -2339,13 +2976,13 @@ interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
|
2339
2976
|
*
|
|
2340
2977
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2341
2978
|
*/
|
|
2342
|
-
onLoad?: () => void;
|
|
2979
|
+
onLoad?: (event: Event) => void;
|
|
2343
2980
|
/**
|
|
2344
2981
|
* Invoked on load error of provided image.
|
|
2345
2982
|
*
|
|
2346
2983
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2347
2984
|
*/
|
|
2348
|
-
onError?: () => void;
|
|
2985
|
+
onError?: (event: Event) => void;
|
|
2349
2986
|
}
|
|
2350
2987
|
interface ProgressProps$1 extends GlobalProps {
|
|
2351
2988
|
/**
|
|
@@ -2424,7 +3061,7 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
2424
3061
|
* Invoked when the conversion of `content` to a QR code fails.
|
|
2425
3062
|
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
2426
3063
|
*/
|
|
2427
|
-
onError?: () => void;
|
|
3064
|
+
onError?: (event: Event) => void;
|
|
2428
3065
|
/**
|
|
2429
3066
|
* URL of an image to be displayed in the center of the QR code.
|
|
2430
3067
|
* This is useful for branding or to indicate to the user what scanning the QR code will do.
|
|
@@ -2432,7 +3069,45 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
2432
3069
|
*/
|
|
2433
3070
|
logo?: string;
|
|
2434
3071
|
}
|
|
2435
|
-
interface
|
|
3072
|
+
interface QueryContainerProps$1 extends GlobalProps {
|
|
3073
|
+
/**
|
|
3074
|
+
* The content of the container.
|
|
3075
|
+
*/
|
|
3076
|
+
children?: ComponentChildren;
|
|
3077
|
+
/**
|
|
3078
|
+
* The name of the container, which can be used in your container queries to target this container specifically.
|
|
3079
|
+
*
|
|
3080
|
+
* 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`.
|
|
3081
|
+
*
|
|
3082
|
+
* 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.
|
|
3083
|
+
*
|
|
3084
|
+
* @default ''
|
|
3085
|
+
*
|
|
3086
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
3087
|
+
*
|
|
3088
|
+
* @implementation You must always have a CSS `container-name` of `s-default` for this component.
|
|
3089
|
+
*/
|
|
3090
|
+
containerName?: string;
|
|
3091
|
+
}
|
|
3092
|
+
export type OverflowKeyword = "auto" | "hidden";
|
|
3093
|
+
interface ScrollBoxProps$1 extends GlobalProps, Omit<BaseBoxPropsWithRole, "overflow"> {
|
|
3094
|
+
/**
|
|
3095
|
+
* Sets the overflow behavior of the element.
|
|
3096
|
+
*
|
|
3097
|
+
* - `hidden`: clips the content when it is larger than the element’s container and the element will not be scrollable in that axis.
|
|
3098
|
+
* - `auto`: clips the content when it is larger than the element’s container and make it scrollable in that axis.
|
|
3099
|
+
*
|
|
3100
|
+
* 1-to-2-value syntax is supported but note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
3101
|
+
*
|
|
3102
|
+
* - 2 values: `block inline`
|
|
3103
|
+
*
|
|
3104
|
+
* @default 'auto'
|
|
3105
|
+
*
|
|
3106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
|
|
3107
|
+
*/
|
|
3108
|
+
overflow?: OverflowKeyword | `${OverflowKeyword} ${OverflowKeyword}`;
|
|
3109
|
+
}
|
|
3110
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
2436
3111
|
/**
|
|
2437
3112
|
* The content of the Section.
|
|
2438
3113
|
*/
|
|
@@ -2470,6 +3145,66 @@ interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteFi
|
|
|
2470
3145
|
*/
|
|
2471
3146
|
children?: ComponentChildren;
|
|
2472
3147
|
}
|
|
3148
|
+
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
3149
|
+
/**
|
|
3150
|
+
* A label that describes the purpose of the sheet. When set,
|
|
3151
|
+
* it will be announced to users using assistive technologies and will
|
|
3152
|
+
* provide them with more context.
|
|
3153
|
+
*
|
|
3154
|
+
* This overrides the `heading` prop for screen readers.
|
|
3155
|
+
*/
|
|
3156
|
+
accessibilityLabel?: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* The content of the Sheet.
|
|
3159
|
+
*/
|
|
3160
|
+
children?: ComponentChildren;
|
|
3161
|
+
/**
|
|
3162
|
+
* Indicates whether the Sheet should be open by default.
|
|
3163
|
+
* This property is necessary in some cases, but its usage is generally discouraged due to potential negative impacts on user experience.
|
|
3164
|
+
*
|
|
3165
|
+
* Developers should:
|
|
3166
|
+
* - Only set this property to true when there are vitally important behaviors of the application that depend on the user interacting with the sheet.
|
|
3167
|
+
* - 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.
|
|
3168
|
+
*
|
|
3169
|
+
* This property is useful for when the Sheet needs to be rendered on the page load and not triggered by a user action.
|
|
3170
|
+
* The property should only take effect when the `Sheet` is rendered for the first time.
|
|
3171
|
+
* To toggle the Sheet after it has been rendered, use the `ui.showOverlay()` method instead.
|
|
3172
|
+
*
|
|
3173
|
+
* @default false
|
|
3174
|
+
*/
|
|
3175
|
+
defaultOpen?: boolean;
|
|
3176
|
+
/**
|
|
3177
|
+
* A title that describes the content of the sheet.
|
|
3178
|
+
*/
|
|
3179
|
+
heading?: string;
|
|
3180
|
+
/**
|
|
3181
|
+
* Adjust the padding of all edges.
|
|
3182
|
+
*
|
|
3183
|
+
* `base`: applies padding that is appropriate for the element. Note that it may result in no padding if Shopify
|
|
3184
|
+
* believes this is the right design decision in a particular context.
|
|
3185
|
+
*
|
|
3186
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Sheet need to span
|
|
3187
|
+
* to the edge of the Sheet. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3188
|
+
* to bring back the desired padding for the rest of the content.
|
|
3189
|
+
*
|
|
3190
|
+
* @default 'base'
|
|
3191
|
+
*/
|
|
3192
|
+
padding?: "base" | "none";
|
|
3193
|
+
}
|
|
3194
|
+
interface SkeletonParagraphProps$1 extends GlobalProps {
|
|
3195
|
+
/**
|
|
3196
|
+
* The content to be used as a base for the skeleton. This content will be hidden when the skeleton is visible.
|
|
3197
|
+
*
|
|
3198
|
+
* This can be useful when the skeleton is representing a known piece of content which is part of a larger
|
|
3199
|
+
* element that has not yet fully loaded.
|
|
3200
|
+
*
|
|
3201
|
+
* @implementation When `content` is specified, the visual skeleton should be the size of the content. The element should
|
|
3202
|
+
* still be a block layout.
|
|
3203
|
+
*
|
|
3204
|
+
* @default ''
|
|
3205
|
+
*/
|
|
3206
|
+
content?: string;
|
|
3207
|
+
}
|
|
2473
3208
|
interface SpinnerProps$1 extends GlobalProps {
|
|
2474
3209
|
/**
|
|
2475
3210
|
* Adjusts the size of the spinner icon.
|
|
@@ -2486,40 +3221,40 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2486
3221
|
*/
|
|
2487
3222
|
accessibilityLabel?: string;
|
|
2488
3223
|
}
|
|
2489
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3224
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2490
3225
|
/**
|
|
2491
3226
|
* The content of the Stack.
|
|
2492
3227
|
*/
|
|
2493
3228
|
children?: ComponentChildren;
|
|
2494
3229
|
/**
|
|
2495
|
-
* Sets how the children are placed within the Stack.
|
|
3230
|
+
* 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).
|
|
2496
3231
|
*
|
|
2497
3232
|
* @default 'block'
|
|
2498
3233
|
*
|
|
2499
3234
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2500
3235
|
*/
|
|
2501
|
-
direction?: "block" | "inline"
|
|
3236
|
+
direction?: MaybeResponsive<"block" | "inline">;
|
|
2502
3237
|
/**
|
|
2503
3238
|
* Aligns the Stack along the main axis.
|
|
2504
3239
|
*
|
|
2505
3240
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2506
3241
|
* @default 'normal'
|
|
2507
3242
|
*/
|
|
2508
|
-
justifyContent?: JustifyContentKeyword
|
|
3243
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2509
3244
|
/**
|
|
2510
3245
|
* Aligns the Stack's children along the cross axis.
|
|
2511
3246
|
*
|
|
2512
3247
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2513
3248
|
* @default 'normal'
|
|
2514
3249
|
*/
|
|
2515
|
-
alignItems?: AlignItemsKeyword
|
|
3250
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2516
3251
|
/**
|
|
2517
3252
|
* Aligns the Stack along the cross axis.
|
|
2518
3253
|
*
|
|
2519
3254
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2520
3255
|
* @default 'normal'
|
|
2521
3256
|
*/
|
|
2522
|
-
alignContent?: AlignContentKeyword
|
|
3257
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2523
3258
|
}
|
|
2524
3259
|
interface SummaryProps$1 extends GlobalProps {
|
|
2525
3260
|
/**
|
|
@@ -2537,7 +3272,9 @@ interface SummaryProps$1 extends GlobalProps {
|
|
|
2537
3272
|
*/
|
|
2538
3273
|
children?: ComponentChildren;
|
|
2539
3274
|
}
|
|
2540
|
-
interface
|
|
3275
|
+
interface SwitchProps$1 extends GlobalProps, BaseCheckableProps, BasicFieldProps, FieldDetailsProps, FieldErrorProps {
|
|
3276
|
+
}
|
|
3277
|
+
interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps, Pick<InteractionProps, "interestFor"> {
|
|
2541
3278
|
/**
|
|
2542
3279
|
* The content of the Text.
|
|
2543
3280
|
*/
|
|
@@ -2545,7 +3282,7 @@ interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTyp
|
|
|
2545
3282
|
/**
|
|
2546
3283
|
* Provide semantic meaning and default styling to the text.
|
|
2547
3284
|
*
|
|
2548
|
-
* Other presentation properties on
|
|
3285
|
+
* Other presentation properties on Text override the default styling.
|
|
2549
3286
|
*
|
|
2550
3287
|
* @default 'generic'
|
|
2551
3288
|
*/
|
|
@@ -2643,7 +3380,7 @@ interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthP
|
|
|
2643
3380
|
}
|
|
2644
3381
|
interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
|
|
2645
3382
|
}
|
|
2646
|
-
interface TimeProps$1 {
|
|
3383
|
+
interface TimeProps$1 extends GlobalProps {
|
|
2647
3384
|
/**
|
|
2648
3385
|
* The content of the Time.
|
|
2649
3386
|
*/
|
|
@@ -2659,13 +3396,25 @@ interface TimeProps$1 {
|
|
|
2659
3396
|
*/
|
|
2660
3397
|
dateTime?: string;
|
|
2661
3398
|
}
|
|
3399
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3400
|
+
/**
|
|
3401
|
+
* The content of the Tooltip.
|
|
3402
|
+
*/
|
|
3403
|
+
children?: ComponentChildren;
|
|
3404
|
+
}
|
|
2662
3405
|
interface UnorderedListProps$1 extends GlobalProps {
|
|
2663
3406
|
}
|
|
3407
|
+
export interface URLFieldProps extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<URLAutocompleteField> {
|
|
3408
|
+
}
|
|
3409
|
+
export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "photo" | "impp" | `${AutocompleteAddressGroup} impp`>;
|
|
2664
3410
|
|
|
2665
3411
|
|
|
2666
3412
|
|
|
2667
|
-
import { ReactNode } from 'react';
|
|
2668
3413
|
|
|
3414
|
+
type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3415
|
+
type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3416
|
+
type ReducedJustifyContentKeyword = Extract<JustifyContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3417
|
+
type ReducedJustifyItemsKeyword = Extract<JustifyItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
2669
3418
|
type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
2670
3419
|
type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
2671
3420
|
type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
@@ -2684,54 +3433,105 @@ interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElement
|
|
|
2684
3433
|
children?: preact.ComponentChildren;
|
|
2685
3434
|
}
|
|
2686
3435
|
/**
|
|
2687
|
-
*
|
|
3436
|
+
* Used as the single source of truth for checkout icon types.
|
|
2688
3437
|
*
|
|
2689
3438
|
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
2690
3439
|
*/
|
|
2691
|
-
|
|
3440
|
+
declare const CHECKOUT_AVAILABLE_ICONS: readonly ["alert-circle", "alert-triangle-filled", "alert-triangle", "arrow-down", "arrow-left", "arrow-right", "arrow-up-right", "arrow-up", "bag", "bullet", "calendar", "camera", "caret-down", "cart", "cash-dollar", "categories", "check-circle", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clipboard", "clock", "credit-card", "delete", "delivered", "delivery", "disabled", "discount", "edit", "email", "empty", "external", "filter", "geolocation", "gift-card", "globe", "grid", "image", "info-filled", "info", "list-bulleted", "location", "lock", "map", "menu-horizontal", "menu-vertical", "menu", "minus", "mobile", "note", "order", "organization", "plus", "profile", "question-circle-filled", "question-circle", "reorder", "reset", "return", "savings", "search", "settings", "star-filled", "star-half", "star", "store", "truck", "upload", "x-circle-filled", "x-circle", "x"];
|
|
3441
|
+
type ReducedIconTypes = (typeof CHECKOUT_AVAILABLE_ICONS)[number];
|
|
2692
3442
|
|
|
2693
|
-
declare const tagName$
|
|
2694
|
-
interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
|
|
3443
|
+
declare const tagName$Z = "s-abbreviation";
|
|
3444
|
+
interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title' | 'id'> {
|
|
2695
3445
|
}
|
|
2696
3446
|
interface AbbreviationElement extends AbbreviationProps, Omit<HTMLElement, 'id' | 'title'> {
|
|
2697
3447
|
}
|
|
2698
3448
|
declare global {
|
|
2699
3449
|
interface HTMLElementTagNameMap {
|
|
3450
|
+
[tagName$Z]: AbbreviationElement;
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
declare module 'preact' {
|
|
3454
|
+
namespace createElement.JSX {
|
|
3455
|
+
interface IntrinsicElements {
|
|
3456
|
+
[tagName$Z]: AbbreviationProps & BaseElementPropsWithChildren<AbbreviationElement>;
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
declare const tagName$Y = "s-announcement";
|
|
3462
|
+
interface AnnouncementEvents extends Pick<AnnouncementProps$1, 'onAfterToggle' | 'onDismiss' | 'onToggle'> {
|
|
3463
|
+
}
|
|
3464
|
+
interface AnnouncementElement extends AnnouncementMethods, Omit<HTMLElement, 'id' | 'ontoggle'> {
|
|
3465
|
+
onaftertoggle?: AnnouncementEvents['onAfterToggle'];
|
|
3466
|
+
ondismiss?: AnnouncementEvents['onDismiss'];
|
|
3467
|
+
ontoggle?: AnnouncementEvents['onToggle'];
|
|
3468
|
+
}
|
|
3469
|
+
interface AnnouncementProps extends AnnouncementEvents {
|
|
3470
|
+
}
|
|
3471
|
+
interface AnnouncementMethods {
|
|
3472
|
+
dismiss: () => void;
|
|
3473
|
+
}
|
|
3474
|
+
declare global {
|
|
3475
|
+
interface HTMLElementTagNameMap {
|
|
3476
|
+
[tagName$Y]: AnnouncementElement;
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
declare module 'preact' {
|
|
3480
|
+
namespace createElement.JSX {
|
|
3481
|
+
interface IntrinsicElements {
|
|
3482
|
+
[tagName$Y]: AnnouncementProps & BaseElementPropsWithChildren<AnnouncementElement>;
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
declare const tagName$X = "s-badge";
|
|
3488
|
+
interface BadgeProps extends Pick<BadgeProps$1, 'color' | 'icon' | 'iconPosition' | 'id' | 'size' | 'tone'> {
|
|
3489
|
+
size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
|
|
3490
|
+
tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3491
|
+
color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
|
|
3492
|
+
icon?: '' | ReducedIconTypes;
|
|
3493
|
+
}
|
|
3494
|
+
interface BadgeElement extends BadgeProps, Omit<HTMLElement, 'id'> {
|
|
3495
|
+
}
|
|
3496
|
+
declare global {
|
|
3497
|
+
interface HTMLElementTagNameMap {
|
|
3498
|
+
[tagName$X]: BadgeElement;
|
|
2700
3499
|
}
|
|
2701
3500
|
}
|
|
2702
3501
|
declare module 'preact' {
|
|
2703
3502
|
namespace createElement.JSX {
|
|
2704
3503
|
interface IntrinsicElements {
|
|
2705
|
-
[tagName$
|
|
3504
|
+
[tagName$X]: BadgeProps & BaseElementPropsWithChildren<BadgeElement>;
|
|
2706
3505
|
}
|
|
2707
3506
|
}
|
|
2708
3507
|
}
|
|
2709
3508
|
|
|
2710
|
-
declare const tagName$
|
|
2711
|
-
interface
|
|
3509
|
+
declare const tagName$W = "s-banner";
|
|
3510
|
+
interface BannerElementProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'tone'> {
|
|
2712
3511
|
tone?: Extract<BannerProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical'>;
|
|
2713
3512
|
}
|
|
2714
3513
|
interface BannerEvents extends Pick<BannerProps$1, 'onAfterHide' | 'onDismiss'> {
|
|
2715
3514
|
}
|
|
2716
|
-
interface BannerElement extends
|
|
3515
|
+
interface BannerElement extends BannerElementProps, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
|
|
2717
3516
|
onafterhide: BannerEvents['onAfterHide'];
|
|
2718
3517
|
ondismiss: BannerEvents['onDismiss'];
|
|
2719
3518
|
}
|
|
2720
|
-
interface BannerProps extends
|
|
3519
|
+
interface BannerProps extends BannerElementProps, BannerEvents {
|
|
2721
3520
|
}
|
|
2722
3521
|
declare global {
|
|
2723
3522
|
interface HTMLElementTagNameMap {
|
|
3523
|
+
[tagName$W]: BannerElement;
|
|
2724
3524
|
}
|
|
2725
3525
|
}
|
|
2726
3526
|
declare module 'preact' {
|
|
2727
3527
|
namespace createElement.JSX {
|
|
2728
3528
|
interface IntrinsicElements {
|
|
2729
|
-
[tagName$
|
|
3529
|
+
[tagName$W]: BannerProps & BaseElementPropsWithChildren<BannerElement>;
|
|
2730
3530
|
}
|
|
2731
3531
|
}
|
|
2732
3532
|
}
|
|
2733
3533
|
|
|
2734
|
-
declare const tagName$
|
|
3534
|
+
declare const tagName$V = "s-box";
|
|
2735
3535
|
interface BoxProps extends Pick<BoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
2736
3536
|
background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
2737
3537
|
border?: BorderShorthand;
|
|
@@ -2742,18 +3542,19 @@ interface BoxElement extends BoxProps, Omit<HTMLElement, 'id'> {
|
|
|
2742
3542
|
}
|
|
2743
3543
|
declare global {
|
|
2744
3544
|
interface HTMLElementTagNameMap {
|
|
3545
|
+
[tagName$V]: BoxElement;
|
|
2745
3546
|
}
|
|
2746
3547
|
}
|
|
2747
3548
|
declare module 'preact' {
|
|
2748
3549
|
namespace createElement.JSX {
|
|
2749
3550
|
interface IntrinsicElements {
|
|
2750
|
-
[tagName$
|
|
3551
|
+
[tagName$V]: BoxProps & BaseElementPropsWithChildren<BoxElement>;
|
|
2751
3552
|
}
|
|
2752
3553
|
}
|
|
2753
3554
|
}
|
|
2754
3555
|
|
|
2755
|
-
declare const tagName$
|
|
2756
|
-
interface
|
|
3556
|
+
declare const tagName$U = "s-button";
|
|
3557
|
+
interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
2757
3558
|
target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
|
|
2758
3559
|
tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
2759
3560
|
type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
|
|
@@ -2761,48 +3562,111 @@ interface ButtonBaseProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'co
|
|
|
2761
3562
|
}
|
|
2762
3563
|
interface ButtonEvents extends Pick<ButtonProps$1, 'onClick'> {
|
|
2763
3564
|
}
|
|
2764
|
-
interface ButtonElement extends
|
|
3565
|
+
interface ButtonElement extends ButtonElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
2765
3566
|
onclick: ButtonEvents['onClick'];
|
|
2766
3567
|
}
|
|
2767
|
-
interface ButtonProps extends
|
|
3568
|
+
interface ButtonProps extends ButtonElementProps, ButtonEvents {
|
|
2768
3569
|
}
|
|
2769
3570
|
declare global {
|
|
2770
3571
|
interface HTMLElementTagNameMap {
|
|
3572
|
+
[tagName$U]: ButtonElement;
|
|
2771
3573
|
}
|
|
2772
3574
|
}
|
|
2773
3575
|
declare module 'preact' {
|
|
2774
3576
|
namespace createElement.JSX {
|
|
2775
3577
|
interface IntrinsicElements {
|
|
2776
|
-
[tagName$
|
|
3578
|
+
[tagName$U]: ButtonProps & BaseElementPropsWithChildren<ButtonElement>;
|
|
2777
3579
|
}
|
|
2778
3580
|
}
|
|
2779
3581
|
}
|
|
2780
3582
|
|
|
2781
|
-
declare const tagName$
|
|
2782
|
-
interface
|
|
3583
|
+
declare const tagName$T = "s-checkbox";
|
|
3584
|
+
interface CheckboxElementProps extends Pick<CheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'required' | 'value'> {
|
|
3585
|
+
command?: Extract<CheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
2783
3586
|
}
|
|
2784
3587
|
interface CheckboxEvents extends Pick<CheckboxProps$1, 'onChange'> {
|
|
2785
3588
|
}
|
|
2786
|
-
interface CheckboxElement extends
|
|
3589
|
+
interface CheckboxElement extends CheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
2787
3590
|
onchange: CheckboxEvents['onChange'];
|
|
2788
3591
|
}
|
|
2789
|
-
interface CheckboxProps extends
|
|
3592
|
+
interface CheckboxProps extends CheckboxElementProps, CheckboxEvents {
|
|
3593
|
+
}
|
|
3594
|
+
declare global {
|
|
3595
|
+
interface HTMLElementTagNameMap {
|
|
3596
|
+
[tagName$T]: CheckboxElement;
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
declare module 'preact' {
|
|
3600
|
+
namespace createElement.JSX {
|
|
3601
|
+
interface IntrinsicElements {
|
|
3602
|
+
[tagName$T]: CheckboxProps & BaseElementProps<CheckboxElement>;
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
declare const tagName$S = "s-chip";
|
|
3608
|
+
interface ChipElementProps extends Pick<ChipProps$1, 'accessibilityLabel' | 'id'> {
|
|
3609
|
+
}
|
|
3610
|
+
interface ChipProps extends ChipElementProps {
|
|
3611
|
+
}
|
|
3612
|
+
interface ChipElement extends ChipProps, Omit<HTMLElement, 'id'> {
|
|
3613
|
+
}
|
|
3614
|
+
declare global {
|
|
3615
|
+
interface HTMLElementTagNameMap {
|
|
3616
|
+
[tagName$S]: ChipElement;
|
|
3617
|
+
}
|
|
3618
|
+
}
|
|
3619
|
+
declare module 'preact' {
|
|
3620
|
+
namespace createElement.JSX {
|
|
3621
|
+
interface IntrinsicElements {
|
|
3622
|
+
[tagName$S]: ChipProps & BaseElementPropsWithChildren<ChipElement>;
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
declare const tagName$R = "s-choice";
|
|
3628
|
+
interface ChoiceProps extends Pick<ChoiceProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'error' | 'value'> {
|
|
3629
|
+
}
|
|
3630
|
+
interface ChoiceElement extends ChoiceProps, Omit<HTMLElement, 'id'> {
|
|
3631
|
+
}
|
|
3632
|
+
declare global {
|
|
3633
|
+
interface HTMLElementTagNameMap {
|
|
3634
|
+
[tagName$R]: ChoiceElement;
|
|
3635
|
+
}
|
|
3636
|
+
}
|
|
3637
|
+
declare module 'preact' {
|
|
3638
|
+
namespace createElement.JSX {
|
|
3639
|
+
interface IntrinsicElements {
|
|
3640
|
+
[tagName$R]: ChoiceProps & BaseElementPropsWithChildren<ChoiceElement>;
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
declare const tagName$Q = "s-choice-list";
|
|
3646
|
+
interface ChoiceListElementProps extends Pick<ChoiceListProps$1, 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'multiple' | 'name' | 'values' | 'variant'> {
|
|
3647
|
+
}
|
|
3648
|
+
interface ChoiceListEvents extends Pick<ChoiceListProps$1, 'onChange'> {
|
|
3649
|
+
}
|
|
3650
|
+
interface ChoiceListElement extends ChoiceListElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3651
|
+
onchange: ChoiceListEvents['onChange'];
|
|
3652
|
+
}
|
|
3653
|
+
interface ChoiceListProps extends ChoiceListElementProps, ChoiceListEvents {
|
|
2790
3654
|
}
|
|
2791
3655
|
declare global {
|
|
2792
3656
|
interface HTMLElementTagNameMap {
|
|
2793
|
-
[tagName$
|
|
3657
|
+
[tagName$Q]: ChoiceListElement;
|
|
2794
3658
|
}
|
|
2795
3659
|
}
|
|
2796
3660
|
declare module 'preact' {
|
|
2797
3661
|
namespace createElement.JSX {
|
|
2798
3662
|
interface IntrinsicElements {
|
|
2799
|
-
[tagName$
|
|
3663
|
+
[tagName$Q]: ChoiceListProps & BaseElementPropsWithChildren<ChoiceListElement>;
|
|
2800
3664
|
}
|
|
2801
3665
|
}
|
|
2802
3666
|
}
|
|
2803
3667
|
|
|
2804
|
-
declare const tagName$
|
|
2805
|
-
interface
|
|
3668
|
+
declare const tagName$P = "s-clickable";
|
|
3669
|
+
interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
|
|
2806
3670
|
background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
2807
3671
|
border?: BorderShorthand;
|
|
2808
3672
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
@@ -2810,160 +3674,419 @@ interface ClickableProps extends Pick<ClickableProps$1, 'accessibilityLabel' | '
|
|
|
2810
3674
|
target?: Extract<ClickableProps$1['target'], 'auto' | '_blank'>;
|
|
2811
3675
|
type?: Extract<ClickableProps$1['type'], 'submit' | 'button'>;
|
|
2812
3676
|
}
|
|
2813
|
-
interface
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
3677
|
+
interface ClickableEvents extends Pick<ClickableProps$1, 'onBlur' | 'onClick' | 'onFocus'> {
|
|
3678
|
+
}
|
|
3679
|
+
interface ClickableElement extends ClickableElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
3680
|
+
onblur: ClickableEvents['onBlur'];
|
|
3681
|
+
onclick: ClickableEvents['onClick'];
|
|
3682
|
+
onfocus: ClickableEvents['onFocus'];
|
|
3683
|
+
}
|
|
3684
|
+
interface ClickableProps extends ClickableElementProps, ClickableEvents {
|
|
3685
|
+
}
|
|
3686
|
+
declare global {
|
|
3687
|
+
interface HTMLElementTagNameMap {
|
|
3688
|
+
[tagName$P]: ClickableElement;
|
|
3689
|
+
}
|
|
3690
|
+
}
|
|
3691
|
+
declare module 'preact' {
|
|
3692
|
+
namespace createElement.JSX {
|
|
3693
|
+
interface IntrinsicElements {
|
|
3694
|
+
[tagName$P]: ClickableProps & BaseElementPropsWithChildren<ClickableElement>;
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3699
|
+
declare const tagName$O = "s-clickable-chip";
|
|
3700
|
+
interface ClickableChipElementProps extends Pick<ClickableChipProps$1, 'accessibilityLabel' | 'disabled' | 'hidden' | 'href' | 'id' | 'removable'> {
|
|
3701
|
+
}
|
|
3702
|
+
interface ClickableChipEvents extends Pick<ClickableChipProps$1, 'onAfterHide' | 'onClick' | 'onRemove'> {
|
|
3703
|
+
}
|
|
3704
|
+
interface ClickableChipElement extends ClickableChipElementProps, Omit<HTMLElement, 'id' | 'hidden' | 'onclick'> {
|
|
3705
|
+
onafterhide: ClickableChipEvents['onAfterHide'];
|
|
3706
|
+
onclick: ClickableChipEvents['onClick'];
|
|
3707
|
+
onremove: ClickableChipEvents['onRemove'];
|
|
3708
|
+
}
|
|
3709
|
+
interface ClickableChipProps extends ClickableChipElementProps, ClickableChipEvents {
|
|
3710
|
+
}
|
|
3711
|
+
declare global {
|
|
3712
|
+
interface HTMLElementTagNameMap {
|
|
3713
|
+
[tagName$O]: ClickableChipElement;
|
|
3714
|
+
}
|
|
3715
|
+
}
|
|
3716
|
+
declare module 'preact' {
|
|
3717
|
+
namespace createElement.JSX {
|
|
3718
|
+
interface IntrinsicElements {
|
|
3719
|
+
[tagName$O]: ClickableChipProps & BaseElementPropsWithChildren<ClickableChipElement>;
|
|
3720
|
+
}
|
|
3721
|
+
}
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
declare const tagName$N = "s-clipboard-item";
|
|
3725
|
+
interface ClipboardItemElementProps extends Pick<ClipboardItemProps$1, 'id' | 'text'> {
|
|
3726
|
+
}
|
|
3727
|
+
interface ClipboardItemEvents extends Pick<ClipboardItemProps$1, 'onCopy' | 'onCopyError'> {
|
|
3728
|
+
}
|
|
3729
|
+
interface ClipboardItemElement extends ClipboardItemElementProps, Omit<HTMLElement, 'id' | 'oncopy'> {
|
|
3730
|
+
oncopy: ClipboardItemEvents['onCopy'];
|
|
3731
|
+
oncopyerror: ClipboardItemEvents['onCopyError'];
|
|
3732
|
+
}
|
|
3733
|
+
interface ClipboardItemProps extends ClipboardItemElementProps, ClipboardItemEvents {
|
|
3734
|
+
}
|
|
3735
|
+
declare global {
|
|
3736
|
+
interface HTMLElementTagNameMap {
|
|
3737
|
+
[tagName$N]: ClipboardItemElement;
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
declare module 'preact' {
|
|
3741
|
+
namespace createElement.JSX {
|
|
3742
|
+
interface IntrinsicElements {
|
|
3743
|
+
[tagName$N]: ClipboardItemProps & BaseElementProps<ClipboardItemElement>;
|
|
3744
|
+
}
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
declare const tagName$M = "s-consent-checkbox";
|
|
3749
|
+
interface ConsentCheckboxElementProps extends Pick<ConsentCheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'policy' | 'value'> {
|
|
3750
|
+
command?: Extract<ConsentCheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3751
|
+
}
|
|
3752
|
+
interface ConsentCheckboxEvents extends Pick<CheckboxEvents, 'onChange'> {
|
|
3753
|
+
}
|
|
3754
|
+
interface ConsentCheckboxElement extends ConsentCheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3755
|
+
onchange: ConsentCheckboxEvents['onChange'];
|
|
3756
|
+
}
|
|
3757
|
+
interface ConsentCheckboxProps extends ConsentCheckboxElementProps, ConsentCheckboxEvents {
|
|
3758
|
+
}
|
|
3759
|
+
declare global {
|
|
3760
|
+
interface HTMLElementTagNameMap {
|
|
3761
|
+
[tagName$M]: ConsentCheckboxElement;
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
declare module 'preact' {
|
|
3765
|
+
namespace createElement.JSX {
|
|
3766
|
+
interface IntrinsicElements {
|
|
3767
|
+
[tagName$M]: ConsentCheckboxProps & BaseElementProps<ConsentCheckboxElement>;
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
declare const tagName$L = "s-phone-field";
|
|
3773
|
+
interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value' | 'type'> {
|
|
3774
|
+
/**
|
|
3775
|
+
* @deprecated Use `label` instead.
|
|
3776
|
+
* @private
|
|
3777
|
+
*/
|
|
3778
|
+
placeholder?: string;
|
|
3779
|
+
}
|
|
3780
|
+
interface PhoneFieldEvents extends Pick<PhoneFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3781
|
+
}
|
|
3782
|
+
interface PhoneFieldElement extends PhoneFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3783
|
+
onblur: PhoneFieldEvents['onBlur'];
|
|
3784
|
+
onchange: PhoneFieldEvents['onChange'];
|
|
3785
|
+
onfocus: PhoneFieldEvents['onFocus'];
|
|
3786
|
+
oninput: PhoneFieldEvents['onInput'];
|
|
3787
|
+
}
|
|
3788
|
+
interface PhoneFieldProps extends PhoneFieldElementProps, PhoneFieldEvents {
|
|
3789
|
+
}
|
|
3790
|
+
declare global {
|
|
3791
|
+
interface HTMLElementTagNameMap {
|
|
3792
|
+
[tagName$L]: PhoneFieldElement;
|
|
3793
|
+
}
|
|
3794
|
+
}
|
|
3795
|
+
declare module 'preact' {
|
|
3796
|
+
namespace createElement.JSX {
|
|
3797
|
+
interface IntrinsicElements {
|
|
3798
|
+
[tagName$L]: PhoneFieldProps & BaseElementPropsWithChildren<PhoneFieldElement>;
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
declare const tagName$K = "s-consent-phone-field";
|
|
3804
|
+
interface ConsentPhoneFieldElementProps extends Pick<ConsentPhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'policy' | 'readOnly' | 'required' | 'type' | 'value'> {
|
|
3805
|
+
/**
|
|
3806
|
+
* @deprecated Use `label` instead.
|
|
3807
|
+
* @private
|
|
3808
|
+
*/
|
|
3809
|
+
placeholder?: string;
|
|
3810
|
+
}
|
|
3811
|
+
interface ConsentPhoneFieldEvents extends Pick<PhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3812
|
+
}
|
|
3813
|
+
interface ConsentPhoneFieldElement extends ConsentPhoneFieldElementProps, Omit<ConsentPhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3814
|
+
onblur: ConsentPhoneFieldEvents['onBlur'];
|
|
3815
|
+
onchange: ConsentPhoneFieldEvents['onChange'];
|
|
3816
|
+
onfocus: ConsentPhoneFieldEvents['onFocus'];
|
|
3817
|
+
oninput: ConsentPhoneFieldEvents['onInput'];
|
|
3818
|
+
}
|
|
3819
|
+
interface ConsentPhoneFieldProps extends ConsentPhoneFieldElementProps, ConsentPhoneFieldEvents {
|
|
3820
|
+
}
|
|
3821
|
+
declare global {
|
|
3822
|
+
interface HTMLElementTagNameMap {
|
|
3823
|
+
[tagName$K]: ConsentPhoneFieldElement;
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
declare module 'preact' {
|
|
3827
|
+
namespace createElement.JSX {
|
|
3828
|
+
interface IntrinsicElements {
|
|
3829
|
+
[tagName$K]: ConsentPhoneFieldProps & BaseElementProps<ConsentPhoneFieldElement>;
|
|
3830
|
+
}
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
declare const tagName$J = "s-date-field";
|
|
3835
|
+
interface DateFieldElementProps extends Pick<DateFieldProps$1, 'allow' | 'allowDays' | 'autocomplete' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'error' | 'id' | 'label' | 'name' | 'readOnly' | 'required' | 'value' | 'view'> {
|
|
3836
|
+
/**
|
|
3837
|
+
* @deprecated Use `label` instead.
|
|
3838
|
+
* @private
|
|
3839
|
+
*/
|
|
3840
|
+
placeholder?: string;
|
|
3841
|
+
}
|
|
3842
|
+
interface DateFieldEvents extends Pick<DateFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'> {
|
|
3843
|
+
}
|
|
3844
|
+
interface DateFieldElement extends DateFieldElementProps, Omit<DateFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'oninvalid' | 'prefix'> {
|
|
3845
|
+
onblur: DateFieldEvents['onBlur'];
|
|
3846
|
+
onchange: DateFieldEvents['onChange'];
|
|
3847
|
+
onfocus: DateFieldEvents['onFocus'];
|
|
3848
|
+
oninput: DateFieldEvents['onInput'];
|
|
3849
|
+
oninvalid: DateFieldEvents['onInvalid'];
|
|
3850
|
+
onviewchange: DateFieldEvents['onViewChange'];
|
|
3851
|
+
}
|
|
3852
|
+
interface DateFieldProps extends DateFieldElementProps, DateFieldEvents {
|
|
3853
|
+
}
|
|
3854
|
+
declare global {
|
|
3855
|
+
interface HTMLElementTagNameMap {
|
|
3856
|
+
[tagName$J]: DateFieldElement;
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
declare module 'preact' {
|
|
3860
|
+
namespace createElement.JSX {
|
|
3861
|
+
interface IntrinsicElements {
|
|
3862
|
+
[tagName$J]: DateFieldProps & BaseElementProps<DateFieldElement>;
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3867
|
+
declare const tagName$I = "s-date-picker";
|
|
3868
|
+
interface DatePickerElementProps extends Pick<DatePickerProps$1, 'allow' | 'allowDays' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'id' | 'name' | 'type' | 'value' | 'view'> {
|
|
3869
|
+
}
|
|
3870
|
+
interface DatePickerEvents extends Pick<DatePickerProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'> {
|
|
3871
|
+
}
|
|
3872
|
+
interface DatePickerElement extends DatePickerElementProps, Omit<DatePickerEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
3873
|
+
onblur: DatePickerEvents['onBlur'];
|
|
3874
|
+
onchange: DatePickerEvents['onChange'];
|
|
3875
|
+
onfocus: DatePickerEvents['onFocus'];
|
|
3876
|
+
oninput: DatePickerEvents['onInput'];
|
|
3877
|
+
onviewchange: DatePickerEvents['onViewChange'];
|
|
3878
|
+
}
|
|
3879
|
+
interface DatePickerProps extends DatePickerElementProps, DatePickerEvents {
|
|
2817
3880
|
}
|
|
2818
3881
|
declare global {
|
|
2819
3882
|
interface HTMLElementTagNameMap {
|
|
2820
|
-
[tagName$
|
|
3883
|
+
[tagName$I]: DatePickerElement;
|
|
2821
3884
|
}
|
|
2822
3885
|
}
|
|
2823
3886
|
declare module 'preact' {
|
|
2824
3887
|
namespace createElement.JSX {
|
|
2825
3888
|
interface IntrinsicElements {
|
|
2826
|
-
[tagName$
|
|
3889
|
+
[tagName$I]: DatePickerProps & BaseElementProps<DatePickerElement>;
|
|
2827
3890
|
}
|
|
2828
3891
|
}
|
|
2829
3892
|
}
|
|
2830
3893
|
|
|
2831
|
-
declare const tagName$
|
|
2832
|
-
interface
|
|
3894
|
+
declare const tagName$H = "s-details";
|
|
3895
|
+
interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'id' | 'open' | 'toggleTransition'> {
|
|
2833
3896
|
}
|
|
2834
|
-
interface
|
|
3897
|
+
interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle' | 'onAfterToggle'> {
|
|
2835
3898
|
}
|
|
2836
|
-
interface
|
|
2837
|
-
|
|
2838
|
-
|
|
3899
|
+
interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
|
|
3900
|
+
ontoggle: DetailsEvents['onToggle'];
|
|
3901
|
+
onaftertoggle: DetailsEvents['onAfterToggle'];
|
|
2839
3902
|
}
|
|
2840
|
-
interface
|
|
3903
|
+
interface DetailsProps extends DetailsElementProps, DetailsEvents {
|
|
2841
3904
|
}
|
|
2842
3905
|
declare global {
|
|
2843
3906
|
interface HTMLElementTagNameMap {
|
|
3907
|
+
[tagName$H]: DetailsElement;
|
|
2844
3908
|
}
|
|
2845
3909
|
}
|
|
2846
3910
|
declare module 'preact' {
|
|
2847
3911
|
namespace createElement.JSX {
|
|
2848
3912
|
interface IntrinsicElements {
|
|
2849
|
-
[tagName$
|
|
3913
|
+
[tagName$H]: DetailsProps & BaseElementPropsWithChildren<DetailsElement>;
|
|
2850
3914
|
}
|
|
2851
3915
|
}
|
|
2852
3916
|
}
|
|
2853
3917
|
|
|
2854
|
-
declare const tagName$
|
|
2855
|
-
interface
|
|
3918
|
+
declare const tagName$G = "s-divider";
|
|
3919
|
+
interface DividerProps extends Pick<DividerProps$1, 'direction' | 'id'> {
|
|
2856
3920
|
}
|
|
2857
|
-
interface
|
|
2858
|
-
ontoggle: DetailsProps['onToggle'];
|
|
3921
|
+
interface DividerElement extends DividerProps, Omit<HTMLElement, 'id'> {
|
|
2859
3922
|
}
|
|
2860
3923
|
declare global {
|
|
2861
3924
|
interface HTMLElementTagNameMap {
|
|
2862
|
-
[tagName$
|
|
3925
|
+
[tagName$G]: DividerElement;
|
|
2863
3926
|
}
|
|
2864
3927
|
}
|
|
2865
3928
|
declare module 'preact' {
|
|
2866
|
-
interface BaseProps {
|
|
2867
|
-
children?: preact.ComponentChildren;
|
|
2868
|
-
slot?: Lowercase<string>;
|
|
2869
|
-
}
|
|
2870
3929
|
namespace createElement.JSX {
|
|
2871
3930
|
interface IntrinsicElements {
|
|
2872
|
-
[tagName$
|
|
3931
|
+
[tagName$G]: DividerProps & BaseElementPropsWithChildren<DividerElement>;
|
|
2873
3932
|
}
|
|
2874
3933
|
}
|
|
2875
3934
|
}
|
|
2876
3935
|
|
|
2877
|
-
declare const tagName$
|
|
2878
|
-
interface
|
|
3936
|
+
declare const tagName$F = "s-drop-zone";
|
|
3937
|
+
interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required' | 'value'> {
|
|
2879
3938
|
}
|
|
2880
|
-
interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput'> {
|
|
3939
|
+
interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput' | 'onChange'> {
|
|
2881
3940
|
}
|
|
2882
|
-
interface DropZoneElement extends
|
|
3941
|
+
interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput' | 'onchange'> {
|
|
2883
3942
|
ondroprejected: DropZoneEvents['onDropRejected'];
|
|
2884
3943
|
oninput: DropZoneEvents['onInput'];
|
|
3944
|
+
onchange: DropZoneEvents['onChange'];
|
|
2885
3945
|
}
|
|
2886
|
-
interface DropZoneProps extends
|
|
3946
|
+
interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
|
|
2887
3947
|
}
|
|
2888
3948
|
declare global {
|
|
2889
3949
|
interface HTMLElementTagNameMap {
|
|
3950
|
+
[tagName$F]: DropZoneElement;
|
|
2890
3951
|
}
|
|
2891
3952
|
}
|
|
2892
3953
|
declare module 'preact' {
|
|
2893
3954
|
namespace createElement.JSX {
|
|
2894
3955
|
interface IntrinsicElements {
|
|
2895
|
-
[tagName$
|
|
3956
|
+
[tagName$F]: DropZoneProps & BaseElementProps<DropZoneElement>;
|
|
2896
3957
|
}
|
|
2897
3958
|
}
|
|
2898
3959
|
}
|
|
2899
3960
|
|
|
2900
|
-
declare const tagName$
|
|
2901
|
-
interface
|
|
3961
|
+
declare const tagName$E = "s-email-field";
|
|
3962
|
+
interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'maxLength' | 'minLength' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
3963
|
+
/**
|
|
3964
|
+
* @deprecated Use `label` instead.
|
|
3965
|
+
* @private
|
|
3966
|
+
*/
|
|
3967
|
+
placeholder?: string;
|
|
2902
3968
|
}
|
|
2903
3969
|
interface EmailFieldEvents extends Pick<EmailFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
2904
3970
|
}
|
|
2905
|
-
interface EmailFieldElement extends
|
|
3971
|
+
interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
2906
3972
|
onblur: EmailFieldEvents['onBlur'];
|
|
2907
3973
|
onchange: EmailFieldEvents['onChange'];
|
|
2908
3974
|
onfocus: EmailFieldEvents['onFocus'];
|
|
2909
3975
|
oninput: EmailFieldEvents['onInput'];
|
|
2910
3976
|
}
|
|
2911
|
-
interface EmailFieldProps extends
|
|
3977
|
+
interface EmailFieldProps extends EmailFieldElementProps, EmailFieldEvents {
|
|
2912
3978
|
}
|
|
2913
3979
|
declare global {
|
|
2914
3980
|
interface HTMLElementTagNameMap {
|
|
2915
|
-
[tagName$
|
|
3981
|
+
[tagName$E]: EmailFieldElement;
|
|
2916
3982
|
}
|
|
2917
3983
|
}
|
|
2918
3984
|
declare module 'preact' {
|
|
2919
3985
|
namespace createElement.JSX {
|
|
2920
3986
|
interface IntrinsicElements {
|
|
2921
|
-
[tagName$
|
|
3987
|
+
[tagName$E]: EmailFieldProps & BaseElementProps<EmailFieldElement>;
|
|
2922
3988
|
}
|
|
2923
3989
|
}
|
|
2924
3990
|
}
|
|
2925
3991
|
|
|
2926
|
-
declare const tagName$
|
|
2927
|
-
interface
|
|
3992
|
+
declare const tagName$D = "s-form";
|
|
3993
|
+
interface FormElementProps extends Pick<FormProps$1, 'disabled' | 'id'> {
|
|
2928
3994
|
}
|
|
2929
3995
|
interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
3996
|
+
/**
|
|
3997
|
+
* A callback that is run when the form is submitted.
|
|
3998
|
+
*/
|
|
2930
3999
|
onSubmit?: () => void;
|
|
2931
4000
|
}
|
|
2932
|
-
interface FormElement extends
|
|
4001
|
+
interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
2933
4002
|
onsubmit: FormEvents['onSubmit'];
|
|
2934
4003
|
}
|
|
2935
|
-
interface FormProps extends
|
|
4004
|
+
interface FormProps extends FormElementProps, FormEvents {
|
|
4005
|
+
}
|
|
4006
|
+
declare global {
|
|
4007
|
+
interface HTMLElementTagNameMap {
|
|
4008
|
+
[tagName$D]: FormElement;
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
declare module 'preact' {
|
|
4012
|
+
namespace createElement.JSX {
|
|
4013
|
+
interface IntrinsicElements {
|
|
4014
|
+
[tagName$D]: FormProps & BaseElementPropsWithChildren<FormElement>;
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
declare const tagName$C = "s-grid-item";
|
|
4020
|
+
interface GridItemProps extends Pick<GridItemProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'gridColumn' | 'gridRow' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
4021
|
+
background?: Extract<GridItemProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4022
|
+
border?: BorderShorthand;
|
|
4023
|
+
borderColor?: ReducedColorKeyword | '';
|
|
4024
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4025
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridItemProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4026
|
+
}
|
|
4027
|
+
interface GridItemElement extends GridItemProps, Omit<HTMLElement, 'id'> {
|
|
4028
|
+
}
|
|
4029
|
+
declare global {
|
|
4030
|
+
interface HTMLElementTagNameMap {
|
|
4031
|
+
[tagName$C]: GridItemElement;
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
4034
|
+
declare module 'preact' {
|
|
4035
|
+
namespace createElement.JSX {
|
|
4036
|
+
interface IntrinsicElements {
|
|
4037
|
+
[tagName$C]: GridItemProps & BaseElementPropsWithChildren<GridItemElement>;
|
|
4038
|
+
}
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
declare const tagName$B = "s-grid";
|
|
4043
|
+
interface GridProps extends Pick<GridProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'display' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows' | 'id' | 'inlineSize' | 'justifyContent' | 'justifyItems' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'placeContent' | 'placeItems' | 'rowGap'> {
|
|
4044
|
+
alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
|
|
4045
|
+
alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
|
|
4046
|
+
background?: Extract<GridProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4047
|
+
border?: BorderShorthand;
|
|
4048
|
+
borderColor?: ReducedColorKeyword | '';
|
|
4049
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4050
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4051
|
+
justifyContent?: MaybeResponsive<ReducedJustifyContentKeyword | ''>;
|
|
4052
|
+
justifyItems?: MaybeResponsive<ReducedJustifyItemsKeyword | ''>;
|
|
4053
|
+
placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
|
|
4054
|
+
placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
|
|
4055
|
+
}
|
|
4056
|
+
interface GridElement extends GridProps, Omit<HTMLElement, 'id'> {
|
|
2936
4057
|
}
|
|
2937
4058
|
declare global {
|
|
2938
4059
|
interface HTMLElementTagNameMap {
|
|
4060
|
+
[tagName$B]: GridElement;
|
|
2939
4061
|
}
|
|
2940
4062
|
}
|
|
2941
4063
|
declare module 'preact' {
|
|
2942
4064
|
namespace createElement.JSX {
|
|
2943
4065
|
interface IntrinsicElements {
|
|
2944
|
-
[tagName$
|
|
4066
|
+
[tagName$B]: GridProps & BaseElementPropsWithChildren<GridElement>;
|
|
2945
4067
|
}
|
|
2946
4068
|
}
|
|
2947
4069
|
}
|
|
2948
4070
|
|
|
2949
|
-
declare const tagName$
|
|
4071
|
+
declare const tagName$A = "s-heading";
|
|
2950
4072
|
interface HeadingProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
|
|
2951
4073
|
}
|
|
2952
4074
|
interface HeadingElement extends HeadingProps, Omit<HTMLElement, 'id'> {
|
|
2953
4075
|
}
|
|
2954
4076
|
declare global {
|
|
2955
4077
|
interface HTMLElementTagNameMap {
|
|
4078
|
+
[tagName$A]: HeadingElement;
|
|
2956
4079
|
}
|
|
2957
4080
|
}
|
|
2958
4081
|
declare module 'preact' {
|
|
2959
4082
|
namespace createElement.JSX {
|
|
2960
4083
|
interface IntrinsicElements {
|
|
2961
|
-
[tagName$
|
|
4084
|
+
[tagName$A]: HeadingProps & BaseElementPropsWithChildren<HeadingElement>;
|
|
2962
4085
|
}
|
|
2963
4086
|
}
|
|
2964
4087
|
}
|
|
2965
4088
|
|
|
2966
|
-
declare const tagName$
|
|
4089
|
+
declare const tagName$z = "s-icon";
|
|
2967
4090
|
interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
2968
4091
|
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
2969
4092
|
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
@@ -2973,17 +4096,18 @@ interface IconElement extends IconProps, Omit<HTMLElement, 'id'> {
|
|
|
2973
4096
|
}
|
|
2974
4097
|
declare global {
|
|
2975
4098
|
interface HTMLElementTagNameMap {
|
|
4099
|
+
[tagName$z]: IconElement;
|
|
2976
4100
|
}
|
|
2977
4101
|
}
|
|
2978
4102
|
declare module 'preact' {
|
|
2979
4103
|
namespace createElement.JSX {
|
|
2980
4104
|
interface IntrinsicElements {
|
|
2981
|
-
[tagName$
|
|
4105
|
+
[tagName$z]: IconProps & BaseElementProps<IconElement>;
|
|
2982
4106
|
}
|
|
2983
4107
|
}
|
|
2984
4108
|
}
|
|
2985
4109
|
|
|
2986
|
-
declare const tagName$
|
|
4110
|
+
declare const tagName$y = "s-image";
|
|
2987
4111
|
interface ImageProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
|
|
2988
4112
|
border?: BorderShorthand;
|
|
2989
4113
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
@@ -2993,211 +4117,233 @@ interface ImageElement extends ImageProps, Omit<HTMLElement, 'id'> {
|
|
|
2993
4117
|
}
|
|
2994
4118
|
declare global {
|
|
2995
4119
|
interface HTMLElementTagNameMap {
|
|
4120
|
+
[tagName$y]: ImageElement;
|
|
2996
4121
|
}
|
|
2997
4122
|
}
|
|
2998
4123
|
declare module 'preact' {
|
|
2999
4124
|
namespace createElement.JSX {
|
|
3000
4125
|
interface IntrinsicElements {
|
|
3001
|
-
[tagName$
|
|
4126
|
+
[tagName$y]: ImageProps & BaseElementProps<ImageElement>;
|
|
3002
4127
|
}
|
|
3003
4128
|
}
|
|
3004
4129
|
}
|
|
3005
4130
|
|
|
3006
|
-
declare const tagName$
|
|
3007
|
-
interface
|
|
4131
|
+
declare const tagName$x = "s-link";
|
|
4132
|
+
interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
|
|
3008
4133
|
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
3009
4134
|
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
3010
4135
|
}
|
|
3011
4136
|
interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
|
|
3012
4137
|
}
|
|
3013
|
-
interface LinkElement extends
|
|
4138
|
+
interface LinkElement extends LinkElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
|
|
3014
4139
|
onclick: LinkEvents['onClick'];
|
|
3015
4140
|
}
|
|
3016
|
-
interface LinkProps extends
|
|
4141
|
+
interface LinkProps extends LinkElementProps, LinkEvents {
|
|
3017
4142
|
}
|
|
3018
4143
|
declare global {
|
|
3019
4144
|
interface HTMLElementTagNameMap {
|
|
4145
|
+
[tagName$x]: LinkElement;
|
|
3020
4146
|
}
|
|
3021
4147
|
}
|
|
3022
4148
|
declare module 'preact' {
|
|
3023
4149
|
namespace createElement.JSX {
|
|
3024
4150
|
interface IntrinsicElements {
|
|
3025
|
-
[tagName$
|
|
4151
|
+
[tagName$x]: LinkProps & BaseElementPropsWithChildren<LinkElement>;
|
|
3026
4152
|
}
|
|
3027
4153
|
}
|
|
3028
4154
|
}
|
|
3029
4155
|
|
|
3030
|
-
declare const tagName$
|
|
4156
|
+
declare const tagName$w = "s-list-item";
|
|
3031
4157
|
interface ListItemProps extends Pick<ListItemProps$1, 'id'> {
|
|
3032
4158
|
}
|
|
3033
4159
|
interface ListItemElement extends ListItemProps, Omit<HTMLElement, 'id'> {
|
|
3034
4160
|
}
|
|
3035
4161
|
declare global {
|
|
3036
4162
|
interface HTMLElementTagNameMap {
|
|
4163
|
+
[tagName$w]: ListItemElement;
|
|
4164
|
+
}
|
|
4165
|
+
}
|
|
4166
|
+
declare module 'preact' {
|
|
4167
|
+
namespace createElement.JSX {
|
|
4168
|
+
interface IntrinsicElements {
|
|
4169
|
+
[tagName$w]: ListItemProps & BaseElementPropsWithChildren<ListItemElement>;
|
|
4170
|
+
}
|
|
4171
|
+
}
|
|
4172
|
+
}
|
|
4173
|
+
|
|
4174
|
+
declare const tagName$v = "s-map-marker";
|
|
4175
|
+
interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'command' | 'commandFor' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
|
|
4176
|
+
command?: Extract<MapMarkerProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
4177
|
+
}
|
|
4178
|
+
interface MapMarkerEvents extends Pick<MapMarkerProps$1, 'onClick'> {
|
|
4179
|
+
}
|
|
4180
|
+
interface MapMarkerElement extends MapMarkerElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
4181
|
+
onclick: MapMarkerEvents['onClick'];
|
|
4182
|
+
}
|
|
4183
|
+
interface MapMarkerProps extends MapMarkerElementProps, MapMarkerEvents {
|
|
4184
|
+
}
|
|
4185
|
+
declare global {
|
|
4186
|
+
interface HTMLElementTagNameMap {
|
|
4187
|
+
[tagName$v]: MapMarkerElement;
|
|
3037
4188
|
}
|
|
3038
4189
|
}
|
|
3039
4190
|
declare module 'preact' {
|
|
3040
4191
|
namespace createElement.JSX {
|
|
3041
4192
|
interface IntrinsicElements {
|
|
3042
|
-
[tagName$
|
|
4193
|
+
[tagName$v]: MapMarkerProps & BaseElementPropsWithChildren<MapMarkerElement>;
|
|
3043
4194
|
}
|
|
3044
4195
|
}
|
|
3045
4196
|
}
|
|
3046
4197
|
|
|
3047
|
-
declare const tagName$
|
|
3048
|
-
interface
|
|
4198
|
+
declare const tagName$u = "s-map";
|
|
4199
|
+
interface MapElementProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
|
|
3049
4200
|
}
|
|
3050
4201
|
interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
|
|
3051
4202
|
}
|
|
3052
|
-
interface MapElement extends
|
|
4203
|
+
interface MapElement extends MapElementProps, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
|
|
3053
4204
|
onboundschange: MapEvents['onBoundsChange'];
|
|
3054
4205
|
onclick: MapEvents['onClick'];
|
|
3055
4206
|
ondblclick: MapEvents['onDblClick'];
|
|
3056
4207
|
onviewchange: MapEvents['onViewChange'];
|
|
3057
4208
|
}
|
|
3058
|
-
interface MapProps extends
|
|
4209
|
+
interface MapProps extends MapElementProps, MapEvents {
|
|
3059
4210
|
}
|
|
3060
4211
|
declare global {
|
|
3061
4212
|
interface HTMLElementTagNameMap {
|
|
3062
|
-
[tagName$
|
|
4213
|
+
[tagName$u]: MapElement;
|
|
3063
4214
|
}
|
|
3064
4215
|
}
|
|
3065
4216
|
declare module 'preact' {
|
|
3066
4217
|
namespace createElement.JSX {
|
|
3067
4218
|
interface IntrinsicElements {
|
|
3068
|
-
[tagName$
|
|
4219
|
+
[tagName$u]: MapProps & BaseElementPropsWithChildren<MapElement>;
|
|
3069
4220
|
}
|
|
3070
4221
|
}
|
|
3071
4222
|
}
|
|
3072
4223
|
|
|
3073
|
-
declare const tagName$
|
|
3074
|
-
interface
|
|
4224
|
+
declare const tagName$t = "s-modal";
|
|
4225
|
+
interface ModalElementProps extends Pick<ModalProps$1, 'accessibilityLabel' | 'heading' | 'id' | 'padding' | 'size'> {
|
|
4226
|
+
size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
|
|
3075
4227
|
}
|
|
3076
|
-
interface
|
|
4228
|
+
interface ModalEvents extends Pick<ModalProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
3077
4229
|
}
|
|
3078
|
-
interface
|
|
3079
|
-
/**
|
|
3080
|
-
* The graphic to use as the marker.
|
|
3081
|
-
*
|
|
3082
|
-
* If unset, it will default to the provider’s default marker.
|
|
3083
|
-
*/
|
|
3084
|
-
graphic?: ReactNode;
|
|
4230
|
+
interface ModalElementMethods extends Pick<ModalProps$1, 'hideOverlay'> {
|
|
3085
4231
|
}
|
|
3086
|
-
interface
|
|
3087
|
-
|
|
4232
|
+
interface ModalElement extends ModalElementProps, ModalElementMethods, Omit<HTMLElement, 'id'> {
|
|
4233
|
+
onafterhide: ModalEvents['onAfterHide'];
|
|
4234
|
+
onaftershow: ModalEvents['onAfterShow'];
|
|
4235
|
+
onhide: ModalEvents['onHide'];
|
|
4236
|
+
onshow: ModalEvents['onShow'];
|
|
3088
4237
|
}
|
|
3089
|
-
interface
|
|
4238
|
+
interface ModalProps extends ModalElementProps, ModalEvents {
|
|
3090
4239
|
}
|
|
3091
4240
|
declare global {
|
|
3092
4241
|
interface HTMLElementTagNameMap {
|
|
3093
|
-
[tagName$
|
|
4242
|
+
[tagName$t]: ModalElement;
|
|
3094
4243
|
}
|
|
3095
4244
|
}
|
|
3096
4245
|
declare module 'preact' {
|
|
3097
4246
|
namespace createElement.JSX {
|
|
3098
4247
|
interface IntrinsicElements {
|
|
3099
|
-
[tagName$
|
|
4248
|
+
[tagName$t]: ModalProps & BaseElementPropsWithChildren<ModalElement>;
|
|
3100
4249
|
}
|
|
3101
4250
|
}
|
|
3102
4251
|
}
|
|
3103
4252
|
|
|
3104
|
-
declare const tagName$
|
|
3105
|
-
interface
|
|
3106
|
-
size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
|
|
3107
|
-
}
|
|
3108
|
-
interface ModalSlots extends Pick<ModalProps$1, 'primaryAction' | 'secondaryActions'> {
|
|
3109
|
-
/**
|
|
3110
|
-
* The primary action to perform, provided as a button type element.
|
|
3111
|
-
*/
|
|
3112
|
-
primaryAction?: ReactNode;
|
|
3113
|
-
/**
|
|
3114
|
-
* The secondary actions to perform, provided as button type elements.
|
|
3115
|
-
*/
|
|
3116
|
-
secondaryActions?: ReactNode;
|
|
4253
|
+
declare const tagName$s = "s-money-field";
|
|
4254
|
+
interface MoneyFieldElementProps extends Pick<MoneyFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'readOnly' | 'required' | 'step' | 'value'> {
|
|
3117
4255
|
}
|
|
3118
|
-
interface
|
|
4256
|
+
interface MoneyFieldEvents extends Pick<MoneyFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3119
4257
|
}
|
|
3120
|
-
interface
|
|
3121
|
-
|
|
3122
|
-
|
|
4258
|
+
interface MoneyFieldElement extends MoneyFieldElementProps {
|
|
4259
|
+
onblur: MoneyFieldEvents['onBlur'];
|
|
4260
|
+
onchange: MoneyFieldEvents['onChange'];
|
|
4261
|
+
onfocus: MoneyFieldEvents['onFocus'];
|
|
4262
|
+
oninput: MoneyFieldEvents['onInput'];
|
|
3123
4263
|
}
|
|
3124
|
-
interface
|
|
4264
|
+
interface MoneyFieldProps extends MoneyFieldElementProps, MoneyFieldEvents {
|
|
3125
4265
|
}
|
|
3126
4266
|
declare global {
|
|
3127
4267
|
interface HTMLElementTagNameMap {
|
|
3128
|
-
[tagName$
|
|
4268
|
+
[tagName$s]: MoneyFieldElement;
|
|
3129
4269
|
}
|
|
3130
4270
|
}
|
|
3131
4271
|
declare module 'preact' {
|
|
3132
4272
|
namespace createElement.JSX {
|
|
3133
4273
|
interface IntrinsicElements {
|
|
3134
|
-
[tagName$
|
|
4274
|
+
[tagName$s]: MoneyFieldProps & BaseElementProps<MoneyFieldElement>;
|
|
3135
4275
|
}
|
|
3136
4276
|
}
|
|
3137
4277
|
}
|
|
3138
4278
|
|
|
3139
|
-
declare const tagName$
|
|
3140
|
-
interface
|
|
4279
|
+
declare const tagName$r = "s-number-field";
|
|
4280
|
+
interface NumberFieldElementProps extends Pick<NumberFieldProps$1, 'autocomplete' | 'controls' | 'defaultValue' | 'details' | 'disabled' | 'error' | 'icon' | 'id' | 'inputMode' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'prefix' | 'readOnly' | 'required' | 'step' | 'suffix' | 'value'> {
|
|
4281
|
+
/**
|
|
4282
|
+
* @deprecated Use `label` instead.
|
|
4283
|
+
* @private
|
|
4284
|
+
*/
|
|
4285
|
+
placeholder?: string;
|
|
3141
4286
|
}
|
|
3142
4287
|
interface NumberFieldEvents extends Pick<NumberFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3143
4288
|
}
|
|
3144
|
-
interface NumberFieldElement extends
|
|
4289
|
+
interface NumberFieldElement extends NumberFieldElementProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3145
4290
|
onblur: NumberFieldEvents['onBlur'];
|
|
3146
4291
|
onchange: NumberFieldEvents['onChange'];
|
|
3147
4292
|
onfocus: NumberFieldEvents['onFocus'];
|
|
3148
4293
|
oninput: NumberFieldEvents['onInput'];
|
|
3149
4294
|
}
|
|
3150
|
-
interface NumberFieldProps extends
|
|
4295
|
+
interface NumberFieldProps extends NumberFieldElementProps, NumberFieldEvents {
|
|
3151
4296
|
}
|
|
3152
4297
|
declare global {
|
|
3153
4298
|
interface HTMLElementTagNameMap {
|
|
3154
|
-
[tagName$
|
|
4299
|
+
[tagName$r]: NumberFieldElement;
|
|
3155
4300
|
}
|
|
3156
4301
|
}
|
|
3157
4302
|
declare module 'preact' {
|
|
3158
4303
|
namespace createElement.JSX {
|
|
3159
4304
|
interface IntrinsicElements {
|
|
3160
|
-
[tagName$
|
|
4305
|
+
[tagName$r]: NumberFieldProps & BaseElementPropsWithChildren<NumberFieldElement>;
|
|
3161
4306
|
}
|
|
3162
4307
|
}
|
|
3163
4308
|
}
|
|
3164
4309
|
|
|
3165
|
-
declare const tagName$
|
|
3166
|
-
interface
|
|
4310
|
+
declare const tagName$q = "s-option";
|
|
4311
|
+
interface OptionProps extends Pick<OptionProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'value'> {
|
|
3167
4312
|
}
|
|
3168
|
-
interface
|
|
4313
|
+
interface OptionElement extends OptionProps, Omit<HTMLElement, 'id'> {
|
|
3169
4314
|
}
|
|
3170
4315
|
declare global {
|
|
3171
4316
|
interface HTMLElementTagNameMap {
|
|
4317
|
+
[tagName$q]: OptionElement;
|
|
3172
4318
|
}
|
|
3173
4319
|
}
|
|
3174
4320
|
declare module 'preact' {
|
|
3175
4321
|
namespace createElement.JSX {
|
|
3176
4322
|
interface IntrinsicElements {
|
|
3177
|
-
[tagName$
|
|
4323
|
+
[tagName$q]: OptionProps & BaseElementPropsWithChildren<OptionElement>;
|
|
3178
4324
|
}
|
|
3179
4325
|
}
|
|
3180
4326
|
}
|
|
3181
4327
|
|
|
3182
|
-
declare const tagName$
|
|
3183
|
-
interface
|
|
4328
|
+
declare const tagName$p = "s-ordered-list";
|
|
4329
|
+
interface OrderedListProps extends OrderedListProps$1 {
|
|
3184
4330
|
}
|
|
3185
|
-
interface
|
|
4331
|
+
interface OrderedListElement extends OrderedListProps, Omit<HTMLElement, 'id'> {
|
|
3186
4332
|
}
|
|
3187
4333
|
declare global {
|
|
3188
4334
|
interface HTMLElementTagNameMap {
|
|
3189
|
-
[tagName$
|
|
4335
|
+
[tagName$p]: OrderedListElement;
|
|
3190
4336
|
}
|
|
3191
4337
|
}
|
|
3192
4338
|
declare module 'preact' {
|
|
3193
4339
|
namespace createElement.JSX {
|
|
3194
4340
|
interface IntrinsicElements {
|
|
3195
|
-
[tagName$
|
|
4341
|
+
[tagName$p]: OrderedListProps & BaseElementPropsWithChildren<OrderedListElement>;
|
|
3196
4342
|
}
|
|
3197
4343
|
}
|
|
3198
4344
|
}
|
|
3199
4345
|
|
|
3200
|
-
declare const tagName$
|
|
4346
|
+
declare const tagName$o = "s-paragraph";
|
|
3201
4347
|
interface ParagraphProps extends Pick<ParagraphProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
3202
4348
|
color?: Extract<ParagraphProps$1['color'], 'subdued' | 'base'>;
|
|
3203
4349
|
tone?: Extract<ParagraphProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'custom'>;
|
|
@@ -3206,67 +4352,159 @@ interface ParagraphElement extends ParagraphProps, Omit<HTMLElement, 'id' | 'dir
|
|
|
3206
4352
|
}
|
|
3207
4353
|
declare global {
|
|
3208
4354
|
interface HTMLElementTagNameMap {
|
|
4355
|
+
[tagName$o]: ParagraphElement;
|
|
3209
4356
|
}
|
|
3210
4357
|
}
|
|
3211
4358
|
declare module 'preact' {
|
|
3212
4359
|
namespace createElement.JSX {
|
|
3213
4360
|
interface IntrinsicElements {
|
|
3214
|
-
[tagName$
|
|
4361
|
+
[tagName$o]: ParagraphProps & BaseElementPropsWithChildren<ParagraphElement>;
|
|
3215
4362
|
}
|
|
3216
4363
|
}
|
|
3217
4364
|
}
|
|
3218
4365
|
|
|
3219
|
-
declare const tagName$
|
|
3220
|
-
interface
|
|
4366
|
+
declare const tagName$n = "s-password-field";
|
|
4367
|
+
interface PasswordFieldElementProps extends Pick<PasswordFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
3221
4368
|
}
|
|
3222
|
-
interface
|
|
4369
|
+
interface PasswordFieldEvents extends Pick<PasswordFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4370
|
+
}
|
|
4371
|
+
interface PasswordFieldElement extends PasswordFieldProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4372
|
+
onblur: PasswordFieldEvents['onBlur'];
|
|
4373
|
+
onchange: PasswordFieldEvents['onChange'];
|
|
4374
|
+
onfocus: PasswordFieldEvents['onFocus'];
|
|
4375
|
+
oninput: PasswordFieldEvents['onInput'];
|
|
4376
|
+
}
|
|
4377
|
+
interface PasswordFieldProps extends PasswordFieldElementProps, PasswordFieldEvents {
|
|
3223
4378
|
}
|
|
3224
4379
|
declare global {
|
|
3225
4380
|
interface HTMLElementTagNameMap {
|
|
4381
|
+
[tagName$n]: PasswordFieldElement;
|
|
3226
4382
|
}
|
|
3227
4383
|
}
|
|
3228
4384
|
declare module 'preact' {
|
|
3229
4385
|
namespace createElement.JSX {
|
|
3230
4386
|
interface IntrinsicElements {
|
|
3231
|
-
[tagName$
|
|
4387
|
+
[tagName$n]: PasswordFieldProps & BaseElementPropsWithChildren<PasswordFieldElement>;
|
|
3232
4388
|
}
|
|
3233
4389
|
}
|
|
3234
4390
|
}
|
|
3235
4391
|
|
|
3236
|
-
declare const tagName$
|
|
3237
|
-
interface
|
|
4392
|
+
declare const tagName$m = "s-payment-icon";
|
|
4393
|
+
interface PaymentIconProps extends PaymentIconProps$1 {
|
|
3238
4394
|
}
|
|
3239
|
-
interface
|
|
4395
|
+
interface PaymentIconElement extends PaymentIconProps, Omit<HTMLElement, 'id'> {
|
|
4396
|
+
}
|
|
4397
|
+
declare global {
|
|
4398
|
+
interface HTMLElementTagNameMap {
|
|
4399
|
+
[tagName$m]: PaymentIconElement;
|
|
4400
|
+
}
|
|
4401
|
+
}
|
|
4402
|
+
declare module 'preact' {
|
|
4403
|
+
namespace createElement.JSX {
|
|
4404
|
+
interface IntrinsicElements {
|
|
4405
|
+
[tagName$m]: PaymentIconProps & BaseElementProps<PaymentIconElement>;
|
|
4406
|
+
}
|
|
4407
|
+
}
|
|
3240
4408
|
}
|
|
3241
|
-
|
|
4409
|
+
|
|
4410
|
+
declare const tagName$l = "s-popover";
|
|
4411
|
+
interface PopoverElementProps extends Pick<PopoverProps$1, 'id'> {
|
|
4412
|
+
/**
|
|
4413
|
+
* Adjust the block size.
|
|
4414
|
+
*
|
|
4415
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
4416
|
+
*
|
|
4417
|
+
* @default 'auto'
|
|
4418
|
+
*/
|
|
4419
|
+
blockSize?: SizeUnitsOrAuto;
|
|
4420
|
+
/**
|
|
4421
|
+
* Adjust the inline size.
|
|
4422
|
+
*
|
|
4423
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
4424
|
+
*
|
|
4425
|
+
* @default 'auto'
|
|
4426
|
+
*/
|
|
4427
|
+
inlineSize?: SizeUnitsOrAuto;
|
|
4428
|
+
/**
|
|
4429
|
+
* Adjust the maximum block size.
|
|
4430
|
+
*
|
|
4431
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
4432
|
+
*
|
|
4433
|
+
* @default 'none'
|
|
4434
|
+
*/
|
|
4435
|
+
maxBlockSize?: SizeUnitsOrNone;
|
|
4436
|
+
/**
|
|
4437
|
+
* Adjust the maximum inline size.
|
|
4438
|
+
*
|
|
4439
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
4440
|
+
*
|
|
4441
|
+
* @default 'none'
|
|
4442
|
+
*/
|
|
4443
|
+
maxInlineSize?: SizeUnitsOrNone;
|
|
4444
|
+
/**
|
|
4445
|
+
* Adjust the minimum block size.
|
|
4446
|
+
*
|
|
4447
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
4448
|
+
*
|
|
4449
|
+
* @default '0'
|
|
4450
|
+
*/
|
|
4451
|
+
minBlockSize?: SizeUnits;
|
|
3242
4452
|
/**
|
|
3243
|
-
*
|
|
3244
|
-
*
|
|
4453
|
+
* Adjust the minimum inline size.
|
|
4454
|
+
*
|
|
4455
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
4456
|
+
*
|
|
4457
|
+
* @default '0'
|
|
3245
4458
|
*/
|
|
3246
|
-
|
|
4459
|
+
minInlineSize?: SizeUnits;
|
|
3247
4460
|
}
|
|
3248
|
-
interface
|
|
3249
|
-
onblur: PhoneFieldEvents['onBlur'];
|
|
3250
|
-
onchange: PhoneFieldEvents['onChange'];
|
|
3251
|
-
onfocus: PhoneFieldEvents['onFocus'];
|
|
3252
|
-
oninput: PhoneFieldEvents['onInput'];
|
|
4461
|
+
interface PopoverEvents extends Pick<PopoverProps$1, 'onHide' | 'onShow'> {
|
|
3253
4462
|
}
|
|
3254
|
-
interface
|
|
4463
|
+
interface PopoverElement extends Omit<PopoverProps, 'onHide' | 'onShow'>, Omit<HTMLElement, 'id'> {
|
|
4464
|
+
onhide: PopoverProps['onHide'];
|
|
4465
|
+
onshow: PopoverProps['onShow'];
|
|
4466
|
+
}
|
|
4467
|
+
interface PopoverProps extends PopoverElementProps, PopoverEvents {
|
|
4468
|
+
}
|
|
4469
|
+
declare global {
|
|
4470
|
+
interface HTMLElementTagNameMap {
|
|
4471
|
+
[tagName$l]: PopoverElement;
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4474
|
+
declare module 'preact' {
|
|
4475
|
+
namespace createElement.JSX {
|
|
4476
|
+
interface IntrinsicElements {
|
|
4477
|
+
[tagName$l]: PopoverProps & BaseElementPropsWithChildren<PopoverElement>;
|
|
4478
|
+
}
|
|
4479
|
+
}
|
|
4480
|
+
}
|
|
4481
|
+
|
|
4482
|
+
declare const tagName$k = "s-press-button";
|
|
4483
|
+
interface PressButtonElementProps extends Pick<PressButtonProps$1, 'accessibilityLabel' | 'id' | 'inlineSize' | 'lang' | 'disabled' | 'loading' | 'pressed' | 'defaultPressed'> {
|
|
4484
|
+
}
|
|
4485
|
+
interface PressButtonEvents extends Pick<PressButtonProps$1, 'onClick' | 'onBlur' | 'onFocus'> {
|
|
4486
|
+
}
|
|
4487
|
+
interface PressButtonElement extends PressButtonElementProps, Omit<HTMLElement, 'children' | 'lang' | 'id' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
4488
|
+
onblur: PressButtonEvents['onBlur'];
|
|
4489
|
+
onclick: PressButtonEvents['onClick'];
|
|
4490
|
+
onfocus: PressButtonEvents['onFocus'];
|
|
4491
|
+
}
|
|
4492
|
+
interface PressButtonProps extends PressButtonElementProps, PressButtonEvents {
|
|
3255
4493
|
}
|
|
3256
4494
|
declare global {
|
|
3257
4495
|
interface HTMLElementTagNameMap {
|
|
3258
|
-
[tagName$
|
|
4496
|
+
[tagName$k]: PressButtonElement;
|
|
3259
4497
|
}
|
|
3260
4498
|
}
|
|
3261
4499
|
declare module 'preact' {
|
|
3262
4500
|
namespace createElement.JSX {
|
|
3263
4501
|
interface IntrinsicElements {
|
|
3264
|
-
[tagName$
|
|
4502
|
+
[tagName$k]: PressButtonProps & BaseElementPropsWithChildren<PressButtonElement>;
|
|
3265
4503
|
}
|
|
3266
4504
|
}
|
|
3267
4505
|
}
|
|
3268
4506
|
|
|
3269
|
-
declare const tagName$
|
|
4507
|
+
declare const tagName$j = "s-product-thumbnail";
|
|
3270
4508
|
interface ProductThumbnailProps extends Pick<ProductThumbnailProps$1, 'alt' | 'size' | 'sizes' | 'src' | 'srcSet' | 'totalItems'> {
|
|
3271
4509
|
size?: Extract<ProductThumbnailProps$1['size'], 'small-100' | 'small' | 'base'>;
|
|
3272
4510
|
}
|
|
@@ -3274,18 +4512,18 @@ interface ProductThumbnailElement extends ProductThumbnailProps, Omit<HTMLElemen
|
|
|
3274
4512
|
}
|
|
3275
4513
|
declare global {
|
|
3276
4514
|
interface HTMLElementTagNameMap {
|
|
3277
|
-
[tagName$
|
|
4515
|
+
[tagName$j]: ProductThumbnailElement;
|
|
3278
4516
|
}
|
|
3279
4517
|
}
|
|
3280
4518
|
declare module 'preact' {
|
|
3281
4519
|
namespace createElement.JSX {
|
|
3282
4520
|
interface IntrinsicElements {
|
|
3283
|
-
[tagName$
|
|
4521
|
+
[tagName$j]: ProductThumbnailProps & BaseElementProps<ProductThumbnailElement>;
|
|
3284
4522
|
}
|
|
3285
4523
|
}
|
|
3286
4524
|
}
|
|
3287
4525
|
|
|
3288
|
-
declare const tagName$
|
|
4526
|
+
declare const tagName$i = "s-progress";
|
|
3289
4527
|
interface ProgressProps extends Pick<ProgressProps$1, 'accessibilityLabel' | 'id' | 'max' | 'tone' | 'value'> {
|
|
3290
4528
|
tone?: Extract<ProgressProps$1['tone'], 'auto' | 'critical'>;
|
|
3291
4529
|
}
|
|
@@ -3293,83 +4531,183 @@ interface ProgressElement extends ProgressProps, Omit<HTMLElement, 'id'> {
|
|
|
3293
4531
|
}
|
|
3294
4532
|
declare global {
|
|
3295
4533
|
interface HTMLElementTagNameMap {
|
|
4534
|
+
[tagName$i]: ProgressElement;
|
|
3296
4535
|
}
|
|
3297
4536
|
}
|
|
3298
4537
|
declare module 'preact' {
|
|
3299
4538
|
namespace createElement.JSX {
|
|
3300
4539
|
interface IntrinsicElements {
|
|
3301
|
-
[tagName$
|
|
4540
|
+
[tagName$i]: ProgressProps & BaseElementProps<ProgressElement>;
|
|
3302
4541
|
}
|
|
3303
4542
|
}
|
|
3304
4543
|
}
|
|
3305
4544
|
|
|
3306
|
-
declare const tagName$
|
|
3307
|
-
interface
|
|
4545
|
+
declare const tagName$h = "s-qr-code";
|
|
4546
|
+
interface QRCodeElementProps extends QRCodeProps$1 {
|
|
3308
4547
|
}
|
|
3309
4548
|
interface QRCodeEvents extends Pick<QRCodeProps$1, 'onError'> {
|
|
3310
4549
|
}
|
|
3311
|
-
interface QRCodelement extends
|
|
4550
|
+
interface QRCodelement extends QRCodeElementProps, Omit<HTMLElement, 'id' | 'onerror'> {
|
|
3312
4551
|
onerror: QRCodeEvents['onError'];
|
|
3313
4552
|
}
|
|
3314
|
-
interface QRCodeProps extends
|
|
4553
|
+
interface QRCodeProps extends QRCodeElementProps, QRCodeEvents {
|
|
4554
|
+
}
|
|
4555
|
+
declare global {
|
|
4556
|
+
interface HTMLElementTagNameMap {
|
|
4557
|
+
[tagName$h]: QRCodelement;
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
declare module 'preact' {
|
|
4561
|
+
namespace createElement.JSX {
|
|
4562
|
+
interface IntrinsicElements {
|
|
4563
|
+
[tagName$h]: QRCodeProps & BaseElementProps<QRCodelement>;
|
|
4564
|
+
}
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4568
|
+
declare const tagName$g = "s-query-container";
|
|
4569
|
+
interface QueryContainerElementProps extends Pick<QueryContainerProps$1, 'containerName' | 'id'> {
|
|
4570
|
+
}
|
|
4571
|
+
interface QueryContainerElement extends QueryContainerElementProps, Omit<HTMLElement, 'id'> {
|
|
4572
|
+
}
|
|
4573
|
+
interface QueryContainerProps extends QueryContainerElementProps {
|
|
4574
|
+
}
|
|
4575
|
+
declare global {
|
|
4576
|
+
interface HTMLElementTagNameMap {
|
|
4577
|
+
[tagName$g]: QueryContainerElement;
|
|
4578
|
+
}
|
|
4579
|
+
}
|
|
4580
|
+
declare module 'preact' {
|
|
4581
|
+
namespace createElement.JSX {
|
|
4582
|
+
interface IntrinsicElements {
|
|
4583
|
+
[tagName$g]: QueryContainerProps & BaseElementPropsWithChildren<QueryContainerElement>;
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
}
|
|
4587
|
+
|
|
4588
|
+
declare const tagName$f = "s-scroll-box";
|
|
4589
|
+
interface ScrollBoxProps extends Pick<ScrollBoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
4590
|
+
background?: Extract<ScrollBoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4591
|
+
border?: BorderShorthand;
|
|
4592
|
+
borderColor?: ReducedColorKeyword | '';
|
|
4593
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ScrollBoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4594
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4595
|
+
}
|
|
4596
|
+
interface ScrollBoxElement extends ScrollBoxProps, Omit<HTMLElement, 'id'> {
|
|
3315
4597
|
}
|
|
3316
4598
|
declare global {
|
|
3317
4599
|
interface HTMLElementTagNameMap {
|
|
3318
|
-
[tagName$
|
|
4600
|
+
[tagName$f]: ScrollBoxElement;
|
|
3319
4601
|
}
|
|
3320
4602
|
}
|
|
3321
4603
|
declare module 'preact' {
|
|
3322
4604
|
namespace createElement.JSX {
|
|
3323
4605
|
interface IntrinsicElements {
|
|
3324
|
-
[tagName$
|
|
4606
|
+
[tagName$f]: ScrollBoxProps & BaseElementPropsWithChildren<ScrollBoxElement>;
|
|
3325
4607
|
}
|
|
3326
4608
|
}
|
|
3327
4609
|
}
|
|
3328
4610
|
|
|
3329
|
-
declare const tagName$
|
|
4611
|
+
declare const tagName$e = "s-section";
|
|
3330
4612
|
interface SectionProps extends Pick<SectionProps$1, 'accessibilityLabel' | 'heading' | 'id'> {
|
|
3331
4613
|
}
|
|
3332
4614
|
interface SectionElement extends SectionProps, Omit<HTMLElement, 'id'> {
|
|
3333
4615
|
}
|
|
3334
4616
|
declare global {
|
|
3335
4617
|
interface HTMLElementTagNameMap {
|
|
3336
|
-
[tagName$
|
|
4618
|
+
[tagName$e]: SectionElement;
|
|
3337
4619
|
}
|
|
3338
4620
|
}
|
|
3339
4621
|
declare module 'preact' {
|
|
3340
4622
|
namespace createElement.JSX {
|
|
3341
4623
|
interface IntrinsicElements {
|
|
3342
|
-
[tagName$
|
|
4624
|
+
[tagName$e]: SectionProps & BaseElementPropsWithChildren<SectionElement>;
|
|
3343
4625
|
}
|
|
3344
4626
|
}
|
|
3345
4627
|
}
|
|
3346
4628
|
|
|
3347
|
-
declare const tagName$
|
|
3348
|
-
interface
|
|
4629
|
+
declare const tagName$d = "s-select";
|
|
4630
|
+
interface SelectElementProps extends Pick<SelectProps$1, 'autocomplete' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value'> {
|
|
3349
4631
|
}
|
|
3350
4632
|
interface SelectEvents extends Pick<SelectProps$1, 'onBlur' | 'onChange' | 'onFocus'> {
|
|
3351
4633
|
}
|
|
3352
|
-
interface SelectElement extends
|
|
4634
|
+
interface SelectElement extends SelectElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus'> {
|
|
3353
4635
|
onblur: SelectEvents['onBlur'];
|
|
3354
4636
|
onchange: SelectEvents['onChange'];
|
|
3355
4637
|
onfocus: SelectEvents['onFocus'];
|
|
3356
4638
|
}
|
|
3357
|
-
interface SelectProps extends
|
|
4639
|
+
interface SelectProps extends SelectElementProps, SelectEvents {
|
|
4640
|
+
}
|
|
4641
|
+
declare global {
|
|
4642
|
+
interface HTMLElementTagNameMap {
|
|
4643
|
+
[tagName$d]: SelectElement;
|
|
4644
|
+
}
|
|
4645
|
+
}
|
|
4646
|
+
declare module 'preact' {
|
|
4647
|
+
namespace createElement.JSX {
|
|
4648
|
+
interface IntrinsicElements {
|
|
4649
|
+
[tagName$d]: SelectProps & BaseElementPropsWithChildren<SelectElement>;
|
|
4650
|
+
}
|
|
4651
|
+
}
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
declare const tagName$c = "s-sheet";
|
|
4655
|
+
interface SheetElementProps extends Pick<SheetProps$1, 'defaultOpen' | 'heading' | 'id'> {
|
|
4656
|
+
/**
|
|
4657
|
+
* A label that describes the purpose of the modal. When set,
|
|
4658
|
+
* it will be announced to users using assistive technologies and will
|
|
4659
|
+
* provide them with more context.
|
|
4660
|
+
*
|
|
4661
|
+
* This overrides the `heading` prop for screen readers.
|
|
4662
|
+
*/
|
|
4663
|
+
accessibilityLabel?: string;
|
|
4664
|
+
}
|
|
4665
|
+
interface SheetEvents extends Pick<SheetProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
4666
|
+
}
|
|
4667
|
+
interface SheetElementMethods extends Pick<SheetProps$1, 'hideOverlay'> {
|
|
4668
|
+
}
|
|
4669
|
+
interface SheetElement extends SheetElementProps, SheetElementMethods, Omit<HTMLElement, 'id'> {
|
|
4670
|
+
afterhide: SheetEvents['onAfterHide'];
|
|
4671
|
+
aftershow: SheetEvents['onAfterShow'];
|
|
4672
|
+
onhide: SheetEvents['onHide'];
|
|
4673
|
+
onshow: SheetEvents['onShow'];
|
|
4674
|
+
onafterhide: SheetEvents['onAfterHide'];
|
|
4675
|
+
onaftershow: SheetEvents['onAfterShow'];
|
|
4676
|
+
}
|
|
4677
|
+
interface SheetProps extends SheetElementProps, SheetEvents {
|
|
3358
4678
|
}
|
|
3359
4679
|
declare global {
|
|
3360
4680
|
interface HTMLElementTagNameMap {
|
|
3361
|
-
[tagName$
|
|
4681
|
+
[tagName$c]: SheetElement;
|
|
3362
4682
|
}
|
|
3363
4683
|
}
|
|
3364
4684
|
declare module 'preact' {
|
|
3365
4685
|
namespace createElement.JSX {
|
|
3366
4686
|
interface IntrinsicElements {
|
|
3367
|
-
[tagName$
|
|
4687
|
+
[tagName$c]: SheetProps & BaseElementPropsWithChildren<SheetElement>;
|
|
3368
4688
|
}
|
|
3369
4689
|
}
|
|
3370
4690
|
}
|
|
3371
4691
|
|
|
3372
|
-
declare const tagName$
|
|
4692
|
+
declare const tagName$b = "s-skeleton-paragraph";
|
|
4693
|
+
interface SkeletonParagraphProps extends SkeletonParagraphProps$1 {
|
|
4694
|
+
}
|
|
4695
|
+
interface SkeletonParagraphElement extends SkeletonParagraphProps, Omit<HTMLElement, 'id'> {
|
|
4696
|
+
}
|
|
4697
|
+
declare global {
|
|
4698
|
+
interface HTMLElementTagNameMap {
|
|
4699
|
+
[tagName$b]: SkeletonParagraphElement;
|
|
4700
|
+
}
|
|
4701
|
+
}
|
|
4702
|
+
declare module 'preact' {
|
|
4703
|
+
namespace createElement.JSX {
|
|
4704
|
+
interface IntrinsicElements {
|
|
4705
|
+
[tagName$b]: SkeletonParagraphProps & BaseElementProps<SkeletonParagraphElement>;
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
}
|
|
4709
|
+
|
|
4710
|
+
declare const tagName$a = "s-spinner";
|
|
3373
4711
|
interface SpinnerProps extends SpinnerProps$1 {
|
|
3374
4712
|
size?: Extract<SpinnerProps$1['size'], 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
3375
4713
|
}
|
|
@@ -3377,49 +4715,51 @@ interface SpinnerElement extends SpinnerProps, Omit<HTMLElement, 'id'> {
|
|
|
3377
4715
|
}
|
|
3378
4716
|
declare global {
|
|
3379
4717
|
interface HTMLElementTagNameMap {
|
|
4718
|
+
[tagName$a]: SpinnerElement;
|
|
3380
4719
|
}
|
|
3381
4720
|
}
|
|
3382
4721
|
declare module 'preact' {
|
|
3383
4722
|
namespace createElement.JSX {
|
|
3384
4723
|
interface IntrinsicElements {
|
|
3385
|
-
[tagName$
|
|
4724
|
+
[tagName$a]: SpinnerProps & BaseElementProps<SpinnerElement>;
|
|
3386
4725
|
}
|
|
3387
4726
|
}
|
|
3388
4727
|
}
|
|
3389
4728
|
|
|
3390
|
-
declare const tagName$
|
|
4729
|
+
declare const tagName$9 = "s-stack";
|
|
3391
4730
|
interface StackProps extends Pick<StackProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'direction' | 'display' | 'gap' | 'id' | 'inlineSize' | 'justifyContent' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'rowGap'> {
|
|
3392
4731
|
accessibilityRole?: Extract<StackProps$1['accessibilityRole'], 'main' | 'header' | 'footer' | 'section' | 'aside' | 'navigation' | 'ordered-list' | 'list-item' | 'list-item-separator' | 'unordered-list' | 'separator' | 'status' | 'alert' | 'generic' | 'none'>;
|
|
3393
4732
|
background?: Extract<StackProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3394
4733
|
border?: BorderShorthand;
|
|
3395
4734
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3396
4735
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<StackProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3397
|
-
alignContent?: Extract<StackProps$1['alignContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'
|
|
3398
|
-
alignItems?: Extract<StackProps$1['alignItems'], 'normal' | 'stretch' | 'center' | 'start' | 'end'
|
|
3399
|
-
justifyContent?: Extract<StackProps$1['justifyContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'
|
|
4736
|
+
alignContent?: MaybeResponsive<Extract<StackProps$1['alignContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4737
|
+
alignItems?: MaybeResponsive<Extract<StackProps$1['alignItems'], 'normal' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4738
|
+
justifyContent?: MaybeResponsive<Extract<StackProps$1['justifyContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
3400
4739
|
}
|
|
3401
4740
|
interface StackElement extends StackProps, Omit<HTMLElement, 'id'> {
|
|
3402
4741
|
}
|
|
3403
4742
|
declare global {
|
|
3404
4743
|
interface HTMLElementTagNameMap {
|
|
4744
|
+
[tagName$9]: StackElement;
|
|
3405
4745
|
}
|
|
3406
4746
|
}
|
|
3407
4747
|
declare module 'preact' {
|
|
3408
4748
|
namespace createElement.JSX {
|
|
3409
4749
|
interface IntrinsicElements {
|
|
3410
|
-
[tagName$
|
|
4750
|
+
[tagName$9]: StackProps & BaseElementPropsWithChildren<StackElement>;
|
|
3411
4751
|
}
|
|
3412
4752
|
}
|
|
3413
4753
|
}
|
|
3414
4754
|
|
|
3415
|
-
declare const tagName$
|
|
4755
|
+
declare const tagName$8 = "s-summary";
|
|
3416
4756
|
interface SummaryProps extends Pick<SummaryProps$1, 'id'> {
|
|
3417
4757
|
}
|
|
3418
4758
|
interface SummaryElement extends SummaryProps, Omit<HTMLElement, 'id'> {
|
|
3419
4759
|
}
|
|
3420
4760
|
declare global {
|
|
3421
4761
|
interface HTMLElementTagNameMap {
|
|
3422
|
-
[tagName$
|
|
4762
|
+
[tagName$8]: SummaryElement;
|
|
3423
4763
|
}
|
|
3424
4764
|
}
|
|
3425
4765
|
declare module 'preact' {
|
|
@@ -3429,71 +4769,99 @@ declare module 'preact' {
|
|
|
3429
4769
|
}
|
|
3430
4770
|
namespace createElement.JSX {
|
|
3431
4771
|
interface IntrinsicElements {
|
|
3432
|
-
[tagName$
|
|
4772
|
+
[tagName$8]: SummaryProps & BaseProps;
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
declare const tagName$7 = "s-switch";
|
|
4778
|
+
interface SwitchElementProps extends Pick<SwitchProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'id' | 'label' | 'name' | 'value'> {
|
|
4779
|
+
command?: Extract<SwitchProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
4780
|
+
}
|
|
4781
|
+
interface SwitchEvents extends Pick<SwitchProps$1, 'onChange'> {
|
|
4782
|
+
}
|
|
4783
|
+
interface SwitchElement extends SwitchElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
4784
|
+
onchange: SwitchEvents['onChange'];
|
|
4785
|
+
}
|
|
4786
|
+
interface SwitchProps extends SwitchElementProps, SwitchEvents {
|
|
4787
|
+
}
|
|
4788
|
+
declare global {
|
|
4789
|
+
interface HTMLElementTagNameMap {
|
|
4790
|
+
[tagName$7]: SwitchElement;
|
|
4791
|
+
}
|
|
4792
|
+
}
|
|
4793
|
+
declare module 'preact' {
|
|
4794
|
+
namespace createElement.JSX {
|
|
4795
|
+
interface IntrinsicElements {
|
|
4796
|
+
[tagName$7]: SwitchProps & BaseElementProps<SwitchElement>;
|
|
3433
4797
|
}
|
|
3434
4798
|
}
|
|
3435
4799
|
}
|
|
3436
4800
|
|
|
3437
|
-
declare const tagName$
|
|
3438
|
-
interface
|
|
4801
|
+
declare const tagName$6 = "s-text-area";
|
|
4802
|
+
interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
|
|
4803
|
+
/**
|
|
4804
|
+
* @deprecated Use `label` instead.
|
|
4805
|
+
* @private
|
|
4806
|
+
*/
|
|
4807
|
+
placeholder?: string;
|
|
3439
4808
|
}
|
|
3440
4809
|
interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3441
4810
|
}
|
|
3442
|
-
interface TextAreaElement extends
|
|
4811
|
+
interface TextAreaElement extends TextAreaElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
3443
4812
|
onblur: TextAreaEvents['onBlur'];
|
|
3444
4813
|
onchange: TextAreaEvents['onChange'];
|
|
3445
4814
|
onfocus: TextAreaEvents['onFocus'];
|
|
3446
4815
|
oninput: TextAreaEvents['onInput'];
|
|
3447
4816
|
}
|
|
3448
|
-
interface TextAreaProps extends
|
|
4817
|
+
interface TextAreaProps extends TextAreaElementProps, TextAreaEvents {
|
|
3449
4818
|
}
|
|
3450
4819
|
declare global {
|
|
3451
4820
|
interface HTMLElementTagNameMap {
|
|
3452
|
-
[tagName$
|
|
4821
|
+
[tagName$6]: TextAreaElement;
|
|
3453
4822
|
}
|
|
3454
4823
|
}
|
|
3455
4824
|
declare module 'preact' {
|
|
3456
4825
|
namespace createElement.JSX {
|
|
3457
4826
|
interface IntrinsicElements {
|
|
3458
|
-
[tagName$
|
|
4827
|
+
[tagName$6]: TextAreaProps & BaseElementProps<TextAreaElement>;
|
|
3459
4828
|
}
|
|
3460
4829
|
}
|
|
3461
4830
|
}
|
|
3462
4831
|
|
|
3463
|
-
declare const tagName$
|
|
3464
|
-
interface
|
|
4832
|
+
declare const tagName$5 = "s-text-field";
|
|
4833
|
+
interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'icon' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
|
|
3465
4834
|
icon?: IconProps['type'];
|
|
3466
|
-
}
|
|
3467
|
-
interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3468
|
-
}
|
|
3469
|
-
interface TextFieldSlots {
|
|
3470
4835
|
/**
|
|
3471
|
-
*
|
|
3472
|
-
*
|
|
4836
|
+
* @deprecated Use `label` instead.
|
|
4837
|
+
* @private
|
|
3473
4838
|
*/
|
|
3474
|
-
|
|
4839
|
+
placeholder?: string;
|
|
4840
|
+
}
|
|
4841
|
+
interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3475
4842
|
}
|
|
3476
|
-
interface TextFieldElement extends
|
|
4843
|
+
interface TextFieldElement extends TextFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3477
4844
|
onblur: TextFieldEvents['onBlur'];
|
|
3478
4845
|
onchange: TextFieldEvents['onChange'];
|
|
3479
4846
|
onfocus: TextFieldEvents['onFocus'];
|
|
3480
4847
|
oninput: TextFieldEvents['onInput'];
|
|
3481
4848
|
}
|
|
3482
|
-
interface TextFieldProps extends
|
|
4849
|
+
interface TextFieldProps extends TextFieldElementProps, TextFieldEvents {
|
|
3483
4850
|
}
|
|
3484
4851
|
declare global {
|
|
3485
4852
|
interface HTMLElementTagNameMap {
|
|
4853
|
+
[tagName$5]: TextFieldElement;
|
|
3486
4854
|
}
|
|
3487
4855
|
}
|
|
3488
4856
|
declare module 'preact' {
|
|
3489
4857
|
namespace createElement.JSX {
|
|
3490
4858
|
interface IntrinsicElements {
|
|
3491
|
-
[tagName$
|
|
4859
|
+
[tagName$5]: TextFieldProps & BaseElementPropsWithChildren<TextFieldElement>;
|
|
3492
4860
|
}
|
|
3493
4861
|
}
|
|
3494
4862
|
}
|
|
3495
4863
|
|
|
3496
|
-
declare const tagName$
|
|
4864
|
+
declare const tagName$4 = "s-text";
|
|
3497
4865
|
interface TextProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
3498
4866
|
color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
|
|
3499
4867
|
tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
@@ -3503,48 +4871,97 @@ interface TextElement extends TextProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'
|
|
|
3503
4871
|
}
|
|
3504
4872
|
declare global {
|
|
3505
4873
|
interface HTMLElementTagNameMap {
|
|
4874
|
+
[tagName$4]: TextElement;
|
|
3506
4875
|
}
|
|
3507
4876
|
}
|
|
3508
4877
|
declare module 'preact' {
|
|
3509
4878
|
namespace createElement.JSX {
|
|
3510
4879
|
interface IntrinsicElements {
|
|
3511
|
-
[tagName$
|
|
4880
|
+
[tagName$4]: TextProps & BaseElementPropsWithChildren<TextElement>;
|
|
3512
4881
|
}
|
|
3513
4882
|
}
|
|
3514
4883
|
}
|
|
3515
4884
|
|
|
3516
|
-
declare const tagName$
|
|
3517
|
-
interface TimeProps extends Pick<TimeProps$1, 'dateTime'> {
|
|
4885
|
+
declare const tagName$3 = "s-time";
|
|
4886
|
+
interface TimeProps extends Pick<TimeProps$1, 'dateTime' | 'id'> {
|
|
3518
4887
|
}
|
|
3519
4888
|
interface TimeElement extends TimeProps, Omit<HTMLElement, 'id'> {
|
|
3520
4889
|
}
|
|
3521
4890
|
declare global {
|
|
3522
4891
|
interface HTMLElementTagNameMap {
|
|
4892
|
+
[tagName$3]: TimeElement;
|
|
4893
|
+
}
|
|
4894
|
+
}
|
|
4895
|
+
declare module 'preact' {
|
|
4896
|
+
namespace createElement.JSX {
|
|
4897
|
+
interface IntrinsicElements {
|
|
4898
|
+
[tagName$3]: TimeProps & BaseElementPropsWithChildren<TimeElement>;
|
|
4899
|
+
}
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
declare const tagName$2 = "s-tooltip";
|
|
4904
|
+
interface TooltipElementProps extends Pick<TooltipProps$1, 'id'> {
|
|
4905
|
+
}
|
|
4906
|
+
interface TooltipElement extends TooltipElementProps {
|
|
4907
|
+
}
|
|
4908
|
+
interface TooltipProps extends TooltipElementProps {
|
|
4909
|
+
}
|
|
4910
|
+
declare global {
|
|
4911
|
+
interface HTMLElementTagNameMap {
|
|
4912
|
+
[tagName$2]: TooltipElement;
|
|
3523
4913
|
}
|
|
3524
4914
|
}
|
|
3525
4915
|
declare module 'preact' {
|
|
3526
4916
|
namespace createElement.JSX {
|
|
3527
4917
|
interface IntrinsicElements {
|
|
3528
|
-
[tagName$
|
|
4918
|
+
[tagName$2]: TooltipProps & BaseElementPropsWithChildren<TooltipElement>;
|
|
3529
4919
|
}
|
|
3530
4920
|
}
|
|
3531
4921
|
}
|
|
3532
4922
|
|
|
3533
|
-
declare const tagName = "s-unordered-list";
|
|
4923
|
+
declare const tagName$1 = "s-unordered-list";
|
|
3534
4924
|
interface UnorderedListProps extends UnorderedListProps$1 {
|
|
3535
4925
|
}
|
|
3536
4926
|
interface UnorderedListElement extends UnorderedListProps, Omit<HTMLElement, 'id'> {
|
|
3537
4927
|
}
|
|
3538
4928
|
declare global {
|
|
3539
4929
|
interface HTMLElementTagNameMap {
|
|
4930
|
+
[tagName$1]: UnorderedListElement;
|
|
4931
|
+
}
|
|
4932
|
+
}
|
|
4933
|
+
declare module 'preact' {
|
|
4934
|
+
namespace createElement.JSX {
|
|
4935
|
+
interface IntrinsicElements {
|
|
4936
|
+
[tagName$1]: UnorderedListProps & BaseElementPropsWithChildren<UnorderedListElement>;
|
|
4937
|
+
}
|
|
4938
|
+
}
|
|
4939
|
+
}
|
|
4940
|
+
|
|
4941
|
+
declare const tagName = "s-url-field";
|
|
4942
|
+
interface UrlFieldElementProps extends Pick<URLFieldProps, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
4943
|
+
}
|
|
4944
|
+
interface UrlFieldEvents extends Pick<URLFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4945
|
+
}
|
|
4946
|
+
interface UrlFieldElement extends UrlFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4947
|
+
onblur: UrlFieldEvents['onBlur'];
|
|
4948
|
+
onchange: UrlFieldEvents['onChange'];
|
|
4949
|
+
onfocus: UrlFieldEvents['onFocus'];
|
|
4950
|
+
oninput: UrlFieldEvents['onInput'];
|
|
4951
|
+
}
|
|
4952
|
+
interface UrlFieldProps extends UrlFieldElementProps, UrlFieldEvents {
|
|
4953
|
+
}
|
|
4954
|
+
declare global {
|
|
4955
|
+
interface HTMLElementTagNameMap {
|
|
4956
|
+
[tagName]: UrlFieldElement;
|
|
3540
4957
|
}
|
|
3541
4958
|
}
|
|
3542
4959
|
declare module 'preact' {
|
|
3543
4960
|
namespace createElement.JSX {
|
|
3544
4961
|
interface IntrinsicElements {
|
|
3545
|
-
[tagName]:
|
|
4962
|
+
[tagName]: UrlFieldProps & BaseElementPropsWithChildren<UrlFieldElement>;
|
|
3546
4963
|
}
|
|
3547
4964
|
}
|
|
3548
4965
|
}
|
|
3549
4966
|
|
|
3550
|
-
export type { AbbreviationProps, BannerProps, BoxProps, ButtonProps, CheckboxProps, ClickableProps, ClipboardItemProps, DetailsProps, DropZoneProps, EmailFieldProps, FormProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, MapMarkerProps, MapProps, ModalProps, NumberFieldProps, OptionProps, OrderedListProps, ParagraphProps, PaymentIconProps, PhoneFieldProps, ProductThumbnailProps, ProgressProps, QRCodeProps, SectionProps, SelectProps, SpinnerProps, StackProps, SummaryProps, TextAreaProps, TextFieldProps, TextProps, TimeProps, UnorderedListProps };
|
|
4967
|
+
export type { AbbreviationProps, AnnouncementProps, BadgeProps, BannerProps, BoxProps, ButtonProps, CheckboxProps, ChipProps, ChoiceListProps, ChoiceProps, ClickableChipProps, ClickableProps, ClipboardItemProps, ConsentCheckboxProps, ConsentPhoneFieldProps, DateFieldProps, DatePickerProps, DetailsProps, DividerProps, DropZoneProps, EmailFieldProps, FormProps, GridItemProps, GridProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, MapMarkerProps, MapProps, ModalProps, MoneyFieldProps, NumberFieldProps, OptionProps, OrderedListProps, ParagraphProps, PasswordFieldProps, PaymentIconProps, PhoneFieldProps, PopoverProps, PressButtonProps, ProductThumbnailProps, ProgressProps, QRCodeProps, QueryContainerProps, ScrollBoxProps, SectionProps, SelectProps, SheetProps, SkeletonParagraphProps, SpinnerProps, StackProps, SummaryProps, SwitchProps, TextAreaProps, TextFieldProps, TextProps, TimeProps, TooltipProps, UnorderedListProps, UrlFieldProps };
|