@shopify/ui-extensions 2026.1.2 → 2026.1.3
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/shared.js +1 -10
- package/build/cjs/surfaces/customer-account/preact/metafield.js +1 -0
- package/build/cjs/surfaces/customer-account/preact/metafields.js +1 -0
- package/build/esm/surfaces/checkout/shared.mjs +1 -10
- package/build/esm/surfaces/customer-account/preact/metafield.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/metafields.mjs +1 -0
- package/build/esnext/surfaces/checkout/shared.esnext +1 -10
- package/build/esnext/surfaces/customer-account/preact/metafield.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/metafields.esnext +1 -0
- package/build/ts/docs/shared/component-definitions.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Box.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Button.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/DateField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Form.d.ts.map +1 -1
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Heading.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Icon.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Image.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Link.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ListItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/OrderedList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Paragraph.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Spinner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Stack.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Text.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/UnorderedList.d.ts.map +1 -1
- package/build/ts/shared.d.ts +6 -4
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +1 -8
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ActionExtensionComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +113 -12
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +109 -9
- package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +105 -9
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Avatar.d.ts +165 -13
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +195 -24
- package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +161 -19
- package/build/ts/surfaces/admin/components/BlockExtensionComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +260 -78
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +316 -56
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +138 -28
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +193 -9
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +2 -4
- package/build/ts/surfaces/admin/components/Choice.d.ts +129 -27
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +162 -15
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +202 -48
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +176 -30
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ColorField.d.ts +237 -23
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +160 -13
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DateField.d.ts +255 -27
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +201 -12
- package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +147 -13
- package/build/ts/surfaces/admin/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +219 -12
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +125 -10
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +139 -9
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +307 -73
- package/build/ts/surfaces/admin/components/GridItem.d.ts +270 -37
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +128 -29
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Icon.d.ts +150 -27
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Image.d.ts +290 -36
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +141 -39
- package/build/ts/surfaces/admin/components/ListItem.d.ts +119 -16
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Menu.d.ts +160 -29
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +218 -12
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/NumberField.d.ts +230 -12
- package/build/ts/surfaces/admin/components/Option.d.ts +122 -14
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +116 -16
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +117 -18
- package/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +162 -38
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +226 -19
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/PrintActionExtensionComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +127 -18
- package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/SearchField.d.ts +212 -18
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +143 -26
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +209 -33
- package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +127 -13
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +297 -65
- package/build/ts/surfaces/admin/components/Switch/Switch.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +185 -17
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +237 -18
- package/build/ts/surfaces/admin/components/TableBody.d.ts +122 -16
- package/build/ts/surfaces/admin/components/TableCell.d.ts +125 -12
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +137 -16
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +122 -16
- package/build/ts/surfaces/admin/components/TableRow.d.ts +125 -16
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +192 -38
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/TextArea.d.ts +217 -12
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +232 -38
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +158 -13
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +157 -29
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/URLField.d.ts +231 -19
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +117 -18
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +2 -2
- 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 +2 -2
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +2 -2
- 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 +2 -2
- 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.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +2 -2
- 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 +2 -2
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +845 -931
- package/build/ts/surfaces/admin/docs-types.d.ts +7 -1
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/checkout/api/docs.d.ts +0 -2
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +0 -18
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +8 -11
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +356 -317
- 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 +84 -97
- 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 +8 -10
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation/Abbreviation.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem/ClipboardItem.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Form/Form.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Form/Form.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Link/Link.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Link/Link.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/OrderedList/OrderedList.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/OrderedList/OrderedList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Paragraph/Paragraph.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Paragraph/Paragraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/PaymentIcon/PaymentIcon.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Progress/Progress.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Progress/Progress.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/QRCode/QRCode.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/QRCode/QRCode.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Spinner/Spinner.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Spinner/Spinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Time/Time.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Time/Time.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/URLField/URLField.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/URLField/URLField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/UnorderedList/UnorderedList.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/preact/metafield.d.ts +1 -0
- package/build/ts/surfaces/customer-account/preact/metafield.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/metafields.d.ts +1 -0
- package/build/ts/surfaces/customer-account/preact/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/Link.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +10 -10
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +55 -55
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +23 -2
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/component-definitions.ts +15 -5
- package/src/docs/shared/components/Abbreviation.ts +2 -2
- package/src/docs/shared/components/Announcement.ts +2 -2
- package/src/docs/shared/components/Avatar.ts +3 -2
- package/src/docs/shared/components/Badge.ts +3 -2
- package/src/docs/shared/components/Banner.ts +3 -2
- package/src/docs/shared/components/Box.ts +3 -2
- package/src/docs/shared/components/Button.ts +3 -2
- package/src/docs/shared/components/ButtonGroup.ts +5 -3
- package/src/docs/shared/components/Checkbox.ts +3 -2
- package/src/docs/shared/components/Chip.ts +3 -2
- package/src/docs/shared/components/Choice.ts +3 -2
- package/src/docs/shared/components/ChoiceList.ts +4 -3
- package/src/docs/shared/components/Clickable.ts +3 -2
- package/src/docs/shared/components/ClickableChip.ts +4 -3
- package/src/docs/shared/components/ClipboardItem.ts +3 -3
- package/src/docs/shared/components/ColorField.ts +4 -3
- package/src/docs/shared/components/ColorPicker.ts +5 -3
- package/src/docs/shared/components/ConsentCheckbox.ts +2 -2
- package/src/docs/shared/components/ConsentPhoneField.ts +2 -2
- package/src/docs/shared/components/DateField.ts +5 -3
- package/src/docs/shared/components/DatePicker.ts +5 -3
- package/src/docs/shared/components/Details.ts +2 -2
- package/src/docs/shared/components/Divider.ts +3 -2
- package/src/docs/shared/components/DropZone.ts +3 -3
- package/src/docs/shared/components/EmailField.ts +4 -3
- package/src/docs/shared/components/Form.ts +3 -2
- package/src/docs/shared/components/FunctionSettings.ts +5 -20
- package/src/docs/shared/components/Grid.ts +3 -2
- package/src/docs/shared/components/GridItem.ts +6 -4
- package/src/docs/shared/components/Heading.ts +3 -2
- package/src/docs/shared/components/Icon.ts +3 -2
- package/src/docs/shared/components/Image.ts +3 -2
- package/src/docs/shared/components/Link.ts +3 -2
- package/src/docs/shared/components/ListItem.ts +5 -4
- package/src/docs/shared/components/Map.ts +2 -2
- package/src/docs/shared/components/MapMarker.ts +3 -3
- package/src/docs/shared/components/Menu.ts +3 -2
- package/src/docs/shared/components/Modal.ts +2 -2
- package/src/docs/shared/components/MoneyField.ts +4 -3
- package/src/docs/shared/components/NumberField.ts +4 -3
- package/src/docs/shared/components/Option.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +2 -2
- package/src/docs/shared/components/OrderedList.ts +4 -3
- package/src/docs/shared/components/Page.ts +3 -3
- package/src/docs/shared/components/Paragraph.ts +3 -2
- package/src/docs/shared/components/PasswordField.ts +5 -3
- package/src/docs/shared/components/PaymentIcon.ts +3 -3
- package/src/docs/shared/components/PhoneField.ts +2 -2
- package/src/docs/shared/components/Popover.ts +2 -2
- package/src/docs/shared/components/PressButton.ts +2 -2
- package/src/docs/shared/components/ProductThumbnail.ts +3 -3
- package/src/docs/shared/components/Progress.ts +2 -2
- package/src/docs/shared/components/QRCode.ts +3 -3
- package/src/docs/shared/components/QueryContainer.ts +4 -3
- package/src/docs/shared/components/ScrollBox.ts +3 -3
- package/src/docs/shared/components/SearchField.ts +3 -3
- package/src/docs/shared/components/Section.ts +3 -2
- package/src/docs/shared/components/Select.ts +3 -2
- package/src/docs/shared/components/Sheet.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +3 -3
- package/src/docs/shared/components/Spinner.ts +3 -2
- package/src/docs/shared/components/Stack.ts +3 -2
- package/src/docs/shared/components/Summary.ts +2 -2
- package/src/docs/shared/components/Switch.ts +4 -2
- package/src/docs/shared/components/Table.ts +3 -2
- package/src/docs/shared/components/TableBody.ts +4 -3
- package/src/docs/shared/components/TableCell.ts +5 -3
- package/src/docs/shared/components/TableHeader.ts +5 -3
- package/src/docs/shared/components/TableHeaderRow.ts +4 -3
- package/src/docs/shared/components/TableRow.ts +5 -3
- package/src/docs/shared/components/Text.ts +3 -2
- package/src/docs/shared/components/TextArea.ts +4 -3
- package/src/docs/shared/components/TextField.ts +4 -3
- package/src/docs/shared/components/Thumbnail.ts +3 -2
- package/src/docs/shared/components/Time.ts +2 -2
- package/src/docs/shared/components/Tooltip.ts +3 -2
- package/src/docs/shared/components/URLField.ts +4 -3
- package/src/docs/shared/components/UnorderedList.ts +4 -3
- package/src/shared.ts +6 -4
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +1 -8
- package/src/surfaces/admin/api/print-action/examples/custom-product-labels.jsx +17 -14
- package/src/surfaces/admin/api/print-action/examples/generate-packing-slip.jsx +18 -12
- package/src/surfaces/admin/api/print-action/examples/shipping-manifest.jsx +11 -12
- package/src/surfaces/admin/components/ActionExtensionComponents.ts +1 -1
- package/src/surfaces/admin/components/{ButtonGroup/examples/default.jsx → AdminAction/examples/default.html} +3 -2
- package/src/surfaces/admin/components/AdminAction/examples/destructive-action.html +10 -0
- package/src/surfaces/admin/components/AdminAction/examples/loading-state.html +5 -0
- package/src/surfaces/admin/components/AdminAction/examples/with-form-content.html +8 -0
- package/src/surfaces/admin/components/AdminAction/examples/with-resource-details.html +15 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +113 -12
- package/src/surfaces/admin/components/AdminBlock/examples/default.html +3 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-actions.html +14 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-badges.html +14 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-collapsed-summary.html +7 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-data-table.html +21 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +109 -9
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.html +1 -0
- package/src/surfaces/admin/components/AdminPrintAction/examples/dynamic-url.html +1 -0
- package/src/surfaces/admin/components/AdminPrintAction/examples/pdf-source.html +1 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +105 -9
- package/src/surfaces/admin/components/Avatar.d.ts +165 -13
- package/src/surfaces/admin/components/Badge.d.ts +195 -24
- package/src/surfaces/admin/components/Banner.d.ts +161 -19
- package/src/surfaces/admin/components/BlockExtensionComponents.ts +1 -1
- package/src/surfaces/admin/components/Box/examples/accessible-status-messages.html +8 -14
- package/src/surfaces/admin/components/Box/examples/screen-reader-only-content.html +3 -0
- package/src/surfaces/admin/components/Box.d.ts +260 -78
- package/src/surfaces/admin/components/Button/examples/component-interactions.html +8 -6
- package/src/surfaces/admin/components/Button/examples/icon-only-button.html +17 -1
- package/src/surfaces/admin/components/Button.d.ts +316 -56
- package/src/surfaces/admin/components/ButtonGroup.d.ts +138 -28
- package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.html +10 -0
- package/src/surfaces/admin/components/Checkbox/examples/validation-example.html +9 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +193 -9
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +2 -4
- package/src/surfaces/admin/components/Choice.d.ts +129 -27
- package/src/surfaces/admin/components/ChoiceList/examples/disabled-state.html +5 -0
- package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.html +2 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +162 -15
- package/src/surfaces/admin/components/Clickable.d.ts +202 -48
- package/src/surfaces/admin/components/ClickableChip.d.ts +176 -30
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -1
- package/src/surfaces/admin/components/ColorField/examples/validation-example.html +12 -0
- package/src/surfaces/admin/components/ColorField.d.ts +237 -23
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +1 -1
- package/src/surfaces/admin/components/ColorPicker.d.ts +160 -13
- package/src/surfaces/admin/components/DateField.d.ts +255 -27
- package/src/surfaces/admin/components/DatePicker.d.ts +201 -12
- package/src/surfaces/admin/components/Divider.d.ts +147 -13
- package/src/surfaces/admin/components/DropZone/examples/upload-with-validation.html +42 -0
- package/src/surfaces/admin/components/EmailField/examples/disabled-state.html +5 -0
- package/src/surfaces/admin/components/EmailField.d.ts +219 -12
- package/src/surfaces/admin/components/Form/examples/default.html +1 -1
- package/src/surfaces/admin/components/Form/examples/with-choice-fields.html +12 -0
- package/src/surfaces/admin/components/Form/examples/with-multiple-fields.html +12 -0
- package/src/surfaces/admin/components/Form/examples/with-sections.html +21 -0
- package/src/surfaces/admin/components/Form/examples/with-validation.html +7 -0
- package/src/surfaces/admin/components/Form.d.ts +125 -10
- package/src/surfaces/admin/components/FormExtensionComponents.ts +1 -1
- package/src/surfaces/admin/components/FunctionSettings/examples/default.html +9 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-multiple-settings.html +16 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-select-options.html +10 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-toggle.html +13 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-validation.html +23 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +139 -9
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +1 -1
- package/src/surfaces/admin/components/Grid.d.ts +307 -73
- package/src/surfaces/admin/components/GridItem.d.ts +270 -37
- package/src/surfaces/admin/components/Heading.d.ts +128 -29
- package/src/surfaces/admin/components/Icon.d.ts +150 -27
- package/src/surfaces/admin/components/Image/examples/basic-usage.html +15 -4
- package/src/surfaces/admin/components/Image.d.ts +290 -36
- package/src/surfaces/admin/components/Link/examples/default.html +1 -1
- package/src/surfaces/admin/components/Link.d.ts +141 -39
- package/src/surfaces/admin/components/ListItem.d.ts +119 -16
- package/src/surfaces/admin/components/Menu/examples/{menu-with-icons.html → icon-only-trigger.html} +7 -2
- package/src/surfaces/admin/components/Menu.d.ts +160 -29
- package/src/surfaces/admin/components/Modal/examples/delete-with-async-handling.html +28 -0
- package/src/surfaces/admin/components/MoneyField/examples/basic-field.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +218 -12
- package/src/surfaces/admin/components/NumberField/examples/disabled-and-read-only.html +15 -0
- package/src/surfaces/admin/components/NumberField/examples/{basic-usage.html → with-error-state.html} +3 -1
- package/src/surfaces/admin/components/NumberField.d.ts +230 -12
- package/src/surfaces/admin/components/Option.d.ts +122 -14
- package/src/surfaces/admin/components/OptionGroup.d.ts +116 -16
- package/src/surfaces/admin/components/OrderedList/examples/default.html +3 -3
- package/src/surfaces/admin/components/OrderedList.d.ts +117 -18
- package/src/surfaces/admin/components/Page/examples/edit-page-with-all-slots.html +36 -0
- package/src/surfaces/admin/components/Paragraph/examples/subdued-color.html +3 -0
- package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.html +13 -1
- package/src/surfaces/admin/components/Paragraph.d.ts +162 -38
- package/src/surfaces/admin/components/PasswordField.d.ts +226 -19
- package/src/surfaces/admin/components/Popover/examples/filter-with-apply-and-clear.html +35 -0
- package/src/surfaces/admin/components/PrintActionExtensionComponents.ts +1 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +127 -18
- package/src/surfaces/admin/components/SearchField.d.ts +212 -18
- package/src/surfaces/admin/components/Section.d.ts +143 -26
- package/src/surfaces/admin/components/Select/examples/with-error-state.html +2 -2
- package/src/surfaces/admin/components/Select/examples/with-option-groups.html +4 -4
- package/src/surfaces/admin/components/Select.d.ts +209 -33
- package/src/surfaces/admin/components/Spinner/examples/spinner-sizes.html +5 -0
- package/src/surfaces/admin/components/Spinner.d.ts +127 -13
- package/src/surfaces/admin/components/Stack.d.ts +297 -65
- package/src/surfaces/admin/components/Switch/examples/disabled-switch.html +2 -2
- package/src/surfaces/admin/components/Switch/examples/form-integration.html +15 -12
- package/src/surfaces/admin/components/Switch/examples/hidden-label-for-accessibility.html +1 -1
- package/src/surfaces/admin/components/Switch/examples/settings-panel-with-stack.html +1 -1
- package/src/surfaces/admin/components/Switch/examples/with-details-and-error.html +1 -1
- package/src/surfaces/admin/components/Switch.d.ts +185 -17
- package/src/surfaces/admin/components/Table/examples/{basic-usage.jsx → with-filters.html} +2 -13
- package/src/surfaces/admin/components/Table.d.ts +237 -18
- package/src/surfaces/admin/components/TableBody.d.ts +122 -16
- package/src/surfaces/admin/components/TableCell.d.ts +125 -12
- package/src/surfaces/admin/components/TableHeader.d.ts +137 -16
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +122 -16
- package/src/surfaces/admin/components/TableRow.d.ts +125 -16
- package/src/surfaces/admin/components/Text.d.ts +192 -38
- package/src/surfaces/admin/components/TextArea/examples/disabled-and-read-only.html +15 -0
- package/src/surfaces/admin/components/TextArea.d.ts +217 -12
- package/src/surfaces/admin/components/TextField/examples/disabled-and-read-only.html +13 -0
- package/src/surfaces/admin/components/TextField.d.ts +232 -38
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +1 -1
- package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.html +3 -3
- package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.html +22 -9
- package/src/surfaces/admin/components/Thumbnail.d.ts +158 -13
- package/src/surfaces/admin/components/Tooltip/examples/basic-usage.html +2 -4
- package/src/surfaces/admin/components/Tooltip/examples/keyboard-shortcut.html +2 -0
- package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.html +3 -5
- package/src/surfaces/admin/components/Tooltip.d.ts +157 -29
- package/src/surfaces/admin/components/URLField/examples/default.html +2 -2
- package/src/surfaces/admin/components/URLField/examples/with-default-value.html +5 -7
- package/src/surfaces/admin/components/URLField.d.ts +231 -19
- package/src/surfaces/admin/components/UnorderedList.d.ts +117 -18
- package/src/surfaces/admin/components/patterns/examples/accountConnection-modal.html +54 -0
- package/src/surfaces/admin/components/patterns/examples/accountConnection-modal.jsx +54 -0
- package/src/surfaces/admin/components/patterns/examples/accountConnection-toast.html +25 -0
- package/src/surfaces/admin/components/patterns/examples/accountConnection-toast.jsx +27 -0
- package/src/surfaces/admin/components/patterns/examples/appCard-nav.html +29 -0
- package/src/surfaces/admin/components/patterns/examples/appCard-nav.jsx +29 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard-nav.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard-nav.jsx +37 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard-toast.html +41 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard-toast.jsx +41 -0
- package/src/surfaces/admin/components/patterns/examples/details-modal.html +36 -0
- package/src/surfaces/admin/components/patterns/examples/details-modal.jsx +39 -0
- package/src/surfaces/admin/components/patterns/examples/details-save-bar.html +21 -0
- package/src/surfaces/admin/components/patterns/examples/details-save-bar.jsx +31 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +8 -3
- package/src/surfaces/admin/components/patterns/examples/details.jsx +238 -242
- package/src/surfaces/admin/components/patterns/examples/emptyState-intents.html +39 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState-intents.jsx +41 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState-nav.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState-nav.jsx +16 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +6 -1
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +7 -0
- package/src/surfaces/admin/components/patterns/examples/index-intents.html +39 -0
- package/src/surfaces/admin/components/patterns/examples/index-intents.jsx +41 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +12 -7
- package/src/surfaces/admin/components/patterns/examples/index.jsx +13 -6
- package/src/surfaces/admin/components/patterns/examples/indexTable-bulk-selection.html +109 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-bulk-selection.jsx +131 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-nav.html +85 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-nav.jsx +85 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-pagination.html +74 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-pagination.jsx +85 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-toast.html +119 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable-toast.jsx +126 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +8 -8
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.jsx +7 -7
- package/src/surfaces/admin/components/patterns/examples/mediaCard-intents.html +31 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-intents.jsx +33 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-modal.html +56 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-modal.jsx +62 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-share.html +43 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-share.jsx +43 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-toast.html +36 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard-toast.jsx +36 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +25 -23
- package/src/surfaces/admin/components/patterns/examples/mediaCard.jsx +29 -27
- package/src/surfaces/admin/components/patterns/examples/metricsCard-nav.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard-nav.jsx +51 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-modal.html +78 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-modal.jsx +82 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-nav.html +54 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-nav.jsx +54 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-picker.html +58 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-picker.jsx +59 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-toast.html +67 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList-toast.jsx +77 -0
- package/src/surfaces/admin/components/patterns/examples/settings-modal.html +45 -0
- package/src/surfaces/admin/components/patterns/examples/settings-modal.jsx +53 -0
- package/src/surfaces/admin/components/patterns/examples/settings-toast.html +37 -0
- package/src/surfaces/admin/components/patterns/examples/settings-toast.jsx +33 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +31 -1
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +31 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide-nav.html +89 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide-nav.jsx +93 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide-toast.html +94 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide-toast.jsx +103 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +90 -40
- package/src/surfaces/admin/components/patterns/examples/setupGuide.jsx +81 -9
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +75 -52
- package/src/surfaces/admin/components/shared.d.ts +845 -931
- package/src/surfaces/admin/components.d.ts +3256 -2272
- package/src/surfaces/admin/docs-types.ts +10 -1
- package/src/surfaces/admin/extension-targets.ts +6 -6
- package/src/surfaces/checkout/api/docs.ts +0 -2
- package/src/surfaces/checkout/api/standard/standard.ts +0 -21
- package/src/surfaces/checkout/shared.ts +8 -11
- package/src/surfaces/customer-account/api/order-status/order-status.ts +363 -317
- package/src/surfaces/customer-account/api/shared.ts +84 -97
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +8 -10
- package/src/surfaces/customer-account/components/Abbreviation/examples/basic-abbreviation.example.html +1 -0
- package/src/surfaces/customer-account/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/customer-account/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/customer-account/components/Banner/examples/basic-banner.example.html +1 -0
- package/src/surfaces/customer-account/components/Box/examples/basic-box.example.html +11 -0
- package/src/surfaces/customer-account/components/Button/examples/basic-button.example.html +2 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/customer-account/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/block-choice-variant.example.html +47 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/grid-choice-variant.example.html +5 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/inline-choice-variant.example.html +6 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/list-choice-variant.example.html +5 -0
- package/src/surfaces/customer-account/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/customer-account/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/customer-account/components/ClipboardItem/examples/basic-clipboard-item.example.html +2 -0
- package/src/surfaces/customer-account/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/customer-account/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/customer-account/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/customer-account/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/customer-account/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/customer-account/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/customer-account/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/customer-account/components/Form/examples/basic-form.example.html +4 -0
- package/src/surfaces/customer-account/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/customer-account/components/Heading/examples/basic-heading.example.html +1 -0
- package/src/surfaces/customer-account/components/Icon/examples/basic-icon.example.html +4 -0
- package/src/surfaces/customer-account/components/Image/examples/basic-image.example.html +1 -0
- package/src/surfaces/customer-account/components/Link/examples/basic-link.example.html +1 -0
- package/src/surfaces/customer-account/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/customer-account/components/Map/examples/map-marker-graphic.example.html +14 -0
- package/src/surfaces/customer-account/components/Map/examples/map-marker-popover.example.html +14 -0
- package/src/surfaces/customer-account/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/customer-account/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/customer-account/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/customer-account/components/OrderedList/examples/basic-ordered-list.example.html +5 -0
- package/src/surfaces/customer-account/components/Paragraph/examples/basic-paragraph.example.html +1 -0
- package/src/surfaces/customer-account/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/customer-account/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/customer-account/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/customer-account/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/customer-account/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/customer-account/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +4 -0
- package/src/surfaces/customer-account/components/Progress/examples/basic-progress.example.html +1 -0
- package/src/surfaces/customer-account/components/QRCode/examples/basic-qr-code.example.html +4 -0
- package/src/surfaces/{admin/components/QueryContainer/examples/default.jsx → customer-account/components/QueryContainer/examples/basic-query-container.example.html} +3 -3
- package/src/surfaces/customer-account/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/customer-account/components/Section.d.ts +2 -2
- package/src/surfaces/customer-account/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/customer-account/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/customer-account/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/customer-account/components/Spinner/examples/basic-spinner.example.html +1 -0
- package/src/surfaces/customer-account/components/Stack/examples/basic-stack.example.html +22 -0
- package/src/surfaces/customer-account/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/customer-account/components/Text/examples/basic-text.example.html +3 -0
- package/src/surfaces/customer-account/components/TextArea/examples/basic-text-area.example.html +5 -0
- package/src/surfaces/customer-account/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/customer-account/components/Time/examples/basic-time.example.html +1 -0
- package/src/surfaces/customer-account/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/customer-account/components/URLField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/customer-account/components/UnorderedList/examples/basic-unordered-list.example.html +5 -0
- package/src/surfaces/customer-account/preact/metafield.ts +1 -0
- package/src/surfaces/customer-account/preact/metafields.ts +1 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +1 -1
- package/src/surfaces/point-of-sale/components/Button.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/EmptyState.d.ts +2 -2
- package/src/surfaces/point-of-sale/components/Link.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/Stack.d.ts +10 -10
- package/src/surfaces/point-of-sale/components/Text.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/TextField.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +55 -55
- package/src/surfaces/point-of-sale/components.d.ts +110 -110
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +6 -2
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +23 -2
- package/src/surfaces/admin/components/AdminAction/examples/default.tsx +0 -15
- package/src/surfaces/admin/components/AdminBlock/examples/default.tsx +0 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +0 -9
- package/src/surfaces/admin/components/Avatar/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Avatar/examples/color-consistency-demo.jsx +0 -7
- package/src/surfaces/admin/components/Avatar/examples/default-avatar-no-props.jsx +0 -1
- package/src/surfaces/admin/components/Avatar/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Avatar/examples/error-handling-example.jsx +0 -5
- package/src/surfaces/admin/components/Avatar/examples/fulfillment-partner-avatars.jsx +0 -14
- package/src/surfaces/admin/components/Avatar/examples/in-customer-list-context.jsx +0 -24
- package/src/surfaces/admin/components/Avatar/examples/long-initials-handling.jsx +0 -5
- package/src/surfaces/admin/components/Avatar/examples/size-variations.jsx +0 -7
- package/src/surfaces/admin/components/Avatar/examples/staff-member-profiles.jsx +0 -10
- package/src/surfaces/admin/components/Avatar/examples/with-image-source-and-fallback.jsx +0 -6
- package/src/surfaces/admin/components/Avatar/examples/with-section-component.jsx +0 -17
- package/src/surfaces/admin/components/Badge/examples/default.jsx +0 -8
- package/src/surfaces/admin/components/Badge/examples/different-sizes-for-emphasis.jsx +0 -4
- package/src/surfaces/admin/components/Badge/examples/order-status-badges.html +0 -6
- package/src/surfaces/admin/components/Badge/examples/order-status-badges.jsx +0 -6
- package/src/surfaces/admin/components/Badge/examples/status-indicators-with-icons.jsx +0 -21
- package/src/surfaces/admin/components/Badge/examples/within-table-context.jsx +0 -18
- package/src/surfaces/admin/components/Banner/examples/basic-information-banner.html +0 -3
- package/src/surfaces/admin/components/Banner/examples/basic-information-banner.jsx +0 -3
- package/src/surfaces/admin/components/Banner/examples/critical-banner-with-clear-next-steps.jsx +0 -18
- package/src/surfaces/admin/components/Banner/examples/default.jsx +0 -3
- package/src/surfaces/admin/components/Banner/examples/dismissible-success-banner.jsx +0 -3
- package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.html +0 -14
- package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.jsx +0 -14
- package/src/surfaces/admin/components/Banner/examples/warning-banner-with-specific-actions.jsx +0 -18
- package/src/surfaces/admin/components/Box/examples/accessible-status-messages.jsx +0 -14
- package/src/surfaces/admin/components/Box/examples/basic-container.html +0 -9
- package/src/surfaces/admin/components/Box/examples/basic-container.jsx +0 -9
- package/src/surfaces/admin/components/Box/examples/complex-merchant-dashboard-layout.jsx +0 -34
- package/src/surfaces/admin/components/Box/examples/default.jsx +0 -7
- package/src/surfaces/admin/components/Box/examples/responsive-shipping-notice.jsx +0 -10
- package/src/surfaces/admin/components/Button/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Button/examples/bulk-actions.html +0 -4
- package/src/surfaces/admin/components/Button/examples/bulk-actions.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/component-interactions.jsx +0 -7
- package/src/surfaces/admin/components/Button/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Button/examples/delete-confirmation.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/form-states.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/icon-only-button.jsx +0 -1
- package/src/surfaces/admin/components/Button/examples/link-buttons.jsx +0 -9
- package/src/surfaces/admin/components/Button/examples/loading-state-for-merchant-actions.jsx +0 -11
- package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.html +0 -2
- package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.jsx +0 -3
- package/src/surfaces/admin/components/Button/examples/product-save-form.html +0 -4
- package/src/surfaces/admin/components/Button/examples/product-save-form.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/tones.jsx +0 -5
- package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.html +0 -17
- package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.jsx +0 -17
- package/src/surfaces/admin/components/Button/examples/variants.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/with-icon.jsx +0 -1
- package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.html +0 -4
- package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.jsx +0 -6
- package/src/surfaces/admin/components/ButtonGroup/examples/bulk-actions-in-data-tables.jsx +0 -7
- package/src/surfaces/admin/components/ButtonGroup/examples/destructive-actions-pattern.jsx +0 -6
- package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.html +0 -4
- package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.jsx +0 -6
- package/src/surfaces/admin/components/ButtonGroup/examples/segmented-appearance.jsx +0 -5
- package/src/surfaces/admin/components/ButtonGroup/examples/toolbar-buttons-with-icons.jsx +0 -11
- package/src/surfaces/admin/components/Checkbox/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/disabled-state.jsx +0 -5
- package/src/surfaces/admin/components/Checkbox/examples/error-state.jsx +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/help-text.html +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/help-text.jsx +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.jsx +0 -21
- package/src/surfaces/admin/components/Checkbox/examples/settings-group.jsx +0 -12
- package/src/surfaces/admin/components/Checkbox/examples/validation-example.jsx +0 -20
- package/src/surfaces/admin/components/Chip/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/Chip/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/Chip/examples/color-variants.jsx +0 -12
- package/src/surfaces/admin/components/Chip/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Chip/examples/product-status.html +0 -8
- package/src/surfaces/admin/components/Chip/examples/product-status.jsx +0 -12
- package/src/surfaces/admin/components/Chip/examples/text-truncation.jsx +0 -12
- package/src/surfaces/admin/components/Chip/examples/with-icon-graphic.jsx +0 -4
- package/src/surfaces/admin/components/ChoiceList/examples/basic-usage.jsx +0 -7
- package/src/surfaces/admin/components/ChoiceList/examples/default.jsx +0 -16
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.html +0 -18
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.jsx +0 -18
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-selections.jsx +0 -15
- package/src/surfaces/admin/components/ChoiceList/examples/validation-example.jsx +0 -20
- package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.jsx +0 -8
- package/src/surfaces/admin/components/Clickable/examples/accessibility-with-aria-attributes.jsx +0 -8
- package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.html +0 -1
- package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.jsx +0 -3
- package/src/surfaces/admin/components/Clickable/examples/default.jsx +0 -12
- package/src/surfaces/admin/components/Clickable/examples/disabled-link-with-aria.jsx +0 -7
- package/src/surfaces/admin/components/Clickable/examples/form-submit-button.jsx +0 -3
- package/src/surfaces/admin/components/Clickable/examples/link-mode.jsx +0 -3
- package/src/surfaces/admin/components/Clickable/examples/section-with-clickable-action.jsx +0 -9
- package/src/surfaces/admin/components/ClickableChip/examples/as-a-link.jsx +0 -8
- package/src/surfaces/admin/components/ClickableChip/examples/basic-usage.jsx +0 -17
- package/src/surfaces/admin/components/ClickableChip/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/ClickableChip/examples/disabled-state.jsx +0 -7
- package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.html +0 -17
- package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.jsx +0 -17
- package/src/surfaces/admin/components/ClickableChip/examples/with-icon-and-remove-button.jsx +0 -8
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-required.jsx +0 -3
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-web-component.jsx +0 -3
- package/src/surfaces/admin/components/ColorField/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/ColorField/examples/form-integration.jsx +0 -28
- package/src/surfaces/admin/components/ColorField/examples/read-only-state.jsx +0 -3
- package/src/surfaces/admin/components/ColorField/examples/validation-example.jsx +0 -21
- package/src/surfaces/admin/components/ColorField/examples/with-alpha-transparency.jsx +0 -7
- package/src/surfaces/admin/components/ColorField/examples/with-error-state.jsx +0 -9
- package/src/surfaces/admin/components/ColorField/examples/with-help-text.jsx +0 -7
- package/src/surfaces/admin/components/ColorField/examples/with-placeholder.html +0 -7
- package/src/surfaces/admin/components/ColorField/examples/with-placeholder.jsx +0 -7
- package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/ColorPicker/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/ColorPicker/examples/with-alpha-transparency.jsx +0 -7
- package/src/surfaces/admin/components/DateField/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.html +0 -29
- package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.jsx +0 -29
- package/src/surfaces/admin/components/DateField/examples/date-range-selection.jsx +0 -19
- package/src/surfaces/admin/components/DateField/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/DateField/examples/disabled-and-read-only-states.jsx +0 -15
- package/src/surfaces/admin/components/DateField/examples/form-integration.jsx +0 -27
- package/src/surfaces/admin/components/DateField/examples/validation-example.jsx +0 -20
- package/src/surfaces/admin/components/DateField/examples/with-date-restrictions.jsx +0 -6
- package/src/surfaces/admin/components/DateField/examples/with-default-value.jsx +0 -5
- package/src/surfaces/admin/components/DateField/examples/with-error-state.jsx +0 -5
- package/src/surfaces/admin/components/DateField/examples/with-specific-allowed-dates.jsx +0 -6
- package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.jsx +0 -35
- package/src/surfaces/admin/components/DatePicker/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/DatePicker/examples/form-integration.jsx +0 -28
- package/src/surfaces/admin/components/DatePicker/examples/single-date-selection.jsx +0 -6
- package/src/surfaces/admin/components/DatePicker/examples/with-date-restrictions.jsx +0 -7
- package/src/surfaces/admin/components/Divider/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Divider/examples/custom-color.jsx +0 -1
- package/src/surfaces/admin/components/Divider/examples/custom-direction.jsx +0 -5
- package/src/surfaces/admin/components/Divider/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.html +0 -9
- package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.jsx +0 -9
- package/src/surfaces/admin/components/Divider/examples/separating-content-sections.html +0 -13
- package/src/surfaces/admin/components/Divider/examples/separating-content-sections.jsx +0 -13
- package/src/surfaces/admin/components/Divider/examples/separating-form-sections.jsx +0 -7
- package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.html +0 -12
- package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.jsx +0 -12
- package/src/surfaces/admin/components/DropZone/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/default.jsx +0 -9
- package/src/surfaces/admin/components/DropZone/examples/disabled-state.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/file-type-restrictions.jsx +0 -5
- package/src/surfaces/admin/components/DropZone/examples/image-upload.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/required-field.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/with-accessibility-options.jsx +0 -6
- package/src/surfaces/admin/components/DropZone/examples/with-error-state.jsx +0 -4
- package/src/surfaces/admin/components/EmailField/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/EmailField/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/EmailField/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.html +0 -7
- package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.jsx +0 -7
- package/src/surfaces/admin/components/EmailField/examples/read-only-display.jsx +0 -7
- package/src/surfaces/admin/components/EmailField/examples/validation-example.jsx +0 -21
- package/src/surfaces/admin/components/EmailField/examples/with-error-and-help-text.jsx +0 -8
- package/src/surfaces/admin/components/EmailField/examples/with-length-constraints.jsx +0 -8
- package/src/surfaces/admin/components/Form/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +0 -38
- package/src/surfaces/admin/components/Grid/examples/basic-two-column-layout.jsx +0 -12
- package/src/surfaces/admin/components/Grid/examples/col-span-layouts.jsx +0 -34
- package/src/surfaces/admin/components/Grid/examples/default.jsx +0 -15
- package/src/surfaces/admin/components/Grid/examples/mobile-first-responsive-grid.jsx +0 -53
- package/src/surfaces/admin/components/Heading/examples/basic-heading.html +0 -1
- package/src/surfaces/admin/components/Heading/examples/basic-heading.jsx +0 -1
- package/src/surfaces/admin/components/Heading/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Heading/examples/heading-with-custom-accessibility.jsx +0 -3
- package/src/surfaces/admin/components/Heading/examples/heading-with-line-clamping.jsx +0 -5
- package/src/surfaces/admin/components/Heading/examples/heading-within-section-hierarchy.jsx +0 -12
- package/src/surfaces/admin/components/Icon/examples/basic-usage.jsx +0 -7
- package/src/surfaces/admin/components/Icon/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Icon/examples/in-badge-components.jsx +0 -8
- package/src/surfaces/admin/components/Icon/examples/in-button-components.jsx +0 -8
- package/src/surfaces/admin/components/Icon/examples/small-size.jsx +0 -1
- package/src/surfaces/admin/components/Icon/examples/subdued-color.jsx +0 -1
- package/src/surfaces/admin/components/Icon/examples/with-id-property.jsx +0 -1
- package/src/surfaces/admin/components/Icon/examples/with-interest-relationship.jsx +0 -6
- package/src/surfaces/admin/components/Icon/examples/with-semantic-tone.jsx +0 -6
- package/src/surfaces/admin/components/Image/examples/auto-sized-image.html +0 -5
- package/src/surfaces/admin/components/Image/examples/auto-sized-image.jsx +0 -5
- package/src/surfaces/admin/components/Image/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Image/examples/decorative-image.jsx +0 -6
- package/src/surfaces/admin/components/Image/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Image/examples/responsive-images-with-srcset.jsx +0 -9
- package/src/surfaces/admin/components/Image/examples/responsive-layout-with-aspect-ratio.jsx +0 -7
- package/src/surfaces/admin/components/Image/examples/with-border-styling.jsx +0 -12
- package/src/surfaces/admin/components/Image/examples/within-layout-components.jsx +0 -26
- package/src/surfaces/admin/components/Link/examples/basic-links-in-paragraph.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/critical-context-links.html +0 -3
- package/src/surfaces/admin/components/Link/examples/critical-context-links.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Link/examples/download-links.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/external-links.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-banner-context.html +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-banner-context.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-banner.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-box-container.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.html +0 -3
- package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.html +0 -3
- package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/links-with-different-tones.jsx +0 -25
- package/src/surfaces/admin/components/Link/examples/links-with-language-attribute.jsx +0 -3
- package/src/surfaces/admin/components/Menu/examples/basic-menu.html +0 -7
- package/src/surfaces/admin/components/Menu/examples/basic-menu.jsx +0 -9
- package/src/surfaces/admin/components/Menu/examples/customer-actions-menu.jsx +0 -18
- package/src/surfaces/admin/components/Menu/examples/default.jsx +0 -11
- package/src/surfaces/admin/components/Menu/examples/menu-with-icons.jsx +0 -14
- package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.jsx +0 -13
- package/src/surfaces/admin/components/Menu/examples/menu-with-sections.jsx +0 -15
- package/src/surfaces/admin/components/Menu/examples/settings-menu.jsx +0 -19
- package/src/surfaces/admin/components/Modal/examples/basic-modal.jsx +0 -15
- package/src/surfaces/admin/components/Modal/examples/confirmation-modal-with-actions.jsx +0 -30
- package/src/surfaces/admin/components/Modal/examples/default.jsx +0 -19
- package/src/surfaces/admin/components/Modal/examples/different-modal-sizes.jsx +0 -65
- package/src/surfaces/admin/components/Modal/examples/form-modal.jsx +0 -52
- package/src/surfaces/admin/components/Modal/examples/modal-without-padding.jsx +0 -20
- package/src/surfaces/admin/components/NumberField/examples/basic-usage.jsx +0 -7
- package/src/surfaces/admin/components/NumberField/examples/default.jsx +0 -8
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.html +0 -29
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.jsx +0 -29
- package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.jsx +0 -9
- package/src/surfaces/admin/components/OrderedList/examples/basic-usage.html +0 -5
- package/src/surfaces/admin/components/OrderedList/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/OrderedList/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.html +0 -18
- package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.jsx +0 -18
- package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.html +0 -8
- package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.jsx +0 -8
- package/src/surfaces/admin/components/OrderedList/examples/product-setup-instructions.jsx +0 -13
- package/src/surfaces/admin/components/Page/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/Page/examples/large-inline-size-for-wide-content.jsx +0 -33
- package/src/surfaces/admin/components/Page/examples/page-with-breadcrumbs-and-title.jsx +0 -7
- package/src/surfaces/admin/components/Page/examples/page-with-heading.jsx +0 -5
- package/src/surfaces/admin/components/Page/examples/page-with-secondary-actions.jsx +0 -8
- package/src/surfaces/admin/components/Page/examples/small-inline-size-for-focused-content.jsx +0 -9
- package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.html +0 -21
- package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.jsx +0 -21
- package/src/surfaces/admin/components/Paragraph/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Paragraph/examples/line-clamping.jsx +0 -8
- package/src/surfaces/admin/components/Paragraph/examples/rtl-support.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/screen-reader-text.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/tabular-numbers.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.jsx +0 -9
- package/src/surfaces/admin/components/Popover/examples/default.jsx +0 -10
- package/src/surfaces/admin/components/Popover/examples/inventory-stock-details.jsx +0 -37
- package/src/surfaces/admin/components/Popover/examples/notifications.jsx +0 -30
- package/src/surfaces/admin/components/Popover/examples/table-display-options.jsx +0 -29
- package/src/surfaces/admin/components/QueryContainer/examples/basic-usage.jsx +0 -17
- package/src/surfaces/admin/components/SearchField/examples/basic-usage.html +0 -5
- package/src/surfaces/admin/components/SearchField/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/SearchField/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/SearchField/examples/disabled-state.jsx +0 -6
- package/src/surfaces/admin/components/SearchField/examples/with-character-limits.jsx +0 -7
- package/src/surfaces/admin/components/SearchField/examples/with-error-state.jsx +0 -6
- package/src/surfaces/admin/components/Section/examples/default.jsx +0 -3
- package/src/surfaces/admin/components/Section/examples/full-width-content-layout.jsx +0 -18
- package/src/surfaces/admin/components/Section/examples/nested-sections-with-visual-level-differences.jsx +0 -23
- package/src/surfaces/admin/components/Section/examples/section-with-accessibility-label.jsx +0 -13
- package/src/surfaces/admin/components/Section/examples/top-level-section-with-form-elements.jsx +0 -5
- package/src/surfaces/admin/components/Spinner/examples/basic-usage.html +0 -1
- package/src/surfaces/admin/components/Spinner/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Spinner/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Spinner/examples/inline-loading-with-text.jsx +0 -4
- package/src/surfaces/admin/components/Spinner/examples/loading-state-in-section.jsx +0 -4
- package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.html +0 -5
- package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.jsx +0 -5
- package/src/surfaces/admin/components/Stack/examples/custom-alignment.jsx +0 -5
- package/src/surfaces/admin/components/Stack/examples/custom-spacing.jsx +0 -18
- package/src/surfaces/admin/components/Stack/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Stack/examples/inline-stack-horizontal.jsx +0 -5
- package/src/surfaces/admin/components/Stack/examples/responsive-stack-with-container-queries.jsx +0 -23
- package/src/surfaces/admin/components/Table/examples/default.jsx +0 -30
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.html +0 -65
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.jsx +0 -65
- package/src/surfaces/admin/components/Table/examples/list-variant.jsx +0 -44
- package/src/surfaces/admin/components/Table/examples/with-loading-state.jsx +0 -40
- package/src/surfaces/admin/components/Table/examples/with-pagination.jsx +0 -27
- package/src/surfaces/admin/components/Text/examples/accessibility-hidden-text.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/Text/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Text/examples/interest-for-association.jsx +0 -8
- package/src/surfaces/admin/components/Text/examples/right-to-left-text.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/semantic-address.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/status-tones.jsx +0 -5
- package/src/surfaces/admin/components/Text/examples/strong-text.html +0 -3
- package/src/surfaces/admin/components/Text/examples/strong-text.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/subdued-color.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/tabular-numbers.jsx +0 -3
- package/src/surfaces/admin/components/TextArea/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/TextArea/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/TextArea/examples/error-state.jsx +0 -8
- package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.html +0 -7
- package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.jsx +0 -7
- package/src/surfaces/admin/components/TextArea/examples/seo-meta-description-with-character-limit.jsx +0 -8
- package/src/surfaces/admin/components/TextField/examples/basic-usage.html +0 -1
- package/src/surfaces/admin/components/TextField/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/TextField/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.html +0 -1
- package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.jsx +0 -1
- package/src/surfaces/admin/components/TextField/examples/specific-error-messages-for-merchant-context.jsx +0 -16
- package/src/surfaces/admin/components/TextField/examples/with-accessory.jsx +0 -6
- package/src/surfaces/admin/components/TextField/examples/with-icon.jsx +0 -5
- package/src/surfaces/admin/components/TextField/examples/with-prefix-and-suffix.jsx +0 -11
- package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.html +0 -5
- package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/Thumbnail/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.jsx +0 -17
- package/src/surfaces/admin/components/Thumbnail/examples/empty-state.jsx +0 -1
- package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.jsx +0 -13
- package/src/surfaces/admin/components/Tooltip/examples/basic-usage.jsx +0 -6
- package/src/surfaces/admin/components/Tooltip/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.jsx +0 -8
- package/src/surfaces/admin/components/UnorderedList/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/UnorderedList/examples/store-setup-checklist.jsx +0 -24
- /package/src/surfaces/admin/components/Button/examples/{basic-usage.html → basic-button.html} +0 -0
- /package/src/surfaces/{admin/components/Divider/examples/basic-usage.html → customer-account/components/Divider/examples/basic-divider.example.html} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,12 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
10
|
-
DatePickerProps$1,
|
|
11
|
-
PreactCustomElement,
|
|
12
|
-
RenderImpl,
|
|
13
|
-
} from './shared.d.ts';
|
|
9
|
+
import type {DatePickerProps$1, ComponentChildren} from './shared.d.ts';
|
|
14
10
|
|
|
11
|
+
/**
|
|
12
|
+
* The properties for the date picker component. These properties configure a standalone calendar interface for selecting single dates or date ranges, with support for date constraints, day-of-week restrictions, and month/year navigation.
|
|
13
|
+
*/
|
|
15
14
|
export interface DatePickerProps
|
|
16
15
|
extends Required<
|
|
17
16
|
Pick<
|
|
@@ -27,60 +26,232 @@ export interface DatePickerProps
|
|
|
27
26
|
| 'name'
|
|
28
27
|
>
|
|
29
28
|
> {
|
|
29
|
+
/**
|
|
30
|
+
* The type of date selection allowed.
|
|
31
|
+
*
|
|
32
|
+
* - `single`: Select a single date
|
|
33
|
+
* - `range`: Select a date range
|
|
34
|
+
*
|
|
35
|
+
* @default "single"
|
|
36
|
+
*/
|
|
30
37
|
type: Extract<DatePickerProps$1['type'], 'single' | 'range'>;
|
|
31
38
|
}
|
|
32
39
|
|
|
40
|
+
/**
|
|
41
|
+
* An event object with a strongly-typed currentTarget property that references the specific HTML element type.
|
|
42
|
+
*/
|
|
33
43
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
44
|
+
/**
|
|
45
|
+
* The DOM element that the event listener is attached to.
|
|
46
|
+
*/
|
|
34
47
|
currentTarget: HTMLElementTagNameMap[T];
|
|
35
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* An event listener function or null that receives a typed callback event.
|
|
51
|
+
*/
|
|
36
52
|
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
37
53
|
| (EventListener & {
|
|
54
|
+
/**
|
|
55
|
+
* The callback function that's invoked when the event fires.
|
|
56
|
+
*/
|
|
38
57
|
(event: CallbackEvent<T>): void;
|
|
39
58
|
})
|
|
40
59
|
| null;
|
|
41
60
|
/** Used when an element does not have children. */
|
|
42
61
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
43
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* A unique identifier for this element within its parent. Preact uses keys to optimize rendering performance when lists change by tracking which items have been added, removed, or reordered.
|
|
64
|
+
*/
|
|
44
65
|
key?: preact.Key;
|
|
45
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
68
|
+
*/
|
|
46
69
|
ref?: preact.Ref<TClass>;
|
|
47
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Assigns this element to a named slot in a parent component that uses shadow DOM or slot-based composition patterns.
|
|
72
|
+
*/
|
|
48
73
|
slot?: Lowercase<string>;
|
|
49
74
|
}
|
|
50
75
|
|
|
51
|
-
|
|
52
|
-
|
|
76
|
+
/**
|
|
77
|
+
* A string containing CSS styles to be applied to the component.
|
|
78
|
+
*/
|
|
79
|
+
export type Styles = string;
|
|
80
|
+
/**
|
|
81
|
+
* The implementation details for rendering a custom element with a shadow DOM.
|
|
82
|
+
*/
|
|
83
|
+
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
84
|
+
/**
|
|
85
|
+
* A function that renders the component's shadow DOM content.
|
|
86
|
+
*/
|
|
87
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
88
|
+
/**
|
|
89
|
+
* The CSS styles to apply to the component.
|
|
90
|
+
*/
|
|
91
|
+
styles?: Styles;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* An object containing information about keyboard and mouse button states during an activation event.
|
|
95
|
+
*/
|
|
96
|
+
export interface ActivationEventEsque {
|
|
97
|
+
/**
|
|
98
|
+
* Whether the Shift key was pressed during the event.
|
|
99
|
+
*/
|
|
100
|
+
shiftKey: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Whether the Meta (Command on Mac, Windows key on PC) key was pressed during the event.
|
|
103
|
+
*/
|
|
104
|
+
metaKey: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Whether the Control key was pressed during the event.
|
|
107
|
+
*/
|
|
108
|
+
ctrlKey: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* The mouse button that was pressed during the event.
|
|
111
|
+
*/
|
|
112
|
+
button: number;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The options for programmatically triggering a click event on an element.
|
|
116
|
+
*/
|
|
117
|
+
export interface ClickOptions {
|
|
118
|
+
/**
|
|
119
|
+
* The original user event (such as a click or keyboard event) that triggered this programmatic click. When provided, the component preserves important event properties like modifier keys (Ctrl, Shift, Alt, Meta) and mouse button states, enabling behaviors such as opening links in a new tab when middle-clicked or Ctrl+clicked.
|
|
120
|
+
*/
|
|
121
|
+
sourceEvent?: ActivationEventEsque;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Base class for creating custom elements with Preact.
|
|
125
|
+
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
126
|
+
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
127
|
+
*/
|
|
128
|
+
declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
129
|
+
declare abstract class PreactCustomElement extends BaseClass$1 {
|
|
130
|
+
/** @private */
|
|
131
|
+
static get observedAttributes(): string[];
|
|
132
|
+
constructor({
|
|
133
|
+
styles,
|
|
134
|
+
ShadowRoot: renderFunction,
|
|
135
|
+
delegatesFocus,
|
|
136
|
+
...options
|
|
137
|
+
}: RenderImpl);
|
|
138
|
+
|
|
139
|
+
/** @private */
|
|
140
|
+
setAttribute(name: string, value: string): void;
|
|
141
|
+
/** @private */
|
|
142
|
+
attributeChangedCallback(name: string): void;
|
|
143
|
+
/** @private */
|
|
144
|
+
connectedCallback(): void;
|
|
145
|
+
/** @private */
|
|
146
|
+
disconnectedCallback(): void;
|
|
147
|
+
/** @private */
|
|
148
|
+
adoptedCallback(): void;
|
|
149
|
+
/**
|
|
150
|
+
* Queue a run of the render function.
|
|
151
|
+
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
152
|
+
* @private
|
|
153
|
+
*/
|
|
154
|
+
queueRender(): void;
|
|
155
|
+
/**
|
|
156
|
+
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
157
|
+
*
|
|
158
|
+
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
159
|
+
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
160
|
+
* @private
|
|
161
|
+
* @param options
|
|
162
|
+
*/
|
|
163
|
+
click({sourceEvent}?: ClickOptions): void;
|
|
53
164
|
}
|
|
54
165
|
|
|
55
166
|
declare const internals: unique symbol;
|
|
56
167
|
declare const dirtyStateSymbol: unique symbol;
|
|
57
|
-
|
|
168
|
+
/**
|
|
169
|
+
* The base class for form-associated components that can participate in form submission.
|
|
170
|
+
*/
|
|
171
|
+
declare class BaseClass extends PreactCustomElement {
|
|
172
|
+
/**
|
|
173
|
+
* Whether this element can participate in form submission.
|
|
174
|
+
*/
|
|
58
175
|
static formAssociated: boolean;
|
|
59
176
|
constructor(renderImpl: RenderImpl);
|
|
60
177
|
/** @private */
|
|
61
178
|
[internals]: ElementInternals;
|
|
62
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* The date picker custom element class that renders a standalone calendar interface in the Shopify admin. This component allows merchants to select single dates or date ranges using an interactive calendar with month/year navigation, date constraints, and day-of-week restrictions.
|
|
182
|
+
*/
|
|
63
183
|
declare class DatePicker extends BaseClass implements DatePickerProps {
|
|
184
|
+
/**
|
|
185
|
+
* The initial month and year shown when the calendar first renders, formatted as an ISO 8601 date string.
|
|
186
|
+
*/
|
|
64
187
|
accessor defaultView: string;
|
|
188
|
+
/**
|
|
189
|
+
* The currently visible month and year in the calendar, formatted as an ISO 8601 date string.
|
|
190
|
+
*/
|
|
65
191
|
set view(view: string);
|
|
192
|
+
/**
|
|
193
|
+
* The currently visible month and year in the calendar, formatted as an ISO 8601 date string.
|
|
194
|
+
*/
|
|
66
195
|
get view(): string;
|
|
196
|
+
/**
|
|
197
|
+
* The dates that are allowed to be selected, specified as ISO 8601 date strings or date ranges.
|
|
198
|
+
*/
|
|
67
199
|
accessor allow: DatePickerProps['allow'];
|
|
200
|
+
/**
|
|
201
|
+
* The dates that aren't allowed to be selected, specified as ISO 8601 date strings or date ranges.
|
|
202
|
+
*/
|
|
68
203
|
accessor disallow: DatePickerProps['disallow'];
|
|
204
|
+
/**
|
|
205
|
+
* The days of the week that are allowed to be selected. Available values: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
206
|
+
*/
|
|
69
207
|
accessor allowDays: DatePickerProps['allowDays'];
|
|
208
|
+
/**
|
|
209
|
+
* The days of the week that aren't allowed to be selected. Available values: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
210
|
+
*/
|
|
70
211
|
accessor disallowDays: DatePickerProps['disallowDays'];
|
|
212
|
+
/**
|
|
213
|
+
* The type of date selection allowed. Available values: `single`, `range`.
|
|
214
|
+
*/
|
|
71
215
|
accessor type: DatePickerProps['type'];
|
|
216
|
+
/**
|
|
217
|
+
* The initial selected date or date range when the picker first renders, formatted as an ISO 8601 date string.
|
|
218
|
+
*/
|
|
72
219
|
accessor defaultValue: DatePickerProps['defaultValue'];
|
|
220
|
+
/**
|
|
221
|
+
* The name of the picker, used when submitting form data.
|
|
222
|
+
*/
|
|
73
223
|
accessor name: DatePickerProps['name'];
|
|
224
|
+
/**
|
|
225
|
+
* The currently selected date or date range, formatted as an ISO 8601 date string.
|
|
226
|
+
*/
|
|
74
227
|
set value(value: string);
|
|
228
|
+
/**
|
|
229
|
+
* The currently selected date or date range, formatted as an ISO 8601 date string.
|
|
230
|
+
*/
|
|
75
231
|
get value(): string;
|
|
76
232
|
/** @private */
|
|
77
233
|
[dirtyStateSymbol]: boolean;
|
|
78
234
|
/** @private */
|
|
79
235
|
formResetCallback(): void;
|
|
236
|
+
/**
|
|
237
|
+
* The callback that's triggered when the visible month or year in the calendar changes.
|
|
238
|
+
*/
|
|
80
239
|
accessor onviewchange: CallbackEventListener<typeof tagName> | null;
|
|
240
|
+
/**
|
|
241
|
+
* The callback that's triggered when the picker receives focus.
|
|
242
|
+
*/
|
|
81
243
|
accessor onfocus: CallbackEventListener<typeof tagName> | null;
|
|
244
|
+
/**
|
|
245
|
+
* The callback that's triggered when the picker loses focus.
|
|
246
|
+
*/
|
|
82
247
|
accessor onblur: CallbackEventListener<typeof tagName> | null;
|
|
248
|
+
/**
|
|
249
|
+
* The callback that's triggered when the selected date changes as the user interacts with the picker.
|
|
250
|
+
*/
|
|
83
251
|
accessor oninput: CallbackEventListener<typeof tagName> | null;
|
|
252
|
+
/**
|
|
253
|
+
* The callback that's triggered when the selected date changes and the picker loses focus.
|
|
254
|
+
*/
|
|
84
255
|
accessor onchange: CallbackEventListener<typeof tagName> | null;
|
|
85
256
|
constructor();
|
|
86
257
|
}
|
|
@@ -98,13 +269,31 @@ declare module 'preact' {
|
|
|
98
269
|
}
|
|
99
270
|
|
|
100
271
|
declare const tagName = 's-date-picker';
|
|
272
|
+
/**
|
|
273
|
+
* The JSX props for the date picker component. These properties extend `DatePickerProps` with JSX-specific event callbacks for React-style event handling when used in Preact, including callbacks for date selection, focus events, and view changes.
|
|
274
|
+
*/
|
|
101
275
|
export interface DatePickerJSXProps
|
|
102
276
|
extends Partial<DatePickerProps>,
|
|
103
277
|
Pick<DatePickerProps$1, 'id'> {
|
|
278
|
+
/**
|
|
279
|
+
* A callback that's triggered when the visible month or year in the calendar changes.
|
|
280
|
+
*/
|
|
104
281
|
onViewChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
282
|
+
/**
|
|
283
|
+
* A callback that's triggered when the picker receives focus.
|
|
284
|
+
*/
|
|
105
285
|
onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
286
|
+
/**
|
|
287
|
+
* A callback that's triggered when the picker loses focus.
|
|
288
|
+
*/
|
|
106
289
|
onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
290
|
+
/**
|
|
291
|
+
* A callback that's triggered when the selected date changes as the user interacts with the picker.
|
|
292
|
+
*/
|
|
107
293
|
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
294
|
+
/**
|
|
295
|
+
* A callback that's triggered when the selected date changes and the picker loses focus.
|
|
296
|
+
*/
|
|
108
297
|
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
109
298
|
}
|
|
110
299
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,34 +6,165 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
10
|
-
DividerProps$1,
|
|
11
|
-
PreactCustomElement,
|
|
12
|
-
RenderImpl,
|
|
13
|
-
} from './shared.d.ts';
|
|
9
|
+
import type {DividerProps$1, ComponentChildren} from './shared.d.ts';
|
|
14
10
|
|
|
11
|
+
/**
|
|
12
|
+
* The properties for the divider component. A divider creates a visual separator to distinguish different sections of content.
|
|
13
|
+
*/
|
|
15
14
|
export interface DividerProps
|
|
16
15
|
extends Pick<DividerProps$1, 'direction' | 'color'> {
|
|
16
|
+
/**
|
|
17
|
+
* The orientation of the divider line, using [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
18
|
+
*
|
|
19
|
+
* - `inline`: Horizontal divider for separating vertically stacked content
|
|
20
|
+
* - `block`: Vertical divider for separating horizontally arranged content
|
|
21
|
+
*
|
|
22
|
+
* @default 'inline'
|
|
23
|
+
*/
|
|
17
24
|
direction: Extract<DividerProps$1['direction'], 'inline' | 'block'>;
|
|
25
|
+
/**
|
|
26
|
+
* The visual prominence of the divider line.
|
|
27
|
+
*
|
|
28
|
+
* - `base`: Standard divider for most separations (default)
|
|
29
|
+
* - `strong`: More prominent divider for major section breaks
|
|
30
|
+
*
|
|
31
|
+
* @default 'base'
|
|
32
|
+
*/
|
|
18
33
|
color: Extract<DividerProps$1['color'], 'base' | 'strong'>;
|
|
19
34
|
}
|
|
20
35
|
|
|
21
|
-
|
|
22
|
-
|
|
36
|
+
/**
|
|
37
|
+
* A string containing CSS styles for a custom element.
|
|
38
|
+
*/
|
|
39
|
+
export type Styles = string;
|
|
40
|
+
/**
|
|
41
|
+
* The configuration for rendering a custom element with Preact.
|
|
42
|
+
*/
|
|
43
|
+
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
44
|
+
/**
|
|
45
|
+
* The function that renders the shadow root content.
|
|
46
|
+
*/
|
|
47
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
48
|
+
/**
|
|
49
|
+
* The optional CSS styles to apply to the shadow root.
|
|
50
|
+
*/
|
|
51
|
+
styles?: Styles;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* An interface representing the properties of an activation event, such as a click or keypress.
|
|
55
|
+
*/
|
|
56
|
+
export interface ActivationEventEsque {
|
|
57
|
+
/**
|
|
58
|
+
* Whether the shift key was pressed during the event.
|
|
59
|
+
*/
|
|
60
|
+
shiftKey: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the meta key (Command on Mac, Windows key on PC) was pressed during the event.
|
|
63
|
+
*/
|
|
64
|
+
metaKey: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the control key was pressed during the event.
|
|
67
|
+
*/
|
|
68
|
+
ctrlKey: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* The mouse button that was pressed (0 for left, 1 for middle, 2 for right).
|
|
71
|
+
*/
|
|
72
|
+
button: number;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The options for triggering a synthetic click event.
|
|
76
|
+
*/
|
|
77
|
+
export interface ClickOptions {
|
|
78
|
+
/**
|
|
79
|
+
* The original user event (such as a click or keyboard event) that triggered this programmatic click. When provided, the component preserves important event properties like modifier keys (Ctrl, Shift, Alt, Meta) and mouse button states, enabling behaviors such as opening links in a new tab when middle-clicked or Ctrl+clicked.
|
|
80
|
+
*/
|
|
81
|
+
sourceEvent?: ActivationEventEsque;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The base class for creating custom elements with Preact.
|
|
85
|
+
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
86
|
+
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
87
|
+
*/
|
|
88
|
+
declare const BaseClass: typeof globalThis.HTMLElement;
|
|
89
|
+
/**
|
|
90
|
+
* An abstract base class for creating custom elements that render with Preact.
|
|
91
|
+
*/
|
|
92
|
+
declare abstract class PreactCustomElement extends BaseClass {
|
|
93
|
+
/** @private */
|
|
94
|
+
static get observedAttributes(): string[];
|
|
95
|
+
constructor({
|
|
96
|
+
styles,
|
|
97
|
+
ShadowRoot: renderFunction,
|
|
98
|
+
delegatesFocus,
|
|
99
|
+
...options
|
|
100
|
+
}: RenderImpl);
|
|
101
|
+
|
|
102
|
+
/** @private */
|
|
103
|
+
setAttribute(name: string, value: string): void;
|
|
104
|
+
/** @private */
|
|
105
|
+
attributeChangedCallback(name: string): void;
|
|
106
|
+
/** @private */
|
|
107
|
+
connectedCallback(): void;
|
|
108
|
+
/** @private */
|
|
109
|
+
disconnectedCallback(): void;
|
|
110
|
+
/** @private */
|
|
111
|
+
adoptedCallback(): void;
|
|
112
|
+
/**
|
|
113
|
+
* Queue a run of the render function.
|
|
114
|
+
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
115
|
+
* @private
|
|
116
|
+
*/
|
|
117
|
+
queueRender(): void;
|
|
118
|
+
/**
|
|
119
|
+
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
120
|
+
*
|
|
121
|
+
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
122
|
+
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
123
|
+
* @private
|
|
124
|
+
* @param options
|
|
125
|
+
*/
|
|
126
|
+
click({sourceEvent}?: ClickOptions): void;
|
|
23
127
|
}
|
|
24
128
|
|
|
25
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* The base properties for Preact elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
131
|
+
*/
|
|
26
132
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
27
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* A unique identifier for this element within its parent. Preact uses keys to optimize rendering performance when lists change by tracking which items have been added, removed, or reordered.
|
|
135
|
+
*/
|
|
28
136
|
key?: preact.Key;
|
|
29
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
139
|
+
*/
|
|
30
140
|
ref?: preact.Ref<TClass>;
|
|
31
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Assigns this element to a named slot in a parent component that uses shadow DOM or slot-based composition patterns.
|
|
143
|
+
*/
|
|
32
144
|
slot?: Lowercase<string>;
|
|
33
145
|
}
|
|
34
146
|
|
|
35
|
-
|
|
147
|
+
/**
|
|
148
|
+
* A divider is a visual separator that creates a line between different sections of content.
|
|
149
|
+
*/
|
|
150
|
+
declare class Divider extends PreactCustomElement implements DividerProps {
|
|
151
|
+
/**
|
|
152
|
+
* The orientation of the divider line, using [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
153
|
+
*
|
|
154
|
+
* - `inline`: Horizontal divider for separating vertically stacked content
|
|
155
|
+
* - `block`: Vertical divider for separating horizontally arranged content
|
|
156
|
+
*
|
|
157
|
+
* @default 'inline'
|
|
158
|
+
*/
|
|
36
159
|
accessor direction: DividerProps['direction'];
|
|
160
|
+
/**
|
|
161
|
+
* The visual prominence of the divider line.
|
|
162
|
+
*
|
|
163
|
+
* - `base`: Standard divider for most separations (default)
|
|
164
|
+
* - `strong`: More prominent divider for major section breaks
|
|
165
|
+
*
|
|
166
|
+
* @default 'base'
|
|
167
|
+
*/
|
|
37
168
|
accessor color: DividerProps['color'];
|
|
38
169
|
constructor();
|
|
39
170
|
}
|
|
@@ -51,6 +182,9 @@ declare module 'preact' {
|
|
|
51
182
|
}
|
|
52
183
|
|
|
53
184
|
declare const tagName = 's-divider';
|
|
185
|
+
/**
|
|
186
|
+
* The properties for the divider component when it's used in JSX.
|
|
187
|
+
*/
|
|
54
188
|
export interface DividerJSXProps
|
|
55
189
|
extends Partial<DividerProps>,
|
|
56
190
|
Pick<DividerProps$1, 'id'> {}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<s-drop-zone
|
|
2
|
+
id="upload"
|
|
3
|
+
label="Product images"
|
|
4
|
+
accept="image/*"
|
|
5
|
+
multiple
|
|
6
|
+
></s-drop-zone>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
const dropzone = document.getElementById('upload');
|
|
10
|
+
|
|
11
|
+
dropzone.addEventListener('change', async (e) => {
|
|
12
|
+
const files = e.currentTarget.files;
|
|
13
|
+
|
|
14
|
+
// Validate size (5MB max per file)
|
|
15
|
+
const maxSize = 5 * 1024 * 1024;
|
|
16
|
+
if (files.some(f => f.size > maxSize)) {
|
|
17
|
+
dropzone.error = 'Files must be under 5MB';
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
dropzone.error = '';
|
|
21
|
+
|
|
22
|
+
// Disable during upload
|
|
23
|
+
dropzone.disabled = true;
|
|
24
|
+
|
|
25
|
+
const formData = new FormData();
|
|
26
|
+
files.forEach(f => formData.append('images[]', f));
|
|
27
|
+
|
|
28
|
+
try {
|
|
29
|
+
await fetch('/api/upload', { method: 'POST', body: formData });
|
|
30
|
+
dropzone.value = ''; // Clear for next upload
|
|
31
|
+
// Show success feedback
|
|
32
|
+
} catch (error) {
|
|
33
|
+
dropzone.error = 'Upload failed. Please try again.';
|
|
34
|
+
} finally {
|
|
35
|
+
dropzone.disabled = false;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
dropzone.addEventListener('droprejected', () => {
|
|
40
|
+
dropzone.error = 'Only image files are accepted';
|
|
41
|
+
});
|
|
42
|
+
</script>
|