@shopify/ui-extensions 2025.10.0-rc.9 → 2025.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +5 -1
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +35 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +5 -1
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +31 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +5 -1
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +31 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DateField.d.ts +4 -0
- package/build/ts/docs/shared/components/DateField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +12 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +14 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +132 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +8 -8
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -20
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +8 -5
- package/build/ts/surfaces/admin/components/Banner.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +41 -36
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +121 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +109 -56
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +240 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +242 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +48 -36
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +148 -34
- package/build/ts/surfaces/admin/components/GridItem.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +8 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +95 -55
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -39
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +139 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +227 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/build/ts/surfaces/admin/components/NumberField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +33 -7
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +49 -33
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +117 -41
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +22 -27
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +16 -15
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +6 -4
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +5 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -33
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -34
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1034 -594
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3594
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3647
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3605
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3554
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3554
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3554
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +20 -4
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +63 -40
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Map.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/checkout/components/components.d.ts +1947 -530
- package/build/ts/surfaces/checkout/extension-targets.d.ts +64 -60
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +36 -5
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +68 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout.d.ts +3 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -40
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/customer-account/components/Form.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/Map.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/customer-account/components/components.d.ts +1947 -530
- package/build/ts/surfaces/customer-account/components/shared.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +12 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +165 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -5
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +12 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
- package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
- package/src/docs/shared/components/DateField.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +2 -2
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/components/index.ts +12 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api/intents/examples/create-article.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-catalog.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-collection.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-customer.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-market.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-menu.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-page.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-product.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-variant.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-article.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-catalog.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-collection.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-customer.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-market.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-menu.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-page.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-product.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +11 -0
- package/src/surfaces/admin/api/intents/intents.ts +153 -0
- package/src/surfaces/admin/api/standard/standard.ts +9 -7
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -20
- package/src/surfaces/admin/components/Badge.d.ts +8 -5
- package/src/surfaces/admin/components/Banner.d.ts +22 -28
- package/src/surfaces/admin/components/Box.d.ts +76 -24
- package/src/surfaces/admin/components/Button.d.ts +41 -36
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +121 -0
- package/src/surfaces/admin/components/Choice.d.ts +10 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/src/surfaces/admin/components/Clickable.d.ts +109 -56
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +240 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +242 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/EmailField.d.ts +27 -33
- package/src/surfaces/admin/components/Form.d.ts +48 -36
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +148 -34
- package/src/surfaces/admin/components/GridItem.d.ts +76 -24
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +8 -4
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +95 -55
- package/src/surfaces/admin/components/Link.d.ts +35 -39
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +139 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +227 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/src/surfaces/admin/components/NumberField.d.ts +27 -33
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +33 -7
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +4 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/src/surfaces/admin/components/SearchField.d.ts +27 -33
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +49 -33
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +117 -41
- package/src/surfaces/admin/components/StandardComponents.ts +8 -0
- package/src/surfaces/admin/components/Switch.d.ts +22 -27
- package/src/surfaces/admin/components/Table.d.ts +16 -15
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +18 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/src/surfaces/admin/components/TableRow.d.ts +6 -4
- package/src/surfaces/admin/components/Text.d.ts +5 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -33
- package/src/surfaces/admin/components/TextField.d.ts +28 -34
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +27 -33
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +16 -16
- package/src/surfaces/admin/components/patterns/examples/details.jsx +13 -20
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +26 -59
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +26 -63
- package/src/surfaces/admin/components/patterns/examples/index.html +26 -34
- package/src/surfaces/admin/components/patterns/examples/index.jsx +23 -35
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +168 -215
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +169 -311
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +8 -10
- package/src/surfaces/admin/components/shared.d.ts +1034 -594
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +3076 -1150
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +14 -4
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
- package/src/surfaces/checkout/api/standard/standard.ts +65 -41
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +57 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +9 -6
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Button.d.ts +10 -5
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +85 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +46 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +11 -8
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +4 -3
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -5
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/Map.d.ts +11 -8
- package/src/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +1 -1
- package/src/surfaces/checkout/components/Modal.d.ts +22 -18
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +116 -0
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +4 -4
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +1 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/checkout/components/TextField.d.ts +35 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/src/surfaces/checkout/components/components.d.ts +1947 -530
- package/src/surfaces/checkout/extension-targets.ts +70 -61
- package/src/surfaces/checkout/preact/api.ts +5 -1
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
- package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
- package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
- package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +56 -26
- package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
- package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
- package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
- package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
- package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +26 -20
- package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
- package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
- package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
- package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
- package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
- package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
- package/src/surfaces/checkout/preact/tests/mount.tsx +63 -20
- package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
- package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
- package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
- package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
- package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
- package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
- package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
- package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
- package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
- package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
- package/src/surfaces/checkout/shared.ts +112 -43
- package/src/surfaces/checkout.ts +5 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +58 -40
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +17 -2
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +5 -2
- package/src/surfaces/customer-account/components/shared.ts +12 -5
- package/src/surfaces/customer-account/components.d.ts +109 -83
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +4 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +55 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +128 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/multiple-selection.jsx +9 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Divider/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/controls-constraints.jsx +9 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/input-mode.jsx +15 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/rows-configuration.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/accessory-slot.jsx +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/common-props.jsx +11 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/event-handling.jsx +17 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +6491 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/globals.ts +6 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +174 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +9 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +64 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -3559
- package/build/ts/surfaces/checkout/errors.d.ts +0 -10
- package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.html +0 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.html +0 -1
- package/src/surfaces/checkout/errors.ts +0 -13
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +0 -9
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -9
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -16
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -15
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -36
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -1,3610 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
interface IntrinsicElements {
|
|
54
|
-
[URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare global {
|
|
60
|
-
interface HTMLElementTagNameMap {
|
|
61
|
-
[URLFieldtagName]: URLField;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
69
|
-
/** Assigns a unique key to this element. */
|
|
70
|
-
key?: preact.Key;
|
|
71
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
72
|
-
ref?: preact.Ref<TClass>;
|
|
73
|
-
/** Assigns this element to a parent's slot. */
|
|
74
|
-
slot?: Lowercase<string>;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
78
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
79
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
80
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
81
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface URLFieldClickOptions {
|
|
85
|
-
/**
|
|
86
|
-
* The event you want to influence the synthetic click.
|
|
87
|
-
*/
|
|
88
|
-
sourceEvent?: URLFieldActivationEventEsque;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface URLFieldActivationEventEsque {
|
|
92
|
-
shiftKey: boolean;
|
|
93
|
-
metaKey: boolean;
|
|
94
|
-
ctrlKey: boolean;
|
|
95
|
-
button: number;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare const URLFieldtagName = 's-url-field';
|
|
99
|
-
declare const URLFieldinternals: unique symbol;
|
|
100
|
-
declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
|
|
101
|
-
|
|
102
|
-
declare module 'preact' {
|
|
103
|
-
namespace createElement.JSX {
|
|
104
|
-
interface IntrinsicElements {
|
|
105
|
-
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
106
|
-
UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
declare global {
|
|
112
|
-
interface HTMLElementTagNameMap {
|
|
113
|
-
[UnorderedListtagName]: UnorderedList;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
|
|
121
|
-
children?: preact.ComponentChildren;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
125
|
-
/** Assigns a unique key to this element. */
|
|
126
|
-
key?: preact.Key;
|
|
127
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
128
|
-
ref?: preact.Ref<TClass>;
|
|
129
|
-
/** Assigns this element to a parent's slot. */
|
|
130
|
-
slot?: Lowercase<string>;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface UnorderedListClickOptions {
|
|
134
|
-
/**
|
|
135
|
-
* The event you want to influence the synthetic click.
|
|
136
|
-
*/
|
|
137
|
-
sourceEvent?: UnorderedListActivationEventEsque;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface UnorderedListActivationEventEsque {
|
|
141
|
-
shiftKey: boolean;
|
|
142
|
-
metaKey: boolean;
|
|
143
|
-
ctrlKey: boolean;
|
|
144
|
-
button: number;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export interface UnorderedListProps extends UnorderedListProps$1 {
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
declare const UnorderedListtagName = 's-unordered-list';
|
|
151
|
-
declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
|
|
152
|
-
|
|
153
|
-
declare module 'preact' {
|
|
154
|
-
namespace createElement.JSX {
|
|
155
|
-
interface IntrinsicElements {
|
|
156
|
-
[ThumbnailtagName]: ThumbnailJSXProps & ThumbnailPreactBaseElementProps<Thumbnail>;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
declare global {
|
|
162
|
-
interface HTMLElementTagNameMap {
|
|
163
|
-
[ThumbnailtagName]: Thumbnail;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export interface ThumbnailJSXProps extends Partial<ThumbnailProps>, Pick<ThumbnailProps$1, 'id'> {
|
|
168
|
-
onLoad?: ((event: CallbackEvent<typeof ThumbnailtagName>) => void) | null;
|
|
169
|
-
onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export interface ThumbnailClickOptions {
|
|
173
|
-
/**
|
|
174
|
-
* The event you want to influence the synthetic click.
|
|
175
|
-
*/
|
|
176
|
-
sourceEvent?: ThumbnailActivationEventEsque;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
export interface ThumbnailActivationEventEsque {
|
|
180
|
-
shiftKey: boolean;
|
|
181
|
-
metaKey: boolean;
|
|
182
|
-
ctrlKey: boolean;
|
|
183
|
-
button: number;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export interface ThumbnailPreactBaseElementProps<TClass extends HTMLElement> {
|
|
187
|
-
/** Assigns a unique key to this element. */
|
|
188
|
-
key?: preact.Key;
|
|
189
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
190
|
-
ref?: preact.Ref<TClass>;
|
|
191
|
-
/** Assigns this element to a parent's slot. */
|
|
192
|
-
slot?: Lowercase<string>;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export interface ThumbnailProps extends Required<Pick<ThumbnailProps$1, 'src' | 'alt'>> {
|
|
196
|
-
size: Extract<
|
|
197
|
-
ThumbnailProps$1['size'],
|
|
198
|
-
'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
|
|
199
|
-
>;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
declare const ThumbnailtagName = 's-thumbnail';
|
|
203
|
-
declare const ThumbnailBaseClass: typeof globalThis.HTMLElement;
|
|
204
|
-
|
|
205
|
-
declare module 'preact' {
|
|
206
|
-
namespace createElement.JSX {
|
|
207
|
-
interface IntrinsicElements {
|
|
208
|
-
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
209
|
-
TextFieldPreactBaseElementProps<TextField>;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
declare global {
|
|
215
|
-
interface HTMLElementTagNameMap {
|
|
216
|
-
[TextFieldtagName]: TextField;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accessory'>>, Pick<TextFieldProps$1, 'id'>, TextFieldFieldReactProps<typeof TextFieldtagName> {
|
|
221
|
-
/**
|
|
222
|
-
* The accessory to display in the text field.
|
|
223
|
-
*/
|
|
224
|
-
accessory?: ComponentChild;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
228
|
-
/** Assigns a unique key to this element. */
|
|
229
|
-
key?: preact.Key;
|
|
230
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
231
|
-
ref?: preact.Ref<TClass>;
|
|
232
|
-
/** Assigns this element to a parent's slot. */
|
|
233
|
-
slot?: Lowercase<string>;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
237
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
238
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
239
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
240
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export interface TextFieldClickOptions {
|
|
244
|
-
/**
|
|
245
|
-
* The event you want to influence the synthetic click.
|
|
246
|
-
*/
|
|
247
|
-
sourceEvent?: TextFieldActivationEventEsque;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export interface TextFieldActivationEventEsque {
|
|
251
|
-
shiftKey: boolean;
|
|
252
|
-
metaKey: boolean;
|
|
253
|
-
ctrlKey: boolean;
|
|
254
|
-
button: number;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
declare const TextFieldtagName = 's-text-field';
|
|
258
|
-
declare const TextFieldinternals: unique symbol;
|
|
259
|
-
declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
|
|
260
|
-
|
|
261
|
-
declare module 'preact' {
|
|
262
|
-
namespace createElement.JSX {
|
|
263
|
-
interface IntrinsicElements {
|
|
264
|
-
[TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
declare global {
|
|
270
|
-
interface HTMLElementTagNameMap {
|
|
271
|
-
[TextAreatagName]: TextArea;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
|
|
279
|
-
/** Assigns a unique key to this element. */
|
|
280
|
-
key?: preact.Key;
|
|
281
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
282
|
-
ref?: preact.Ref<TClass>;
|
|
283
|
-
/** Assigns this element to a parent's slot. */
|
|
284
|
-
slot?: Lowercase<string>;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
288
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
289
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
290
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
291
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export interface TextAreaClickOptions {
|
|
295
|
-
/**
|
|
296
|
-
* The event you want to influence the synthetic click.
|
|
297
|
-
*/
|
|
298
|
-
sourceEvent?: TextAreaActivationEventEsque;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export interface TextAreaActivationEventEsque {
|
|
302
|
-
shiftKey: boolean;
|
|
303
|
-
metaKey: boolean;
|
|
304
|
-
ctrlKey: boolean;
|
|
305
|
-
button: number;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
declare const TextAreatagName = 's-text-area';
|
|
309
|
-
declare const TextAreainternals: unique symbol;
|
|
310
|
-
declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
|
|
311
|
-
|
|
312
|
-
declare module 'preact' {
|
|
313
|
-
namespace createElement.JSX {
|
|
314
|
-
interface IntrinsicElements {
|
|
315
|
-
[TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
declare global {
|
|
321
|
-
interface HTMLElementTagNameMap {
|
|
322
|
-
[TexttagName]: Text;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
|
|
330
|
-
children?: preact.ComponentChildren;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
|
|
334
|
-
/** Assigns a unique key to this element. */
|
|
335
|
-
key?: preact.Key;
|
|
336
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
337
|
-
ref?: preact.Ref<TClass>;
|
|
338
|
-
/** Assigns this element to a parent's slot. */
|
|
339
|
-
slot?: Lowercase<string>;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
export interface TextClickOptions {
|
|
343
|
-
/**
|
|
344
|
-
* The event you want to influence the synthetic click.
|
|
345
|
-
*/
|
|
346
|
-
sourceEvent?: TextActivationEventEsque;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export interface TextActivationEventEsque {
|
|
350
|
-
shiftKey: boolean;
|
|
351
|
-
metaKey: boolean;
|
|
352
|
-
ctrlKey: boolean;
|
|
353
|
-
button: number;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export interface TextProps extends Required<
|
|
357
|
-
Pick<
|
|
358
|
-
TextProps$1,
|
|
359
|
-
| 'accessibilityVisibility'
|
|
360
|
-
| 'dir'
|
|
361
|
-
| 'color'
|
|
362
|
-
| 'type'
|
|
363
|
-
| 'tone'
|
|
364
|
-
| 'fontVariantNumeric'
|
|
365
|
-
>
|
|
366
|
-
> {
|
|
367
|
-
color: Extract<TextProps$1['color'], 'base' | 'subdued'>;
|
|
368
|
-
type: Extract<
|
|
369
|
-
TextProps$1['type'],
|
|
370
|
-
'address' | 'redundant' | 'strong' | 'generic'
|
|
371
|
-
>;
|
|
372
|
-
tone: Extract<
|
|
373
|
-
TextProps$1['tone'],
|
|
374
|
-
'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'caution'
|
|
375
|
-
>;
|
|
376
|
-
fontVariantNumeric: Extract<
|
|
377
|
-
TextProps$1['fontVariantNumeric'],
|
|
378
|
-
'auto' | 'normal' | 'tabular-nums'
|
|
379
|
-
>;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
declare const TexttagName = 's-text';
|
|
383
|
-
declare const TextBaseClass: typeof globalThis.HTMLElement;
|
|
384
|
-
|
|
385
|
-
declare module 'preact' {
|
|
386
|
-
namespace createElement.JSX {
|
|
387
|
-
interface IntrinsicElements {
|
|
388
|
-
[TableRowtagName]: TableRowJSXProps &
|
|
389
|
-
TableRowPreactBaseElementPropsWithChildren<TableRow>;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
declare global {
|
|
395
|
-
interface HTMLElementTagNameMap {
|
|
396
|
-
[TableRowtagName]: TableRow;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
|
|
404
|
-
children?: preact.ComponentChildren;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
408
|
-
/** Assigns a unique key to this element. */
|
|
409
|
-
key?: preact.Key;
|
|
410
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
411
|
-
ref?: preact.Ref<TClass>;
|
|
412
|
-
/** Assigns this element to a parent's slot. */
|
|
413
|
-
slot?: Lowercase<string>;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
export interface TableRowClickOptions {
|
|
417
|
-
/**
|
|
418
|
-
* The event you want to influence the synthetic click.
|
|
419
|
-
*/
|
|
420
|
-
sourceEvent?: TableRowActivationEventEsque;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export interface TableRowActivationEventEsque {
|
|
424
|
-
shiftKey: boolean;
|
|
425
|
-
metaKey: boolean;
|
|
426
|
-
ctrlKey: boolean;
|
|
427
|
-
button: number;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
export interface TableRowProps extends TableRowProps$1 {
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
declare const TableRowtagName = 's-table-row';
|
|
434
|
-
declare const TableRowBaseClass: typeof globalThis.HTMLElement;
|
|
435
|
-
|
|
436
|
-
declare module 'preact' {
|
|
437
|
-
namespace createElement.JSX {
|
|
438
|
-
interface IntrinsicElements {
|
|
439
|
-
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
440
|
-
TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
declare global {
|
|
446
|
-
interface HTMLElementTagNameMap {
|
|
447
|
-
[TableHeaderRowtagName]: TableHeaderRow;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
|
|
455
|
-
children?: preact.ComponentChildren;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
459
|
-
/** Assigns a unique key to this element. */
|
|
460
|
-
key?: preact.Key;
|
|
461
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
462
|
-
ref?: preact.Ref<TClass>;
|
|
463
|
-
/** Assigns this element to a parent's slot. */
|
|
464
|
-
slot?: Lowercase<string>;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
export interface TableHeaderRowClickOptions {
|
|
468
|
-
/**
|
|
469
|
-
* The event you want to influence the synthetic click.
|
|
470
|
-
*/
|
|
471
|
-
sourceEvent?: TableHeaderRowActivationEventEsque;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
export interface TableHeaderRowActivationEventEsque {
|
|
475
|
-
shiftKey: boolean;
|
|
476
|
-
metaKey: boolean;
|
|
477
|
-
ctrlKey: boolean;
|
|
478
|
-
button: number;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
export interface TableHeaderRowProps extends TableHeaderRowProps$1 {
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
declare const TableHeaderRowtagName = 's-table-header-row';
|
|
485
|
-
declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
|
|
486
|
-
|
|
487
|
-
declare module 'preact' {
|
|
488
|
-
namespace createElement.JSX {
|
|
489
|
-
interface IntrinsicElements {
|
|
490
|
-
[TableHeadertagName]: TableHeaderJSXProps &
|
|
491
|
-
TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
declare global {
|
|
497
|
-
interface HTMLElementTagNameMap {
|
|
498
|
-
[TableHeadertagName]: TableHeader;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
|
|
506
|
-
children?: preact.ComponentChildren;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
|
|
510
|
-
/** Assigns a unique key to this element. */
|
|
511
|
-
key?: preact.Key;
|
|
512
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
513
|
-
ref?: preact.Ref<TClass>;
|
|
514
|
-
/** Assigns this element to a parent's slot. */
|
|
515
|
-
slot?: Lowercase<string>;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
export interface TableHeaderClickOptions {
|
|
519
|
-
/**
|
|
520
|
-
* The event you want to influence the synthetic click.
|
|
521
|
-
*/
|
|
522
|
-
sourceEvent?: TableHeaderActivationEventEsque;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
export interface TableHeaderActivationEventEsque {
|
|
526
|
-
shiftKey: boolean;
|
|
527
|
-
metaKey: boolean;
|
|
528
|
-
ctrlKey: boolean;
|
|
529
|
-
button: number;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export interface TableHeaderTableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
|
|
533
|
-
listSlot: Extract<
|
|
534
|
-
TableHeaderProps$1['listSlot'],
|
|
535
|
-
'primary' | 'secondary' | 'labeled' | 'kicker' | 'inline'
|
|
536
|
-
>;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
declare const TableHeadertagName = 's-table-header';
|
|
540
|
-
declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
|
|
541
|
-
|
|
542
|
-
declare module 'preact' {
|
|
543
|
-
namespace createElement.JSX {
|
|
544
|
-
interface IntrinsicElements {
|
|
545
|
-
[TableCelltagName]: TableCellJSXProps &
|
|
546
|
-
TableCellPreactBaseElementPropsWithChildren<TableCell>;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
declare global {
|
|
552
|
-
interface HTMLElementTagNameMap {
|
|
553
|
-
[TableCelltagName]: TableCell;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
|
|
561
|
-
children?: preact.ComponentChildren;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
|
|
565
|
-
/** Assigns a unique key to this element. */
|
|
566
|
-
key?: preact.Key;
|
|
567
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
568
|
-
ref?: preact.Ref<TClass>;
|
|
569
|
-
/** Assigns this element to a parent's slot. */
|
|
570
|
-
slot?: Lowercase<string>;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
export interface TableCellClickOptions {
|
|
574
|
-
/**
|
|
575
|
-
* The event you want to influence the synthetic click.
|
|
576
|
-
*/
|
|
577
|
-
sourceEvent?: TableCellActivationEventEsque;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
export interface TableCellActivationEventEsque {
|
|
581
|
-
shiftKey: boolean;
|
|
582
|
-
metaKey: boolean;
|
|
583
|
-
ctrlKey: boolean;
|
|
584
|
-
button: number;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
export interface TableCellProps extends TableCellProps$1 {
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
declare const TableCelltagName = 's-table-cell';
|
|
591
|
-
declare const TableCellBaseClass: typeof globalThis.HTMLElement;
|
|
592
|
-
|
|
593
|
-
declare module 'preact' {
|
|
594
|
-
namespace createElement.JSX {
|
|
595
|
-
interface IntrinsicElements {
|
|
596
|
-
[TableBodytagName]: TableBodyJSXProps &
|
|
597
|
-
TableBodyPreactBaseElementPropsWithChildren<TableBody>;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
declare global {
|
|
603
|
-
interface HTMLElementTagNameMap {
|
|
604
|
-
[TableBodytagName]: TableBody;
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
|
|
612
|
-
children?: preact.ComponentChildren;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
|
|
616
|
-
/** Assigns a unique key to this element. */
|
|
617
|
-
key?: preact.Key;
|
|
618
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
619
|
-
ref?: preact.Ref<TClass>;
|
|
620
|
-
/** Assigns this element to a parent's slot. */
|
|
621
|
-
slot?: Lowercase<string>;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export interface TableBodyClickOptions {
|
|
625
|
-
/**
|
|
626
|
-
* The event you want to influence the synthetic click.
|
|
627
|
-
*/
|
|
628
|
-
sourceEvent?: TableBodyActivationEventEsque;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
export interface TableBodyActivationEventEsque {
|
|
632
|
-
shiftKey: boolean;
|
|
633
|
-
metaKey: boolean;
|
|
634
|
-
ctrlKey: boolean;
|
|
635
|
-
button: number;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
export interface TableBodyProps extends TableBodyProps$1 {
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
declare const TableBodytagName = 's-table-body';
|
|
642
|
-
declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
|
|
643
|
-
|
|
644
|
-
declare module 'preact' {
|
|
645
|
-
namespace createElement.JSX {
|
|
646
|
-
interface IntrinsicElements {
|
|
647
|
-
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
648
|
-
TablePreactBaseElementPropsWithChildren<Table>;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
declare global {
|
|
654
|
-
interface HTMLElementTagNameMap {
|
|
655
|
-
[TabletagName]: Table;
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, 'id' | 'onNextPage' | 'onPreviousPage'> {
|
|
660
|
-
/**
|
|
661
|
-
* Additional filters to display in the table. For example, the `s-search-field` component can be used to filter the table data.
|
|
662
|
-
*/
|
|
663
|
-
filters?: ComponentChild;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
|
|
667
|
-
children?: preact.ComponentChildren;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
671
|
-
/** Assigns a unique key to this element. */
|
|
672
|
-
key?: preact.Key;
|
|
673
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
674
|
-
ref?: preact.Ref<TClass>;
|
|
675
|
-
/** Assigns this element to a parent's slot. */
|
|
676
|
-
slot?: Lowercase<string>;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
export interface TableClickOptions {
|
|
680
|
-
/**
|
|
681
|
-
* The event you want to influence the synthetic click.
|
|
682
|
-
*/
|
|
683
|
-
sourceEvent?: TableActivationEventEsque;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
export interface TableActivationEventEsque {
|
|
687
|
-
shiftKey: boolean;
|
|
688
|
-
metaKey: boolean;
|
|
689
|
-
ctrlKey: boolean;
|
|
690
|
-
button: number;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
export interface TableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
|
|
694
|
-
listSlot: Extract<
|
|
695
|
-
TableHeaderProps$1['listSlot'],
|
|
696
|
-
'primary' | 'secondary' | 'labeled' | 'kicker' | 'inline'
|
|
697
|
-
>;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
export interface TableProps extends Required<
|
|
701
|
-
Pick<
|
|
702
|
-
TableProps$1,
|
|
703
|
-
'loading' | 'paginate' | 'hasPreviousPage' | 'hasNextPage' | 'variant'
|
|
704
|
-
>
|
|
705
|
-
> {
|
|
706
|
-
variant: Extract<TableProps$1['variant'], 'list' | 'auto'>;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
declare const TabletagName = 's-table';
|
|
710
|
-
declare const tableHeadersSharedDataSymbol: unique symbol;
|
|
711
|
-
declare const actualTableVariantSymbol: unique symbol;
|
|
712
|
-
declare const TableBaseClass: typeof globalThis.HTMLElement;
|
|
713
|
-
|
|
714
|
-
declare module 'preact' {
|
|
715
|
-
namespace createElement.JSX {
|
|
716
|
-
interface IntrinsicElements {
|
|
717
|
-
[StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
declare global {
|
|
723
|
-
interface HTMLElementTagNameMap {
|
|
724
|
-
[StacktagName]: Stack;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
|
|
732
|
-
children?: preact.ComponentChildren;
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
|
|
736
|
-
/** Assigns a unique key to this element. */
|
|
737
|
-
key?: preact.Key;
|
|
738
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
739
|
-
ref?: preact.Ref<TClass>;
|
|
740
|
-
/** Assigns this element to a parent's slot. */
|
|
741
|
-
slot?: Lowercase<string>;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
export interface StackClickOptions {
|
|
745
|
-
/**
|
|
746
|
-
* The event you want to influence the synthetic click.
|
|
747
|
-
*/
|
|
748
|
-
sourceEvent?: StackActivationEventEsque;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
export interface StackActivationEventEsque {
|
|
752
|
-
shiftKey: boolean;
|
|
753
|
-
metaKey: boolean;
|
|
754
|
-
ctrlKey: boolean;
|
|
755
|
-
button: number;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
export interface StackProps extends StackBoxProps, Pick<
|
|
759
|
-
Required<AlignedStackProps>,
|
|
760
|
-
'justifyContent' | 'alignItems' | 'alignContent'
|
|
761
|
-
> {
|
|
762
|
-
/**
|
|
763
|
-
* Adjust spacing between elements.
|
|
764
|
-
*
|
|
765
|
-
* `gap` can either accept:
|
|
766
|
-
* * a single SpacingKeyword value applied to both axes (e.g. `large-100`).
|
|
767
|
-
* * OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
|
|
768
|
-
* * OR a container query string with supported SpacingKeyword values as query values (e.g.@container (inline-size > 500px) large-300, small-300)
|
|
769
|
-
*
|
|
770
|
-
* @default 'none'
|
|
771
|
-
*/
|
|
772
|
-
gap: ResponsiveStackProps['gap'];
|
|
773
|
-
/**
|
|
774
|
-
* Adjust spacing between elements in the block axis.
|
|
775
|
-
*
|
|
776
|
-
* This overrides the row value of `gap`.
|
|
777
|
-
* `rowGap` either accepts a single SpacingKeyword value (e.g. `large-100`)
|
|
778
|
-
* OR a container query string with supported SpacingKeyword values as query values (e.g.
|
|
779
|
-
* @container (inline-size > 500px) large-300, small-300)
|
|
780
|
-
* @default '' - meaning no override
|
|
781
|
-
*/
|
|
782
|
-
rowGap: ResponsiveStackProps['rowGap'];
|
|
783
|
-
/**
|
|
784
|
-
* Adjust spacing between elements in the inline axis.
|
|
785
|
-
*
|
|
786
|
-
* This overrides the column value of `gap`.
|
|
787
|
-
* `columnGap` either accepts:
|
|
788
|
-
* * a single SpacingKeyword value (e.g. `large-100`)
|
|
789
|
-
* OR a container query string with supported SpacingKeyword values as query values (e.g.
|
|
790
|
-
* @container (inline-size > 500px) large-300, small-300)
|
|
791
|
-
* @default '' - meaning no override
|
|
792
|
-
*/
|
|
793
|
-
columnGap: ResponsiveStackProps['columnGap'];
|
|
794
|
-
/**
|
|
795
|
-
* Sets how the Stack's children are placed within the Stack.
|
|
796
|
-
*
|
|
797
|
-
* `direction` either accepts:
|
|
798
|
-
* * a single value either `inline` or `block`
|
|
799
|
-
* *OR a container query string with either of these values as a query value (e.g. `@container (inline-size > 500px) inline, block`)
|
|
800
|
-
*
|
|
801
|
-
* @default 'block'
|
|
802
|
-
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
803
|
-
*/
|
|
804
|
-
direction: ResponsiveStackProps['direction'];
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
export interface StackBoxProps extends Pick<
|
|
808
|
-
RequiredBoxProps,
|
|
809
|
-
| 'accessibilityLabel'
|
|
810
|
-
| 'accessibilityRole'
|
|
811
|
-
| 'accessibilityVisibility'
|
|
812
|
-
| 'background'
|
|
813
|
-
| 'blockSize'
|
|
814
|
-
| 'border'
|
|
815
|
-
| 'borderColor'
|
|
816
|
-
| 'borderRadius'
|
|
817
|
-
| 'borderStyle'
|
|
818
|
-
| 'borderWidth'
|
|
819
|
-
| 'inlineSize'
|
|
820
|
-
| 'maxBlockSize'
|
|
821
|
-
| 'maxInlineSize'
|
|
822
|
-
| 'minBlockSize'
|
|
823
|
-
| 'minInlineSize'
|
|
824
|
-
| 'overflow'
|
|
825
|
-
> {
|
|
826
|
-
background: Extract<
|
|
827
|
-
RequiredBoxProps['background'],
|
|
828
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
829
|
-
>;
|
|
830
|
-
borderWidth: | MaybeAllValuesShorthandProperty<
|
|
831
|
-
Extract<
|
|
832
|
-
RequiredBoxProps['borderWidth'],
|
|
833
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
834
|
-
>
|
|
835
|
-
>
|
|
836
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
837
|
-
borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
838
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
839
|
-
borderColor: Extract<
|
|
840
|
-
RequiredBoxProps['borderColor'],
|
|
841
|
-
'subdued' | 'base' | 'strong' | ''
|
|
842
|
-
>;
|
|
843
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
844
|
-
/**
|
|
845
|
-
* Adjust the padding of all edges.
|
|
846
|
-
*
|
|
847
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
848
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
849
|
-
*
|
|
850
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
851
|
-
* - 3 values: `block-start inline block-end`
|
|
852
|
-
* - 2 values: `block inline`
|
|
853
|
-
*
|
|
854
|
-
* For example:
|
|
855
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
856
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
857
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
858
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
859
|
-
*
|
|
860
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
861
|
-
*
|
|
862
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
863
|
-
*
|
|
864
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
865
|
-
*
|
|
866
|
-
* @default 'none'
|
|
867
|
-
*/
|
|
868
|
-
padding: ResponsiveBoxProps['padding'];
|
|
869
|
-
/**
|
|
870
|
-
* Adjust the block-padding.
|
|
871
|
-
*
|
|
872
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
873
|
-
*
|
|
874
|
-
* This overrides the block value of `padding`.
|
|
875
|
-
*
|
|
876
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
877
|
-
*
|
|
878
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
879
|
-
*
|
|
880
|
-
* @default '' - meaning no override
|
|
881
|
-
*/
|
|
882
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
883
|
-
/**
|
|
884
|
-
* Adjust the block-start padding.
|
|
885
|
-
*
|
|
886
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
887
|
-
*
|
|
888
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
889
|
-
*
|
|
890
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
891
|
-
* @default '' - meaning no override
|
|
892
|
-
*/
|
|
893
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
894
|
-
/**
|
|
895
|
-
* Adjust the block-end padding.
|
|
896
|
-
*
|
|
897
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
898
|
-
*
|
|
899
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
900
|
-
*
|
|
901
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
902
|
-
* @default '' - meaning no override
|
|
903
|
-
*/
|
|
904
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
905
|
-
/**
|
|
906
|
-
* Adjust the inline padding.
|
|
907
|
-
*
|
|
908
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
909
|
-
*
|
|
910
|
-
* This overrides the inline value of `padding`.
|
|
911
|
-
*
|
|
912
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
913
|
-
*
|
|
914
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
915
|
-
*
|
|
916
|
-
* @default '' - meaning no override
|
|
917
|
-
*/
|
|
918
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
919
|
-
/**
|
|
920
|
-
* Adjust the inline-start padding.
|
|
921
|
-
*
|
|
922
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
923
|
-
*
|
|
924
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
925
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
926
|
-
*
|
|
927
|
-
* @default '' - meaning no override
|
|
928
|
-
*/
|
|
929
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
930
|
-
/**
|
|
931
|
-
* Adjust the inline-end padding.
|
|
932
|
-
*
|
|
933
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
934
|
-
*
|
|
935
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
936
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
937
|
-
*
|
|
938
|
-
* @default '' - meaning no override
|
|
939
|
-
*/
|
|
940
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
941
|
-
/**
|
|
942
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
943
|
-
*
|
|
944
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
945
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
946
|
-
*
|
|
947
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
948
|
-
* @default 'auto'
|
|
949
|
-
*/
|
|
950
|
-
display: ResponsiveBoxProps['display'];
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
declare const StacktagName = 's-stack';
|
|
954
|
-
declare const StackBaseClass: typeof globalThis.HTMLElement;
|
|
955
|
-
|
|
956
|
-
declare module 'preact' {
|
|
957
|
-
namespace createElement.JSX {
|
|
958
|
-
interface IntrinsicElements {
|
|
959
|
-
[SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
declare global {
|
|
965
|
-
interface HTMLElementTagNameMap {
|
|
966
|
-
[SpinnertagName]: Spinner;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
974
|
-
/** Assigns a unique key to this element. */
|
|
975
|
-
key?: preact.Key;
|
|
976
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
977
|
-
ref?: preact.Ref<TClass>;
|
|
978
|
-
/** Assigns this element to a parent's slot. */
|
|
979
|
-
slot?: Lowercase<string>;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
export interface SpinnerClickOptions {
|
|
983
|
-
/**
|
|
984
|
-
* The event you want to influence the synthetic click.
|
|
985
|
-
*/
|
|
986
|
-
sourceEvent?: SpinnerActivationEventEsque;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
export interface SpinnerActivationEventEsque {
|
|
990
|
-
shiftKey: boolean;
|
|
991
|
-
metaKey: boolean;
|
|
992
|
-
ctrlKey: boolean;
|
|
993
|
-
button: number;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
export interface SpinnerProps extends Required<Pick<SpinnerProps$1, 'accessibilityLabel'>> {
|
|
997
|
-
size: Extract<SpinnerProps$1['size'], 'large' | 'large-100' | 'base'>;
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
declare const SpinnertagName = 's-spinner';
|
|
1001
|
-
declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
|
|
1002
|
-
|
|
1003
|
-
declare module 'preact' {
|
|
1004
|
-
namespace createElement.JSX {
|
|
1005
|
-
interface IntrinsicElements {
|
|
1006
|
-
[SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
declare global {
|
|
1012
|
-
interface HTMLElementTagNameMap {
|
|
1013
|
-
[SelecttagName]: Select;
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
export interface SelectJSXProps extends Partial<SelectProps> {
|
|
1018
|
-
onChange?: (event: CallbackEvent<typeof SelecttagName>) => void;
|
|
1019
|
-
onInput?: (event: CallbackEvent<typeof tagName>) => void;
|
|
1020
|
-
onBlur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
1021
|
-
onFocus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
|
|
1025
|
-
Pick<
|
|
1026
|
-
SelectProps$1,
|
|
1027
|
-
| 'details'
|
|
1028
|
-
| 'disabled'
|
|
1029
|
-
| 'error'
|
|
1030
|
-
| 'label'
|
|
1031
|
-
| 'name'
|
|
1032
|
-
| 'placeholder'
|
|
1033
|
-
| 'required'
|
|
1034
|
-
| 'icon'
|
|
1035
|
-
| 'labelAccessibilityVisibility'
|
|
1036
|
-
>
|
|
1037
|
-
> {
|
|
1038
|
-
value: Required<SelectProps$1>['value'];
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
|
|
1042
|
-
children?: preact.ComponentChildren;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1046
|
-
/** Assigns a unique key to this element. */
|
|
1047
|
-
key?: preact.Key;
|
|
1048
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1049
|
-
ref?: preact.Ref<TClass>;
|
|
1050
|
-
/** Assigns this element to a parent's slot. */
|
|
1051
|
-
slot?: Lowercase<string>;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
export interface SelectClickOptions {
|
|
1055
|
-
/**
|
|
1056
|
-
* The event you want to influence the synthetic click.
|
|
1057
|
-
*/
|
|
1058
|
-
sourceEvent?: SelectActivationEventEsque;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
export interface SelectActivationEventEsque {
|
|
1062
|
-
shiftKey: boolean;
|
|
1063
|
-
metaKey: boolean;
|
|
1064
|
-
ctrlKey: boolean;
|
|
1065
|
-
button: number;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
declare const SelecttagName = 's-select';
|
|
1069
|
-
declare const hasInitialValueSymbol: unique symbol;
|
|
1070
|
-
declare const usedFirstOptionSymbol: unique symbol;
|
|
1071
|
-
declare const Selectinternals: unique symbol;
|
|
1072
|
-
declare const SelectBaseClass: typeof globalThis.HTMLElement;
|
|
1073
|
-
|
|
1074
|
-
declare module 'preact' {
|
|
1075
|
-
namespace createElement.JSX {
|
|
1076
|
-
interface IntrinsicElements {
|
|
1077
|
-
[SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
declare global {
|
|
1083
|
-
interface HTMLElementTagNameMap {
|
|
1084
|
-
[SectiontagName]: Section;
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
|
|
1092
|
-
children?: preact.ComponentChildren;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1096
|
-
/** Assigns a unique key to this element. */
|
|
1097
|
-
key?: preact.Key;
|
|
1098
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1099
|
-
ref?: preact.Ref<TClass>;
|
|
1100
|
-
/** Assigns this element to a parent's slot. */
|
|
1101
|
-
slot?: Lowercase<string>;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
export interface SectionClickOptions {
|
|
1105
|
-
/**
|
|
1106
|
-
* The event you want to influence the synthetic click.
|
|
1107
|
-
*/
|
|
1108
|
-
sourceEvent?: SectionActivationEventEsque;
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
export interface SectionActivationEventEsque {
|
|
1112
|
-
shiftKey: boolean;
|
|
1113
|
-
metaKey: boolean;
|
|
1114
|
-
ctrlKey: boolean;
|
|
1115
|
-
button: number;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
export interface SectionProps extends Pick<
|
|
1119
|
-
RequiredSectionProps,
|
|
1120
|
-
'accessibilityLabel' | 'heading' | 'padding'
|
|
1121
|
-
> {
|
|
1122
|
-
accessibilityLabel: RequiredSectionProps['accessibilityLabel'];
|
|
1123
|
-
heading: RequiredSectionProps['heading'];
|
|
1124
|
-
padding: RequiredSectionProps['padding'];
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
declare const SectiontagName = 's-section';
|
|
1128
|
-
declare const SectionBaseClass: typeof globalThis.HTMLElement;
|
|
1129
|
-
|
|
1130
|
-
declare module 'preact' {
|
|
1131
|
-
namespace createElement.JSX {
|
|
1132
|
-
interface IntrinsicElements {
|
|
1133
|
-
[QueryContainertagName]: Omit<
|
|
1134
|
-
HTMLAttributes<HTMLElement>,
|
|
1135
|
-
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
1136
|
-
> &
|
|
1137
|
-
QueryContainerJSXProps;
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
declare global {
|
|
1143
|
-
interface HTMLElementTagNameMap {
|
|
1144
|
-
[QueryContainertagName]: QueryContainer;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
export interface QueryContainerJSXProps extends Partial<QueryContainerProps$1>, Pick<QueryContainerProps$1, 'id'> {
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
export interface QueryContainerProps extends Required<Pick<QueryContainerProps$1, 'id' | 'containerName'>> {
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
export interface QueryContainerClickOptions {
|
|
1155
|
-
/**
|
|
1156
|
-
* The event you want to influence the synthetic click.
|
|
1157
|
-
*/
|
|
1158
|
-
sourceEvent?: QueryContainerActivationEventEsque;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
export interface QueryContainerActivationEventEsque {
|
|
1162
|
-
shiftKey: boolean;
|
|
1163
|
-
metaKey: boolean;
|
|
1164
|
-
ctrlKey: boolean;
|
|
1165
|
-
button: number;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
declare const QueryContainertagName = 's-query-container';
|
|
1169
|
-
declare const QueryContainerBaseClass: typeof globalThis.HTMLElement;
|
|
1170
|
-
|
|
1171
|
-
declare module 'preact' {
|
|
1172
|
-
namespace createElement.JSX {
|
|
1173
|
-
interface IntrinsicElements {
|
|
1174
|
-
[PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
declare global {
|
|
1180
|
-
interface HTMLElementTagNameMap {
|
|
1181
|
-
[PasswordFieldtagName]: PasswordField;
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1189
|
-
/** Assigns a unique key to this element. */
|
|
1190
|
-
key?: preact.Key;
|
|
1191
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1192
|
-
ref?: preact.Ref<TClass>;
|
|
1193
|
-
/** Assigns this element to a parent's slot. */
|
|
1194
|
-
slot?: Lowercase<string>;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1198
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1199
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
1200
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
1201
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
export interface PasswordFieldClickOptions {
|
|
1205
|
-
/**
|
|
1206
|
-
* The event you want to influence the synthetic click.
|
|
1207
|
-
*/
|
|
1208
|
-
sourceEvent?: PasswordFieldActivationEventEsque;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
export interface PasswordFieldActivationEventEsque {
|
|
1212
|
-
shiftKey: boolean;
|
|
1213
|
-
metaKey: boolean;
|
|
1214
|
-
ctrlKey: boolean;
|
|
1215
|
-
button: number;
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
declare const PasswordFieldtagName = 's-password-field';
|
|
1219
|
-
declare const PasswordFieldinternals: unique symbol;
|
|
1220
|
-
declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1221
|
-
|
|
1222
|
-
declare module 'preact' {
|
|
1223
|
-
namespace createElement.JSX {
|
|
1224
|
-
interface IntrinsicElements {
|
|
1225
|
-
[ParagraphtagName]: ParagraphJSXProps &
|
|
1226
|
-
ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
declare global {
|
|
1232
|
-
interface HTMLElementTagNameMap {
|
|
1233
|
-
[ParagraphtagName]: Paragraph;
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
|
|
1241
|
-
children?: preact.ComponentChildren;
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1245
|
-
/** Assigns a unique key to this element. */
|
|
1246
|
-
key?: preact.Key;
|
|
1247
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1248
|
-
ref?: preact.Ref<TClass>;
|
|
1249
|
-
/** Assigns this element to a parent's slot. */
|
|
1250
|
-
slot?: Lowercase<string>;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
export interface ParagraphClickOptions {
|
|
1254
|
-
/**
|
|
1255
|
-
* The event you want to influence the synthetic click.
|
|
1256
|
-
*/
|
|
1257
|
-
sourceEvent?: ParagraphActivationEventEsque;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
export interface ParagraphActivationEventEsque {
|
|
1261
|
-
shiftKey: boolean;
|
|
1262
|
-
metaKey: boolean;
|
|
1263
|
-
ctrlKey: boolean;
|
|
1264
|
-
button: number;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
export interface ParagraphProps extends Required<
|
|
1268
|
-
Pick<
|
|
1269
|
-
ParagraphProps$1,
|
|
1270
|
-
| 'accessibilityVisibility'
|
|
1271
|
-
| 'fontVariantNumeric'
|
|
1272
|
-
| 'tone'
|
|
1273
|
-
| 'dir'
|
|
1274
|
-
| 'color'
|
|
1275
|
-
| 'lineClamp'
|
|
1276
|
-
>
|
|
1277
|
-
> {
|
|
1278
|
-
color: Extract<ParagraphProps$1['color'], 'base' | 'subdued'>;
|
|
1279
|
-
lineClamp: Extract<ParagraphProps$1['lineClamp'], number>;
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
declare const ParagraphtagName = 's-paragraph';
|
|
1283
|
-
declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
|
|
1284
|
-
|
|
1285
|
-
declare module 'preact' {
|
|
1286
|
-
namespace createElement.JSX {
|
|
1287
|
-
interface IntrinsicElements {
|
|
1288
|
-
[OrderedListtagName]: OrderedListJSXProps &
|
|
1289
|
-
OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
declare global {
|
|
1295
|
-
interface HTMLElementTagNameMap {
|
|
1296
|
-
[OrderedListtagName]: OrderedList;
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
|
|
1304
|
-
children?: preact.ComponentChildren;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1308
|
-
/** Assigns a unique key to this element. */
|
|
1309
|
-
key?: preact.Key;
|
|
1310
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1311
|
-
ref?: preact.Ref<TClass>;
|
|
1312
|
-
/** Assigns this element to a parent's slot. */
|
|
1313
|
-
slot?: Lowercase<string>;
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
export interface OrderedListClickOptions {
|
|
1317
|
-
/**
|
|
1318
|
-
* The event you want to influence the synthetic click.
|
|
1319
|
-
*/
|
|
1320
|
-
sourceEvent?: OrderedListActivationEventEsque;
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
export interface OrderedListActivationEventEsque {
|
|
1324
|
-
shiftKey: boolean;
|
|
1325
|
-
metaKey: boolean;
|
|
1326
|
-
ctrlKey: boolean;
|
|
1327
|
-
button: number;
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
export interface OrderedListProps extends OrderedListProps$1 {
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
declare const OrderedListtagName = 's-ordered-list';
|
|
1334
|
-
declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
|
|
1335
|
-
|
|
1336
|
-
declare module 'preact' {
|
|
1337
|
-
namespace createElement.JSX {
|
|
1338
|
-
interface IntrinsicElements {
|
|
1339
|
-
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1340
|
-
OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
declare global {
|
|
1346
|
-
interface HTMLElementTagNameMap {
|
|
1347
|
-
[OptionGrouptagName]: OptionGroup;
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
|
|
1355
|
-
children?: preact.ComponentChildren;
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1359
|
-
/** Assigns a unique key to this element. */
|
|
1360
|
-
key?: preact.Key;
|
|
1361
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1362
|
-
ref?: preact.Ref<TClass>;
|
|
1363
|
-
/** Assigns this element to a parent's slot. */
|
|
1364
|
-
slot?: Lowercase<string>;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
export interface OptionGroupClickOptions {
|
|
1368
|
-
/**
|
|
1369
|
-
* The event you want to influence the synthetic click.
|
|
1370
|
-
*/
|
|
1371
|
-
sourceEvent?: OptionGroupActivationEventEsque;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
export interface OptionGroupActivationEventEsque {
|
|
1375
|
-
shiftKey: boolean;
|
|
1376
|
-
metaKey: boolean;
|
|
1377
|
-
ctrlKey: boolean;
|
|
1378
|
-
button: number;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
export interface OptionGroupProps extends Required<Pick<OptionGroupProps$1, 'disabled' | 'label'>> {
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
declare const OptionGrouptagName = 's-option-group';
|
|
1385
|
-
declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
|
|
1386
|
-
|
|
1387
|
-
declare module 'preact' {
|
|
1388
|
-
namespace createElement.JSX {
|
|
1389
|
-
interface IntrinsicElements {
|
|
1390
|
-
[OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
declare global {
|
|
1396
|
-
interface HTMLElementTagNameMap {
|
|
1397
|
-
[OptiontagName]: Option;
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
export interface OptionJSXProps extends Partial<OptionProps> {
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
|
|
1405
|
-
children?: preact.ComponentChildren;
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1409
|
-
/** Assigns a unique key to this element. */
|
|
1410
|
-
key?: preact.Key;
|
|
1411
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1412
|
-
ref?: preact.Ref<TClass>;
|
|
1413
|
-
/** Assigns this element to a parent's slot. */
|
|
1414
|
-
slot?: Lowercase<string>;
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
export interface OptionClickOptions {
|
|
1418
|
-
/**
|
|
1419
|
-
* The event you want to influence the synthetic click.
|
|
1420
|
-
*/
|
|
1421
|
-
sourceEvent?: OptionActivationEventEsque;
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
export interface OptionActivationEventEsque {
|
|
1425
|
-
shiftKey: boolean;
|
|
1426
|
-
metaKey: boolean;
|
|
1427
|
-
ctrlKey: boolean;
|
|
1428
|
-
button: number;
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
export interface OptionProps extends Required<
|
|
1432
|
-
Pick<OptionProps$1, 'disabled' | 'value' | 'selected' | 'defaultSelected'>
|
|
1433
|
-
> {
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
declare const OptiontagName = 's-option';
|
|
1437
|
-
declare const OptionBaseClass: typeof globalThis.HTMLElement;
|
|
1438
|
-
|
|
1439
|
-
declare module 'preact' {
|
|
1440
|
-
namespace createElement.JSX {
|
|
1441
|
-
interface IntrinsicElements {
|
|
1442
|
-
[NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
declare global {
|
|
1448
|
-
interface HTMLElementTagNameMap {
|
|
1449
|
-
[NumberFieldtagName]: NumberField;
|
|
1450
|
-
}
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
export interface NumberFieldJSXProps extends Partial<NumberFieldProps>, Pick<NumberFieldProps$1, 'id'>, NumberFieldFieldReactProps<typeof NumberFieldtagName> {
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
export interface NumberFieldProps extends Omit<
|
|
1457
|
-
PreactFieldProps<Required<NumberFieldProps$1>['autocomplete']>,
|
|
1458
|
-
'value'
|
|
1459
|
-
>, Required<
|
|
1460
|
-
Pick<
|
|
1461
|
-
NumberFieldProps$1,
|
|
1462
|
-
'inputMode' | 'max' | 'min' | 'prefix' | 'step' | 'suffix'
|
|
1463
|
-
>
|
|
1464
|
-
> {
|
|
1465
|
-
value: Required<NumberFieldProps$1>['value'];
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1469
|
-
/** Assigns a unique key to this element. */
|
|
1470
|
-
key?: preact.Key;
|
|
1471
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1472
|
-
ref?: preact.Ref<TClass>;
|
|
1473
|
-
/** Assigns this element to a parent's slot. */
|
|
1474
|
-
slot?: Lowercase<string>;
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1478
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1479
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
1480
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
1481
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
export interface NumberFieldClickOptions {
|
|
1485
|
-
/**
|
|
1486
|
-
* The event you want to influence the synthetic click.
|
|
1487
|
-
*/
|
|
1488
|
-
sourceEvent?: NumberFieldActivationEventEsque;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
export interface NumberFieldActivationEventEsque {
|
|
1492
|
-
shiftKey: boolean;
|
|
1493
|
-
metaKey: boolean;
|
|
1494
|
-
ctrlKey: boolean;
|
|
1495
|
-
button: number;
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
declare const NumberFieldtagName = 's-number-field';
|
|
1499
|
-
declare const NumberFieldinternals: unique symbol;
|
|
1500
|
-
declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1501
|
-
|
|
1502
|
-
declare module 'preact' {
|
|
1503
|
-
namespace createElement.JSX {
|
|
1504
|
-
interface IntrinsicElements {
|
|
1505
|
-
[MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
declare global {
|
|
1511
|
-
interface HTMLElementTagNameMap {
|
|
1512
|
-
[MoneyFieldtagName]: MoneyField;
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
export interface MoneyFieldJSXProps extends Partial<MoneyFieldProps>, MoneyFieldFieldReactProps<typeof MoneyFieldtagName>, Pick<MoneyFieldProps$1, 'id'> {
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<RequiredMoneyFieldProps, 'max' | 'min' | 'step' | 'currencyCode'> {
|
|
1520
|
-
value: Required<MoneyFieldProps$1>['value'];
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1524
|
-
/** Assigns a unique key to this element. */
|
|
1525
|
-
key?: preact.Key;
|
|
1526
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1527
|
-
ref?: preact.Ref<TClass>;
|
|
1528
|
-
/** Assigns this element to a parent's slot. */
|
|
1529
|
-
slot?: Lowercase<string>;
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1533
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1534
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
1535
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
1536
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export interface MoneyFieldClickOptions {
|
|
1540
|
-
/**
|
|
1541
|
-
* The event you want to influence the synthetic click.
|
|
1542
|
-
*/
|
|
1543
|
-
sourceEvent?: MoneyFieldActivationEventEsque;
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
export interface MoneyFieldActivationEventEsque {
|
|
1547
|
-
shiftKey: boolean;
|
|
1548
|
-
metaKey: boolean;
|
|
1549
|
-
ctrlKey: boolean;
|
|
1550
|
-
button: number;
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
declare const MoneyFieldtagName = 's-money-field';
|
|
1554
|
-
declare const MoneyFieldinternals: unique symbol;
|
|
1555
|
-
declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1556
|
-
|
|
1557
|
-
declare module 'preact' {
|
|
1558
|
-
namespace createElement.JSX {
|
|
1559
|
-
interface IntrinsicElements {
|
|
1560
|
-
[ListItemtagName]: ListItemJSXProps &
|
|
1561
|
-
ListItemPreactBaseElementPropsWithChildren<ListItem>;
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
declare global {
|
|
1567
|
-
interface HTMLElementTagNameMap {
|
|
1568
|
-
[ListItemtagName]: ListItem;
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
|
|
1576
|
-
children?: preact.ComponentChildren;
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1580
|
-
/** Assigns a unique key to this element. */
|
|
1581
|
-
key?: preact.Key;
|
|
1582
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1583
|
-
ref?: preact.Ref<TClass>;
|
|
1584
|
-
/** Assigns this element to a parent's slot. */
|
|
1585
|
-
slot?: Lowercase<string>;
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
export interface ListItemClickOptions {
|
|
1589
|
-
/**
|
|
1590
|
-
* The event you want to influence the synthetic click.
|
|
1591
|
-
*/
|
|
1592
|
-
sourceEvent?: ListItemActivationEventEsque;
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
export interface ListItemActivationEventEsque {
|
|
1596
|
-
shiftKey: boolean;
|
|
1597
|
-
metaKey: boolean;
|
|
1598
|
-
ctrlKey: boolean;
|
|
1599
|
-
button: number;
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
export interface ListItemProps extends ListItemProps$1 {
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
declare const ListItemtagName = 's-list-item';
|
|
1606
|
-
declare const ListItemBaseClass: typeof globalThis.HTMLElement;
|
|
1607
|
-
|
|
1608
|
-
declare module 'preact' {
|
|
1609
|
-
namespace createElement.JSX {
|
|
1610
|
-
interface IntrinsicElements {
|
|
1611
|
-
[LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
declare global {
|
|
1617
|
-
interface HTMLElementTagNameMap {
|
|
1618
|
-
[LinktagName]: Link;
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
export interface LinkJSXProps extends Partial<LinkProps>, Pick<LinkProps$1, 'id' | 'lang'> {
|
|
1623
|
-
onClick?: ((event: CallbackEvent<typeof LinktagName>) => void) | null;
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
export interface LinkPreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'> {
|
|
1627
|
-
/**
|
|
1628
|
-
* Sets the action the `commandFor` should take when this clickable is activated.
|
|
1629
|
-
*
|
|
1630
|
-
* See the documentation of particular components for the actions they support.
|
|
1631
|
-
*
|
|
1632
|
-
* - `--auto`: a default action for the target component.
|
|
1633
|
-
* - `--show`: shows the target component.
|
|
1634
|
-
* - `--hide`: hides the target component.
|
|
1635
|
-
* - `--toggle`: toggles the target component.
|
|
1636
|
-
*
|
|
1637
|
-
* @default '--auto'
|
|
1638
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1639
|
-
*/
|
|
1640
|
-
command: Extract<
|
|
1641
|
-
InteractionProps['command'],
|
|
1642
|
-
'--show' | '--hide' | '--toggle' | '--auto'
|
|
1643
|
-
>;
|
|
1644
|
-
commandFor: Extract<InteractionProps['commandFor'], string>;
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
export interface LinkClickOptions {
|
|
1648
|
-
/**
|
|
1649
|
-
* The event you want to influence the synthetic click.
|
|
1650
|
-
*/
|
|
1651
|
-
sourceEvent?: LinkActivationEventEsque;
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
export interface LinkActivationEventEsque {
|
|
1655
|
-
shiftKey: boolean;
|
|
1656
|
-
metaKey: boolean;
|
|
1657
|
-
ctrlKey: boolean;
|
|
1658
|
-
button: number;
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
|
|
1662
|
-
children?: preact.ComponentChildren;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1666
|
-
/** Assigns a unique key to this element. */
|
|
1667
|
-
key?: preact.Key;
|
|
1668
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1669
|
-
ref?: preact.Ref<TClass>;
|
|
1670
|
-
/** Assigns this element to a parent's slot. */
|
|
1671
|
-
slot?: Lowercase<string>;
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
export interface LinkProps extends Pick<
|
|
1675
|
-
LinkProps$1,
|
|
1676
|
-
| 'accessibilityLabel'
|
|
1677
|
-
| 'command'
|
|
1678
|
-
| 'commandFor'
|
|
1679
|
-
| 'download'
|
|
1680
|
-
| 'href'
|
|
1681
|
-
| 'lang'
|
|
1682
|
-
| 'target'
|
|
1683
|
-
| 'tone'
|
|
1684
|
-
> {
|
|
1685
|
-
accessibilityLabel: RequiredLinkProps['accessibilityLabel'];
|
|
1686
|
-
command: RequiredLinkProps['command'];
|
|
1687
|
-
commandFor: RequiredLinkProps['commandFor'];
|
|
1688
|
-
download: RequiredLinkProps['download'];
|
|
1689
|
-
href: RequiredLinkProps['href'];
|
|
1690
|
-
lang: RequiredLinkProps['lang'];
|
|
1691
|
-
target: RequiredLinkProps['target'];
|
|
1692
|
-
tone: Extract<RequiredLinkProps['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
declare const LinktagName = 's-link';
|
|
1696
|
-
declare const Link_base: (abstract new (
|
|
1697
|
-
args_0: RenderImpl,
|
|
1698
|
-
) => PreactCustomElement & LinkPreactOverlayControlProps) &
|
|
1699
|
-
Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
|
|
1700
|
-
declare const LinkBaseClass: typeof globalThis.HTMLElement;
|
|
1701
|
-
|
|
1702
|
-
declare module 'preact' {
|
|
1703
|
-
namespace createElement.JSX {
|
|
1704
|
-
interface IntrinsicElements {
|
|
1705
|
-
[ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
declare global {
|
|
1711
|
-
interface HTMLElementTagNameMap {
|
|
1712
|
-
[ImagetagName]: Image;
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
export interface ImageJSXProps extends Partial<ImageProps>, Pick<ImageProps$1, 'id'> {
|
|
1717
|
-
onError?: ((event: CallbackEvent<typeof ImagetagName>) => void) | null;
|
|
1718
|
-
onLoad?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
export interface ImageClickOptions {
|
|
1722
|
-
/**
|
|
1723
|
-
* The event you want to influence the synthetic click.
|
|
1724
|
-
*/
|
|
1725
|
-
sourceEvent?: ImageActivationEventEsque;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
export interface ImageActivationEventEsque {
|
|
1729
|
-
shiftKey: boolean;
|
|
1730
|
-
metaKey: boolean;
|
|
1731
|
-
ctrlKey: boolean;
|
|
1732
|
-
button: number;
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
|
|
1736
|
-
/** Assigns a unique key to this element. */
|
|
1737
|
-
key?: preact.Key;
|
|
1738
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1739
|
-
ref?: preact.Ref<TClass>;
|
|
1740
|
-
/** Assigns this element to a parent's slot. */
|
|
1741
|
-
slot?: Lowercase<string>;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
export interface ImageProps extends Required<
|
|
1745
|
-
Pick<
|
|
1746
|
-
ImageProps$1,
|
|
1747
|
-
| 'alt'
|
|
1748
|
-
| 'loading'
|
|
1749
|
-
| 'src'
|
|
1750
|
-
| 'accessibilityRole'
|
|
1751
|
-
| 'inlineSize'
|
|
1752
|
-
| 'srcSet'
|
|
1753
|
-
| 'sizes'
|
|
1754
|
-
| 'aspectRatio'
|
|
1755
|
-
| 'objectFit'
|
|
1756
|
-
>
|
|
1757
|
-
>, Required<
|
|
1758
|
-
Pick<
|
|
1759
|
-
ImageBoxProps,
|
|
1760
|
-
| 'border'
|
|
1761
|
-
| 'borderColor'
|
|
1762
|
-
| 'borderRadius'
|
|
1763
|
-
| 'borderStyle'
|
|
1764
|
-
| 'borderWidth'
|
|
1765
|
-
>
|
|
1766
|
-
> {
|
|
1767
|
-
border: ImageBoxProps['border'];
|
|
1768
|
-
borderColor: ImageBoxProps['borderColor'];
|
|
1769
|
-
borderRadius: ImageBoxProps['borderRadius'];
|
|
1770
|
-
borderStyle: ImageBoxProps['borderStyle'];
|
|
1771
|
-
borderWidth: ImageBoxProps['borderWidth'];
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
export interface ImageBoxProps extends Pick<
|
|
1775
|
-
RequiredBoxProps,
|
|
1776
|
-
| 'accessibilityLabel'
|
|
1777
|
-
| 'accessibilityRole'
|
|
1778
|
-
| 'accessibilityVisibility'
|
|
1779
|
-
| 'background'
|
|
1780
|
-
| 'blockSize'
|
|
1781
|
-
| 'border'
|
|
1782
|
-
| 'borderColor'
|
|
1783
|
-
| 'borderRadius'
|
|
1784
|
-
| 'borderStyle'
|
|
1785
|
-
| 'borderWidth'
|
|
1786
|
-
| 'inlineSize'
|
|
1787
|
-
| 'maxBlockSize'
|
|
1788
|
-
| 'maxInlineSize'
|
|
1789
|
-
| 'minBlockSize'
|
|
1790
|
-
| 'minInlineSize'
|
|
1791
|
-
| 'overflow'
|
|
1792
|
-
> {
|
|
1793
|
-
background: Extract<
|
|
1794
|
-
RequiredBoxProps['background'],
|
|
1795
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
1796
|
-
>;
|
|
1797
|
-
borderWidth: | MaybeAllValuesShorthandProperty<
|
|
1798
|
-
Extract<
|
|
1799
|
-
RequiredBoxProps['borderWidth'],
|
|
1800
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
1801
|
-
>
|
|
1802
|
-
>
|
|
1803
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
1804
|
-
borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
1805
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
1806
|
-
borderColor: Extract<
|
|
1807
|
-
RequiredBoxProps['borderColor'],
|
|
1808
|
-
'subdued' | 'base' | 'strong' | ''
|
|
1809
|
-
>;
|
|
1810
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
1811
|
-
/**
|
|
1812
|
-
* Adjust the padding of all edges.
|
|
1813
|
-
*
|
|
1814
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
1815
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
1816
|
-
*
|
|
1817
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
1818
|
-
* - 3 values: `block-start inline block-end`
|
|
1819
|
-
* - 2 values: `block inline`
|
|
1820
|
-
*
|
|
1821
|
-
* For example:
|
|
1822
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
1823
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
1824
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
1825
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
1826
|
-
*
|
|
1827
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
1828
|
-
*
|
|
1829
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1830
|
-
*
|
|
1831
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
1832
|
-
*
|
|
1833
|
-
* @default 'none'
|
|
1834
|
-
*/
|
|
1835
|
-
padding: ResponsiveBoxProps['padding'];
|
|
1836
|
-
/**
|
|
1837
|
-
* Adjust the block-padding.
|
|
1838
|
-
*
|
|
1839
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
1840
|
-
*
|
|
1841
|
-
* This overrides the block value of `padding`.
|
|
1842
|
-
*
|
|
1843
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1844
|
-
*
|
|
1845
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
1846
|
-
*
|
|
1847
|
-
* @default '' - meaning no override
|
|
1848
|
-
*/
|
|
1849
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
1850
|
-
/**
|
|
1851
|
-
* Adjust the block-start padding.
|
|
1852
|
-
*
|
|
1853
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
1854
|
-
*
|
|
1855
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1856
|
-
*
|
|
1857
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
1858
|
-
* @default '' - meaning no override
|
|
1859
|
-
*/
|
|
1860
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
1861
|
-
/**
|
|
1862
|
-
* Adjust the block-end padding.
|
|
1863
|
-
*
|
|
1864
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
1865
|
-
*
|
|
1866
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1867
|
-
*
|
|
1868
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
1869
|
-
* @default '' - meaning no override
|
|
1870
|
-
*/
|
|
1871
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
1872
|
-
/**
|
|
1873
|
-
* Adjust the inline padding.
|
|
1874
|
-
*
|
|
1875
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
1876
|
-
*
|
|
1877
|
-
* This overrides the inline value of `padding`.
|
|
1878
|
-
*
|
|
1879
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1880
|
-
*
|
|
1881
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
1882
|
-
*
|
|
1883
|
-
* @default '' - meaning no override
|
|
1884
|
-
*/
|
|
1885
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
1886
|
-
/**
|
|
1887
|
-
* Adjust the inline-start padding.
|
|
1888
|
-
*
|
|
1889
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
1890
|
-
*
|
|
1891
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1892
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
1893
|
-
*
|
|
1894
|
-
* @default '' - meaning no override
|
|
1895
|
-
*/
|
|
1896
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
1897
|
-
/**
|
|
1898
|
-
* Adjust the inline-end padding.
|
|
1899
|
-
*
|
|
1900
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
1901
|
-
*
|
|
1902
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
1903
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
1904
|
-
*
|
|
1905
|
-
* @default '' - meaning no override
|
|
1906
|
-
*/
|
|
1907
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
1908
|
-
/**
|
|
1909
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
1910
|
-
*
|
|
1911
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
1912
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
1913
|
-
*
|
|
1914
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
1915
|
-
* @default 'auto'
|
|
1916
|
-
*/
|
|
1917
|
-
display: ResponsiveBoxProps['display'];
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
declare const ImagetagName = 's-image';
|
|
1921
|
-
declare const ImageBaseClass: typeof globalThis.HTMLElement;
|
|
1922
|
-
|
|
1923
|
-
declare module 'preact' {
|
|
1924
|
-
namespace createElement.JSX {
|
|
1925
|
-
interface IntrinsicElements {
|
|
1926
|
-
[IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
|
-
declare global {
|
|
1932
|
-
interface HTMLElementTagNameMap {
|
|
1933
|
-
[IcontagName]: Icon;
|
|
1934
|
-
}
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1941
|
-
/** Assigns a unique key to this element. */
|
|
1942
|
-
key?: preact.Key;
|
|
1943
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1944
|
-
ref?: preact.Ref<TClass>;
|
|
1945
|
-
/** Assigns this element to a parent's slot. */
|
|
1946
|
-
slot?: Lowercase<string>;
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
export interface IconClickOptions {
|
|
1950
|
-
/**
|
|
1951
|
-
* The event you want to influence the synthetic click.
|
|
1952
|
-
*/
|
|
1953
|
-
sourceEvent?: IconActivationEventEsque;
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
export interface IconActivationEventEsque {
|
|
1957
|
-
shiftKey: boolean;
|
|
1958
|
-
metaKey: boolean;
|
|
1959
|
-
ctrlKey: boolean;
|
|
1960
|
-
button: number;
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
export interface IconIconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' | 'size'> {
|
|
1964
|
-
/**
|
|
1965
|
-
* Specifies the type of icon that will be displayed.
|
|
1966
|
-
*/
|
|
1967
|
-
type: '' | IconType | 'empty';
|
|
1968
|
-
tone: Extract<
|
|
1969
|
-
IconProps$1['tone'],
|
|
1970
|
-
'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
|
|
1971
|
-
>;
|
|
1972
|
-
color: Extract<IconProps$1['color'], 'base' | 'subdued'>;
|
|
1973
|
-
size: Extract<IconProps$1['size'], 'small' | 'base'>;
|
|
1974
|
-
}
|
|
1975
|
-
|
|
1976
|
-
declare const IcontagName = 's-icon';
|
|
1977
|
-
declare const IconBaseClass: typeof globalThis.HTMLElement;
|
|
1978
|
-
|
|
1979
|
-
declare module 'preact' {
|
|
1980
|
-
namespace createElement.JSX {
|
|
1981
|
-
interface IntrinsicElements {
|
|
1982
|
-
[HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
|
|
1983
|
-
}
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
declare global {
|
|
1988
|
-
interface HTMLElementTagNameMap {
|
|
1989
|
-
[HeadingtagName]: Heading;
|
|
1990
|
-
}
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
|
|
1997
|
-
children?: preact.ComponentChildren;
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2000
|
-
export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2001
|
-
/** Assigns a unique key to this element. */
|
|
2002
|
-
key?: preact.Key;
|
|
2003
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2004
|
-
ref?: preact.Ref<TClass>;
|
|
2005
|
-
/** Assigns this element to a parent's slot. */
|
|
2006
|
-
slot?: Lowercase<string>;
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
|
-
export interface HeadingClickOptions {
|
|
2010
|
-
/**
|
|
2011
|
-
* The event you want to influence the synthetic click.
|
|
2012
|
-
*/
|
|
2013
|
-
sourceEvent?: HeadingActivationEventEsque;
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
export interface HeadingActivationEventEsque {
|
|
2017
|
-
shiftKey: boolean;
|
|
2018
|
-
metaKey: boolean;
|
|
2019
|
-
ctrlKey: boolean;
|
|
2020
|
-
button: number;
|
|
2021
|
-
}
|
|
2022
|
-
|
|
2023
|
-
export interface HeadingProps extends Pick<
|
|
2024
|
-
HeadingProps$1,
|
|
2025
|
-
'accessibilityRole' | 'accessibilityVisibility' | 'lineClamp'
|
|
2026
|
-
> {
|
|
2027
|
-
accessibilityRole: RequiredHeadingProps['accessibilityRole'];
|
|
2028
|
-
accessibilityVisibility: RequiredHeadingProps['accessibilityVisibility'];
|
|
2029
|
-
lineClamp: RequiredHeadingProps['lineClamp'];
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
declare const HeadingtagName = 's-heading';
|
|
2033
|
-
declare const HeadingBaseClass: typeof globalThis.HTMLElement;
|
|
2034
|
-
|
|
2035
|
-
declare module 'preact' {
|
|
2036
|
-
namespace createElement.JSX {
|
|
2037
|
-
interface IntrinsicElements {
|
|
2038
|
-
[GridItemtagName]: GridItemJSXProps &
|
|
2039
|
-
GridItemPreactBaseElementPropsWithChildren<GridItem>;
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
declare global {
|
|
2045
|
-
interface HTMLElementTagNameMap {
|
|
2046
|
-
[GridItemtagName]: GridItem;
|
|
2047
|
-
}
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
|
|
2054
|
-
children?: preact.ComponentChildren;
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2058
|
-
/** Assigns a unique key to this element. */
|
|
2059
|
-
key?: preact.Key;
|
|
2060
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2061
|
-
ref?: preact.Ref<TClass>;
|
|
2062
|
-
/** Assigns this element to a parent's slot. */
|
|
2063
|
-
slot?: Lowercase<string>;
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
|
-
export interface GridItemClickOptions {
|
|
2067
|
-
/**
|
|
2068
|
-
* The event you want to influence the synthetic click.
|
|
2069
|
-
*/
|
|
2070
|
-
sourceEvent?: GridItemActivationEventEsque;
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
export interface GridItemActivationEventEsque {
|
|
2074
|
-
shiftKey: boolean;
|
|
2075
|
-
metaKey: boolean;
|
|
2076
|
-
ctrlKey: boolean;
|
|
2077
|
-
button: number;
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
export interface GridItemProps extends GridItemBoxProps, Required<Pick<GridItemProps$1, 'gridColumn' | 'gridRow'>> {
|
|
2081
|
-
gridColumn: RequiredGridItemProps['gridColumn'];
|
|
2082
|
-
gridRow: RequiredGridItemProps['gridRow'];
|
|
2083
|
-
}
|
|
2084
|
-
|
|
2085
|
-
export interface GridItemBoxProps extends Pick<
|
|
2086
|
-
RequiredBoxProps,
|
|
2087
|
-
| 'accessibilityLabel'
|
|
2088
|
-
| 'accessibilityRole'
|
|
2089
|
-
| 'accessibilityVisibility'
|
|
2090
|
-
| 'background'
|
|
2091
|
-
| 'blockSize'
|
|
2092
|
-
| 'border'
|
|
2093
|
-
| 'borderColor'
|
|
2094
|
-
| 'borderRadius'
|
|
2095
|
-
| 'borderStyle'
|
|
2096
|
-
| 'borderWidth'
|
|
2097
|
-
| 'inlineSize'
|
|
2098
|
-
| 'maxBlockSize'
|
|
2099
|
-
| 'maxInlineSize'
|
|
2100
|
-
| 'minBlockSize'
|
|
2101
|
-
| 'minInlineSize'
|
|
2102
|
-
| 'overflow'
|
|
2103
|
-
> {
|
|
2104
|
-
background: Extract<
|
|
2105
|
-
RequiredBoxProps['background'],
|
|
2106
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
2107
|
-
>;
|
|
2108
|
-
borderWidth: | MaybeAllValuesShorthandProperty<
|
|
2109
|
-
Extract<
|
|
2110
|
-
RequiredBoxProps['borderWidth'],
|
|
2111
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
2112
|
-
>
|
|
2113
|
-
>
|
|
2114
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
2115
|
-
borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
2116
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
2117
|
-
borderColor: Extract<
|
|
2118
|
-
RequiredBoxProps['borderColor'],
|
|
2119
|
-
'subdued' | 'base' | 'strong' | ''
|
|
2120
|
-
>;
|
|
2121
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
2122
|
-
/**
|
|
2123
|
-
* Adjust the padding of all edges.
|
|
2124
|
-
*
|
|
2125
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
2126
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
2127
|
-
*
|
|
2128
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
2129
|
-
* - 3 values: `block-start inline block-end`
|
|
2130
|
-
* - 2 values: `block inline`
|
|
2131
|
-
*
|
|
2132
|
-
* For example:
|
|
2133
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
2134
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
2135
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
2136
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
2137
|
-
*
|
|
2138
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
2139
|
-
*
|
|
2140
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2141
|
-
*
|
|
2142
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
2143
|
-
*
|
|
2144
|
-
* @default 'none'
|
|
2145
|
-
*/
|
|
2146
|
-
padding: ResponsiveBoxProps['padding'];
|
|
2147
|
-
/**
|
|
2148
|
-
* Adjust the block-padding.
|
|
2149
|
-
*
|
|
2150
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
2151
|
-
*
|
|
2152
|
-
* This overrides the block value of `padding`.
|
|
2153
|
-
*
|
|
2154
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2155
|
-
*
|
|
2156
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
2157
|
-
*
|
|
2158
|
-
* @default '' - meaning no override
|
|
2159
|
-
*/
|
|
2160
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
2161
|
-
/**
|
|
2162
|
-
* Adjust the block-start padding.
|
|
2163
|
-
*
|
|
2164
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
2165
|
-
*
|
|
2166
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2167
|
-
*
|
|
2168
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2169
|
-
* @default '' - meaning no override
|
|
2170
|
-
*/
|
|
2171
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
2172
|
-
/**
|
|
2173
|
-
* Adjust the block-end padding.
|
|
2174
|
-
*
|
|
2175
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
2176
|
-
*
|
|
2177
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2178
|
-
*
|
|
2179
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2180
|
-
* @default '' - meaning no override
|
|
2181
|
-
*/
|
|
2182
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
2183
|
-
/**
|
|
2184
|
-
* Adjust the inline padding.
|
|
2185
|
-
*
|
|
2186
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
2187
|
-
*
|
|
2188
|
-
* This overrides the inline value of `padding`.
|
|
2189
|
-
*
|
|
2190
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2191
|
-
*
|
|
2192
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
2193
|
-
*
|
|
2194
|
-
* @default '' - meaning no override
|
|
2195
|
-
*/
|
|
2196
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
2197
|
-
/**
|
|
2198
|
-
* Adjust the inline-start padding.
|
|
2199
|
-
*
|
|
2200
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
2201
|
-
*
|
|
2202
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2203
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2204
|
-
*
|
|
2205
|
-
* @default '' - meaning no override
|
|
2206
|
-
*/
|
|
2207
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
2208
|
-
/**
|
|
2209
|
-
* Adjust the inline-end padding.
|
|
2210
|
-
*
|
|
2211
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
2212
|
-
*
|
|
2213
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2214
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2215
|
-
*
|
|
2216
|
-
* @default '' - meaning no override
|
|
2217
|
-
*/
|
|
2218
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2219
|
-
/**
|
|
2220
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
2221
|
-
*
|
|
2222
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2223
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2224
|
-
*
|
|
2225
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2226
|
-
* @default 'auto'
|
|
2227
|
-
*/
|
|
2228
|
-
display: ResponsiveBoxProps['display'];
|
|
2229
|
-
}
|
|
2230
|
-
|
|
2231
|
-
declare const GridItemtagName = 's-grid-item';
|
|
2232
|
-
declare const GridItemBaseClass: typeof globalThis.HTMLElement;
|
|
2233
|
-
|
|
2234
|
-
declare module 'preact' {
|
|
2235
|
-
namespace createElement.JSX {
|
|
2236
|
-
interface IntrinsicElements {
|
|
2237
|
-
[GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
|
|
2242
|
-
declare global {
|
|
2243
|
-
interface HTMLElementTagNameMap {
|
|
2244
|
-
[GridtagName]: Grid;
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
export interface GridJSXProps extends Partial<GridProps>, Pick<GridProps$1, 'id'> {
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
export interface GridClickOptions {
|
|
2252
|
-
/**
|
|
2253
|
-
* The event you want to influence the synthetic click.
|
|
2254
|
-
*/
|
|
2255
|
-
sourceEvent?: GridActivationEventEsque;
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
export interface GridActivationEventEsque {
|
|
2259
|
-
shiftKey: boolean;
|
|
2260
|
-
metaKey: boolean;
|
|
2261
|
-
ctrlKey: boolean;
|
|
2262
|
-
button: number;
|
|
2263
|
-
}
|
|
2264
|
-
|
|
2265
|
-
export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
|
|
2266
|
-
children?: preact.ComponentChildren;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
|
-
export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2270
|
-
/** Assigns a unique key to this element. */
|
|
2271
|
-
key?: preact.Key;
|
|
2272
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2273
|
-
ref?: preact.Ref<TClass>;
|
|
2274
|
-
/** Assigns this element to a parent's slot. */
|
|
2275
|
-
slot?: Lowercase<string>;
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
export interface GridProps extends GridBoxProps, Required<
|
|
2279
|
-
Pick<
|
|
2280
|
-
GridProps$1,
|
|
2281
|
-
| 'gridTemplateColumns'
|
|
2282
|
-
| 'gridTemplateRows'
|
|
2283
|
-
| 'alignItems'
|
|
2284
|
-
| 'justifyItems'
|
|
2285
|
-
| 'placeItems'
|
|
2286
|
-
| 'alignContent'
|
|
2287
|
-
| 'justifyContent'
|
|
2288
|
-
| 'placeContent'
|
|
2289
|
-
>
|
|
2290
|
-
> {
|
|
2291
|
-
/**
|
|
2292
|
-
* Adjust spacing between elements.
|
|
2293
|
-
*
|
|
2294
|
-
* `gap` can either accept:
|
|
2295
|
-
* * a single SpacingKeyword value applied to both axes (e.g. `large-100`).
|
|
2296
|
-
* *OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
|
|
2297
|
-
* OR a container query string with supported SpacingKeyword values as query values (e.g.@container (inline-size > 500px) large-300, small-300)
|
|
2298
|
-
*
|
|
2299
|
-
* @default 'none'
|
|
2300
|
-
*/
|
|
2301
|
-
gap: ResponsiveGridProps['gap'];
|
|
2302
|
-
/**
|
|
2303
|
-
* Adjust spacing between elements in the block axis.
|
|
2304
|
-
*
|
|
2305
|
-
* This overrides the row value of `gap`.
|
|
2306
|
-
* `rowGap` either accepts:
|
|
2307
|
-
* * a single SpacingKeyword value (e.g. `large-100`)
|
|
2308
|
-
* *OR a container query string with supported SpacingKeyword values as query values (e.g.
|
|
2309
|
-
* @container (inline-size > 500px) large-300, small-300)
|
|
2310
|
-
* @default '' - meaning no override
|
|
2311
|
-
*/
|
|
2312
|
-
rowGap: ResponsiveGridProps['rowGap'];
|
|
2313
|
-
/**
|
|
2314
|
-
* Adjust spacing between elements in the inline axis.
|
|
2315
|
-
*
|
|
2316
|
-
* This overrides the column value of `gap`.
|
|
2317
|
-
* `columnGap` either accepts:
|
|
2318
|
-
* * a single SpacingKeyword value (e.g. `large-100`)
|
|
2319
|
-
* * OR a container query string with supported SpacingKeyword values as query values (e.g.
|
|
2320
|
-
* @container (inline-size > 500px) large-300, small-300)
|
|
2321
|
-
* @default '' - meaning no override
|
|
2322
|
-
*/
|
|
2323
|
-
columnGap: ResponsiveGridProps['columnGap'];
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
export interface GridBoxProps extends Pick<
|
|
2327
|
-
RequiredBoxProps,
|
|
2328
|
-
| 'accessibilityLabel'
|
|
2329
|
-
| 'accessibilityRole'
|
|
2330
|
-
| 'accessibilityVisibility'
|
|
2331
|
-
| 'background'
|
|
2332
|
-
| 'blockSize'
|
|
2333
|
-
| 'border'
|
|
2334
|
-
| 'borderColor'
|
|
2335
|
-
| 'borderRadius'
|
|
2336
|
-
| 'borderStyle'
|
|
2337
|
-
| 'borderWidth'
|
|
2338
|
-
| 'inlineSize'
|
|
2339
|
-
| 'maxBlockSize'
|
|
2340
|
-
| 'maxInlineSize'
|
|
2341
|
-
| 'minBlockSize'
|
|
2342
|
-
| 'minInlineSize'
|
|
2343
|
-
| 'overflow'
|
|
2344
|
-
> {
|
|
2345
|
-
background: Extract<
|
|
2346
|
-
RequiredBoxProps['background'],
|
|
2347
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
2348
|
-
>;
|
|
2349
|
-
borderWidth: | MaybeAllValuesShorthandProperty<
|
|
2350
|
-
Extract<
|
|
2351
|
-
RequiredBoxProps['borderWidth'],
|
|
2352
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
2353
|
-
>
|
|
2354
|
-
>
|
|
2355
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
2356
|
-
borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
2357
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
2358
|
-
borderColor: Extract<
|
|
2359
|
-
RequiredBoxProps['borderColor'],
|
|
2360
|
-
'subdued' | 'base' | 'strong' | ''
|
|
2361
|
-
>;
|
|
2362
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
2363
|
-
/**
|
|
2364
|
-
* Adjust the padding of all edges.
|
|
2365
|
-
*
|
|
2366
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
2367
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
2368
|
-
*
|
|
2369
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
2370
|
-
* - 3 values: `block-start inline block-end`
|
|
2371
|
-
* - 2 values: `block inline`
|
|
2372
|
-
*
|
|
2373
|
-
* For example:
|
|
2374
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
2375
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
2376
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
2377
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
2378
|
-
*
|
|
2379
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
2380
|
-
*
|
|
2381
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2382
|
-
*
|
|
2383
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
2384
|
-
*
|
|
2385
|
-
* @default 'none'
|
|
2386
|
-
*/
|
|
2387
|
-
padding: ResponsiveBoxProps['padding'];
|
|
2388
|
-
/**
|
|
2389
|
-
* Adjust the block-padding.
|
|
2390
|
-
*
|
|
2391
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
2392
|
-
*
|
|
2393
|
-
* This overrides the block value of `padding`.
|
|
2394
|
-
*
|
|
2395
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2396
|
-
*
|
|
2397
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
2398
|
-
*
|
|
2399
|
-
* @default '' - meaning no override
|
|
2400
|
-
*/
|
|
2401
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
2402
|
-
/**
|
|
2403
|
-
* Adjust the block-start padding.
|
|
2404
|
-
*
|
|
2405
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
2406
|
-
*
|
|
2407
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2408
|
-
*
|
|
2409
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2410
|
-
* @default '' - meaning no override
|
|
2411
|
-
*/
|
|
2412
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
2413
|
-
/**
|
|
2414
|
-
* Adjust the block-end padding.
|
|
2415
|
-
*
|
|
2416
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
2417
|
-
*
|
|
2418
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2419
|
-
*
|
|
2420
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2421
|
-
* @default '' - meaning no override
|
|
2422
|
-
*/
|
|
2423
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
2424
|
-
/**
|
|
2425
|
-
* Adjust the inline padding.
|
|
2426
|
-
*
|
|
2427
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
2428
|
-
*
|
|
2429
|
-
* This overrides the inline value of `padding`.
|
|
2430
|
-
*
|
|
2431
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2432
|
-
*
|
|
2433
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
2434
|
-
*
|
|
2435
|
-
* @default '' - meaning no override
|
|
2436
|
-
*/
|
|
2437
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
2438
|
-
/**
|
|
2439
|
-
* Adjust the inline-start padding.
|
|
2440
|
-
*
|
|
2441
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
2442
|
-
*
|
|
2443
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2444
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2445
|
-
*
|
|
2446
|
-
* @default '' - meaning no override
|
|
2447
|
-
*/
|
|
2448
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
2449
|
-
/**
|
|
2450
|
-
* Adjust the inline-end padding.
|
|
2451
|
-
*
|
|
2452
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
2453
|
-
*
|
|
2454
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2455
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2456
|
-
*
|
|
2457
|
-
* @default '' - meaning no override
|
|
2458
|
-
*/
|
|
2459
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2460
|
-
/**
|
|
2461
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
2462
|
-
*
|
|
2463
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2464
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2465
|
-
*
|
|
2466
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2467
|
-
* @default 'auto'
|
|
2468
|
-
*/
|
|
2469
|
-
display: ResponsiveBoxProps['display'];
|
|
2470
|
-
}
|
|
2471
|
-
|
|
2472
|
-
declare const GridtagName = 's-grid';
|
|
2473
|
-
declare const GridBaseClass: typeof globalThis.HTMLElement;
|
|
2474
|
-
|
|
2475
|
-
declare module 'preact' {
|
|
2476
|
-
namespace createElement.JSX {
|
|
2477
|
-
interface IntrinsicElements {
|
|
2478
|
-
[EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
declare global {
|
|
2484
|
-
interface HTMLElementTagNameMap {
|
|
2485
|
-
[EmailFieldtagName]: EmailField;
|
|
2486
|
-
}
|
|
2487
|
-
}
|
|
2488
|
-
|
|
2489
|
-
export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
|
|
2490
|
-
}
|
|
2491
|
-
|
|
2492
|
-
export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2493
|
-
/** Assigns a unique key to this element. */
|
|
2494
|
-
key?: preact.Key;
|
|
2495
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2496
|
-
ref?: preact.Ref<TClass>;
|
|
2497
|
-
/** Assigns this element to a parent's slot. */
|
|
2498
|
-
slot?: Lowercase<string>;
|
|
2499
|
-
}
|
|
2500
|
-
|
|
2501
|
-
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
2502
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
2503
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
2504
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
2505
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
2506
|
-
}
|
|
2507
|
-
|
|
2508
|
-
export interface EmailFieldClickOptions {
|
|
2509
|
-
/**
|
|
2510
|
-
* The event you want to influence the synthetic click.
|
|
2511
|
-
*/
|
|
2512
|
-
sourceEvent?: EmailFieldActivationEventEsque;
|
|
2513
|
-
}
|
|
2514
|
-
|
|
2515
|
-
export interface EmailFieldActivationEventEsque {
|
|
2516
|
-
shiftKey: boolean;
|
|
2517
|
-
metaKey: boolean;
|
|
2518
|
-
ctrlKey: boolean;
|
|
2519
|
-
button: number;
|
|
2520
|
-
}
|
|
2521
|
-
|
|
2522
|
-
declare const EmailFieldtagName = 's-email-field';
|
|
2523
|
-
declare const EmailFieldinternals: unique symbol;
|
|
2524
|
-
declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
|
|
2525
|
-
|
|
2526
|
-
declare module 'preact' {
|
|
2527
|
-
namespace createElement.JSX {
|
|
2528
|
-
interface IntrinsicElements {
|
|
2529
|
-
[DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
|
|
2530
|
-
}
|
|
2531
|
-
}
|
|
2532
|
-
}
|
|
2533
|
-
|
|
2534
|
-
declare global {
|
|
2535
|
-
interface HTMLElementTagNameMap {
|
|
2536
|
-
[DividertagName]: Divider;
|
|
2537
|
-
}
|
|
2538
|
-
}
|
|
2539
|
-
|
|
2540
|
-
export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
|
-
export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2544
|
-
/** Assigns a unique key to this element. */
|
|
2545
|
-
key?: preact.Key;
|
|
2546
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2547
|
-
ref?: preact.Ref<TClass>;
|
|
2548
|
-
/** Assigns this element to a parent's slot. */
|
|
2549
|
-
slot?: Lowercase<string>;
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
export interface DividerClickOptions {
|
|
2553
|
-
/**
|
|
2554
|
-
* The event you want to influence the synthetic click.
|
|
2555
|
-
*/
|
|
2556
|
-
sourceEvent?: DividerActivationEventEsque;
|
|
2557
|
-
}
|
|
2558
|
-
|
|
2559
|
-
export interface DividerActivationEventEsque {
|
|
2560
|
-
shiftKey: boolean;
|
|
2561
|
-
metaKey: boolean;
|
|
2562
|
-
ctrlKey: boolean;
|
|
2563
|
-
button: number;
|
|
2564
|
-
}
|
|
2565
|
-
|
|
2566
|
-
export interface DividerProps extends Pick<DividerProps$1, 'direction' | 'color'> {
|
|
2567
|
-
direction: Extract<DividerProps$1['direction'], 'inline' | 'block'>;
|
|
2568
|
-
color: Extract<DividerProps$1['color'], 'base' | 'strong'>;
|
|
2569
|
-
}
|
|
2570
|
-
|
|
2571
|
-
declare const DividertagName = 's-divider';
|
|
2572
|
-
declare const DividerBaseClass: typeof globalThis.HTMLElement;
|
|
2573
|
-
|
|
2574
|
-
declare module 'preact' {
|
|
2575
|
-
namespace createElement.JSX {
|
|
2576
|
-
interface IntrinsicElements {
|
|
2577
|
-
[DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
declare global {
|
|
2583
|
-
interface HTMLElementTagNameMap {
|
|
2584
|
-
[DatePickertagName]: DatePicker;
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
|
-
interface HTMLElementEventMap {
|
|
2588
|
-
viewchange: ViewChangeEvent;
|
|
2589
|
-
}
|
|
2590
|
-
}
|
|
2591
|
-
|
|
2592
|
-
export interface DatePickerJSXProps extends Partial<DatePickerProps>, Pick<DatePickerProps$1, 'id'> {
|
|
2593
|
-
onViewChange?: | ((
|
|
2594
|
-
event: CallbackEvent<typeof DatePickertagName, HTMLElementEventMap['viewchange']>,
|
|
2595
|
-
) => void)
|
|
2596
|
-
| null;
|
|
2597
|
-
onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2598
|
-
onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2599
|
-
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2600
|
-
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2601
|
-
}
|
|
2602
|
-
|
|
2603
|
-
export interface DatePickerClickOptions {
|
|
2604
|
-
/**
|
|
2605
|
-
* The event you want to influence the synthetic click.
|
|
2606
|
-
*/
|
|
2607
|
-
sourceEvent?: DatePickerActivationEventEsque;
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
|
-
export interface DatePickerActivationEventEsque {
|
|
2611
|
-
shiftKey: boolean;
|
|
2612
|
-
metaKey: boolean;
|
|
2613
|
-
ctrlKey: boolean;
|
|
2614
|
-
button: number;
|
|
2615
|
-
}
|
|
2616
|
-
|
|
2617
|
-
export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2618
|
-
/** Assigns a unique key to this element. */
|
|
2619
|
-
key?: preact.Key;
|
|
2620
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2621
|
-
ref?: preact.Ref<TClass>;
|
|
2622
|
-
/** Assigns this element to a parent's slot. */
|
|
2623
|
-
slot?: Lowercase<string>;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
export interface DatePickerProps extends Required<
|
|
2627
|
-
Pick<
|
|
2628
|
-
DatePickerProps$1,
|
|
2629
|
-
| 'defaultView'
|
|
2630
|
-
| 'view'
|
|
2631
|
-
| 'allow'
|
|
2632
|
-
| 'disallow'
|
|
2633
|
-
| 'allowDays'
|
|
2634
|
-
| 'disallowDays'
|
|
2635
|
-
| 'value'
|
|
2636
|
-
| 'defaultValue'
|
|
2637
|
-
| 'name'
|
|
2638
|
-
>
|
|
2639
|
-
> {
|
|
2640
|
-
type: Extract<DatePickerProps$1['type'], 'single' | 'multiple' | 'range'>;
|
|
2641
|
-
}
|
|
2642
|
-
|
|
2643
|
-
declare const DatePickertagName = 's-date-picker';
|
|
2644
|
-
declare const dirtyStateSymbol: unique symbol;
|
|
2645
|
-
declare const DatePickerinternals: unique symbol;
|
|
2646
|
-
declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
|
|
2647
|
-
|
|
2648
|
-
declare module 'preact' {
|
|
2649
|
-
namespace createElement.JSX {
|
|
2650
|
-
interface IntrinsicElements {
|
|
2651
|
-
[ClickabletagName]: ClickableJSXProps &
|
|
2652
|
-
ClickablePreactBaseElementPropsWithChildren<Clickable>;
|
|
2653
|
-
}
|
|
2654
|
-
}
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
|
-
declare global {
|
|
2658
|
-
interface HTMLElementTagNameMap {
|
|
2659
|
-
[ClickabletagName]: Clickable;
|
|
2660
|
-
}
|
|
2661
|
-
}
|
|
2662
|
-
|
|
2663
|
-
export interface ClickableJSXProps extends Partial<ClickableProps>, Pick<ClickableProps$1, 'id'> {
|
|
2664
|
-
onClick?: ((event: CallbackEvent<typeof ClickabletagName>) => void) | null;
|
|
2665
|
-
onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2666
|
-
onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2667
|
-
}
|
|
2668
|
-
|
|
2669
|
-
export interface ClickablePreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'> {
|
|
2670
|
-
/**
|
|
2671
|
-
* Sets the action the `commandFor` should take when this clickable is activated.
|
|
2672
|
-
*
|
|
2673
|
-
* See the documentation of particular components for the actions they support.
|
|
2674
|
-
*
|
|
2675
|
-
* - `--auto`: a default action for the target component.
|
|
2676
|
-
* - `--show`: shows the target component.
|
|
2677
|
-
* - `--hide`: hides the target component.
|
|
2678
|
-
* - `--toggle`: toggles the target component.
|
|
2679
|
-
*
|
|
2680
|
-
* @default '--auto'
|
|
2681
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
2682
|
-
*/
|
|
2683
|
-
command: Extract<
|
|
2684
|
-
InteractionProps['command'],
|
|
2685
|
-
'--show' | '--hide' | '--toggle' | '--auto'
|
|
2686
|
-
>;
|
|
2687
|
-
commandFor: Extract<InteractionProps['commandFor'], string>;
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
export interface ClickableClickOptions {
|
|
2691
|
-
/**
|
|
2692
|
-
* The event you want to influence the synthetic click.
|
|
2693
|
-
*/
|
|
2694
|
-
sourceEvent?: ClickableActivationEventEsque;
|
|
2695
|
-
}
|
|
2696
|
-
|
|
2697
|
-
export interface ClickableActivationEventEsque {
|
|
2698
|
-
shiftKey: boolean;
|
|
2699
|
-
metaKey: boolean;
|
|
2700
|
-
ctrlKey: boolean;
|
|
2701
|
-
button: number;
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
|
-
export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
|
|
2705
|
-
children?: preact.ComponentChildren;
|
|
2706
|
-
}
|
|
2707
|
-
|
|
2708
|
-
export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2709
|
-
/** Assigns a unique key to this element. */
|
|
2710
|
-
key?: preact.Key;
|
|
2711
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2712
|
-
ref?: preact.Ref<TClass>;
|
|
2713
|
-
/** Assigns this element to a parent's slot. */
|
|
2714
|
-
slot?: Lowercase<string>;
|
|
2715
|
-
}
|
|
2716
|
-
|
|
2717
|
-
export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
|
|
2718
|
-
}
|
|
2719
|
-
|
|
2720
|
-
export interface ClickableBoxProps extends Pick<
|
|
2721
|
-
RequiredBoxProps,
|
|
2722
|
-
| 'accessibilityLabel'
|
|
2723
|
-
| 'accessibilityRole'
|
|
2724
|
-
| 'accessibilityVisibility'
|
|
2725
|
-
| 'background'
|
|
2726
|
-
| 'blockSize'
|
|
2727
|
-
| 'border'
|
|
2728
|
-
| 'borderColor'
|
|
2729
|
-
| 'borderRadius'
|
|
2730
|
-
| 'borderStyle'
|
|
2731
|
-
| 'borderWidth'
|
|
2732
|
-
| 'inlineSize'
|
|
2733
|
-
| 'maxBlockSize'
|
|
2734
|
-
| 'maxInlineSize'
|
|
2735
|
-
| 'minBlockSize'
|
|
2736
|
-
| 'minInlineSize'
|
|
2737
|
-
| 'overflow'
|
|
2738
|
-
> {
|
|
2739
|
-
background: Extract<
|
|
2740
|
-
RequiredBoxProps['background'],
|
|
2741
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
2742
|
-
>;
|
|
2743
|
-
borderWidth: | MaybeAllValuesShorthandProperty<
|
|
2744
|
-
Extract<
|
|
2745
|
-
RequiredBoxProps['borderWidth'],
|
|
2746
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
2747
|
-
>
|
|
2748
|
-
>
|
|
2749
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
2750
|
-
borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
2751
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
2752
|
-
borderColor: Extract<
|
|
2753
|
-
RequiredBoxProps['borderColor'],
|
|
2754
|
-
'subdued' | 'base' | 'strong' | ''
|
|
2755
|
-
>;
|
|
2756
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
2757
|
-
/**
|
|
2758
|
-
* Adjust the padding of all edges.
|
|
2759
|
-
*
|
|
2760
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
2761
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
2762
|
-
*
|
|
2763
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
2764
|
-
* - 3 values: `block-start inline block-end`
|
|
2765
|
-
* - 2 values: `block inline`
|
|
2766
|
-
*
|
|
2767
|
-
* For example:
|
|
2768
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
2769
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
2770
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
2771
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
2772
|
-
*
|
|
2773
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
2774
|
-
*
|
|
2775
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2776
|
-
*
|
|
2777
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
2778
|
-
*
|
|
2779
|
-
* @default 'none'
|
|
2780
|
-
*/
|
|
2781
|
-
padding: ResponsiveBoxProps['padding'];
|
|
2782
|
-
/**
|
|
2783
|
-
* Adjust the block-padding.
|
|
2784
|
-
*
|
|
2785
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
2786
|
-
*
|
|
2787
|
-
* This overrides the block value of `padding`.
|
|
2788
|
-
*
|
|
2789
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2790
|
-
*
|
|
2791
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
2792
|
-
*
|
|
2793
|
-
* @default '' - meaning no override
|
|
2794
|
-
*/
|
|
2795
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
2796
|
-
/**
|
|
2797
|
-
* Adjust the block-start padding.
|
|
2798
|
-
*
|
|
2799
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
2800
|
-
*
|
|
2801
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2802
|
-
*
|
|
2803
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2804
|
-
* @default '' - meaning no override
|
|
2805
|
-
*/
|
|
2806
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
2807
|
-
/**
|
|
2808
|
-
* Adjust the block-end padding.
|
|
2809
|
-
*
|
|
2810
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
2811
|
-
*
|
|
2812
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2813
|
-
*
|
|
2814
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2815
|
-
* @default '' - meaning no override
|
|
2816
|
-
*/
|
|
2817
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
2818
|
-
/**
|
|
2819
|
-
* Adjust the inline padding.
|
|
2820
|
-
*
|
|
2821
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
2822
|
-
*
|
|
2823
|
-
* This overrides the inline value of `padding`.
|
|
2824
|
-
*
|
|
2825
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2826
|
-
*
|
|
2827
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
2828
|
-
*
|
|
2829
|
-
* @default '' - meaning no override
|
|
2830
|
-
*/
|
|
2831
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
2832
|
-
/**
|
|
2833
|
-
* Adjust the inline-start padding.
|
|
2834
|
-
*
|
|
2835
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
2836
|
-
*
|
|
2837
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2838
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2839
|
-
*
|
|
2840
|
-
* @default '' - meaning no override
|
|
2841
|
-
*/
|
|
2842
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
2843
|
-
/**
|
|
2844
|
-
* Adjust the inline-end padding.
|
|
2845
|
-
*
|
|
2846
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
2847
|
-
*
|
|
2848
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
2849
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
2850
|
-
*
|
|
2851
|
-
* @default '' - meaning no override
|
|
2852
|
-
*/
|
|
2853
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2854
|
-
/**
|
|
2855
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
2856
|
-
*
|
|
2857
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2858
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2859
|
-
*
|
|
2860
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2861
|
-
* @default 'auto'
|
|
2862
|
-
*/
|
|
2863
|
-
display: ResponsiveBoxProps['display'];
|
|
2864
|
-
}
|
|
2865
|
-
|
|
2866
|
-
declare const ClickabletagName = 's-clickable';
|
|
2867
|
-
declare const Clickable_base: (abstract new (
|
|
2868
|
-
renderImpl: RenderImpl,
|
|
2869
|
-
) => BoxElement & ClickablePreactOverlayControlProps) &
|
|
2870
|
-
Pick<typeof BoxElement, 'prototype' | 'observedAttributes'>;
|
|
2871
|
-
declare const ClickableBaseClass: typeof globalThis.HTMLElement;
|
|
2872
|
-
|
|
2873
|
-
declare module 'preact' {
|
|
2874
|
-
namespace createElement.JSX {
|
|
2875
|
-
interface IntrinsicElements {
|
|
2876
|
-
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2877
|
-
ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
|
|
2878
|
-
}
|
|
2879
|
-
}
|
|
2880
|
-
}
|
|
2881
|
-
|
|
2882
|
-
declare global {
|
|
2883
|
-
interface HTMLElementTagNameMap {
|
|
2884
|
-
[ChoiceListtagName]: ChoiceList;
|
|
2885
|
-
}
|
|
2886
|
-
}
|
|
2887
|
-
|
|
2888
|
-
export interface ChoiceListJSXProps extends Partial<ChoiceListProps>, Pick<ChoiceListProps$1, 'id'> {
|
|
2889
|
-
onChange?: ((event: CallbackEvent<typeof ChoiceListtagName>) => void) | null;
|
|
2890
|
-
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
2891
|
-
}
|
|
2892
|
-
|
|
2893
|
-
export interface ChoiceListClickOptions {
|
|
2894
|
-
/**
|
|
2895
|
-
* The event you want to influence the synthetic click.
|
|
2896
|
-
*/
|
|
2897
|
-
sourceEvent?: ChoiceListActivationEventEsque;
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
|
-
export interface ChoiceListActivationEventEsque {
|
|
2901
|
-
shiftKey: boolean;
|
|
2902
|
-
metaKey: boolean;
|
|
2903
|
-
ctrlKey: boolean;
|
|
2904
|
-
button: number;
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
|
-
export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
|
|
2908
|
-
children?: preact.ComponentChildren;
|
|
2909
|
-
}
|
|
2910
|
-
|
|
2911
|
-
export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2912
|
-
/** Assigns a unique key to this element. */
|
|
2913
|
-
key?: preact.Key;
|
|
2914
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2915
|
-
ref?: preact.Ref<TClass>;
|
|
2916
|
-
/** Assigns this element to a parent's slot. */
|
|
2917
|
-
slot?: Lowercase<string>;
|
|
2918
|
-
}
|
|
2919
|
-
|
|
2920
|
-
export interface ChoiceListProps extends Required<
|
|
2921
|
-
Pick<
|
|
2922
|
-
ChoiceListProps$1,
|
|
2923
|
-
| 'details'
|
|
2924
|
-
| 'disabled'
|
|
2925
|
-
| 'error'
|
|
2926
|
-
| 'label'
|
|
2927
|
-
| 'labelAccessibilityVisibility'
|
|
2928
|
-
| 'multiple'
|
|
2929
|
-
| 'name'
|
|
2930
|
-
| 'values'
|
|
2931
|
-
>
|
|
2932
|
-
> {
|
|
2933
|
-
}
|
|
2934
|
-
|
|
2935
|
-
declare const ChoiceListtagName = 's-choice-list';
|
|
2936
|
-
declare const ChoiceListinternals: unique symbol;
|
|
2937
|
-
/**
|
|
2938
|
-
* Base class for creating custom elements with Preact.
|
|
2939
|
-
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
2940
|
-
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
2941
|
-
*/
|
|
2942
|
-
declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
2943
|
-
|
|
2944
|
-
declare module 'preact' {
|
|
2945
|
-
namespace createElement.JSX {
|
|
2946
|
-
interface IntrinsicElements {
|
|
2947
|
-
[ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
|
|
2948
|
-
}
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
|
-
|
|
2952
|
-
declare global {
|
|
2953
|
-
interface HTMLElementTagNameMap {
|
|
2954
|
-
[ChoicetagName]: Choice;
|
|
2955
|
-
}
|
|
2956
|
-
}
|
|
2957
|
-
|
|
2958
|
-
export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
|
|
2959
|
-
}
|
|
2960
|
-
|
|
2961
|
-
export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
|
|
2962
|
-
children?: preact.ComponentChildren;
|
|
2963
|
-
}
|
|
2964
|
-
|
|
2965
|
-
export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2966
|
-
/** Assigns a unique key to this element. */
|
|
2967
|
-
key?: preact.Key;
|
|
2968
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2969
|
-
ref?: preact.Ref<TClass>;
|
|
2970
|
-
/** Assigns this element to a parent's slot. */
|
|
2971
|
-
slot?: Lowercase<string>;
|
|
2972
|
-
}
|
|
2973
|
-
|
|
2974
|
-
export interface ChoiceClickOptions {
|
|
2975
|
-
/**
|
|
2976
|
-
* The event you want to influence the synthetic click.
|
|
2977
|
-
*/
|
|
2978
|
-
sourceEvent?: ChoiceActivationEventEsque;
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
|
-
export interface ChoiceActivationEventEsque {
|
|
2982
|
-
shiftKey: boolean;
|
|
2983
|
-
metaKey: boolean;
|
|
2984
|
-
ctrlKey: boolean;
|
|
2985
|
-
button: number;
|
|
2986
|
-
}
|
|
2987
|
-
|
|
2988
|
-
export interface ChoiceProps extends Required<
|
|
2989
|
-
Pick<
|
|
2990
|
-
ChoiceProps$1,
|
|
2991
|
-
| 'selected'
|
|
2992
|
-
| 'defaultSelected'
|
|
2993
|
-
| 'disabled'
|
|
2994
|
-
| 'accessibilityLabel'
|
|
2995
|
-
| 'value'
|
|
2996
|
-
| 'label'
|
|
2997
|
-
| 'details'
|
|
2998
|
-
>
|
|
2999
|
-
> {
|
|
3000
|
-
}
|
|
3001
|
-
|
|
3002
|
-
declare const ChoicetagName = 's-choice';
|
|
3003
|
-
declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
|
|
3004
|
-
|
|
3005
|
-
declare module 'preact' {
|
|
3006
|
-
namespace createElement.JSX {
|
|
3007
|
-
interface IntrinsicElements {
|
|
3008
|
-
[CheckboxtagName]: CheckboxJSXProps &
|
|
3009
|
-
CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
|
|
3010
|
-
}
|
|
3011
|
-
}
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
declare global {
|
|
3015
|
-
interface HTMLElementTagNameMap {
|
|
3016
|
-
[CheckboxtagName]: Checkbox;
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
|
|
3020
|
-
export interface CheckboxJSXProps extends Partial<CheckboxProps>, Pick<CheckboxProps$1, 'id'> {
|
|
3021
|
-
onChange?: ((event: CallbackEvent<typeof CheckboxtagName>) => void) | null;
|
|
3022
|
-
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
3023
|
-
}
|
|
3024
|
-
|
|
3025
|
-
export interface CheckboxProps extends PreactCheckboxProps {
|
|
3026
|
-
indeterminate: Required<CheckboxProps$1>['indeterminate'];
|
|
3027
|
-
defaultIndeterminate: Required<CheckboxProps$1>['defaultIndeterminate'];
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
export interface PreactCheckboxProps extends Required<
|
|
3031
|
-
Pick<
|
|
3032
|
-
CheckboxProps$1,
|
|
3033
|
-
| 'accessibilityLabel'
|
|
3034
|
-
| 'checked'
|
|
3035
|
-
| 'defaultChecked'
|
|
3036
|
-
| 'details'
|
|
3037
|
-
| 'error'
|
|
3038
|
-
| 'label'
|
|
3039
|
-
| 'required'
|
|
3040
|
-
| 'name'
|
|
3041
|
-
| 'disabled'
|
|
3042
|
-
>
|
|
3043
|
-
> {
|
|
3044
|
-
value: Required<CheckboxProps$1>['value'];
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
|
-
export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
|
|
3048
|
-
children?: preact.ComponentChildren;
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3052
|
-
/** Assigns a unique key to this element. */
|
|
3053
|
-
key?: preact.Key;
|
|
3054
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3055
|
-
ref?: preact.Ref<TClass>;
|
|
3056
|
-
/** Assigns this element to a parent's slot. */
|
|
3057
|
-
slot?: Lowercase<string>;
|
|
3058
|
-
}
|
|
3059
|
-
|
|
3060
|
-
export interface CheckboxClickOptions {
|
|
3061
|
-
/**
|
|
3062
|
-
* The event you want to influence the synthetic click.
|
|
3063
|
-
*/
|
|
3064
|
-
sourceEvent?: CheckboxActivationEventEsque;
|
|
3065
|
-
}
|
|
3066
|
-
|
|
3067
|
-
export interface CheckboxActivationEventEsque {
|
|
3068
|
-
shiftKey: boolean;
|
|
3069
|
-
metaKey: boolean;
|
|
3070
|
-
ctrlKey: boolean;
|
|
3071
|
-
button: number;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
declare const CheckboxtagName = 's-checkbox';
|
|
3075
|
-
declare const internals: unique symbol;
|
|
3076
|
-
declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
|
|
3077
|
-
|
|
3078
|
-
declare module 'preact' {
|
|
3079
|
-
namespace createElement.JSX {
|
|
3080
|
-
interface IntrinsicElements {
|
|
3081
|
-
[ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
|
|
3082
|
-
}
|
|
3083
|
-
}
|
|
3084
|
-
}
|
|
3085
|
-
|
|
3086
|
-
declare global {
|
|
3087
|
-
interface HTMLElementTagNameMap {
|
|
3088
|
-
[ButtontagName]: Button;
|
|
3089
|
-
}
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
export interface ButtonJSXProps extends Partial<ButtonProps>, Pick<ButtonProps$1, 'id'> {
|
|
3093
|
-
onClick?: ((event: CallbackEvent<typeof ButtontagName>) => void) | null;
|
|
3094
|
-
onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
3095
|
-
onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
3096
|
-
}
|
|
3097
|
-
|
|
3098
|
-
export interface PreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'> {
|
|
3099
|
-
/**
|
|
3100
|
-
* Sets the action the `commandFor` should take when this clickable is activated.
|
|
3101
|
-
*
|
|
3102
|
-
* See the documentation of particular components for the actions they support.
|
|
3103
|
-
*
|
|
3104
|
-
* - `--auto`: a default action for the target component.
|
|
3105
|
-
* - `--show`: shows the target component.
|
|
3106
|
-
* - `--hide`: hides the target component.
|
|
3107
|
-
* - `--toggle`: toggles the target component.
|
|
3108
|
-
*
|
|
3109
|
-
* @default '--auto'
|
|
3110
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
3111
|
-
*/
|
|
3112
|
-
command: Extract<
|
|
3113
|
-
InteractionProps['command'],
|
|
3114
|
-
'--show' | '--hide' | '--toggle' | '--auto'
|
|
3115
|
-
>;
|
|
3116
|
-
commandFor: Extract<InteractionProps['commandFor'], string>;
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
export interface ButtonClickOptions {
|
|
3120
|
-
/**
|
|
3121
|
-
* The event you want to influence the synthetic click.
|
|
3122
|
-
*/
|
|
3123
|
-
sourceEvent?: ButtonActivationEventEsque;
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
|
-
export interface ButtonActivationEventEsque {
|
|
3127
|
-
shiftKey: boolean;
|
|
3128
|
-
metaKey: boolean;
|
|
3129
|
-
ctrlKey: boolean;
|
|
3130
|
-
button: number;
|
|
3131
|
-
}
|
|
3132
|
-
|
|
3133
|
-
export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
|
|
3134
|
-
children?: preact.ComponentChildren;
|
|
3135
|
-
}
|
|
3136
|
-
|
|
3137
|
-
export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3138
|
-
/** Assigns a unique key to this element. */
|
|
3139
|
-
key?: preact.Key;
|
|
3140
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3141
|
-
ref?: preact.Ref<TClass>;
|
|
3142
|
-
/** Assigns this element to a parent's slot. */
|
|
3143
|
-
slot?: Lowercase<string>;
|
|
3144
|
-
}
|
|
3145
|
-
|
|
3146
|
-
export interface ButtonProps extends ButtonBaseProps {
|
|
3147
|
-
tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
|
|
3148
|
-
icon: ButtonIconProps['type'];
|
|
3149
|
-
}
|
|
3150
|
-
|
|
3151
|
-
export interface ButtonIconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' | 'size'> {
|
|
3152
|
-
/**
|
|
3153
|
-
* Specifies the type of icon that will be displayed.
|
|
3154
|
-
*/
|
|
3155
|
-
type: '' | IconType | 'empty';
|
|
3156
|
-
tone: Extract<
|
|
3157
|
-
IconProps$1['tone'],
|
|
3158
|
-
'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
|
|
3159
|
-
>;
|
|
3160
|
-
color: Extract<IconProps$1['color'], 'base' | 'subdued'>;
|
|
3161
|
-
size: Extract<IconProps$1['size'], 'small' | 'base'>;
|
|
3162
|
-
}
|
|
3163
|
-
|
|
3164
|
-
declare const ButtontagName = 's-button';
|
|
3165
|
-
declare const Button_base: (abstract new (
|
|
3166
|
-
args_0: RenderImpl,
|
|
3167
|
-
) => PreactCustomElement & PreactOverlayControlProps) &
|
|
3168
|
-
Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
|
|
3169
|
-
declare const ButtonBaseClass: typeof globalThis.HTMLElement;
|
|
3170
|
-
|
|
3171
|
-
declare module 'preact' {
|
|
3172
|
-
namespace createElement.JSX {
|
|
3173
|
-
interface IntrinsicElements {
|
|
3174
|
-
[BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
|
|
3175
|
-
}
|
|
3176
|
-
}
|
|
3177
|
-
}
|
|
3178
|
-
|
|
3179
|
-
declare global {
|
|
3180
|
-
interface HTMLElementTagNameMap {
|
|
3181
|
-
[BoxtagName]: Box;
|
|
3182
|
-
}
|
|
3183
|
-
}
|
|
3184
|
-
|
|
3185
|
-
export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
|
|
3186
|
-
}
|
|
3187
|
-
|
|
3188
|
-
export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
|
|
3189
|
-
children?: preact.ComponentChildren;
|
|
3190
|
-
}
|
|
3191
|
-
|
|
3192
|
-
export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3193
|
-
/** Assigns a unique key to this element. */
|
|
3194
|
-
key?: preact.Key;
|
|
3195
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3196
|
-
ref?: preact.Ref<TClass>;
|
|
3197
|
-
/** Assigns this element to a parent's slot. */
|
|
3198
|
-
slot?: Lowercase<string>;
|
|
3199
|
-
}
|
|
3200
|
-
|
|
3201
|
-
export interface BoxClickOptions {
|
|
3202
|
-
/**
|
|
3203
|
-
* The event you want to influence the synthetic click.
|
|
3204
|
-
*/
|
|
3205
|
-
sourceEvent?: BoxActivationEventEsque;
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
export interface BoxActivationEventEsque {
|
|
3209
|
-
shiftKey: boolean;
|
|
3210
|
-
metaKey: boolean;
|
|
3211
|
-
ctrlKey: boolean;
|
|
3212
|
-
button: number;
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
|
-
export interface BoxProps extends Pick<
|
|
3216
|
-
RequiredBoxProps,
|
|
3217
|
-
| 'accessibilityLabel'
|
|
3218
|
-
| 'accessibilityRole'
|
|
3219
|
-
| 'accessibilityVisibility'
|
|
3220
|
-
| 'background'
|
|
3221
|
-
| 'blockSize'
|
|
3222
|
-
| 'border'
|
|
3223
|
-
| 'borderColor'
|
|
3224
|
-
| 'borderRadius'
|
|
3225
|
-
| 'borderStyle'
|
|
3226
|
-
| 'borderWidth'
|
|
3227
|
-
| 'inlineSize'
|
|
3228
|
-
| 'maxBlockSize'
|
|
3229
|
-
| 'maxInlineSize'
|
|
3230
|
-
| 'minBlockSize'
|
|
3231
|
-
| 'minInlineSize'
|
|
3232
|
-
| 'overflow'
|
|
3233
|
-
> {
|
|
3234
|
-
background: Extract<
|
|
3235
|
-
RequiredBoxProps['background'],
|
|
3236
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
3237
|
-
>;
|
|
3238
|
-
borderWidth: | MaybeAllValuesShorthandProperty<
|
|
3239
|
-
Extract<
|
|
3240
|
-
RequiredBoxProps['borderWidth'],
|
|
3241
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
3242
|
-
>
|
|
3243
|
-
>
|
|
3244
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
3245
|
-
borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
3246
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
3247
|
-
borderColor: Extract<
|
|
3248
|
-
RequiredBoxProps['borderColor'],
|
|
3249
|
-
'subdued' | 'base' | 'strong' | ''
|
|
3250
|
-
>;
|
|
3251
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
3252
|
-
/**
|
|
3253
|
-
* Adjust the padding of all edges.
|
|
3254
|
-
*
|
|
3255
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
3256
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
3257
|
-
*
|
|
3258
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
3259
|
-
* - 3 values: `block-start inline block-end`
|
|
3260
|
-
* - 2 values: `block inline`
|
|
3261
|
-
*
|
|
3262
|
-
* For example:
|
|
3263
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
3264
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
3265
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
3266
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
3267
|
-
*
|
|
3268
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
3269
|
-
*
|
|
3270
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3271
|
-
*
|
|
3272
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
3273
|
-
*
|
|
3274
|
-
* @default 'none'
|
|
3275
|
-
*/
|
|
3276
|
-
padding: ResponsiveBoxProps['padding'];
|
|
3277
|
-
/**
|
|
3278
|
-
* Adjust the block-padding.
|
|
3279
|
-
*
|
|
3280
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
3281
|
-
*
|
|
3282
|
-
* This overrides the block value of `padding`.
|
|
3283
|
-
*
|
|
3284
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3285
|
-
*
|
|
3286
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
3287
|
-
*
|
|
3288
|
-
* @default '' - meaning no override
|
|
3289
|
-
*/
|
|
3290
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
3291
|
-
/**
|
|
3292
|
-
* Adjust the block-start padding.
|
|
3293
|
-
*
|
|
3294
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
3295
|
-
*
|
|
3296
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3297
|
-
*
|
|
3298
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
3299
|
-
* @default '' - meaning no override
|
|
3300
|
-
*/
|
|
3301
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
3302
|
-
/**
|
|
3303
|
-
* Adjust the block-end padding.
|
|
3304
|
-
*
|
|
3305
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
3306
|
-
*
|
|
3307
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3308
|
-
*
|
|
3309
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
3310
|
-
* @default '' - meaning no override
|
|
3311
|
-
*/
|
|
3312
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
3313
|
-
/**
|
|
3314
|
-
* Adjust the inline padding.
|
|
3315
|
-
*
|
|
3316
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
3317
|
-
*
|
|
3318
|
-
* This overrides the inline value of `padding`.
|
|
3319
|
-
*
|
|
3320
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3321
|
-
*
|
|
3322
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
3323
|
-
*
|
|
3324
|
-
* @default '' - meaning no override
|
|
3325
|
-
*/
|
|
3326
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
3327
|
-
/**
|
|
3328
|
-
* Adjust the inline-start padding.
|
|
3329
|
-
*
|
|
3330
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
3331
|
-
*
|
|
3332
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3333
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
3334
|
-
*
|
|
3335
|
-
* @default '' - meaning no override
|
|
3336
|
-
*/
|
|
3337
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
3338
|
-
/**
|
|
3339
|
-
* Adjust the inline-end padding.
|
|
3340
|
-
*
|
|
3341
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
3342
|
-
*
|
|
3343
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
3344
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
3345
|
-
*
|
|
3346
|
-
* @default '' - meaning no override
|
|
3347
|
-
*/
|
|
3348
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
3349
|
-
/**
|
|
3350
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
3351
|
-
*
|
|
3352
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
3353
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
3354
|
-
*
|
|
3355
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
3356
|
-
* @default 'auto'
|
|
3357
|
-
*/
|
|
3358
|
-
display: ResponsiveBoxProps['display'];
|
|
3359
|
-
}
|
|
3360
|
-
|
|
3361
|
-
declare const BoxtagName = 's-box';
|
|
3362
|
-
declare const BoxBaseClass: typeof globalThis.HTMLElement;
|
|
3363
|
-
|
|
3364
|
-
declare module 'preact' {
|
|
3365
|
-
namespace createElement.JSX {
|
|
3366
|
-
interface IntrinsicElements {
|
|
3367
|
-
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3368
|
-
BannerPreactBaseElementPropsWithChildren<Banner>;
|
|
3369
|
-
}
|
|
3370
|
-
}
|
|
3371
|
-
}
|
|
3372
|
-
|
|
3373
|
-
declare global {
|
|
3374
|
-
interface HTMLElementTagNameMap {
|
|
3375
|
-
[BannertagName]: Banner;
|
|
3376
|
-
}
|
|
3377
|
-
}
|
|
3378
|
-
|
|
3379
|
-
export interface BannerJSXProps extends Partial<BannerProps>, Pick<BannerProps$1, 'id'> {
|
|
3380
|
-
/**
|
|
3381
|
-
* The secondary actions to display at the bottom of the banner.
|
|
3382
|
-
*
|
|
3383
|
-
* A maximum of two `s-button` components are allowed, and only buttons with the `variant` of "secondary" are permitted.
|
|
3384
|
-
*/
|
|
3385
|
-
secondaryActions?: ComponentChild;
|
|
3386
|
-
onDismiss?: ((event: CallbackEvent<typeof BannertagName>) => void) | null;
|
|
3387
|
-
onAfterHide?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
3388
|
-
}
|
|
3389
|
-
|
|
3390
|
-
export interface BannerClickOptions {
|
|
3391
|
-
/**
|
|
3392
|
-
* The event you want to influence the synthetic click.
|
|
3393
|
-
*/
|
|
3394
|
-
sourceEvent?: BannerActivationEventEsque;
|
|
3395
|
-
}
|
|
3396
|
-
|
|
3397
|
-
export interface BannerActivationEventEsque {
|
|
3398
|
-
shiftKey: boolean;
|
|
3399
|
-
metaKey: boolean;
|
|
3400
|
-
ctrlKey: boolean;
|
|
3401
|
-
button: number;
|
|
3402
|
-
}
|
|
3403
|
-
|
|
3404
|
-
export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
|
|
3405
|
-
children?: preact.ComponentChildren;
|
|
3406
|
-
}
|
|
3407
|
-
|
|
3408
|
-
export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3409
|
-
/** Assigns a unique key to this element. */
|
|
3410
|
-
key?: preact.Key;
|
|
3411
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3412
|
-
ref?: preact.Ref<TClass>;
|
|
3413
|
-
/** Assigns this element to a parent's slot. */
|
|
3414
|
-
slot?: Lowercase<string>;
|
|
3415
|
-
}
|
|
3416
|
-
|
|
3417
|
-
export interface BannerProps extends Pick<
|
|
3418
|
-
RequiredBannerProps,
|
|
3419
|
-
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
3420
|
-
> {
|
|
3421
|
-
tone: Extract<
|
|
3422
|
-
RequiredBannerProps['tone'],
|
|
3423
|
-
'auto' | 'critical' | 'warning' | 'success' | 'info'
|
|
3424
|
-
>;
|
|
3425
|
-
}
|
|
3426
|
-
|
|
3427
|
-
declare const BannertagName = 's-banner';
|
|
3428
|
-
declare const BannerBaseClass: typeof globalThis.HTMLElement;
|
|
3429
|
-
|
|
3430
|
-
declare module 'preact' {
|
|
3431
|
-
namespace createElement.JSX {
|
|
3432
|
-
interface IntrinsicElements {
|
|
3433
|
-
[BadgetagName]: BadgeJSXProps & BadgePreactBaseElementPropsWithChildren<Badge>;
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
}
|
|
3437
|
-
|
|
3438
|
-
declare global {
|
|
3439
|
-
interface HTMLElementTagNameMap {
|
|
3440
|
-
[BadgetagName]: Badge;
|
|
3441
|
-
}
|
|
3442
|
-
}
|
|
3443
|
-
|
|
3444
|
-
export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
|
|
3445
|
-
}
|
|
3446
|
-
|
|
3447
|
-
export interface BadgePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BadgePreactBaseElementProps<TClass> {
|
|
3448
|
-
children?: preact.ComponentChildren;
|
|
3449
|
-
}
|
|
3450
|
-
|
|
3451
|
-
export interface BadgePreactBaseElementProps<TClass extends HTMLElement> {
|
|
3452
|
-
/** Assigns a unique key to this element. */
|
|
3453
|
-
key?: preact.Key;
|
|
3454
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3455
|
-
ref?: preact.Ref<TClass>;
|
|
3456
|
-
/** Assigns this element to a parent's slot. */
|
|
3457
|
-
slot?: Lowercase<string>;
|
|
3458
|
-
}
|
|
3459
|
-
|
|
3460
|
-
export interface BadgeClickOptions {
|
|
3461
|
-
/**
|
|
3462
|
-
* The event you want to influence the synthetic click.
|
|
3463
|
-
*/
|
|
3464
|
-
sourceEvent?: BadgeActivationEventEsque;
|
|
3465
|
-
}
|
|
3466
|
-
|
|
3467
|
-
export interface BadgeActivationEventEsque {
|
|
3468
|
-
shiftKey: boolean;
|
|
3469
|
-
metaKey: boolean;
|
|
3470
|
-
ctrlKey: boolean;
|
|
3471
|
-
button: number;
|
|
3472
|
-
}
|
|
3473
|
-
|
|
3474
|
-
export interface BadgeProps extends Pick<BadgeProps$1, 'color' | 'size' | 'tone'> {
|
|
3475
|
-
color: Extract<BadgeProps$1['color'], 'base' | 'strong'>;
|
|
3476
|
-
icon: IconProps['type'] | '';
|
|
3477
|
-
size: Extract<BadgeProps$1['size'], 'base' | 'large' | 'large-100'>;
|
|
3478
|
-
tone: Extract<
|
|
3479
|
-
BadgeProps$1['tone'],
|
|
3480
|
-
'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
|
|
3481
|
-
>;
|
|
3482
|
-
}
|
|
3483
|
-
|
|
3484
|
-
export interface IconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' | 'size'> {
|
|
3485
|
-
/**
|
|
3486
|
-
* Specifies the type of icon that will be displayed.
|
|
3487
|
-
*/
|
|
3488
|
-
type: '' | IconType | 'empty';
|
|
3489
|
-
tone: Extract<
|
|
3490
|
-
IconProps$1['tone'],
|
|
3491
|
-
'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
|
|
3492
|
-
>;
|
|
3493
|
-
color: Extract<IconProps$1['color'], 'base' | 'subdued'>;
|
|
3494
|
-
size: Extract<IconProps$1['size'], 'small' | 'base'>;
|
|
3495
|
-
}
|
|
3496
|
-
|
|
3497
|
-
declare const BadgetagName = 's-badge';
|
|
3498
|
-
declare const BadgeBaseClass: typeof globalThis.HTMLElement;
|
|
3499
|
-
|
|
3500
|
-
declare module 'preact' {
|
|
3501
|
-
namespace createElement.JSX {
|
|
3502
|
-
interface IntrinsicElements {
|
|
3503
|
-
[tagName]: AvatarJSXProps & PreactBaseElementPropsWithChildren<Avatar>;
|
|
3504
|
-
}
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3507
|
-
|
|
3508
|
-
declare global {
|
|
3509
|
-
interface HTMLElementTagNameMap {
|
|
3510
|
-
[tagName]: Avatar;
|
|
3511
|
-
}
|
|
3512
|
-
}
|
|
3513
|
-
|
|
3514
|
-
export interface AvatarJSXProps extends Partial<AvatarProps>, Pick<AvatarProps$1, 'id'> {
|
|
3515
|
-
onLoad?: () => void;
|
|
3516
|
-
onError?: () => void;
|
|
3517
|
-
}
|
|
3518
|
-
|
|
3519
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
|
|
3520
|
-
children?: preact.ComponentChildren;
|
|
3521
|
-
}
|
|
3522
|
-
|
|
3523
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
3524
|
-
/** Assigns a unique key to this element. */
|
|
3525
|
-
key?: preact.Key;
|
|
3526
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3527
|
-
ref?: preact.Ref<TClass>;
|
|
3528
|
-
/** Assigns this element to a parent's slot. */
|
|
3529
|
-
slot?: Lowercase<string>;
|
|
3530
|
-
}
|
|
3531
|
-
|
|
3532
|
-
export interface ClickOptions {
|
|
3533
|
-
/**
|
|
3534
|
-
* The event you want to influence the synthetic click.
|
|
3535
|
-
*/
|
|
3536
|
-
sourceEvent?: ActivationEventEsque;
|
|
3537
|
-
}
|
|
3538
|
-
|
|
3539
|
-
export interface ActivationEventEsque {
|
|
3540
|
-
shiftKey: boolean;
|
|
3541
|
-
metaKey: boolean;
|
|
3542
|
-
ctrlKey: boolean;
|
|
3543
|
-
button: number;
|
|
3544
|
-
}
|
|
3545
|
-
|
|
3546
|
-
export interface AvatarProps extends Required<Pick<AvatarProps$1, 'initials' | 'src' | 'alt'>> {
|
|
3547
|
-
size: Extract<
|
|
3548
|
-
AvatarProps$1['size'],
|
|
3549
|
-
'small-200' | 'small' | 'base' | 'large' | 'large-200'
|
|
3550
|
-
>;
|
|
3551
|
-
}
|
|
3552
|
-
|
|
3553
|
-
declare const tagName = 's-avatar';
|
|
3554
|
-
/**
|
|
3555
|
-
* Base class for creating custom elements with Preact.
|
|
3556
|
-
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
3557
|
-
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
3558
|
-
*/
|
|
3559
|
-
declare const BaseClass: typeof globalThis.HTMLElement;
|
|
3560
|
-
|
|
3561
|
-
import { AdminAction } from "../../../../../src/surfaces/admin/components/AdminAction";
|
|
3562
|
-
import { Avatar, CallbackEvent, RenderImpl } from "../../../../../src/surfaces/admin/components/Avatar";
|
|
3563
|
-
import { Badge } from "../../../../../src/surfaces/admin/components/Badge";
|
|
3564
|
-
import { Banner, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
|
|
3565
|
-
import { Box, BoxBorderRadii, BoxBorderStyles, RequiredBoxProps, ResponsiveBoxProps } from "../../../../../src/surfaces/admin/components/Box";
|
|
3566
|
-
import { Button, ButtonBaseProps } from "../../../../../src/surfaces/admin/components/Button";
|
|
3567
|
-
import { Checkbox, PreactInputProps } from "../../../../../src/surfaces/admin/components/Checkbox";
|
|
3568
|
-
import { Choice } from "../../../../../src/surfaces/admin/components/Choice";
|
|
3569
|
-
import { ChoiceList } from "../../../../../src/surfaces/admin/components/ChoiceList";
|
|
3570
|
-
import { Clickable, ClickableBaseProps } from "../../../../../src/surfaces/admin/components/Clickable";
|
|
3571
|
-
import { DatePicker } from "../../../../../src/surfaces/admin/components/DatePicker";
|
|
3572
|
-
import { Divider } from "../../../../../src/surfaces/admin/components/Divider";
|
|
3573
|
-
import { EmailField, EmailFieldProps, PreactFieldProps } from "../../../../../src/surfaces/admin/components/EmailField";
|
|
3574
|
-
import { Grid, ResponsiveGridProps } from "../../../../../src/surfaces/admin/components/Grid";
|
|
3575
|
-
import { GridItem, RequiredGridItemProps } from "../../../../../src/surfaces/admin/components/GridItem";
|
|
3576
|
-
import { Heading, RequiredHeadingProps } from "../../../../../src/surfaces/admin/components/Heading";
|
|
3577
|
-
import { Icon } from "../../../../../src/surfaces/admin/components/Icon";
|
|
3578
|
-
import { Link, RequiredLinkProps } from "../../../../../src/surfaces/admin/components/Link";
|
|
3579
|
-
import { ListItem } from "../../../../../src/surfaces/admin/components/ListItem";
|
|
3580
|
-
import { MoneyField, RequiredMoneyFieldProps } from "../../../../../src/surfaces/admin/components/MoneyField";
|
|
3581
|
-
import { NumberField } from "../../../../../src/surfaces/admin/components/NumberField";
|
|
3582
|
-
import { OptionGroup } from "../../../../../src/surfaces/admin/components/OptionGroup";
|
|
3583
|
-
import { OrderedList } from "../../../../../src/surfaces/admin/components/OrderedList";
|
|
3584
|
-
import { Paragraph } from "../../../../../src/surfaces/admin/components/Paragraph";
|
|
3585
|
-
import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/admin/components/PasswordField";
|
|
3586
|
-
import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
|
|
3587
|
-
import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
|
|
3588
|
-
import { Select } from "../../../../../src/surfaces/admin/components/Select";
|
|
3589
|
-
import { AdminActionProps$1, AvatarProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, ThumbnailProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
|
|
3590
|
-
import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
|
|
3591
|
-
import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
|
|
3592
|
-
import { Table } from "../../../../../src/surfaces/admin/components/Table";
|
|
3593
|
-
import { TableBody } from "../../../../../src/surfaces/admin/components/TableBody";
|
|
3594
|
-
import { TableCell } from "../../../../../src/surfaces/admin/components/TableCell";
|
|
3595
|
-
import { TableHeader } from "../../../../../src/surfaces/admin/components/TableHeader";
|
|
3596
|
-
import { TableHeaderRow } from "../../../../../src/surfaces/admin/components/TableHeaderRow";
|
|
3597
|
-
import { TableRow } from "../../../../../src/surfaces/admin/components/TableRow";
|
|
3598
|
-
import { TextArea, TextAreaProps } from "../../../../../src/surfaces/admin/components/TextArea";
|
|
3599
|
-
import { TextField, TextFieldProps } from "../../../../../src/surfaces/admin/components/TextField";
|
|
3600
|
-
import { Thumbnail } from "../../../../../src/surfaces/admin/components/Thumbnail";
|
|
3601
|
-
import { UnorderedList } from "../../../../../src/surfaces/admin/components/UnorderedList";
|
|
3602
|
-
import { URLField, URLFieldProps } from "../../../../../src/surfaces/admin/components/URLField";
|
|
1
|
+
import "../components/AdminAction.d.ts";
|
|
2
|
+
import "../components/Avatar.d.ts";
|
|
3
|
+
import "../components/Badge.d.ts";
|
|
4
|
+
import "../components/Banner.d.ts";
|
|
5
|
+
import "../components/Box.d.ts";
|
|
6
|
+
import "../components/Button.d.ts";
|
|
7
|
+
import "../components/ButtonGroup.d.ts";
|
|
8
|
+
import "../components/Checkbox.d.ts";
|
|
9
|
+
import "../components/Chip.d.ts";
|
|
10
|
+
import "../components/Choice.d.ts";
|
|
11
|
+
import "../components/ChoiceList.d.ts";
|
|
12
|
+
import "../components/Clickable.d.ts";
|
|
13
|
+
import "../components/ClickableChip.d.ts";
|
|
14
|
+
import "../components/ColorField.d.ts";
|
|
15
|
+
import "../components/ColorPicker.d.ts";
|
|
16
|
+
import "../components/DateField.d.ts";
|
|
17
|
+
import "../components/DatePicker.d.ts";
|
|
18
|
+
import "../components/Divider.d.ts";
|
|
19
|
+
import "../components/EmailField.d.ts";
|
|
20
|
+
import "../components/Grid.d.ts";
|
|
21
|
+
import "../components/GridItem.d.ts";
|
|
22
|
+
import "../components/Heading.d.ts";
|
|
23
|
+
import "../components/Icon.d.ts";
|
|
24
|
+
import "../components/Image.d.ts";
|
|
25
|
+
import "../components/Link.d.ts";
|
|
26
|
+
import "../components/ListItem.d.ts";
|
|
27
|
+
import "../components/Menu.d.ts";
|
|
28
|
+
import "../components/MoneyField.d.ts";
|
|
29
|
+
import "../components/NumberField.d.ts";
|
|
30
|
+
import "../components/Option.d.ts";
|
|
31
|
+
import "../components/OptionGroup.d.ts";
|
|
32
|
+
import "../components/OrderedList.d.ts";
|
|
33
|
+
import "../components/Paragraph.d.ts";
|
|
34
|
+
import "../components/PasswordField.d.ts";
|
|
35
|
+
import "../components/QueryContainer.d.ts";
|
|
36
|
+
import "../components/Section.d.ts";
|
|
37
|
+
import "../components/Select.d.ts";
|
|
38
|
+
import "../components/Spinner.d.ts";
|
|
39
|
+
import "../components/Stack.d.ts";
|
|
40
|
+
import "../components/Table.d.ts";
|
|
41
|
+
import "../components/TableBody.d.ts";
|
|
42
|
+
import "../components/TableCell.d.ts";
|
|
43
|
+
import "../components/TableHeader.d.ts";
|
|
44
|
+
import "../components/TableHeaderRow.d.ts";
|
|
45
|
+
import "../components/TableRow.d.ts";
|
|
46
|
+
import "../components/Text.d.ts";
|
|
47
|
+
import "../components/TextArea.d.ts";
|
|
48
|
+
import "../components/TextField.d.ts";
|
|
49
|
+
import "../components/Thumbnail.d.ts";
|
|
50
|
+
import "../components/Tooltip.d.ts";
|
|
51
|
+
import "../components/UnorderedList.d.ts";
|
|
52
|
+
import "../components/URLField.d.ts";
|
|
3603
53
|
import type { ExtensionTargets } from '../extension-targets';
|
|
54
|
+
|
|
3604
55
|
type Target = ExtensionTargets['admin.abandoned-checkout-details.action.render'];
|
|
3605
56
|
export type Api = Target['api'];
|
|
3606
57
|
export type Output = Target['output'];
|
|
3607
58
|
|
|
3608
|
-
export type GlobalThis = typeof globalThis & {
|
|
3609
|
-
shopify: Api;
|
|
3610
|
-
}
|