@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 */
|
|
@@ -13,28 +13,47 @@ import type {
|
|
|
13
13
|
SizeUnitsOrAuto,
|
|
14
14
|
SizeUnits,
|
|
15
15
|
SizeUnitsOrNone,
|
|
16
|
-
|
|
17
|
-
RenderImpl,
|
|
16
|
+
ComponentChildren,
|
|
18
17
|
} from './shared.d.ts';
|
|
19
18
|
|
|
19
|
+
/**
|
|
20
|
+
* A callback event that's typed to a specific HTML element. This type provides access to the element that triggered the event.
|
|
21
|
+
*/
|
|
20
22
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
23
|
+
/**
|
|
24
|
+
* The element that currently has the event listener attached.
|
|
25
|
+
*/
|
|
21
26
|
currentTarget: HTMLElementTagNameMap[T];
|
|
22
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* An event listener for callback events, typed to a specific HTML element.
|
|
30
|
+
*/
|
|
23
31
|
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
24
32
|
| (EventListener & {
|
|
25
33
|
(event: CallbackEvent<T>): void;
|
|
26
34
|
})
|
|
27
35
|
| null;
|
|
28
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The base properties for Preact elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
38
|
+
*/
|
|
29
39
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
30
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* 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.
|
|
42
|
+
*/
|
|
31
43
|
key?: preact.Key;
|
|
32
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* 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.
|
|
46
|
+
*/
|
|
33
47
|
ref?: preact.Ref<TClass>;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Assigns this element to a named slot in a parent component that uses shadow DOM or slot-based composition patterns.
|
|
50
|
+
*/
|
|
35
51
|
slot?: Lowercase<string>;
|
|
36
52
|
}
|
|
37
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Makes a type value responsive by allowing container query strings.
|
|
56
|
+
*/
|
|
38
57
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
39
58
|
/**
|
|
40
59
|
* Makes a property's value potentially responsive.
|
|
@@ -56,7 +75,13 @@ export type MakeResponsivePick<TType, TProperty extends keyof TType> = {
|
|
|
56
75
|
[P in TProperty]: MakeResponsive<TType[P]>;
|
|
57
76
|
};
|
|
58
77
|
|
|
78
|
+
/**
|
|
79
|
+
* The box properties with all fields marked as required.
|
|
80
|
+
*/
|
|
59
81
|
export type RequiredBoxProps = Required<BoxProps$1>;
|
|
82
|
+
/**
|
|
83
|
+
* The available border radius values for Box components.
|
|
84
|
+
*/
|
|
60
85
|
export type BoxBorderRadii = Extract<
|
|
61
86
|
RequiredBoxProps['borderRadius'],
|
|
62
87
|
| 'none'
|
|
@@ -68,10 +93,16 @@ export type BoxBorderRadii = Extract<
|
|
|
68
93
|
| 'large-100'
|
|
69
94
|
| 'large-200'
|
|
70
95
|
>;
|
|
96
|
+
/**
|
|
97
|
+
* The available border style values for Box components.
|
|
98
|
+
*/
|
|
71
99
|
export type BoxBorderStyles = Extract<
|
|
72
100
|
RequiredBoxProps['borderStyle'],
|
|
73
101
|
'none' | 'solid' | 'dashed' | 'auto'
|
|
74
102
|
>;
|
|
103
|
+
/**
|
|
104
|
+
* The box properties that support responsive values through container queries.
|
|
105
|
+
*/
|
|
75
106
|
export type ResponsiveBoxProps = MakeResponsivePick<
|
|
76
107
|
RequiredBoxProps,
|
|
77
108
|
| 'padding'
|
|
@@ -104,7 +135,7 @@ export interface BoxProps
|
|
|
104
135
|
| 'overflow'
|
|
105
136
|
> {
|
|
106
137
|
/**
|
|
107
|
-
*
|
|
138
|
+
* The background color of the image container.
|
|
108
139
|
*
|
|
109
140
|
* @default 'transparent'
|
|
110
141
|
*/
|
|
@@ -113,7 +144,16 @@ export interface BoxProps
|
|
|
113
144
|
'transparent' | 'base' | 'subdued' | 'strong'
|
|
114
145
|
>;
|
|
115
146
|
/**
|
|
116
|
-
*
|
|
147
|
+
* Controls the thickness of the border on all sides. When set, this overrides the width value specified in the `border` property.
|
|
148
|
+
*
|
|
149
|
+
* - `small`: Thin border for subtle definition.
|
|
150
|
+
* - `small-100`: Extra thin border for minimal emphasis.
|
|
151
|
+
* - `base`: Standard border width.
|
|
152
|
+
* - `large`: Thick border for strong emphasis.
|
|
153
|
+
* - `large-100`: Extra thick border for maximum prominence.
|
|
154
|
+
* - `none`: No border.
|
|
155
|
+
*
|
|
156
|
+
* Supports [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) for specifying different widths per side.
|
|
117
157
|
*
|
|
118
158
|
* @default '' - meaning no override
|
|
119
159
|
*/
|
|
@@ -126,7 +166,7 @@ export interface BoxProps
|
|
|
126
166
|
>
|
|
127
167
|
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
128
168
|
/**
|
|
129
|
-
*
|
|
169
|
+
* The visual style of the border (solid, dashed, auto, or none).
|
|
130
170
|
*
|
|
131
171
|
* @default '' - meaning no override
|
|
132
172
|
*/
|
|
@@ -134,7 +174,7 @@ export interface BoxProps
|
|
|
134
174
|
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
135
175
|
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
136
176
|
/**
|
|
137
|
-
*
|
|
177
|
+
* The color of the border using the design system's color scale.
|
|
138
178
|
*
|
|
139
179
|
* @default '' - meaning no override
|
|
140
180
|
*/
|
|
@@ -143,13 +183,13 @@ export interface BoxProps
|
|
|
143
183
|
'subdued' | 'base' | 'strong' | ''
|
|
144
184
|
>;
|
|
145
185
|
/**
|
|
146
|
-
*
|
|
186
|
+
* The roundedness of the corners using the design system's radius scale.
|
|
147
187
|
*
|
|
148
188
|
* @default 'none'
|
|
149
189
|
*/
|
|
150
190
|
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
151
191
|
/**
|
|
152
|
-
*
|
|
192
|
+
* The padding applied to all edges of the image container.
|
|
153
193
|
*
|
|
154
194
|
* [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
155
195
|
*
|
|
@@ -165,71 +205,71 @@ export interface BoxProps
|
|
|
165
205
|
*
|
|
166
206
|
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
167
207
|
*
|
|
168
|
-
* `padding` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
208
|
+
* `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
169
209
|
*
|
|
170
210
|
* @default 'none'
|
|
171
211
|
*/
|
|
172
212
|
padding: ResponsiveBoxProps['padding'];
|
|
173
213
|
/**
|
|
174
|
-
*
|
|
214
|
+
* The padding applied to the block axis (top and bottom in horizontal writing modes).
|
|
175
215
|
*
|
|
176
216
|
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
177
217
|
*
|
|
178
218
|
* This overrides the block value of `padding`.
|
|
179
219
|
*
|
|
180
|
-
* `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
220
|
+
* `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
181
221
|
*
|
|
182
222
|
* @default '' - meaning no override
|
|
183
223
|
*/
|
|
184
224
|
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
185
225
|
/**
|
|
186
|
-
*
|
|
226
|
+
* The padding applied to the block-start edge (top in horizontal writing modes).
|
|
187
227
|
*
|
|
188
228
|
* This overrides the block-start value of `paddingBlock`.
|
|
189
229
|
*
|
|
190
|
-
* `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
230
|
+
* `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
191
231
|
*
|
|
192
232
|
* @default '' - meaning no override
|
|
193
233
|
*/
|
|
194
234
|
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
195
235
|
/**
|
|
196
|
-
*
|
|
236
|
+
* The padding applied to the block-end edge (bottom in horizontal writing modes).
|
|
197
237
|
*
|
|
198
238
|
* This overrides the block-end value of `paddingBlock`.
|
|
199
239
|
*
|
|
200
|
-
* `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
240
|
+
* `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
201
241
|
*
|
|
202
242
|
* @default '' - meaning no override
|
|
203
243
|
*/
|
|
204
244
|
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
205
245
|
/**
|
|
206
|
-
*
|
|
246
|
+
* The padding applied to the inline axis (left and right in horizontal writing modes).
|
|
207
247
|
*
|
|
208
248
|
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
209
249
|
*
|
|
210
250
|
* This overrides the inline value of `padding`.
|
|
211
251
|
*
|
|
212
|
-
* `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
252
|
+
* `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
213
253
|
*
|
|
214
254
|
* @default '' - meaning no override
|
|
215
255
|
*/
|
|
216
256
|
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
217
257
|
/**
|
|
218
|
-
*
|
|
258
|
+
* The padding applied to the inline-start edge (left in left-to-right languages).
|
|
219
259
|
*
|
|
220
260
|
* This overrides the inline-start value of `paddingInline`.
|
|
221
261
|
*
|
|
222
|
-
* `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
262
|
+
* `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
223
263
|
*
|
|
224
264
|
* @default '' - meaning no override
|
|
225
265
|
*/
|
|
226
266
|
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
227
267
|
/**
|
|
228
|
-
*
|
|
268
|
+
* The padding applied to the inline-end edge (right in left-to-right languages).
|
|
229
269
|
*
|
|
230
270
|
* This overrides the inline-end value of `paddingInline`.
|
|
231
271
|
*
|
|
232
|
-
* `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/
|
|
272
|
+
* `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
233
273
|
*
|
|
234
274
|
* @default '' - meaning no override
|
|
235
275
|
*/
|
|
@@ -244,43 +284,51 @@ export interface BoxProps
|
|
|
244
284
|
*/
|
|
245
285
|
display: ResponsiveBoxProps['display'];
|
|
246
286
|
/**
|
|
247
|
-
*
|
|
287
|
+
* The vertical size of the image in standard layouts (height in left-to-right or right-to-left writing modes).
|
|
288
|
+
*
|
|
289
|
+
* Block size adjusts based on the writing direction: in horizontal layouts, it controls the height;
|
|
290
|
+
* in vertical layouts, it controls the width. This ensures consistent behavior across different text directions.
|
|
291
|
+
*
|
|
292
|
+
* Learn more about [block-size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
248
293
|
*
|
|
249
294
|
* @default 'auto'
|
|
250
295
|
*/
|
|
251
296
|
blockSize: SizeUnitsOrAuto;
|
|
252
297
|
/**
|
|
253
|
-
*
|
|
298
|
+
* The [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size) (minimum height in horizontal writing modes) of the image.
|
|
254
299
|
*
|
|
255
300
|
* @default '0'
|
|
256
301
|
*/
|
|
257
302
|
minBlockSize: SizeUnits;
|
|
258
303
|
/**
|
|
259
|
-
*
|
|
304
|
+
* The [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size) (maximum height in horizontal writing modes) of the image.
|
|
260
305
|
*
|
|
261
306
|
* @default 'none'
|
|
262
307
|
*/
|
|
263
308
|
maxBlockSize: SizeUnitsOrNone;
|
|
264
309
|
/**
|
|
265
|
-
*
|
|
310
|
+
* The [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size) (width in horizontal writing modes) of the image.
|
|
266
311
|
*
|
|
267
312
|
* @default 'auto'
|
|
268
313
|
*/
|
|
269
314
|
inlineSize: SizeUnitsOrAuto;
|
|
270
315
|
/**
|
|
271
|
-
*
|
|
316
|
+
* The [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size) (minimum width in horizontal writing modes) of the image.
|
|
272
317
|
*
|
|
273
318
|
* @default '0'
|
|
274
319
|
*/
|
|
275
320
|
minInlineSize: SizeUnits;
|
|
276
321
|
/**
|
|
277
|
-
*
|
|
322
|
+
* The [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size) (maximum width in horizontal writing modes) of the image.
|
|
278
323
|
*
|
|
279
324
|
* @default 'none'
|
|
280
325
|
*/
|
|
281
326
|
maxInlineSize: SizeUnitsOrNone;
|
|
282
327
|
}
|
|
283
328
|
|
|
329
|
+
/**
|
|
330
|
+
* The properties for the image component. An image displays pictures with configurable sizing, loading behavior, and borders. Properties include `src` for the image URL, `alt` for accessibility text, `aspectRatio` for sizing, `loading` for lazy loading, and border styling options.
|
|
331
|
+
*/
|
|
284
332
|
export interface ImageProps
|
|
285
333
|
extends Required<
|
|
286
334
|
Pick<
|
|
@@ -305,28 +353,225 @@ export interface ImageProps
|
|
|
305
353
|
| 'borderStyle'
|
|
306
354
|
| 'borderWidth'
|
|
307
355
|
>
|
|
308
|
-
> {
|
|
356
|
+
> {
|
|
357
|
+
/**
|
|
358
|
+
* The URL of the image to display. You can provide an absolute or relative URL pointing to the image file.
|
|
359
|
+
*/
|
|
360
|
+
src: ImageProps$1['src'];
|
|
361
|
+
/**
|
|
362
|
+
* A set of source images with different sizes for responsive loading. Use this to provide multiple image sizes for different screen resolutions (for example, `'image-320w.jpg 320w, image-640w.jpg 640w'`).
|
|
363
|
+
*/
|
|
364
|
+
srcSet: ImageProps$1['srcSet'];
|
|
365
|
+
/**
|
|
366
|
+
* The sizes of the image at different viewport widths. Use this with `srcSet` to tell the browser which image to load (for example, `'(max-width: 320px) 280px, 640px'`).
|
|
367
|
+
*/
|
|
368
|
+
sizes: ImageProps$1['sizes'];
|
|
369
|
+
/**
|
|
370
|
+
* Alternative text that describes the image for screen readers. This text should convey the meaning or content of the image to users who can't see it.
|
|
371
|
+
*/
|
|
372
|
+
alt: ImageProps$1['alt'];
|
|
373
|
+
/**
|
|
374
|
+
* The aspect ratio of the image as a width-to-height ratio (for example, `'16/9'` or `'1'`). This helps prevent layout shifts while the image loads.
|
|
375
|
+
*/
|
|
376
|
+
aspectRatio: ImageProps$1['aspectRatio'];
|
|
377
|
+
/**
|
|
378
|
+
* How the image should be resized to fit its container. Choose `'cover'` to fill the container while maintaining aspect ratio (cropping if needed), or `'contain'` to fit the entire image within the container.
|
|
379
|
+
*/
|
|
380
|
+
objectFit: ImageProps$1['objectFit'];
|
|
381
|
+
/**
|
|
382
|
+
* When the image should be loaded. Use `'lazy'` to defer loading until the image is near the viewport, or `'eager'` to load immediately.
|
|
383
|
+
*/
|
|
384
|
+
loading: ImageProps$1['loading'];
|
|
385
|
+
/**
|
|
386
|
+
* The accessibility role for the image. Set this to provide semantic meaning for screen readers.
|
|
387
|
+
*/
|
|
388
|
+
accessibilityRole: ImageProps$1['accessibilityRole'];
|
|
389
|
+
/**
|
|
390
|
+
* The inline size (width in horizontal writing modes) of the image. You can use size units like `'100px'` or `'50%'`.
|
|
391
|
+
*/
|
|
392
|
+
inlineSize: ImageProps$1['inlineSize'];
|
|
393
|
+
/**
|
|
394
|
+
* Whether to show a border around the image. Set to `true` to display a border, or `false` to hide it.
|
|
395
|
+
*/
|
|
396
|
+
border: BoxProps['border'];
|
|
397
|
+
/**
|
|
398
|
+
* The width of the border around the image. You can use a single value to apply the same width to all sides, or use the 1-to-4-value syntax to control individual sides.
|
|
399
|
+
*/
|
|
400
|
+
borderWidth: BoxProps['borderWidth'];
|
|
401
|
+
/**
|
|
402
|
+
* The style of the border around the image. You can use a single value to apply the same style to all sides, or use the 1-to-4-value syntax to control individual sides.
|
|
403
|
+
*/
|
|
404
|
+
borderStyle: BoxProps['borderStyle'];
|
|
405
|
+
/**
|
|
406
|
+
* The color of the border around the image. Choose from `'subdued'`, `'base'`, or `'strong'` to control the visual emphasis.
|
|
407
|
+
*/
|
|
408
|
+
borderColor: BoxProps['borderColor'];
|
|
409
|
+
/**
|
|
410
|
+
* The radius of the border corners around the image. You can use a single value to apply the same radius to all corners, or use the 1-to-4-value syntax to control individual corners.
|
|
411
|
+
*/
|
|
412
|
+
borderRadius: BoxProps['borderRadius'];
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* A string containing CSS styles for a custom element.
|
|
417
|
+
*/
|
|
418
|
+
export type Styles = string;
|
|
419
|
+
/**
|
|
420
|
+
* The configuration for rendering a custom element with Preact.
|
|
421
|
+
*/
|
|
422
|
+
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
423
|
+
/**
|
|
424
|
+
* The function that renders the shadow root content.
|
|
425
|
+
*/
|
|
426
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
427
|
+
/**
|
|
428
|
+
* The optional CSS styles to apply to the shadow root.
|
|
429
|
+
*/
|
|
430
|
+
styles?: Styles;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* The properties of an activation event, such as a click or keypress. These properties capture which modifier keys were pressed and which mouse button was used during the event.
|
|
434
|
+
*/
|
|
435
|
+
export interface ActivationEventEsque {
|
|
436
|
+
/**
|
|
437
|
+
* Whether the shift key was pressed during the event.
|
|
438
|
+
*/
|
|
439
|
+
shiftKey: boolean;
|
|
440
|
+
/**
|
|
441
|
+
* Whether the meta key (Command on Mac, Windows key on Windows) was pressed during the event.
|
|
442
|
+
*/
|
|
443
|
+
metaKey: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Whether the control key was pressed during the event.
|
|
446
|
+
*/
|
|
447
|
+
ctrlKey: boolean;
|
|
448
|
+
/**
|
|
449
|
+
* The mouse button that was pressed (0 for left, 1 for middle, 2 for right).
|
|
450
|
+
*/
|
|
451
|
+
button: number;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* The options for triggering a synthetic click event.
|
|
455
|
+
*/
|
|
456
|
+
export interface ClickOptions {
|
|
457
|
+
/**
|
|
458
|
+
* 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.
|
|
459
|
+
*/
|
|
460
|
+
sourceEvent?: ActivationEventEsque;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* The base class for creating custom elements with Preact.
|
|
464
|
+
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
465
|
+
* So we give it a type of `HTMLElement` to avoid typing issues later where it's used, which will only happen in the browser.
|
|
466
|
+
*/
|
|
467
|
+
declare const BaseClass: typeof globalThis.HTMLElement;
|
|
468
|
+
/**
|
|
469
|
+
* An abstract base class for creating custom elements that render with Preact.
|
|
470
|
+
*/
|
|
471
|
+
declare abstract class PreactCustomElement extends BaseClass {
|
|
472
|
+
/** @private */
|
|
473
|
+
static get observedAttributes(): string[];
|
|
474
|
+
constructor({
|
|
475
|
+
styles,
|
|
476
|
+
ShadowRoot: renderFunction,
|
|
477
|
+
delegatesFocus,
|
|
478
|
+
...options
|
|
479
|
+
}: RenderImpl);
|
|
309
480
|
|
|
310
|
-
|
|
311
|
-
|
|
481
|
+
/** @private */
|
|
482
|
+
setAttribute(name: string, value: string): void;
|
|
483
|
+
/** @private */
|
|
484
|
+
attributeChangedCallback(name: string): void;
|
|
485
|
+
/** @private */
|
|
486
|
+
connectedCallback(): void;
|
|
487
|
+
/** @private */
|
|
488
|
+
disconnectedCallback(): void;
|
|
489
|
+
/** @private */
|
|
490
|
+
adoptedCallback(): void;
|
|
491
|
+
/**
|
|
492
|
+
* Queues a run of the render function.
|
|
493
|
+
* You shouldn't need to call this manually - it should be handled by changes to `@property` values.
|
|
494
|
+
* @private
|
|
495
|
+
*/
|
|
496
|
+
queueRender(): void;
|
|
497
|
+
/**
|
|
498
|
+
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
499
|
+
*
|
|
500
|
+
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
501
|
+
* components will attempt to produce the desired behavior on links, such as opening the page in a background tab.
|
|
502
|
+
* @private
|
|
503
|
+
* @param options
|
|
504
|
+
*/
|
|
505
|
+
click({sourceEvent}?: ClickOptions): void;
|
|
312
506
|
}
|
|
313
507
|
|
|
314
|
-
|
|
508
|
+
/**
|
|
509
|
+
* An image displays pictures with configurable sizing, loading behavior, and borders.
|
|
510
|
+
*/
|
|
511
|
+
declare class Image extends PreactCustomElement implements ImageProps {
|
|
512
|
+
/**
|
|
513
|
+
* The URL of the image to display.
|
|
514
|
+
*/
|
|
315
515
|
accessor src: ImageProps['src'];
|
|
516
|
+
/**
|
|
517
|
+
* A set of source images with different sizes for responsive loading.
|
|
518
|
+
*/
|
|
316
519
|
accessor srcSet: ImageProps['srcSet'];
|
|
520
|
+
/**
|
|
521
|
+
* The sizes of the image at different viewport widths.
|
|
522
|
+
*/
|
|
317
523
|
accessor sizes: ImageProps['sizes'];
|
|
524
|
+
/**
|
|
525
|
+
* Alternative text that describes the image for screen readers.
|
|
526
|
+
*/
|
|
318
527
|
accessor alt: ImageProps['alt'];
|
|
528
|
+
/**
|
|
529
|
+
* The aspect ratio of the image as a width-to-height ratio.
|
|
530
|
+
*/
|
|
319
531
|
accessor aspectRatio: ImageProps['aspectRatio'];
|
|
532
|
+
/**
|
|
533
|
+
* How the image should be resized to fit its container.
|
|
534
|
+
*/
|
|
320
535
|
accessor objectFit: ImageProps['objectFit'];
|
|
536
|
+
/**
|
|
537
|
+
* When the image should be loaded.
|
|
538
|
+
*/
|
|
321
539
|
accessor loading: ImageProps['loading'];
|
|
540
|
+
/**
|
|
541
|
+
* The accessibility role for the image.
|
|
542
|
+
*/
|
|
322
543
|
accessor accessibilityRole: ImageProps['accessibilityRole'];
|
|
544
|
+
/**
|
|
545
|
+
* The inline size (width in horizontal writing modes) of the image.
|
|
546
|
+
*/
|
|
323
547
|
accessor inlineSize: ImageProps['inlineSize'];
|
|
548
|
+
/**
|
|
549
|
+
* Whether to show a border around the image.
|
|
550
|
+
*/
|
|
324
551
|
accessor border: ImageProps['border'];
|
|
552
|
+
/**
|
|
553
|
+
* The width of the border around the image.
|
|
554
|
+
*/
|
|
325
555
|
accessor borderWidth: ImageProps['borderWidth'];
|
|
556
|
+
/**
|
|
557
|
+
* The style of the border around the image.
|
|
558
|
+
*/
|
|
326
559
|
accessor borderStyle: ImageProps['borderStyle'];
|
|
560
|
+
/**
|
|
561
|
+
* The color of the border around the image.
|
|
562
|
+
*/
|
|
327
563
|
accessor borderColor: ImageProps['borderColor'];
|
|
564
|
+
/**
|
|
565
|
+
* The radius of the border corners around the image.
|
|
566
|
+
*/
|
|
328
567
|
accessor borderRadius: ImageProps['borderRadius'];
|
|
568
|
+
/**
|
|
569
|
+
* A callback that's fired when the image has loaded successfully.
|
|
570
|
+
*/
|
|
329
571
|
accessor onload: CallbackEventListener<typeof tagName> | null;
|
|
572
|
+
/**
|
|
573
|
+
* A callback that's fired when the image fails to load.
|
|
574
|
+
*/
|
|
330
575
|
accessor onerror: OnErrorEventHandler;
|
|
331
576
|
constructor();
|
|
332
577
|
}
|
|
@@ -344,10 +589,19 @@ declare module 'preact' {
|
|
|
344
589
|
}
|
|
345
590
|
|
|
346
591
|
declare const tagName = 's-image';
|
|
592
|
+
/**
|
|
593
|
+
* The properties for the image component when it's used in JSX.
|
|
594
|
+
*/
|
|
347
595
|
export interface ImageJSXProps
|
|
348
596
|
extends Partial<ImageProps>,
|
|
349
597
|
Pick<ImageProps$1, 'id'> {
|
|
598
|
+
/**
|
|
599
|
+
* A callback that's fired when the image fails to load.
|
|
600
|
+
*/
|
|
350
601
|
onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
602
|
+
/**
|
|
603
|
+
* A callback that's fired when the image has loaded successfully.
|
|
604
|
+
*/
|
|
351
605
|
onLoad?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
352
606
|
}
|
|
353
607
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Link/Link.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Link.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Link/Link.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAmKX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|