@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,249 @@
|
|
|
1
|
+
/* eslint @shopify/typescript/prefer-pascal-case-enums: off */
|
|
2
|
+
|
|
3
|
+
export enum CountryCode {
|
|
4
|
+
AF = 'AF',
|
|
5
|
+
AX = 'AX',
|
|
6
|
+
AL = 'AL',
|
|
7
|
+
DZ = 'DZ',
|
|
8
|
+
AD = 'AD',
|
|
9
|
+
AO = 'AO',
|
|
10
|
+
AI = 'AI',
|
|
11
|
+
AG = 'AG',
|
|
12
|
+
AR = 'AR',
|
|
13
|
+
AM = 'AM',
|
|
14
|
+
AW = 'AW',
|
|
15
|
+
AC = 'AC',
|
|
16
|
+
AU = 'AU',
|
|
17
|
+
AT = 'AT',
|
|
18
|
+
AZ = 'AZ',
|
|
19
|
+
BS = 'BS',
|
|
20
|
+
BH = 'BH',
|
|
21
|
+
BD = 'BD',
|
|
22
|
+
BB = 'BB',
|
|
23
|
+
BY = 'BY',
|
|
24
|
+
BE = 'BE',
|
|
25
|
+
BZ = 'BZ',
|
|
26
|
+
BJ = 'BJ',
|
|
27
|
+
BM = 'BM',
|
|
28
|
+
BT = 'BT',
|
|
29
|
+
BO = 'BO',
|
|
30
|
+
BA = 'BA',
|
|
31
|
+
BW = 'BW',
|
|
32
|
+
BV = 'BV',
|
|
33
|
+
BR = 'BR',
|
|
34
|
+
IO = 'IO',
|
|
35
|
+
BN = 'BN',
|
|
36
|
+
BG = 'BG',
|
|
37
|
+
BF = 'BF',
|
|
38
|
+
BI = 'BI',
|
|
39
|
+
KH = 'KH',
|
|
40
|
+
CA = 'CA',
|
|
41
|
+
CV = 'CV',
|
|
42
|
+
BQ = 'BQ',
|
|
43
|
+
KY = 'KY',
|
|
44
|
+
CF = 'CF',
|
|
45
|
+
TD = 'TD',
|
|
46
|
+
CL = 'CL',
|
|
47
|
+
CN = 'CN',
|
|
48
|
+
CX = 'CX',
|
|
49
|
+
CC = 'CC',
|
|
50
|
+
CO = 'CO',
|
|
51
|
+
KM = 'KM',
|
|
52
|
+
CG = 'CG',
|
|
53
|
+
CD = 'CD',
|
|
54
|
+
CK = 'CK',
|
|
55
|
+
CR = 'CR',
|
|
56
|
+
HR = 'HR',
|
|
57
|
+
CU = 'CU',
|
|
58
|
+
CW = 'CW',
|
|
59
|
+
CY = 'CY',
|
|
60
|
+
CZ = 'CZ',
|
|
61
|
+
CI = 'CI',
|
|
62
|
+
DK = 'DK',
|
|
63
|
+
DJ = 'DJ',
|
|
64
|
+
DM = 'DM',
|
|
65
|
+
DO = 'DO',
|
|
66
|
+
EC = 'EC',
|
|
67
|
+
EG = 'EG',
|
|
68
|
+
SV = 'SV',
|
|
69
|
+
GQ = 'GQ',
|
|
70
|
+
ER = 'ER',
|
|
71
|
+
EE = 'EE',
|
|
72
|
+
SZ = 'SZ',
|
|
73
|
+
ET = 'ET',
|
|
74
|
+
FK = 'FK',
|
|
75
|
+
FO = 'FO',
|
|
76
|
+
FJ = 'FJ',
|
|
77
|
+
FI = 'FI',
|
|
78
|
+
FR = 'FR',
|
|
79
|
+
GF = 'GF',
|
|
80
|
+
PF = 'PF',
|
|
81
|
+
TF = 'TF',
|
|
82
|
+
GA = 'GA',
|
|
83
|
+
GM = 'GM',
|
|
84
|
+
GE = 'GE',
|
|
85
|
+
DE = 'DE',
|
|
86
|
+
GH = 'GH',
|
|
87
|
+
GI = 'GI',
|
|
88
|
+
GR = 'GR',
|
|
89
|
+
GL = 'GL',
|
|
90
|
+
GD = 'GD',
|
|
91
|
+
GP = 'GP',
|
|
92
|
+
GT = 'GT',
|
|
93
|
+
GG = 'GG',
|
|
94
|
+
GN = 'GN',
|
|
95
|
+
GW = 'GW',
|
|
96
|
+
GY = 'GY',
|
|
97
|
+
HT = 'HT',
|
|
98
|
+
HM = 'HM',
|
|
99
|
+
VA = 'VA',
|
|
100
|
+
HN = 'HN',
|
|
101
|
+
HK = 'HK',
|
|
102
|
+
HU = 'HU',
|
|
103
|
+
IS = 'IS',
|
|
104
|
+
IN = 'IN',
|
|
105
|
+
ID = 'ID',
|
|
106
|
+
IR = 'IR',
|
|
107
|
+
IQ = 'IQ',
|
|
108
|
+
IE = 'IE',
|
|
109
|
+
IM = 'IM',
|
|
110
|
+
IL = 'IL',
|
|
111
|
+
IT = 'IT',
|
|
112
|
+
JM = 'JM',
|
|
113
|
+
JP = 'JP',
|
|
114
|
+
JE = 'JE',
|
|
115
|
+
JO = 'JO',
|
|
116
|
+
KZ = 'KZ',
|
|
117
|
+
KE = 'KE',
|
|
118
|
+
KI = 'KI',
|
|
119
|
+
KP = 'KP',
|
|
120
|
+
XK = 'XK',
|
|
121
|
+
KW = 'KW',
|
|
122
|
+
KG = 'KG',
|
|
123
|
+
LA = 'LA',
|
|
124
|
+
LV = 'LV',
|
|
125
|
+
LB = 'LB',
|
|
126
|
+
LS = 'LS',
|
|
127
|
+
LR = 'LR',
|
|
128
|
+
LY = 'LY',
|
|
129
|
+
LI = 'LI',
|
|
130
|
+
LT = 'LT',
|
|
131
|
+
LU = 'LU',
|
|
132
|
+
MO = 'MO',
|
|
133
|
+
MG = 'MG',
|
|
134
|
+
MW = 'MW',
|
|
135
|
+
MY = 'MY',
|
|
136
|
+
MV = 'MV',
|
|
137
|
+
ML = 'ML',
|
|
138
|
+
MT = 'MT',
|
|
139
|
+
MQ = 'MQ',
|
|
140
|
+
MR = 'MR',
|
|
141
|
+
MU = 'MU',
|
|
142
|
+
YT = 'YT',
|
|
143
|
+
MX = 'MX',
|
|
144
|
+
MD = 'MD',
|
|
145
|
+
MC = 'MC',
|
|
146
|
+
MN = 'MN',
|
|
147
|
+
ME = 'ME',
|
|
148
|
+
MS = 'MS',
|
|
149
|
+
MA = 'MA',
|
|
150
|
+
MZ = 'MZ',
|
|
151
|
+
MM = 'MM',
|
|
152
|
+
NA = 'NA',
|
|
153
|
+
NR = 'NR',
|
|
154
|
+
NP = 'NP',
|
|
155
|
+
NL = 'NL',
|
|
156
|
+
AN = 'AN',
|
|
157
|
+
NC = 'NC',
|
|
158
|
+
NZ = 'NZ',
|
|
159
|
+
NI = 'NI',
|
|
160
|
+
NE = 'NE',
|
|
161
|
+
NG = 'NG',
|
|
162
|
+
NU = 'NU',
|
|
163
|
+
NF = 'NF',
|
|
164
|
+
MK = 'MK',
|
|
165
|
+
NO = 'NO',
|
|
166
|
+
OM = 'OM',
|
|
167
|
+
PK = 'PK',
|
|
168
|
+
PS = 'PS',
|
|
169
|
+
PA = 'PA',
|
|
170
|
+
PG = 'PG',
|
|
171
|
+
PY = 'PY',
|
|
172
|
+
PE = 'PE',
|
|
173
|
+
PH = 'PH',
|
|
174
|
+
PN = 'PN',
|
|
175
|
+
PL = 'PL',
|
|
176
|
+
PT = 'PT',
|
|
177
|
+
QA = 'QA',
|
|
178
|
+
CM = 'CM',
|
|
179
|
+
RE = 'RE',
|
|
180
|
+
RO = 'RO',
|
|
181
|
+
RU = 'RU',
|
|
182
|
+
RW = 'RW',
|
|
183
|
+
BL = 'BL',
|
|
184
|
+
SH = 'SH',
|
|
185
|
+
KN = 'KN',
|
|
186
|
+
LC = 'LC',
|
|
187
|
+
MF = 'MF',
|
|
188
|
+
PM = 'PM',
|
|
189
|
+
WS = 'WS',
|
|
190
|
+
SM = 'SM',
|
|
191
|
+
ST = 'ST',
|
|
192
|
+
SA = 'SA',
|
|
193
|
+
SN = 'SN',
|
|
194
|
+
RS = 'RS',
|
|
195
|
+
SC = 'SC',
|
|
196
|
+
SL = 'SL',
|
|
197
|
+
SG = 'SG',
|
|
198
|
+
SX = 'SX',
|
|
199
|
+
SK = 'SK',
|
|
200
|
+
SI = 'SI',
|
|
201
|
+
SB = 'SB',
|
|
202
|
+
SO = 'SO',
|
|
203
|
+
ZA = 'ZA',
|
|
204
|
+
GS = 'GS',
|
|
205
|
+
KR = 'KR',
|
|
206
|
+
SS = 'SS',
|
|
207
|
+
ES = 'ES',
|
|
208
|
+
LK = 'LK',
|
|
209
|
+
VC = 'VC',
|
|
210
|
+
SD = 'SD',
|
|
211
|
+
SR = 'SR',
|
|
212
|
+
SJ = 'SJ',
|
|
213
|
+
SE = 'SE',
|
|
214
|
+
CH = 'CH',
|
|
215
|
+
SY = 'SY',
|
|
216
|
+
TW = 'TW',
|
|
217
|
+
TJ = 'TJ',
|
|
218
|
+
TZ = 'TZ',
|
|
219
|
+
TH = 'TH',
|
|
220
|
+
TL = 'TL',
|
|
221
|
+
TG = 'TG',
|
|
222
|
+
TK = 'TK',
|
|
223
|
+
TO = 'TO',
|
|
224
|
+
TT = 'TT',
|
|
225
|
+
TA = 'TA',
|
|
226
|
+
TN = 'TN',
|
|
227
|
+
TR = 'TR',
|
|
228
|
+
TM = 'TM',
|
|
229
|
+
TC = 'TC',
|
|
230
|
+
TV = 'TV',
|
|
231
|
+
UG = 'UG',
|
|
232
|
+
UA = 'UA',
|
|
233
|
+
AE = 'AE',
|
|
234
|
+
GB = 'GB',
|
|
235
|
+
US = 'US',
|
|
236
|
+
UM = 'UM',
|
|
237
|
+
UY = 'UY',
|
|
238
|
+
UZ = 'UZ',
|
|
239
|
+
VU = 'VU',
|
|
240
|
+
VE = 'VE',
|
|
241
|
+
VN = 'VN',
|
|
242
|
+
VG = 'VG',
|
|
243
|
+
WF = 'WF',
|
|
244
|
+
EH = 'EH',
|
|
245
|
+
YE = 'YE',
|
|
246
|
+
ZM = 'ZM',
|
|
247
|
+
ZW = 'ZW',
|
|
248
|
+
ZZ = 'ZZ',
|
|
249
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The result of a fetch function where the input is multiple IDs.
|
|
3
|
+
* This object contains the resources that were found, as well as an array of IDs specifying which IDs, if any, did not correspond to a resource.
|
|
4
|
+
*/
|
|
5
|
+
export interface MultipleResourceResult<T> {
|
|
6
|
+
/**
|
|
7
|
+
* The resources that were fetched using the IDs provided.
|
|
8
|
+
*/
|
|
9
|
+
fetchedResources: T[];
|
|
10
|
+
/**
|
|
11
|
+
* The IDs for which a resource was not found.
|
|
12
|
+
*/
|
|
13
|
+
idsForResourcesNotFound: number[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains a page of fetched results.
|
|
3
|
+
*/
|
|
4
|
+
export interface PaginatedResult<T> {
|
|
5
|
+
/**
|
|
6
|
+
* The items returned from the fetch.
|
|
7
|
+
*/
|
|
8
|
+
items: T[];
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The cursor of the last item. This can be used to fetch more results.
|
|
12
|
+
* The format of this cursor may look different depending on if POS is fetching results from the remote API, or its local database. However, that should not affect its usage with the search functions.
|
|
13
|
+
*/
|
|
14
|
+
lastCursor?: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Whether or not there is another page of results that can be fetched.
|
|
18
|
+
*/
|
|
19
|
+
hasNextPage: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface Product {
|
|
2
|
+
id: number;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
descriptionHtml: string;
|
|
8
|
+
featuredImage?: string;
|
|
9
|
+
isGiftCard: boolean;
|
|
10
|
+
tracksInventory: boolean;
|
|
11
|
+
vendor: string;
|
|
12
|
+
minVariantPrice: string;
|
|
13
|
+
maxVariantPrice: string;
|
|
14
|
+
productType: string;
|
|
15
|
+
productCategory: string;
|
|
16
|
+
tags: string[];
|
|
17
|
+
numVariants: number;
|
|
18
|
+
totalAvailableInventory?: number;
|
|
19
|
+
totalInventory: number;
|
|
20
|
+
variants: ProductVariant[];
|
|
21
|
+
options: ProductOption[];
|
|
22
|
+
hasOnlyDefaultVariant: boolean;
|
|
23
|
+
hasInStockVariants?: boolean;
|
|
24
|
+
onlineStoreUrl?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface ProductVariant {
|
|
28
|
+
id: number;
|
|
29
|
+
createdAt: string;
|
|
30
|
+
updatedAt: string;
|
|
31
|
+
title: string;
|
|
32
|
+
price: string;
|
|
33
|
+
compareAtPrice?: string;
|
|
34
|
+
taxable: boolean;
|
|
35
|
+
sku?: string;
|
|
36
|
+
barcode?: string;
|
|
37
|
+
displayName: string;
|
|
38
|
+
image?: string;
|
|
39
|
+
inventoryIsTracked: boolean;
|
|
40
|
+
inventoryAtLocation?: number;
|
|
41
|
+
inventoryAtAllLocations?: number;
|
|
42
|
+
inventoryPolicy: ProductVariantInventoryPolicy;
|
|
43
|
+
hasInStockVariants?: boolean;
|
|
44
|
+
options?: ProductVariantOption[];
|
|
45
|
+
product?: Product;
|
|
46
|
+
productId: number;
|
|
47
|
+
position: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface ProductVariantOption {
|
|
51
|
+
name: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type ProductVariantInventoryPolicy = 'DENY' | 'CONTINUE';
|
|
56
|
+
|
|
57
|
+
export interface ProductOption {
|
|
58
|
+
id: number;
|
|
59
|
+
name: string;
|
|
60
|
+
optionValues: string[];
|
|
61
|
+
productId: number;
|
|
62
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface Session {
|
|
2
|
+
/**
|
|
3
|
+
* The shop ID associated with the shop currently logged into POS.
|
|
4
|
+
*/
|
|
5
|
+
shopId: number;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The user ID associated with the Shopify account currently authenticated on POS.
|
|
9
|
+
*/
|
|
10
|
+
userId: number;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The shop domain associated with the shop currently logged into POS.
|
|
14
|
+
*/
|
|
15
|
+
shopDomain: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The location ID associated with the POS' current location.
|
|
19
|
+
*/
|
|
20
|
+
locationId: number;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The staff ID who is currently pinned into the POS.
|
|
24
|
+
* Note that this staff member ID may be different to the User ID, as the staff member who enters their PIN may be different to the User who logged onto POS.
|
|
25
|
+
*/
|
|
26
|
+
staffMemberId?: number;
|
|
27
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export type {
|
|
2
|
+
CartApi,
|
|
3
|
+
DiscountType,
|
|
4
|
+
CartDiscountType,
|
|
5
|
+
CartApiContent,
|
|
6
|
+
LineItemDiscountType,
|
|
7
|
+
} from './api/cart-api/cart-api';
|
|
8
|
+
|
|
9
|
+
export type {
|
|
10
|
+
ConnectivityStateSeverity,
|
|
11
|
+
ConnectivityState,
|
|
12
|
+
ConnectivityApiContent,
|
|
13
|
+
ConnectivityApi,
|
|
14
|
+
} from './api/connectivity-api/connectivity-api';
|
|
15
|
+
|
|
16
|
+
export type {LocaleApi, LocaleApiContent} from './api/locale-api/locale-api';
|
|
17
|
+
|
|
18
|
+
export type {
|
|
19
|
+
NavigationApiContent,
|
|
20
|
+
NavigationApi,
|
|
21
|
+
} from './api/navigation-api/navigation-api';
|
|
22
|
+
|
|
23
|
+
export type {
|
|
24
|
+
ProductSortType,
|
|
25
|
+
ProductSearchParams,
|
|
26
|
+
ProductSearchApi,
|
|
27
|
+
ProductSearchApiContent,
|
|
28
|
+
} from './api/product-search-api/product-search-api';
|
|
29
|
+
|
|
30
|
+
export type {
|
|
31
|
+
ScannerSource,
|
|
32
|
+
ScannerSubscriptionResult,
|
|
33
|
+
ScannerApi,
|
|
34
|
+
ScannerApiContent,
|
|
35
|
+
} from './api/scanner-api/scanner-api';
|
|
36
|
+
|
|
37
|
+
export type {
|
|
38
|
+
SessionApiContent,
|
|
39
|
+
SessionApi,
|
|
40
|
+
} from './api/session-api/session-api';
|
|
41
|
+
|
|
42
|
+
export type {
|
|
43
|
+
SmartGridApi,
|
|
44
|
+
SmartGridApiContent,
|
|
45
|
+
} from './api/smartgrid-api/smartgrid-api';
|
|
46
|
+
|
|
47
|
+
export type {
|
|
48
|
+
ShowToastOptions,
|
|
49
|
+
ToastApiContent,
|
|
50
|
+
ToastApi,
|
|
51
|
+
} from './api/toast-api/toast-api';
|
|
52
|
+
|
|
53
|
+
export type {
|
|
54
|
+
Cart,
|
|
55
|
+
Customer,
|
|
56
|
+
LineItem,
|
|
57
|
+
Discount,
|
|
58
|
+
SetLineItemPropertiesInput,
|
|
59
|
+
SetLineItemDiscountInput,
|
|
60
|
+
LineItemDiscount,
|
|
61
|
+
CustomSale,
|
|
62
|
+
Address,
|
|
63
|
+
} from './api/types/cart';
|
|
64
|
+
|
|
65
|
+
export type {MultipleResourceResult} from './api/types/multiple-resource-result';
|
|
66
|
+
|
|
67
|
+
export type {PaginatedResult} from './api/types/paginated-result';
|
|
68
|
+
|
|
69
|
+
export type {
|
|
70
|
+
Product,
|
|
71
|
+
ProductVariant,
|
|
72
|
+
ProductVariantOption,
|
|
73
|
+
ProductVariantInventoryPolicy,
|
|
74
|
+
ProductOption,
|
|
75
|
+
} from './api/types/product';
|
|
76
|
+
|
|
77
|
+
export type {CountryCode} from './api/types/country-code';
|
|
78
|
+
|
|
79
|
+
export type {Session} from './api/types/session';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export type BadgeVariant =
|
|
4
|
+
| 'neutral'
|
|
5
|
+
| 'critical'
|
|
6
|
+
| 'warning'
|
|
7
|
+
| 'success'
|
|
8
|
+
| 'highlight';
|
|
9
|
+
|
|
10
|
+
export type BadgeStatus = 'empty' | 'partial' | 'complete';
|
|
11
|
+
|
|
12
|
+
export interface BadgeProps {
|
|
13
|
+
text: string;
|
|
14
|
+
variant: BadgeVariant;
|
|
15
|
+
status?: BadgeStatus;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Badge = createRemoteComponent<'Badge', BadgeProps>('Badge');
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export type BannerVariant = 'confirmation' | 'alert' | 'error' | 'information';
|
|
4
|
+
|
|
5
|
+
export interface BannerProps {
|
|
6
|
+
/**
|
|
7
|
+
* The title of the banner.
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Banners have multiple variants that can be used to
|
|
13
|
+
* change the color and style of the banner.
|
|
14
|
+
*/
|
|
15
|
+
variant: BannerVariant;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @defaultValue 'dismiss'
|
|
19
|
+
*/
|
|
20
|
+
action?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Dismisses the banner by default.
|
|
24
|
+
*/
|
|
25
|
+
onPress?: () => void;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Use this parameter to hide the action button.
|
|
29
|
+
*/
|
|
30
|
+
hideAction?: boolean;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Whether or not the banner is visible.
|
|
34
|
+
* @defaultValue true
|
|
35
|
+
*/
|
|
36
|
+
visible: boolean;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const Banner = createRemoteComponent<'Banner', BannerProps>('Banner');
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export type ButtonType = 'primary' | 'basic' | 'destructive' | 'plain';
|
|
4
|
+
|
|
5
|
+
export interface ButtonProps {
|
|
6
|
+
title: string;
|
|
7
|
+
type?: ButtonType;
|
|
8
|
+
onPress?: () => void;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Button = createRemoteComponent<'Button', ButtonProps>('Button');
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import {InputProps} from '../shared/InputField';
|
|
3
|
+
|
|
4
|
+
export interface DateFieldProps
|
|
5
|
+
extends Pick<
|
|
6
|
+
InputProps,
|
|
7
|
+
| 'value'
|
|
8
|
+
| 'error'
|
|
9
|
+
| 'label'
|
|
10
|
+
| 'disabled'
|
|
11
|
+
| 'onFocus'
|
|
12
|
+
| 'onBlur'
|
|
13
|
+
| 'onChange'
|
|
14
|
+
| 'action'
|
|
15
|
+
| 'helpText'
|
|
16
|
+
> {}
|
|
17
|
+
|
|
18
|
+
export const DateField = createRemoteComponent<'DateField', DateFieldProps>(
|
|
19
|
+
'DateField',
|
|
20
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface DatePickerProps {
|
|
4
|
+
selected?: string;
|
|
5
|
+
onChange?(selected: string): void;
|
|
6
|
+
visibleState: [boolean, (visible: boolean) => void];
|
|
7
|
+
inputMode?: 'inline' | 'spinner';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const DatePicker = createRemoteComponent<'DatePicker', DatePickerProps>(
|
|
11
|
+
'DatePicker',
|
|
12
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export type DialogType = 'default' | 'alert' | 'error' | 'destructive';
|
|
4
|
+
|
|
5
|
+
export interface DialogProps {
|
|
6
|
+
title: string;
|
|
7
|
+
content?: string;
|
|
8
|
+
actionText: string;
|
|
9
|
+
secondaryActionText?: string;
|
|
10
|
+
showSecondaryAction?: boolean;
|
|
11
|
+
type?: DialogType;
|
|
12
|
+
onAction: () => void;
|
|
13
|
+
onSecondaryAction?: () => void;
|
|
14
|
+
isVisible: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Dialog = createRemoteComponent<'Dialog', DialogProps>('Dialog');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import type {InputProps, MinMaxLengthProps} from '../shared/InputField';
|
|
3
|
+
|
|
4
|
+
export interface EmailFieldProps extends InputProps, MinMaxLengthProps {}
|
|
5
|
+
|
|
6
|
+
export const EmailField = createRemoteComponent<'EmailField', EmailFieldProps>(
|
|
7
|
+
'EmailField',
|
|
8
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import type {AutoCapitalizationType} from '../shared/auto-capitalization-type';
|
|
3
|
+
import type {BaseTextFieldProps} from '../shared/BaseTextField';
|
|
4
|
+
|
|
5
|
+
export type InputType = 'text' | 'number' | 'currency' | 'giftcard' | 'email';
|
|
6
|
+
|
|
7
|
+
export interface FormattedTextFieldProps extends BaseTextFieldProps {
|
|
8
|
+
inputType?: InputType;
|
|
9
|
+
autoCapitalize?: AutoCapitalizationType;
|
|
10
|
+
customValidator?: (text: string) => boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const FormattedTextField = createRemoteComponent<
|
|
14
|
+
'FormattedTextField',
|
|
15
|
+
FormattedTextFieldProps
|
|
16
|
+
>('FormattedTextField');
|