@shopify/ui-extensions 2023.7.2 → 2024.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/admin/components/Badge/Badge.js +9 -0
- package/build/cjs/surfaces/admin/components/Banner/Banner.js +9 -0
- package/build/cjs/surfaces/admin/components/Card/Card.js +9 -0
- package/build/cjs/surfaces/admin/components/ChoiceList/ChoiceList.js +9 -0
- package/build/cjs/surfaces/admin/components/ColorPicker/ColorPicker.js +9 -0
- package/build/cjs/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js +17 -0
- package/build/cjs/surfaces/admin/components/DateField/DateField.js +9 -0
- package/build/cjs/surfaces/admin/components/DatePicker/DatePicker.js +9 -0
- package/build/cjs/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.js +12 -0
- package/build/cjs/surfaces/admin/components/InternalLocationList/InternalLocationList.js +9 -0
- package/build/cjs/surfaces/admin/components/MoneyField/MoneyField.js +9 -0
- package/build/cjs/surfaces/admin/components/Paragraph/Paragraph.js +9 -0
- package/build/cjs/surfaces/admin/components/ProgressIndicator/ProgressIndicator.js +9 -0
- package/build/cjs/surfaces/admin.js +26 -2
- package/build/cjs/surfaces/checkout/components/Choice/Choice.js +1 -0
- package/build/cjs/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.js +9 -0
- package/build/cjs/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.js +9 -0
- package/build/cjs/surfaces/checkout/components/LoginWithShop/LoginWithShop.js +9 -0
- package/build/cjs/surfaces/checkout/components/Map/Map.js +13 -0
- package/build/cjs/surfaces/checkout/components/MapMarker/MapMarker.js +12 -0
- package/build/cjs/surfaces/checkout/components/MapPopover/MapPopover.js +12 -0
- package/build/cjs/surfaces/checkout/components/PaymentIcon/PaymentIcon.js +11 -0
- package/build/cjs/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.js +9 -0
- package/build/cjs/surfaces/checkout/components/ToggleButton/ToggleButton.js +12 -0
- package/build/cjs/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.js +14 -0
- package/build/cjs/surfaces/checkout.js +20 -0
- package/build/cjs/surfaces/customer-account/components/Card/Card.js +9 -0
- package/build/cjs/surfaces/customer-account.js +12 -0
- package/build/cjs/surfaces/point-of-sale/components/Badge/Badge.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Banner/Banner.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Button/Button.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/CameraScanner/CameraScanner.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/DateField/DateField.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/DatePicker/DatePicker.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Dialog/Dialog.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/EmailField/EmailField.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Icon/Icon.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Image/Image.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/List/List.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Navigator/Navigator.js +13 -0
- package/build/cjs/surfaces/point-of-sale/components/NumberField/NumberField.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/PinPad/PinPad.js +14 -0
- package/build/cjs/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Screen/Screen.js +13 -0
- package/build/cjs/surfaces/point-of-sale/components/ScrollView/ScrollView.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/SearchBar/SearchBar.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Section/Section.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Selectable/Selectable.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Stack/Stack.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Stepper/Stepper.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Text/Text.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/TextArea/TextArea.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/TextField/TextField.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/Tile/Tile.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/TimeField/TimeField.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/TimePicker/TimePicker.js +9 -0
- package/build/cjs/surfaces/point-of-sale/extension.js +23 -0
- package/build/cjs/surfaces/point-of-sale.js +70 -0
- package/build/esm/surfaces/admin/components/Badge/Badge.mjs +5 -0
- package/build/esm/surfaces/admin/components/Banner/Banner.mjs +5 -0
- package/build/esm/surfaces/admin/components/Card/Card.mjs +5 -0
- package/build/esm/surfaces/admin/components/ChoiceList/ChoiceList.mjs +5 -0
- package/build/esm/surfaces/admin/components/ColorPicker/ColorPicker.mjs +5 -0
- package/build/esm/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.mjs +13 -0
- package/build/esm/surfaces/admin/components/DateField/DateField.mjs +5 -0
- package/build/esm/surfaces/admin/components/DatePicker/DatePicker.mjs +5 -0
- package/build/esm/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.mjs +8 -0
- package/build/esm/surfaces/admin/components/InternalLocationList/InternalLocationList.mjs +5 -0
- package/build/esm/surfaces/admin/components/MoneyField/MoneyField.mjs +5 -0
- package/build/esm/surfaces/admin/components/Paragraph/Paragraph.mjs +5 -0
- package/build/esm/surfaces/admin/components/ProgressIndicator/ProgressIndicator.mjs +5 -0
- package/build/esm/surfaces/admin.mjs +13 -1
- package/build/esm/surfaces/checkout/components/Choice/Choice.mjs +1 -0
- package/build/esm/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.mjs +5 -0
- package/build/esm/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.mjs +5 -0
- package/build/esm/surfaces/checkout/components/LoginWithShop/LoginWithShop.mjs +5 -0
- package/build/esm/surfaces/checkout/components/Map/Map.mjs +9 -0
- package/build/esm/surfaces/checkout/components/MapMarker/MapMarker.mjs +8 -0
- package/build/esm/surfaces/checkout/components/MapPopover/MapPopover.mjs +8 -0
- package/build/esm/surfaces/checkout/components/PaymentIcon/PaymentIcon.mjs +7 -0
- package/build/esm/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.mjs +5 -0
- package/build/esm/surfaces/checkout/components/ToggleButton/ToggleButton.mjs +8 -0
- package/build/esm/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.mjs +10 -0
- package/build/esm/surfaces/checkout.mjs +10 -0
- package/build/esm/surfaces/customer-account/components/Card/Card.mjs +5 -0
- package/build/esm/surfaces/customer-account.mjs +6 -0
- package/build/esm/surfaces/point-of-sale/components/Badge/Badge.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Banner/Banner.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Button/Button.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/CameraScanner/CameraScanner.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/DateField/DateField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/DatePicker/DatePicker.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Dialog/Dialog.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/EmailField/EmailField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Icon/Icon.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Image/Image.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/List/List.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Navigator/Navigator.mjs +9 -0
- package/build/esm/surfaces/point-of-sale/components/NumberField/NumberField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/PinPad/PinPad.mjs +10 -0
- package/build/esm/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Screen/Screen.mjs +9 -0
- package/build/esm/surfaces/point-of-sale/components/ScrollView/ScrollView.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/SearchBar/SearchBar.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Section/Section.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Selectable/Selectable.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Stack/Stack.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Stepper/Stepper.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Text/Text.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/TextArea/TextArea.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/TextField/TextField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/Tile/Tile.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/TimeField/TimeField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/TimePicker/TimePicker.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/extension.mjs +18 -0
- package/build/esm/surfaces/point-of-sale.mjs +31 -0
- package/build/esnext/surfaces/admin/components/Badge/Badge.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Banner/Banner.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Card/Card.esnext +5 -0
- package/build/esnext/surfaces/admin/components/ChoiceList/ChoiceList.esnext +5 -0
- package/build/esnext/surfaces/admin/components/ColorPicker/ColorPicker.esnext +5 -0
- package/build/esnext/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.esnext +13 -0
- package/build/esnext/surfaces/admin/components/DateField/DateField.esnext +5 -0
- package/build/esnext/surfaces/admin/components/DatePicker/DatePicker.esnext +5 -0
- package/build/esnext/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.esnext +8 -0
- package/build/esnext/surfaces/admin/components/InternalLocationList/InternalLocationList.esnext +5 -0
- package/build/esnext/surfaces/admin/components/MoneyField/MoneyField.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Paragraph/Paragraph.esnext +5 -0
- package/build/esnext/surfaces/admin/components/ProgressIndicator/ProgressIndicator.esnext +5 -0
- package/build/esnext/surfaces/admin.esnext +13 -1
- package/build/esnext/surfaces/checkout/components/Choice/Choice.esnext +1 -0
- package/build/esnext/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.esnext +5 -0
- package/build/esnext/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.esnext +5 -0
- package/build/esnext/surfaces/checkout/components/LoginWithShop/LoginWithShop.esnext +5 -0
- package/build/esnext/surfaces/checkout/components/Map/Map.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/MapMarker/MapMarker.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/MapPopover/MapPopover.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/PaymentIcon/PaymentIcon.esnext +7 -0
- package/build/esnext/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.esnext +5 -0
- package/build/esnext/surfaces/checkout/components/ToggleButton/ToggleButton.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.esnext +10 -0
- package/build/esnext/surfaces/checkout.esnext +10 -0
- package/build/esnext/surfaces/customer-account/components/Card/Card.esnext +5 -0
- package/build/esnext/surfaces/customer-account.esnext +6 -0
- package/build/esnext/surfaces/point-of-sale/components/Badge/Badge.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Banner/Banner.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Button/Button.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/CameraScanner/CameraScanner.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/DateField/DateField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/DatePicker/DatePicker.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Dialog/Dialog.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/EmailField/EmailField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Icon/Icon.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Image/Image.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/List/List.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Navigator/Navigator.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale/components/NumberField/NumberField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/PinPad/PinPad.esnext +10 -0
- package/build/esnext/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Screen/Screen.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale/components/ScrollView/ScrollView.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/SearchBar/SearchBar.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Section/Section.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Selectable/Selectable.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Stack/Stack.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Stepper/Stepper.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Text/Text.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/TextArea/TextArea.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/TextField/TextField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/Tile/Tile.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/TimeField/TimeField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/TimePicker/TimePicker.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/extension.esnext +18 -0
- package/build/esnext/surfaces/point-of-sale.esnext +31 -0
- package/build/ts/shared.d.ts +1 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/{customer-segmentation-template/customer-segmentation-template.d.ts → customer-segment-template/customer-segment-template.d.ts} +3 -3
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/extension-targets/extension-targets.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +20 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +18 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +9 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +2 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.d.ts +7 -3
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts +4 -2
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge/Badge.d.ts +36 -0
- package/build/ts/surfaces/admin/components/Badge/Badge.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Banner/Banner.d.ts +34 -0
- package/build/ts/surfaces/admin/components/Banner/Banner.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.d.ts +3 -7
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button/Button.d.ts +10 -0
- package/build/ts/surfaces/admin/components/Button/Button.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Card/Card.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Card/Card.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Card/Card.doc-skip.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Card/Card.doc-skip.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.d.ts +2 -6
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.d.ts +20 -0
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.d.ts +39 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.d.ts +44 -0
- package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.d.ts +10 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.d.ts +87 -0
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Divider/Divider.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/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Icon/Icon.d.ts +13 -2
- package/build/ts/surfaces/admin/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.d.ts +2 -8
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.d.ts +30 -0
- package/build/ts/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/InternalLocationList/InternalLocationList.d.ts +61 -0
- package/build/ts/surfaces/admin/components/InternalLocationList/InternalLocationList.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Link/Link.d.ts +2 -6
- package/build/ts/surfaces/admin/components/Link/Link.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.d.ts +10 -0
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts +2 -27
- package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.d.ts +10 -0
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Pressable/Pressable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.d.ts +30 -0
- package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts +5 -0
- package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text/Text.d.ts +1 -62
- package/build/ts/surfaces/admin/components/Text/Text.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared/index.d.ts +143 -0
- package/build/ts/surfaces/admin/components/shared/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components.d.ts +26 -2
- package/build/ts/surfaces/admin/components.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +67 -18
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +6 -6
- package/build/ts/surfaces/checkout/api/docs.d.ts +70 -0
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -0
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +5 -1
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +9 -0
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +125 -21
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api.d.ts +2 -1
- package/build/ts/surfaces/checkout/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +5 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +26 -0
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.d.ts +12 -4
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts +15 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts +16 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +2 -4
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/LoginWithShop/LoginWithShop.d.ts +19 -0
- package/build/ts/surfaces/checkout/components/LoginWithShop/LoginWithShop.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map/Map.d.ts +76 -0
- package/build/ts/surfaces/checkout/components/Map/Map.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts +23 -0
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts +3 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts +5 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +1 -3
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts +4 -2
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.d.ts +28 -0
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +29 -0
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/View/View.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/shared.d.ts +23 -15
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components.d.ts +20 -0
- package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets.d.ts +105 -50
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +15 -4
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Card/Card.d.ts +14 -0
- package/build/ts/surfaces/customer-account/components/Card/Card.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Card/index.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/Card/index.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/index.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/index.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/targets.d.ts +4 -4
- package/build/ts/surfaces/customer-account.d.ts +1 -1
- package/build/ts/surfaces/customer-account.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +113 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +58 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +27 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts +101 -0
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/api/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/api/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/product.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/api/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/session.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts +35 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +106 -0
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts +46 -0
- package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts +43 -0
- package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollView/ScrollView.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollView/ScrollView.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Spacing/Spacing.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/Spacing/Spacing.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/shared/auto-capitalization-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/shared/auto-capitalization-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/extension.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/shared.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/shared.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets.d.ts +54 -0
- package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -3
- package/src/shared.ts +1 -1
- package/src/surfaces/admin/api/action/action.doc.ts +2 -2
- package/src/surfaces/admin/api/block/block.doc.ts +2 -2
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.ts +20 -0
- package/src/surfaces/admin/api/{customer-segmentation-template/customer-segmentation-template.ts → customer-segment-template/customer-segment-template.ts} +3 -5
- package/src/surfaces/admin/api/extension-targets/extension-targets.doc.ts +0 -1
- package/src/surfaces/admin/api/order-routing-rule/data.ts +21 -0
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +67 -0
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +11 -0
- package/src/surfaces/admin/api/standard/standard.doc.ts +0 -1
- package/src/surfaces/admin/api.ts +2 -1
- package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +0 -1
- package/src/surfaces/admin/components/AdminAction/AdminAction.ts +8 -3
- package/src/surfaces/admin/components/AdminBlock/AdminBlock.doc.ts +0 -1
- package/src/surfaces/admin/components/AdminBlock/AdminBlock.ts +4 -2
- package/src/surfaces/admin/components/AdminBlock/examples/basic-adminblock.example.ts +0 -1
- package/src/surfaces/admin/components/Badge/Badge.doc.ts +42 -0
- package/src/surfaces/admin/components/Badge/Badge.ts +36 -0
- package/src/surfaces/admin/components/Badge/examples/basic-Badge.example.ts +11 -0
- package/src/surfaces/admin/components/Banner/Banner.doc.ts +42 -0
- package/src/surfaces/admin/components/Banner/Banner.ts +33 -0
- package/src/surfaces/admin/components/Banner/examples/basic-Banner.example.ts +11 -0
- package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +0 -1
- package/src/surfaces/admin/components/BlockStack/BlockStack.ts +2 -5
- package/src/surfaces/admin/components/Box/Box.doc.ts +0 -1
- package/src/surfaces/admin/components/Button/Button.doc.ts +0 -1
- package/src/surfaces/admin/components/Button/Button.ts +12 -0
- package/src/surfaces/admin/components/Card/Card.doc-skip.ts +42 -0
- package/src/surfaces/admin/components/Card/Card.ts +13 -0
- package/src/surfaces/admin/components/Card/examples/basic-card.example.ts +11 -0
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +0 -1
- package/src/surfaces/admin/components/Checkbox/Checkbox.ts +2 -7
- package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +48 -0
- package/src/surfaces/admin/components/ChoiceList/ChoiceList.ts +36 -0
- package/src/surfaces/admin/components/ChoiceList/examples/basic-ChoiceList.example.ts +23 -0
- package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +47 -0
- package/src/surfaces/admin/components/ColorPicker/ColorPicker.ts +43 -0
- package/src/surfaces/admin/components/ColorPicker/examples/basic-ColorPicker.example.ts +19 -0
- package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +42 -0
- package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.ts +45 -0
- package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.ts +17 -0
- package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.tsx +15 -0
- package/src/surfaces/admin/components/DateField/DateField.doc.ts +83 -0
- package/src/surfaces/admin/components/DateField/DateField.ts +26 -0
- package/src/surfaces/admin/components/DateField/examples/basic-datefield.example.ts +11 -0
- package/src/surfaces/admin/components/DateField/examples/multiple-datefield.example.ts +11 -0
- package/src/surfaces/admin/components/DateField/examples/range-datefield.example.ts +11 -0
- package/src/surfaces/admin/components/DatePicker/DatePicker.doc.ts +83 -0
- package/src/surfaces/admin/components/DatePicker/DatePicker.ts +100 -0
- package/src/surfaces/admin/components/DatePicker/examples/basic-datepicker.example.ts +11 -0
- package/src/surfaces/admin/components/DatePicker/examples/multiple-datepicker.example.ts +11 -0
- package/src/surfaces/admin/components/DatePicker/examples/range-datepicker.example.ts +11 -0
- package/src/surfaces/admin/components/Divider/Divider.doc.ts +0 -1
- package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +0 -1
- package/src/surfaces/admin/components/Form/Form.doc.ts +1 -2
- package/src/surfaces/admin/components/Heading/Heading.doc.ts +0 -1
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +0 -1
- package/src/surfaces/admin/components/Icon/Icon.doc.ts +0 -6
- package/src/surfaces/admin/components/Icon/Icon.ts +4 -10
- package/src/surfaces/admin/components/Image/Image.doc.ts +0 -1
- package/src/surfaces/admin/components/InlineStack/InlineStack.doc.ts +0 -1
- package/src/surfaces/admin/components/InlineStack/InlineStack.ts +2 -7
- package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.ts +68 -0
- package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/examples/InternalCustomerSegmentTemplate.example.ts +45 -0
- package/src/surfaces/admin/components/InternalLocationList/InternalLocationList.ts +76 -0
- package/src/surfaces/admin/components/Link/Link.doc.ts +0 -1
- package/src/surfaces/admin/components/Link/Link.ts +2 -7
- package/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts +47 -0
- package/src/surfaces/admin/components/MoneyField/MoneyField.ts +22 -0
- package/src/surfaces/admin/components/MoneyField/README.md +3 -0
- package/src/surfaces/admin/components/MoneyField/examples/basic-moneyfield.example.ts +9 -0
- package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +0 -1
- package/src/surfaces/admin/components/NumberField/NumberField.ts +2 -28
- package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +48 -0
- package/src/surfaces/admin/components/Paragraph/Paragraph.ts +10 -0
- package/src/surfaces/admin/components/Paragraph/README.md +7 -0
- package/src/surfaces/admin/components/Paragraph/examples/basic-paragraph.example.ts +10 -0
- package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +0 -1
- package/src/surfaces/admin/components/Pressable/Pressable.doc.ts +0 -1
- package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +48 -0
- package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.ts +32 -0
- package/src/surfaces/admin/components/ProgressIndicator/examples/basic-ProgressIndicator.example.ts +18 -0
- package/src/surfaces/admin/components/Select/Select.doc.ts +0 -1
- package/src/surfaces/admin/components/Text/Text.doc.ts +0 -1
- package/src/surfaces/admin/components/Text/Text.ts +7 -84
- package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +0 -1
- package/src/surfaces/admin/components/TextField/TextField.doc.ts +0 -1
- package/src/surfaces/admin/components/URLField/URLField.doc.ts +0 -1
- package/src/surfaces/admin/components/shared/index.ts +349 -0
- package/src/surfaces/admin/components.ts +30 -2
- package/src/surfaces/admin/extension-targets.ts +96 -21
- package/src/surfaces/checkout/api/checkout/checkout.ts +6 -6
- package/src/surfaces/checkout/api/docs.ts +99 -0
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +6 -0
- package/src/surfaces/checkout/api/redeemable/redeemable.ts +6 -1
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +10 -0
- package/src/surfaces/checkout/api/standard/standard.ts +141 -20
- package/src/surfaces/checkout/api.ts +2 -0
- package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +3 -1
- package/src/surfaces/checkout/components/Choice/Choice.ts +23 -1
- package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +6 -17
- package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +48 -8
- package/src/surfaces/checkout/components/ChoiceList/ChoiceList.ts +12 -4
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +68 -37
- package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.ts +72 -0
- package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.ts +17 -0
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.ts +11 -0
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/with-consent-phone-field-consent-checkbox.example.ts +43 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.ts +72 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.ts +19 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.ts +10 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/with-consent-checkbox-consent-phone-field.example.ts +43 -0
- package/src/surfaces/checkout/components/Grid/Grid.ts +3 -1
- package/src/surfaces/checkout/components/GridItem/GridItem.ts +3 -1
- package/src/surfaces/checkout/components/Icon/Icon.ts +3 -3
- package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +3 -1
- package/src/surfaces/checkout/components/LoginWithShop/LoginWithShop.ts +22 -0
- package/src/surfaces/checkout/components/Map/Map.doc.ts +54 -0
- package/src/surfaces/checkout/components/Map/Map.ts +99 -0
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.ts +13 -0
- package/src/surfaces/checkout/components/MapMarker/MapMarker.doc.ts +62 -0
- package/src/surfaces/checkout/components/MapMarker/MapMarker.ts +47 -0
- package/src/surfaces/checkout/components/MapMarker/examples/basic-mapmarker.example.ts +23 -0
- package/src/surfaces/checkout/components/MapPopover/MapPopover.doc.ts +62 -0
- package/src/surfaces/checkout/components/MapPopover/MapPopover.ts +21 -0
- package/src/surfaces/checkout/components/MapPopover/examples/basic-mappopover.example.ts +36 -0
- package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.ts +55 -0
- package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.ts +481 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.ts +7 -0
- package/src/surfaces/checkout/components/Pressable/Pressable.ts +3 -1
- package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.ts +50 -0
- package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.ts +86 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.ts +11 -0
- package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +9 -2
- package/src/surfaces/checkout/components/Select/Select.doc.ts +26 -0
- package/src/surfaces/checkout/components/Select/examples/time-picking-select.example.ts +36 -0
- package/src/surfaces/checkout/components/Text/Text.ts +7 -1
- package/src/surfaces/checkout/components/TextBlock/TextBlock.ts +7 -1
- package/src/surfaces/checkout/components/ToggleButton/ToggleButton.doc.ts +48 -0
- package/src/surfaces/checkout/components/ToggleButton/ToggleButton.ts +29 -0
- package/src/surfaces/checkout/components/ToggleButton/examples/basic-togglebutton.example.ts +20 -0
- package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.ts +80 -0
- package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.ts +30 -0
- package/src/surfaces/checkout/components/ToggleButtonGroup/examples/basic-togglebuttongroup.example.ts +76 -0
- package/src/surfaces/checkout/components/View/View.ts +3 -1
- package/src/surfaces/checkout/components/shared.ts +26 -25
- package/src/surfaces/checkout/components.ts +41 -0
- package/src/surfaces/checkout/helper.docs.ts +34 -0
- package/src/surfaces/checkout/targets.ts +149 -51
- package/src/surfaces/customer-account/api/order-status/order-status.ts +18 -4
- package/src/surfaces/customer-account/api.ts +1 -0
- package/src/surfaces/customer-account/components/Card/Card.ts +12 -0
- package/src/surfaces/customer-account/components/Card/index.ts +2 -0
- package/src/surfaces/customer-account/components/index.ts +2 -0
- package/src/surfaces/customer-account/components/shared-checkout-components.ts +154 -0
- package/src/surfaces/customer-account/targets.ts +4 -4
- package/src/surfaces/customer-account.ts +1 -1
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +168 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +80 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +30 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +12 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +17 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/types/cart.ts +107 -0
- package/src/surfaces/point-of-sale/api/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/api/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/api/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/api/types/product.ts +62 -0
- package/src/surfaces/point-of-sale/api/types/session.ts +27 -0
- package/src/surfaces/point-of-sale/api.ts +79 -0
- package/src/surfaces/point-of-sale/components/Badge/Badge.ts +18 -0
- package/src/surfaces/point-of-sale/components/Banner/Banner.ts +39 -0
- package/src/surfaces/point-of-sale/components/Button/Button.ts +13 -0
- package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +8 -0
- package/src/surfaces/point-of-sale/components/DateField/DateField.ts +20 -0
- package/src/surfaces/point-of-sale/components/DatePicker/DatePicker.ts +12 -0
- package/src/surfaces/point-of-sale/components/Dialog/Dialog.ts +17 -0
- package/src/surfaces/point-of-sale/components/EmailField/EmailField.ts +8 -0
- package/src/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.ts +16 -0
- package/src/surfaces/point-of-sale/components/Icon/Icon.ts +93 -0
- package/src/surfaces/point-of-sale/components/Image/Image.ts +7 -0
- package/src/surfaces/point-of-sale/components/List/List.ts +110 -0
- package/src/surfaces/point-of-sale/components/Navigator/Navigator.ts +12 -0
- package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +20 -0
- package/src/surfaces/point-of-sale/components/PinPad/PinPad.ts +47 -0
- package/src/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.ts +13 -0
- package/src/surfaces/point-of-sale/components/Screen/Screen.ts +43 -0
- package/src/surfaces/point-of-sale/components/ScrollView/ScrollView.ts +3 -0
- package/src/surfaces/point-of-sale/components/SearchBar/SearchBar.ts +14 -0
- package/src/surfaces/point-of-sale/components/Section/Section.ts +15 -0
- package/src/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.ts +18 -0
- package/src/surfaces/point-of-sale/components/Selectable/Selectable.ts +10 -0
- package/src/surfaces/point-of-sale/components/Spacing/Spacing.ts +16 -0
- package/src/surfaces/point-of-sale/components/Stack/Stack.ts +37 -0
- package/src/surfaces/point-of-sale/components/Stepper/Stepper.ts +39 -0
- package/src/surfaces/point-of-sale/components/Text/Text.ts +28 -0
- package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +15 -0
- package/src/surfaces/point-of-sale/components/TextField/TextField.ts +47 -0
- package/src/surfaces/point-of-sale/components/Tile/Tile.ts +12 -0
- package/src/surfaces/point-of-sale/components/TimeField/TimeField.ts +22 -0
- package/src/surfaces/point-of-sale/components/TimePicker/TimePicker.ts +13 -0
- package/src/surfaces/point-of-sale/components/shared/BaseTextField.ts +9 -0
- package/src/surfaces/point-of-sale/components/shared/InputField.ts +61 -0
- package/src/surfaces/point-of-sale/components/shared/auto-capitalization-type.ts +5 -0
- package/src/surfaces/point-of-sale/components.ts +104 -0
- package/src/surfaces/point-of-sale/extension.ts +21 -0
- package/src/surfaces/point-of-sale/globals.ts +18 -0
- package/src/surfaces/point-of-sale/shared.ts +6 -0
- package/src/surfaces/point-of-sale/targets.ts +87 -0
- package/src/surfaces/point-of-sale.ts +6 -0
- package/build/cjs/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.js +0 -12
- package/build/esm/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.mjs +0 -8
- package/build/esnext/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.esnext +0 -8
- package/build/ts/surfaces/admin/api/customer-segmentation-template/customer-segmentation-template.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.d.ts +0 -27
- package/build/ts/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.d.ts.map +0 -1
- package/src/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.ts +0 -68
- package/src/surfaces/admin/components/CustomerSegmentationTemplate/examples/CustomerSegmentationTemplate.example.ts +0 -37
- package/src/surfaces/checkout/style/examples/.eslintrc.js +0 -8
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
// Copied from https://github.com/Shopify/ui-api-design/blob/main/components/PaymentIcon/PaymentIcon.ts
|
|
4
|
+
export type PaymentMethod =
|
|
5
|
+
| 'visa'
|
|
6
|
+
| 'master'
|
|
7
|
+
| 'discover'
|
|
8
|
+
| 'american-express'
|
|
9
|
+
| 'diners-club'
|
|
10
|
+
| 'cartes-bancaires'
|
|
11
|
+
| 'ing-homepay'
|
|
12
|
+
| 'jcb'
|
|
13
|
+
| 'rupay'
|
|
14
|
+
| 'ethereum'
|
|
15
|
+
| 'bitcoin'
|
|
16
|
+
| 'monero'
|
|
17
|
+
| 'dogecoin'
|
|
18
|
+
| 'litecoin'
|
|
19
|
+
| 'bitcoin-cash'
|
|
20
|
+
| 'dash'
|
|
21
|
+
| 'eos'
|
|
22
|
+
| 'dai'
|
|
23
|
+
| 'usdc'
|
|
24
|
+
| 'apecoin'
|
|
25
|
+
| 'solanapay'
|
|
26
|
+
| 'bnbchain'
|
|
27
|
+
| 'polygon'
|
|
28
|
+
| 'depay'
|
|
29
|
+
| 'busd'
|
|
30
|
+
| 'gusd'
|
|
31
|
+
| 'shib'
|
|
32
|
+
| 'usdp'
|
|
33
|
+
| 'wbtc'
|
|
34
|
+
| 'xrp'
|
|
35
|
+
| 'amazon'
|
|
36
|
+
| 'boleto'
|
|
37
|
+
| 'kbc-cbc'
|
|
38
|
+
| 'sepa-bank-transfer'
|
|
39
|
+
| 'dankort'
|
|
40
|
+
| 'belfius'
|
|
41
|
+
| 'dwolla'
|
|
42
|
+
| 'tensile'
|
|
43
|
+
| 'forbrugsforeningen'
|
|
44
|
+
| 'giropay'
|
|
45
|
+
| 'google-pay'
|
|
46
|
+
| 'google-wallet'
|
|
47
|
+
| 'opay'
|
|
48
|
+
| 'laser'
|
|
49
|
+
| 'paypal'
|
|
50
|
+
| 'venmo'
|
|
51
|
+
| 'sofort'
|
|
52
|
+
| 'maestro'
|
|
53
|
+
| 'unionpay'
|
|
54
|
+
| 'visa-electron'
|
|
55
|
+
| 'payfast-instant-eft'
|
|
56
|
+
| 'mobicred'
|
|
57
|
+
| 'payd'
|
|
58
|
+
| 'airtel-money'
|
|
59
|
+
| 'freecharge'
|
|
60
|
+
| 'ola-money'
|
|
61
|
+
| 'paytm'
|
|
62
|
+
| 'mobikwik'
|
|
63
|
+
| 'payzapp'
|
|
64
|
+
| 'netbanking'
|
|
65
|
+
| 'paysera'
|
|
66
|
+
| 'citadele'
|
|
67
|
+
| 'danske-bank'
|
|
68
|
+
| 'krediidipank'
|
|
69
|
+
| 'lhv'
|
|
70
|
+
| 'op'
|
|
71
|
+
| 'nordea'
|
|
72
|
+
| 'seb'
|
|
73
|
+
| 'swedbank'
|
|
74
|
+
| 'dnb'
|
|
75
|
+
| 'pps'
|
|
76
|
+
| 'pivo'
|
|
77
|
+
| 'masterpass'
|
|
78
|
+
| 'mobilepay'
|
|
79
|
+
| 'viabill'
|
|
80
|
+
| 'novuna'
|
|
81
|
+
| 'divido'
|
|
82
|
+
| 'duologi'
|
|
83
|
+
| 'klarna'
|
|
84
|
+
| 'klarna-pay-now'
|
|
85
|
+
| 'klarna-pay-later'
|
|
86
|
+
| 'klarna-slice-it'
|
|
87
|
+
| 'santander'
|
|
88
|
+
| 'flexiti'
|
|
89
|
+
| 'elv'
|
|
90
|
+
| 'astrapay'
|
|
91
|
+
| 'ideal'
|
|
92
|
+
| 'interac'
|
|
93
|
+
| 'arvato'
|
|
94
|
+
| 'swish'
|
|
95
|
+
| 'ratepay'
|
|
96
|
+
| 'przelew24'
|
|
97
|
+
| 'epayments'
|
|
98
|
+
| 'paysafecard'
|
|
99
|
+
| 'laybuy'
|
|
100
|
+
| 'sezzle'
|
|
101
|
+
| 'familymart'
|
|
102
|
+
| '7-eleven'
|
|
103
|
+
| 'lawson'
|
|
104
|
+
| 'circle-k'
|
|
105
|
+
| 'ministop'
|
|
106
|
+
| 'sunkus'
|
|
107
|
+
| 'daily-yamazaki'
|
|
108
|
+
| 'mondido'
|
|
109
|
+
| 'collector-bank'
|
|
110
|
+
| 'apple-pay'
|
|
111
|
+
| 'shopify-pay'
|
|
112
|
+
| 'trustly'
|
|
113
|
+
| 'ambank'
|
|
114
|
+
| 'cimb'
|
|
115
|
+
| 'hong-leong-bank'
|
|
116
|
+
| 'maybank'
|
|
117
|
+
| 'public-bank'
|
|
118
|
+
| 'rhb-bank'
|
|
119
|
+
| 'paymark-online-eftpos'
|
|
120
|
+
| 'esr-paymentslip-switzerland'
|
|
121
|
+
| 'twint'
|
|
122
|
+
| 'elo'
|
|
123
|
+
| 'hyper'
|
|
124
|
+
| 'hypercard'
|
|
125
|
+
| 'fpx'
|
|
126
|
+
| 'atm-bersama'
|
|
127
|
+
| 'bancnet'
|
|
128
|
+
| 'eghl'
|
|
129
|
+
| 'unipay'
|
|
130
|
+
| 'mash'
|
|
131
|
+
| 'jousto'
|
|
132
|
+
| 'vipps'
|
|
133
|
+
| 'krungsri'
|
|
134
|
+
| 'uob'
|
|
135
|
+
| 'siam-commercial'
|
|
136
|
+
| 'enets'
|
|
137
|
+
| 'grabpay'
|
|
138
|
+
| 'eft-secure'
|
|
139
|
+
| 'mpesa'
|
|
140
|
+
| 'ovo'
|
|
141
|
+
| 'mode'
|
|
142
|
+
| 'wechat-pay'
|
|
143
|
+
| 'spraypay'
|
|
144
|
+
| 'bancontact'
|
|
145
|
+
| 'in3'
|
|
146
|
+
| 'v-pay'
|
|
147
|
+
| 'ebucks'
|
|
148
|
+
| 'pagoefectivo'
|
|
149
|
+
| 'ozow'
|
|
150
|
+
| 'eps'
|
|
151
|
+
| 'affin-bank'
|
|
152
|
+
| 'alliance-bank'
|
|
153
|
+
| 'atobaraidotcom'
|
|
154
|
+
| 'bank-islam'
|
|
155
|
+
| 'bank-muamalat'
|
|
156
|
+
| 'bank-rakyat'
|
|
157
|
+
| 'bsn'
|
|
158
|
+
| 'cimb-clicks'
|
|
159
|
+
| 'deutsche-bank'
|
|
160
|
+
| 'hong-leong-connect'
|
|
161
|
+
| 'hsbc'
|
|
162
|
+
| 'kuwait-finance-house'
|
|
163
|
+
| 'maybankm2u'
|
|
164
|
+
| 'ocbc-bank'
|
|
165
|
+
| 'publicbank-pbe'
|
|
166
|
+
| 'rhb-now'
|
|
167
|
+
| 'standard-chartered'
|
|
168
|
+
| 'afterpay'
|
|
169
|
+
| 'clearpay'
|
|
170
|
+
| 'cash-app-pay'
|
|
171
|
+
| 'smartpay'
|
|
172
|
+
| 'zapper'
|
|
173
|
+
| 'payconiq'
|
|
174
|
+
| 'paidy'
|
|
175
|
+
| 'twig-pay'
|
|
176
|
+
| 'stc-pay'
|
|
177
|
+
| 'paynow'
|
|
178
|
+
| 'bc-card'
|
|
179
|
+
| 'hana-card'
|
|
180
|
+
| 'hyundai-card'
|
|
181
|
+
| 'kb-card'
|
|
182
|
+
| 'lotte-card'
|
|
183
|
+
| 'nh-card'
|
|
184
|
+
| 'samsung-card'
|
|
185
|
+
| 'shinhan-card'
|
|
186
|
+
| 'kakao-pay'
|
|
187
|
+
| 'kakebaraidotcom'
|
|
188
|
+
| 'naver-pay'
|
|
189
|
+
| 'payco'
|
|
190
|
+
| 'samsung-pay'
|
|
191
|
+
| 'toss'
|
|
192
|
+
| 'coop'
|
|
193
|
+
| 'luminor'
|
|
194
|
+
| 'bdo'
|
|
195
|
+
| 'bpi'
|
|
196
|
+
| 'gcash'
|
|
197
|
+
| 'afterpay-paynl-version'
|
|
198
|
+
| 'naps'
|
|
199
|
+
| 'benefit'
|
|
200
|
+
| 'sadad'
|
|
201
|
+
| 'mada'
|
|
202
|
+
| 'kfast'
|
|
203
|
+
| 'knet'
|
|
204
|
+
| 'uae-visa'
|
|
205
|
+
| 'fps'
|
|
206
|
+
| 'line-pay'
|
|
207
|
+
| 'rakuten-pay'
|
|
208
|
+
| 'pay-easy'
|
|
209
|
+
| 'merpay'
|
|
210
|
+
| 'softbank'
|
|
211
|
+
| 'givacard'
|
|
212
|
+
| 'ymobile'
|
|
213
|
+
| 'mtn-mobile-money'
|
|
214
|
+
| 'fashioncheque'
|
|
215
|
+
| 'airteltigo-mobile-money'
|
|
216
|
+
| 'tendopay'
|
|
217
|
+
| 'coinsph'
|
|
218
|
+
| 'payu'
|
|
219
|
+
| 'd-barai'
|
|
220
|
+
| 'docomo-barai'
|
|
221
|
+
| 'pay-pay'
|
|
222
|
+
| 'blik'
|
|
223
|
+
| 'billink'
|
|
224
|
+
| 'au-kantan-kessai'
|
|
225
|
+
| 'mb-way'
|
|
226
|
+
| 'latitude-creditline-au'
|
|
227
|
+
| 'latitude-gem-au'
|
|
228
|
+
| 'latitude-gem-nz'
|
|
229
|
+
| 'latitude-go-au'
|
|
230
|
+
| 'mb'
|
|
231
|
+
| 'bogus-app-coin'
|
|
232
|
+
| 'postfinance-card'
|
|
233
|
+
| 'postfinance-efinance'
|
|
234
|
+
| 'alipay'
|
|
235
|
+
| 'alipay-hk'
|
|
236
|
+
| 'ask'
|
|
237
|
+
| 'paymaya'
|
|
238
|
+
| 'maya'
|
|
239
|
+
| 'maya-bank'
|
|
240
|
+
| 'qr-promptpay'
|
|
241
|
+
| 'rcs'
|
|
242
|
+
| 'bangkok-bank'
|
|
243
|
+
| 'kasikornbank'
|
|
244
|
+
| 'krungthai-bank'
|
|
245
|
+
| 'thanachart-bank'
|
|
246
|
+
| 'uob-thai'
|
|
247
|
+
| 'bigc'
|
|
248
|
+
| 'boost'
|
|
249
|
+
| 'ecpay'
|
|
250
|
+
| 'maybank-qrpay'
|
|
251
|
+
| 'mcash'
|
|
252
|
+
| 'rabbit-line-pay'
|
|
253
|
+
| 'tesco-lotus'
|
|
254
|
+
| 'touch-n-go'
|
|
255
|
+
| 'payme'
|
|
256
|
+
| 'payflex'
|
|
257
|
+
| 'maxima'
|
|
258
|
+
| 'alfamart'
|
|
259
|
+
| 'alfamidi'
|
|
260
|
+
| 'dan-dan'
|
|
261
|
+
| 'indomaret'
|
|
262
|
+
| 'dana'
|
|
263
|
+
| 'linkaja'
|
|
264
|
+
| 'shopeepay'
|
|
265
|
+
| 'gopay'
|
|
266
|
+
| 'bca'
|
|
267
|
+
| 'bni'
|
|
268
|
+
| 'bri'
|
|
269
|
+
| 'mandiri'
|
|
270
|
+
| 'permata'
|
|
271
|
+
| 'bri-direct-debit'
|
|
272
|
+
| 'octo-clicks'
|
|
273
|
+
| 'brimo'
|
|
274
|
+
| 'danamon-online'
|
|
275
|
+
| 'bca-klikpay'
|
|
276
|
+
| 'akulaku'
|
|
277
|
+
| 'satispay'
|
|
278
|
+
| 'qrph'
|
|
279
|
+
| 'arhaus'
|
|
280
|
+
| 'generalfinancing'
|
|
281
|
+
| 'ubp'
|
|
282
|
+
| 'farmlands'
|
|
283
|
+
| 'qris'
|
|
284
|
+
| 'axs'
|
|
285
|
+
| 'sam'
|
|
286
|
+
| 'facebook-pay'
|
|
287
|
+
| 'meta-pay'
|
|
288
|
+
| 'kueski-pay'
|
|
289
|
+
| 'bread'
|
|
290
|
+
| 'bread-pay'
|
|
291
|
+
| 'payplan'
|
|
292
|
+
| 'nelo'
|
|
293
|
+
| 'vvv-giftcard'
|
|
294
|
+
| 'kunst-en-cultuur-cadeaukaart'
|
|
295
|
+
| 'nationale-bioscoopbon'
|
|
296
|
+
| 'nationale-entertainmentcard'
|
|
297
|
+
| 'podium-cadeaukaart'
|
|
298
|
+
| 'webshop-giftcard'
|
|
299
|
+
| 'billease'
|
|
300
|
+
| 'lku'
|
|
301
|
+
| 'rietumu'
|
|
302
|
+
| 'affirm'
|
|
303
|
+
| 'splitit'
|
|
304
|
+
| 'zip'
|
|
305
|
+
| 'humm'
|
|
306
|
+
| 'synchrony'
|
|
307
|
+
| 'satisfi'
|
|
308
|
+
| 'checkout-finance'
|
|
309
|
+
| 'n26'
|
|
310
|
+
| 'echelon-financing'
|
|
311
|
+
| 'acima-leasing'
|
|
312
|
+
| 'synchrony-pay'
|
|
313
|
+
| 'truemoney-pay'
|
|
314
|
+
| 'gmo-postpay'
|
|
315
|
+
| 'giftcard'
|
|
316
|
+
| 'siauliu-bankas'
|
|
317
|
+
| 'medicinos-bankas'
|
|
318
|
+
| 'epospay'
|
|
319
|
+
| 'poli'
|
|
320
|
+
| 'perlasfinance'
|
|
321
|
+
| 'directpay'
|
|
322
|
+
| 'latitudepay'
|
|
323
|
+
| 'genoapay'
|
|
324
|
+
| 'poppankki'
|
|
325
|
+
| 'revolut'
|
|
326
|
+
| 'aktia'
|
|
327
|
+
| 'saastopankki'
|
|
328
|
+
| 'spankki'
|
|
329
|
+
| 'walley'
|
|
330
|
+
| 'atone'
|
|
331
|
+
| 'addi'
|
|
332
|
+
| 'omasp'
|
|
333
|
+
| 'handelsbanken'
|
|
334
|
+
| 'alandsbanken'
|
|
335
|
+
| 'siirto'
|
|
336
|
+
| 'scalapay'
|
|
337
|
+
| 'aplazo'
|
|
338
|
+
| 'paybylink'
|
|
339
|
+
| 'snap-checkout'
|
|
340
|
+
| 'fairstone-payments'
|
|
341
|
+
| 'upi'
|
|
342
|
+
| 'sveaeramaksu'
|
|
343
|
+
| 'svea-part-payment'
|
|
344
|
+
| 'svea-delbetalning'
|
|
345
|
+
| 'svea-lasku'
|
|
346
|
+
| 'svea-invoice'
|
|
347
|
+
| 'svea-faktura'
|
|
348
|
+
| 'svea-yrityslasku'
|
|
349
|
+
| 'svea-b2b-invoice'
|
|
350
|
+
| 'svea-b2b-faktura'
|
|
351
|
+
| 'pix'
|
|
352
|
+
| 'wegetfinancing'
|
|
353
|
+
| 'anyday'
|
|
354
|
+
| 'cleverpay'
|
|
355
|
+
| 'payid'
|
|
356
|
+
| 'uangme'
|
|
357
|
+
| 'grailpay'
|
|
358
|
+
| 'payto'
|
|
359
|
+
| 'zinia'
|
|
360
|
+
| 'fortiva'
|
|
361
|
+
| 'fintecture'
|
|
362
|
+
| 'hello-clever'
|
|
363
|
+
| 'credit-key'
|
|
364
|
+
| 'palawa'
|
|
365
|
+
| 'palawan'
|
|
366
|
+
| 'kredivo'
|
|
367
|
+
| 'uob-ez-pay'
|
|
368
|
+
| 'akulaku-paylater'
|
|
369
|
+
| 'tandympayment'
|
|
370
|
+
| 'paytomorrow'
|
|
371
|
+
| 'bsi'
|
|
372
|
+
| 'clave-telered'
|
|
373
|
+
| 'credix'
|
|
374
|
+
| 'sinpe-movil'
|
|
375
|
+
| 'laybuy-heart'
|
|
376
|
+
| 'lydia'
|
|
377
|
+
| 'atome'
|
|
378
|
+
| 'creditclick-paynl-version'
|
|
379
|
+
| 'dropp'
|
|
380
|
+
| 'cebuana'
|
|
381
|
+
| 'futurepay-mytab'
|
|
382
|
+
| 'biercheque-paynl-version'
|
|
383
|
+
| 'swiftpay'
|
|
384
|
+
| 'linkpay'
|
|
385
|
+
| 'riverty-paynl-version'
|
|
386
|
+
| 'wechat-paynl-version'
|
|
387
|
+
| 'vvv-cadeaukaart-paynl-version'
|
|
388
|
+
| 'przelewy24-paynl-version'
|
|
389
|
+
| 'paysafecard-paynl-version'
|
|
390
|
+
| 'gezondheidsbon-paynl-version'
|
|
391
|
+
| 'fashion-giftcard-paynlversion'
|
|
392
|
+
| 'alipay-paynl-version'
|
|
393
|
+
| 'aftee'
|
|
394
|
+
| 'momopay'
|
|
395
|
+
| 'zalopay'
|
|
396
|
+
| 'finloup'
|
|
397
|
+
| 'billink-method'
|
|
398
|
+
| 'oxxo'
|
|
399
|
+
| 'spei'
|
|
400
|
+
| 'bbva-cie'
|
|
401
|
+
| 'alma'
|
|
402
|
+
| 'svea-ostukonto'
|
|
403
|
+
| 'svea-credit-account'
|
|
404
|
+
| 'biller-paynl-version'
|
|
405
|
+
| 'swissbilling'
|
|
406
|
+
| 'bizum'
|
|
407
|
+
| 'rcbc'
|
|
408
|
+
| 'inbank'
|
|
409
|
+
| 'ivy'
|
|
410
|
+
| 'zoodpay'
|
|
411
|
+
| 'valu'
|
|
412
|
+
| 'tabby'
|
|
413
|
+
| 'cliq'
|
|
414
|
+
| 'postpay'
|
|
415
|
+
| 'urpay'
|
|
416
|
+
| 'hypercash'
|
|
417
|
+
| 'fawry'
|
|
418
|
+
| 'spotii'
|
|
419
|
+
| 'tamara'
|
|
420
|
+
| 'aqsat'
|
|
421
|
+
| 'careem-pay'
|
|
422
|
+
| 'billie'
|
|
423
|
+
| 'sbpl'
|
|
424
|
+
| 'coppel-pay'
|
|
425
|
+
| 'sequra'
|
|
426
|
+
| 'aeropay'
|
|
427
|
+
| 'catch-payments'
|
|
428
|
+
| 'openpay'
|
|
429
|
+
| 'lbc'
|
|
430
|
+
| 'atrato'
|
|
431
|
+
| 'bss'
|
|
432
|
+
| 'gmo-bank-transfer'
|
|
433
|
+
| 'trevipay'
|
|
434
|
+
| 'paypo'
|
|
435
|
+
| 'younited-pay'
|
|
436
|
+
| 'tabit'
|
|
437
|
+
| 'etika'
|
|
438
|
+
| 'mokka'
|
|
439
|
+
| 'myfatoorah'
|
|
440
|
+
| 'meeza'
|
|
441
|
+
| 'paysafecash'
|
|
442
|
+
| 'tbi-bank'
|
|
443
|
+
| 'skrill-digital-wallet'
|
|
444
|
+
| 'pei'
|
|
445
|
+
| 'rapid-transfer'
|
|
446
|
+
| 'neteller'
|
|
447
|
+
| 'cetelem'
|
|
448
|
+
| 'paid';
|
|
449
|
+
|
|
450
|
+
export interface PaymentIconProps {
|
|
451
|
+
/**
|
|
452
|
+
* The name of the payment method.
|
|
453
|
+
*
|
|
454
|
+
* Check the list of available payment methods [here](/docs/api/checkout-ui-extensions/components/media/paymenticon#paymentmethod).
|
|
455
|
+
*/
|
|
456
|
+
name: PaymentMethod | string;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* A label that describes the purpose or contents of the icon.
|
|
460
|
+
*
|
|
461
|
+
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
462
|
+
* This should only be used if the icon requires an alternative internationalised label
|
|
463
|
+
* or if it is otherwise inappropriate to make use of the default label included with the icon.
|
|
464
|
+
*/
|
|
465
|
+
accessibilityLabel?: string;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Changes the visibility of the icon to assistive technologies.
|
|
469
|
+
*
|
|
470
|
+
* `hidden` hides the component from assistive technology (for example,
|
|
471
|
+
* a screen reader) but remains visually visible.
|
|
472
|
+
*
|
|
473
|
+
* @defaultValue 'visible'
|
|
474
|
+
*/
|
|
475
|
+
accessibilityVisibility?: 'hidden' | 'visible';
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export const PaymentIcon = createRemoteComponent<
|
|
479
|
+
'PaymentIcon',
|
|
480
|
+
PaymentIconProps
|
|
481
|
+
>('PaymentIcon');
|
|
@@ -13,10 +13,12 @@ import type {
|
|
|
13
13
|
DisclosureActivatorProps,
|
|
14
14
|
CornerProps,
|
|
15
15
|
Opacity,
|
|
16
|
+
BackgroundProps,
|
|
16
17
|
} from '../shared';
|
|
17
18
|
|
|
18
19
|
export interface PressableProps
|
|
19
|
-
extends
|
|
20
|
+
extends Pick<BackgroundProps, 'background'>,
|
|
21
|
+
BorderProps,
|
|
20
22
|
CornerProps,
|
|
21
23
|
SizingProps,
|
|
22
24
|
SpacingProps,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
+
|
|
3
|
+
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'ProductThumbnail',
|
|
5
|
+
description:
|
|
6
|
+
'Product thumbnail is a representation of a product image. It provides a visual preview of the item, so buyers can quickly identify products.',
|
|
7
|
+
thumbnail: 'productthumbnail-thumbnail.png',
|
|
8
|
+
requires: '',
|
|
9
|
+
isVisualComponent: true,
|
|
10
|
+
type: '',
|
|
11
|
+
definitions: [
|
|
12
|
+
{
|
|
13
|
+
title: 'ProductThumbnailProps',
|
|
14
|
+
description: '',
|
|
15
|
+
type: 'ProductThumbnailProps',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
category: 'Components',
|
|
19
|
+
subCategory: 'Media',
|
|
20
|
+
defaultExample: {
|
|
21
|
+
image: 'productthumbnail-default.png',
|
|
22
|
+
codeblock: {
|
|
23
|
+
title: 'Basic ProductThumbnail',
|
|
24
|
+
tabs: [
|
|
25
|
+
{
|
|
26
|
+
title: 'React',
|
|
27
|
+
code: '../../../../../../ui-extensions-react/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.tsx',
|
|
28
|
+
language: 'tsx',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: 'JS',
|
|
32
|
+
code: './examples/basic-productthumbnail.example.ts',
|
|
33
|
+
language: 'js',
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
subSections: [
|
|
39
|
+
{
|
|
40
|
+
type: 'Generic',
|
|
41
|
+
anchorLink: 'best-practices',
|
|
42
|
+
title: 'Best Practices',
|
|
43
|
+
sectionContent:
|
|
44
|
+
'**High-quality images and consistent aspect ratio**\n\n- Use optimized product images that ensure visual clarity and loading speed. Maintain a consistent aspect ratio for product thumbnails to avoid distortion or stretching of the images.\n\n**Consistent visual style and appropriate sizes**\n\n- Keep a consistent visual style for product thumbnails throughout your store. Use appropriate size for product thumbnails depending on the layout and use case. This consistency helps buyers recognize and associate the thumbnails with your product offerings.\n\n**Accessibility considerations**\n\n- Ensure product thumbnails are accessible with descriptive alternative text (alt text).',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
related: [],
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export default data;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
import {MaybeConditionalStyle, ResolutionCondition} from '../../style';
|
|
4
|
+
import {Size} from '../shared';
|
|
5
|
+
|
|
6
|
+
export interface ProductThumbnailProps {
|
|
7
|
+
/**
|
|
8
|
+
* An alternative text description that describe the image for the reader to
|
|
9
|
+
* understand what it is about. It is extremely useful for both users using
|
|
10
|
+
* assistive technology and sighted users. A well written description
|
|
11
|
+
* provides people with visual impairments the ability to participate in
|
|
12
|
+
* consuming non-text content. When a screen readers encounters an `Image`,
|
|
13
|
+
* the description is read and announced aloud. If an image fails to load,
|
|
14
|
+
* potentially due to a poor connection, the description is displayed on
|
|
15
|
+
* screen instead. This has the benefit of letting a sighted buyer know an
|
|
16
|
+
* image was meant to load here, but as an alternative, they’re still able to
|
|
17
|
+
* consume the text content. Read
|
|
18
|
+
* [considerations when writing alternative text](https://ux.shopify.com/considerations-when-writing-alt-text-a9c1985a8204)
|
|
19
|
+
* to learn more.
|
|
20
|
+
*
|
|
21
|
+
* This property is an alias for `accessibilityLabel` for compatibility with the HTML
|
|
22
|
+
* specification. When both are specified `accessibilityLabel` takes precedence.
|
|
23
|
+
*
|
|
24
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#alt
|
|
25
|
+
*/
|
|
26
|
+
alt?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* An alternative text description that describe the image for the reader to
|
|
30
|
+
* understand what it is about. It is extremely useful for both users using
|
|
31
|
+
* assistive technology and sighted users. A well written description
|
|
32
|
+
* provides people with visual impairments the ability to participate in
|
|
33
|
+
* consuming non-text content. When a screen readers encounters an `Image`,
|
|
34
|
+
* the description is read and announced aloud. If an image fails to load,
|
|
35
|
+
* potentially due to a poor connection, the description is displayed on
|
|
36
|
+
* screen instead. This has the benefit of letting a sighted buyer know an
|
|
37
|
+
* image was meant to load here, but as an alternative, they’re still able to
|
|
38
|
+
* consume the text content. Read
|
|
39
|
+
* [considerations when writing alternative text](https://ux.shopify.com/considerations-when-writing-alt-text-a9c1985a8204)
|
|
40
|
+
* to learn more.
|
|
41
|
+
*
|
|
42
|
+
* An `alt` property is available as an alias for this for compatibility with the HTML
|
|
43
|
+
* specification. When both are specified, `accessibilityLabel` takes precedence.
|
|
44
|
+
*
|
|
45
|
+
* @defaultValue `''`
|
|
46
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#alt
|
|
47
|
+
*/
|
|
48
|
+
accessibilityLabel?: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The image source (either a remote URL or a local file resource).
|
|
52
|
+
*
|
|
53
|
+
* A `src` property is available as an alias for this for compatibility with the HTML
|
|
54
|
+
* specification. When both are specified, `source` takes precedence.
|
|
55
|
+
*
|
|
56
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#src
|
|
57
|
+
*/
|
|
58
|
+
source?: MaybeConditionalStyle<string, ResolutionCondition>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The image source (either a remote URL or a local file resource).
|
|
62
|
+
*
|
|
63
|
+
* This property is available as an alias for `source` for compatibility with the HTML
|
|
64
|
+
* specification. When both are specified, `source` takes precedence.
|
|
65
|
+
*
|
|
66
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#src
|
|
67
|
+
*/
|
|
68
|
+
src?: MaybeConditionalStyle<string, ResolutionCondition>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Decorates the product thumbnail with the quantity of the product.
|
|
72
|
+
*/
|
|
73
|
+
badge?: number;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Adjusts the size the product thumbnail image.
|
|
77
|
+
*
|
|
78
|
+
* @defaultValue 'base'
|
|
79
|
+
*/
|
|
80
|
+
size?: Extract<Size, 'base' | 'small'>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export const ProductThumbnail = createRemoteComponent<
|
|
84
|
+
'ProductThumbnail',
|
|
85
|
+
ProductThumbnailProps
|
|
86
|
+
>('ProductThumbnail');
|
package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {extension, ProductThumbnail} from '@shopify/ui-extensions/checkout';
|
|
2
|
+
|
|
3
|
+
export default extension('purchase.checkout.block.render', (root) => {
|
|
4
|
+
const paymentIcon = root.createComponent(ProductThumbnail, {
|
|
5
|
+
source:
|
|
6
|
+
'https://shopify.dev/assets/api/checkout-extensions/checkout/components/product-thumbnail-example-code.png',
|
|
7
|
+
badge: 2,
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
root.appendChild(paymentIcon);
|
|
11
|
+
});
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
BackgroundProps,
|
|
5
|
+
BorderProps,
|
|
6
|
+
CornerProps,
|
|
7
|
+
SizingProps,
|
|
8
|
+
SpacingProps,
|
|
9
|
+
} from '../shared';
|
|
4
10
|
|
|
5
11
|
export interface ScrollViewEvent {
|
|
6
12
|
/**
|
|
@@ -24,7 +30,8 @@ export interface ScrollViewEvent {
|
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
export interface ScrollViewProps
|
|
27
|
-
extends
|
|
33
|
+
extends Pick<BackgroundProps, 'background'>,
|
|
34
|
+
BorderProps,
|
|
28
35
|
CornerProps,
|
|
29
36
|
SizingProps,
|
|
30
37
|
SpacingProps {
|
|
@@ -44,6 +44,32 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
44
44
|
'- Use this component when customers need to choose between four or more predefined options.\n\n- Have a default option selected whenever possible. Use Select as placeholder text if there’s no logical default option.',
|
|
45
45
|
},
|
|
46
46
|
],
|
|
47
|
+
examples: {
|
|
48
|
+
description: '',
|
|
49
|
+
examples: [
|
|
50
|
+
{
|
|
51
|
+
image: 'select-time-picking.png',
|
|
52
|
+
description:
|
|
53
|
+
'The Select component is a great choice for displaying a long list of time choices, as it helps conserve valuable space. If the number of options is less than or equal to 5, we recommend using the [ChoiceList](/docs/api/checkout-ui-extensions/components/forms/choicelist) component. This allows buyers to see all options immediately without the need for clicking into the select.',
|
|
54
|
+
codeblock: {
|
|
55
|
+
tabs: [
|
|
56
|
+
{
|
|
57
|
+
title: 'React',
|
|
58
|
+
code: '../../../../../../ui-extensions-react/src/surfaces/checkout/components/Select/examples/time-picking-select.example.tsx',
|
|
59
|
+
language: 'tsx',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: 'JS',
|
|
63
|
+
code: './examples/time-picking-select.example.ts',
|
|
64
|
+
language: 'js',
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
title:
|
|
68
|
+
'Using the Select component to display a long list of time choices',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
},
|
|
47
73
|
related: [],
|
|
48
74
|
};
|
|
49
75
|
|