@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,93 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export type IconName =
|
|
4
|
+
| 'add-customer'
|
|
5
|
+
| 'analytics'
|
|
6
|
+
| 'apps'
|
|
7
|
+
| 'arrow'
|
|
8
|
+
| 'arrow-left'
|
|
9
|
+
| 'backspace'
|
|
10
|
+
| 'card-reader'
|
|
11
|
+
| 'call'
|
|
12
|
+
| 'cancel'
|
|
13
|
+
| 'not-stocked'
|
|
14
|
+
| 'cash'
|
|
15
|
+
| 'checkmark'
|
|
16
|
+
| 'caret-down'
|
|
17
|
+
| 'checkmark-active'
|
|
18
|
+
| 'checkmark-inactive'
|
|
19
|
+
| 'chevron-up'
|
|
20
|
+
| 'chevron-right'
|
|
21
|
+
| 'chevron-down'
|
|
22
|
+
| 'circle-alert'
|
|
23
|
+
| 'circle-cancel'
|
|
24
|
+
| 'circle-checkmark'
|
|
25
|
+
| 'circle-disconnected'
|
|
26
|
+
| 'circle-info'
|
|
27
|
+
| 'circle-outline'
|
|
28
|
+
| 'clock'
|
|
29
|
+
| 'collections'
|
|
30
|
+
| 'copy'
|
|
31
|
+
| 'credit-card'
|
|
32
|
+
| 'custom-payment'
|
|
33
|
+
| 'custom-sale'
|
|
34
|
+
| 'discount'
|
|
35
|
+
| 'external-link'
|
|
36
|
+
| 'flag'
|
|
37
|
+
| 'flip-camera'
|
|
38
|
+
| 'gallery-view'
|
|
39
|
+
| 'gift-card'
|
|
40
|
+
| 'help'
|
|
41
|
+
| 'hide-keyboard'
|
|
42
|
+
| 'home'
|
|
43
|
+
| 'horizontal-dots'
|
|
44
|
+
| 'keypad'
|
|
45
|
+
| 'lightning'
|
|
46
|
+
| 'link'
|
|
47
|
+
| 'list'
|
|
48
|
+
| 'list-view'
|
|
49
|
+
| 'lock'
|
|
50
|
+
| 'mail'
|
|
51
|
+
| 'available-at-other-locations'
|
|
52
|
+
| 'menu'
|
|
53
|
+
| 'minus'
|
|
54
|
+
| 'mobile'
|
|
55
|
+
| 'note-report'
|
|
56
|
+
| 'drawer'
|
|
57
|
+
| 'orders'
|
|
58
|
+
| 'shopify-payments'
|
|
59
|
+
| 'play-button'
|
|
60
|
+
| 'plus'
|
|
61
|
+
| 'products'
|
|
62
|
+
| 'radio-active'
|
|
63
|
+
| 'radio-inactive'
|
|
64
|
+
| 'rearrange'
|
|
65
|
+
| 'receipt'
|
|
66
|
+
| 'refresh'
|
|
67
|
+
| 'register'
|
|
68
|
+
| 'retrieve-cart'
|
|
69
|
+
| 'image-placeholder'
|
|
70
|
+
| 'save-cart'
|
|
71
|
+
| 'scan-barcode'
|
|
72
|
+
| 'search'
|
|
73
|
+
| 'send'
|
|
74
|
+
| 'settings'
|
|
75
|
+
| 'shipment'
|
|
76
|
+
| 'split-payment'
|
|
77
|
+
| 'sort'
|
|
78
|
+
| 'staff'
|
|
79
|
+
| 'star'
|
|
80
|
+
| 'unordered-list'
|
|
81
|
+
| 'connectivity-warning'
|
|
82
|
+
| 'internet'
|
|
83
|
+
| 'delivery'
|
|
84
|
+
| 'shop-pay';
|
|
85
|
+
|
|
86
|
+
export type IconSize = 'minor' | 'major' | 'spot' | 'caption' | 'badge';
|
|
87
|
+
|
|
88
|
+
export interface IconProps {
|
|
89
|
+
name: IconName;
|
|
90
|
+
size?: IconSize;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export const Icon = createRemoteComponent<'Icon', IconProps>('Icon');
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import {BadgeProps} from '../Badge/Badge';
|
|
3
|
+
import {ColorType} from '../Text/Text';
|
|
4
|
+
|
|
5
|
+
export interface ToggleSwitch {
|
|
6
|
+
value?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface SubtitleType {
|
|
11
|
+
content: string;
|
|
12
|
+
color?: ColorType;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type ListRowSubtitle = string | SubtitleType;
|
|
16
|
+
|
|
17
|
+
export interface ListRowLeftSide {
|
|
18
|
+
/**
|
|
19
|
+
* The main label that will be displayed on the left side of the row.
|
|
20
|
+
*/
|
|
21
|
+
label: string;
|
|
22
|
+
/**
|
|
23
|
+
* The subtitles to display beneath the main label. Up to 3 subtitles can be displayed.
|
|
24
|
+
* Subtitles can optionally be configured with colors by passing an object with a `content` and `color` properties.
|
|
25
|
+
*/
|
|
26
|
+
subtitle?: readonly [ListRowSubtitle, ListRowSubtitle?, ListRowSubtitle?];
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated
|
|
29
|
+
* badge will be removed in version 2.0.0 in favor of badges.
|
|
30
|
+
* Please migrate to using badges as soon as possible.
|
|
31
|
+
*/
|
|
32
|
+
badge?: BadgeProps;
|
|
33
|
+
/**
|
|
34
|
+
* Colored badges that are displayed underneath the `title` and `subtitles`.
|
|
35
|
+
*/
|
|
36
|
+
badges?: BadgeProps[];
|
|
37
|
+
image?: {
|
|
38
|
+
/**
|
|
39
|
+
* A link to an image to be displayed on the far left side of the row.
|
|
40
|
+
*/
|
|
41
|
+
source?: string;
|
|
42
|
+
/**
|
|
43
|
+
* A number that is displayed on the top right of the image.
|
|
44
|
+
*/
|
|
45
|
+
badge?: number;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface ListRowRightSide {
|
|
50
|
+
/**
|
|
51
|
+
* The main label that will be displayed on the right side of the row.
|
|
52
|
+
*/
|
|
53
|
+
label?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Show a chevron. Set this to true if pressing on the row navigates to another screen.
|
|
56
|
+
* @defaultValue `false`
|
|
57
|
+
*/
|
|
58
|
+
showChevron?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* A toggle switch that is be displayed on the right side of the row.
|
|
61
|
+
*/
|
|
62
|
+
toggleSwitch?: ToggleSwitch;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface ListRow {
|
|
66
|
+
/**
|
|
67
|
+
* The unique identifier for this list item.
|
|
68
|
+
*/
|
|
69
|
+
id: string;
|
|
70
|
+
/**
|
|
71
|
+
* The user interface of the left side of the row.
|
|
72
|
+
*/
|
|
73
|
+
leftSide: ListRowLeftSide;
|
|
74
|
+
/**
|
|
75
|
+
* The user interface of the right side of the row.
|
|
76
|
+
*/
|
|
77
|
+
rightSide?: ListRowRightSide;
|
|
78
|
+
/**
|
|
79
|
+
* Callback for when the user taps the row.
|
|
80
|
+
*/
|
|
81
|
+
onPress?: () => void;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface ListProps {
|
|
85
|
+
/**
|
|
86
|
+
* A large display title at the top of the `List`.
|
|
87
|
+
*/
|
|
88
|
+
title?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The array of `ListRow` which will be converted into rows for this list.
|
|
91
|
+
*/
|
|
92
|
+
data: ListRow[];
|
|
93
|
+
/**
|
|
94
|
+
* Whether or not more data is being loaded. Set this to `true` when paginating and fetching more data for the list.
|
|
95
|
+
*/
|
|
96
|
+
isLoadingMore?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The logic behind displaying an image or placeholder. `automatic` will display an image or placeholder if it detects
|
|
99
|
+
* that a `ListItem` in `data` has an `imageUri` value. `never` will never display images or placeholders. `always` will
|
|
100
|
+
* always display images or placeholders if `imageUri` is undefined or empty.
|
|
101
|
+
* @defaultValue `automatic`
|
|
102
|
+
*/
|
|
103
|
+
imageDisplayStrategy?: 'automatic' | 'always' | 'never';
|
|
104
|
+
/**
|
|
105
|
+
* Callback for when the user reaches the end of the `List`. This can be used to fire a request to load more data.
|
|
106
|
+
*/
|
|
107
|
+
onEndReached?: () => void;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export const List = createRemoteComponent<'List', ListProps>('List');
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @property `initialScreenName` sets the initial Screen by its `name` property.
|
|
5
|
+
*/
|
|
6
|
+
export interface NavigatorProps {
|
|
7
|
+
initialScreenName?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Navigator = createRemoteComponent<'Navigator', NavigatorProps>(
|
|
11
|
+
'Navigator',
|
|
12
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import type {InputProps, MinMaxLengthProps} from '../shared/InputField';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents the properties for the NumberField component.
|
|
6
|
+
* @typedef {Object} NumberFieldProps
|
|
7
|
+
* @property {'decimal' | 'numeric'} [inputMode] - The mode of input, can be either 'decimal' or 'numeric'.
|
|
8
|
+
* @property {number} [max] - The highest decimal or integer to be accepted for the field.
|
|
9
|
+
* @property {number} [min] - The lowest decimal or integer to be accepted for the field.
|
|
10
|
+
*/
|
|
11
|
+
export interface NumberFieldProps extends InputProps, MinMaxLengthProps {
|
|
12
|
+
inputMode?: 'decimal' | 'numeric';
|
|
13
|
+
max?: number;
|
|
14
|
+
min?: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const NumberField = createRemoteComponent<
|
|
18
|
+
'NumberField',
|
|
19
|
+
NumberFieldProps
|
|
20
|
+
>('NumberField');
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the result of the pin pad onSubmit function.
|
|
5
|
+
* @typedef {('accept'|'reject')} PinValidationResult
|
|
6
|
+
*/
|
|
7
|
+
export type PinValidationResult = 'accept' | 'reject';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Represents the allowed lengths of a PIN.
|
|
11
|
+
* @typedef {(4|5|6|7|8|9|10)} PinLength
|
|
12
|
+
*/
|
|
13
|
+
export type PinLength = 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents an action type for the PinPad component.
|
|
17
|
+
* @typedef {Object} PinPadActionType
|
|
18
|
+
* @property {string} label - The label for the action button.
|
|
19
|
+
* @property {function(): number[]} onPress - The function to be called when the action button is pressed.
|
|
20
|
+
*/
|
|
21
|
+
export interface PinPadActionType {
|
|
22
|
+
label: string;
|
|
23
|
+
onPress: () => Promise<number[]>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Represents the properties for the PinPad component.
|
|
28
|
+
* @typedef {Object} PinPadProps
|
|
29
|
+
* @property {boolean} [masked] - Whether the entered PIN should be masked.
|
|
30
|
+
* @property {PinLength} [minPinLength] - The minimum length of the PIN.
|
|
31
|
+
* @property {PinLength} [maxPinLength] - The maximum length of the PIN.
|
|
32
|
+
* @property {string} [label] - The content for the prompt on the pin pad.
|
|
33
|
+
* @property {PinPadActionType} [pinPadAction] - The call to action between the entry view and the keypad, consisting of a label and function that returns the pin.
|
|
34
|
+
* @property {function(pin: number[]): Promise<PinValidationResult>} onSubmit - The function to be called when the PIN is submitted.
|
|
35
|
+
* @property {function(pin: number[]): void} [onPinEntry] - The function to be called when a PIN is entered.
|
|
36
|
+
*/
|
|
37
|
+
export interface PinPadProps {
|
|
38
|
+
masked?: boolean;
|
|
39
|
+
minPinLength?: PinLength;
|
|
40
|
+
maxPinLength?: PinLength;
|
|
41
|
+
label?: string;
|
|
42
|
+
pinPadAction?: PinPadActionType;
|
|
43
|
+
onSubmit: (pin: number[]) => Promise<PinValidationResult>;
|
|
44
|
+
onPinEntry?: (pin: number[]) => void;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export const PinPad = createRemoteComponent<'PinPad', PinPadProps>('PinPad');
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface RadioButtonListProps {
|
|
4
|
+
items: string[];
|
|
5
|
+
onItemSelected: (item: string) => void;
|
|
6
|
+
initialSelectedItem?: string;
|
|
7
|
+
initialOffsetToShowSelectedItem?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const RadioButtonList = createRemoteComponent<
|
|
11
|
+
'RadioButtonList',
|
|
12
|
+
RadioButtonListProps
|
|
13
|
+
>('RadioButtonList');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
/** Represents the presentation of a screen in the navigation stack.
|
|
4
|
+
* @property `sheet` displays the screen from the bottom on `navigate` when `true`.
|
|
5
|
+
*/
|
|
6
|
+
export interface ScreenPresentationProps {
|
|
7
|
+
sheet?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/** Represents the secondary action button of a screen in the navigation stack.
|
|
11
|
+
* @property `text` displays the name of the secondary action in the action bar.
|
|
12
|
+
* @property `onPress` triggered when the secondary action button is pressed.
|
|
13
|
+
* @property `isEnabled` displays the secondary action button when set `true`.
|
|
14
|
+
*/
|
|
15
|
+
export interface SecondaryActionProps {
|
|
16
|
+
text: string;
|
|
17
|
+
onPress: () => void;
|
|
18
|
+
isEnabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Represents a screen in the navigation stack.
|
|
22
|
+
* @property `name` used to identify this screen as a destination in the navigation stack.
|
|
23
|
+
* @property `title` the title of the screen which will be displayed on the UI.
|
|
24
|
+
* @property `isLoading` displays a loading indicator when `true`. Set this to `true` when performing an asynchronous task, and then to false when the data becomes available to the UI.
|
|
25
|
+
* @property `secondaryAction` displays a secondary action button on the screen.
|
|
26
|
+
* @property `onNavigate` triggered when the screen is navigated to.
|
|
27
|
+
* @property `onNavigateBack` triggered when the user navigates back from this screen. Runs after screen is unmounted.
|
|
28
|
+
* @property `overrideNavigateBack` is a callback that allows you to override the secondary navigation action. Runs when screen is mounted.
|
|
29
|
+
* @property `onReceiveParams` a callback that gets triggered when the navigation event completes and the screen receives the parameters.
|
|
30
|
+
*/
|
|
31
|
+
export interface ScreenProps {
|
|
32
|
+
name: string;
|
|
33
|
+
title: string;
|
|
34
|
+
isLoading?: boolean;
|
|
35
|
+
presentation?: ScreenPresentationProps;
|
|
36
|
+
secondaryAction?: SecondaryActionProps;
|
|
37
|
+
onNavigate?: () => void;
|
|
38
|
+
onNavigateBack?: () => void;
|
|
39
|
+
overrideNavigateBack?: () => void;
|
|
40
|
+
onReceiveParams?: (params: any) => void;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const Screen = createRemoteComponent<'Screen', ScreenProps>('Screen');
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface SearchBarProps {
|
|
4
|
+
initialValue?: string;
|
|
5
|
+
onTextChange?: (value: string) => void;
|
|
6
|
+
onSearch: (value: string) => void;
|
|
7
|
+
onFocus?: () => void;
|
|
8
|
+
editable?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const SearchBar = createRemoteComponent<'SearchBar', SearchBarProps>(
|
|
13
|
+
'SearchBar',
|
|
14
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface SectionHeaderAction {
|
|
4
|
+
title: string;
|
|
5
|
+
onPress: () => void;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface SectionProps {
|
|
9
|
+
title?: string;
|
|
10
|
+
action?: SectionHeaderAction;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Section = createRemoteComponent<'Section', SectionProps>(
|
|
14
|
+
'Section',
|
|
15
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface Segment {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface SegmentedControlProps {
|
|
10
|
+
segments: Segment[];
|
|
11
|
+
selected: string;
|
|
12
|
+
onSelect: (id: string) => void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const SegmentedControl = createRemoteComponent<
|
|
16
|
+
'SegmentedControl',
|
|
17
|
+
SegmentedControlProps
|
|
18
|
+
>('SegmentedControl');
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type VerticalSpacing =
|
|
2
|
+
| 'HalfPoint'
|
|
3
|
+
| 'ExtraSmall'
|
|
4
|
+
| 'Small'
|
|
5
|
+
| 'Medium'
|
|
6
|
+
| 'Large'
|
|
7
|
+
| 'ExtraLarge';
|
|
8
|
+
|
|
9
|
+
export type HorizontalSpacing =
|
|
10
|
+
| 'HalfPoint'
|
|
11
|
+
| 'ExtraSmall'
|
|
12
|
+
| 'Small'
|
|
13
|
+
| 'Medium'
|
|
14
|
+
| 'Large'
|
|
15
|
+
| 'ExtraLarge'
|
|
16
|
+
| 'ExtraExtraLarge';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import type {HorizontalSpacing, VerticalSpacing} from '../Spacing/Spacing';
|
|
3
|
+
|
|
4
|
+
export type Spacing =
|
|
5
|
+
| 0.5
|
|
6
|
+
| 1
|
|
7
|
+
| 2
|
|
8
|
+
| 3
|
|
9
|
+
| 4
|
|
10
|
+
| 5
|
|
11
|
+
| 6
|
|
12
|
+
| 7
|
|
13
|
+
| 8
|
|
14
|
+
| 9
|
|
15
|
+
| 10
|
|
16
|
+
| 11
|
|
17
|
+
| 13
|
|
18
|
+
| 16;
|
|
19
|
+
|
|
20
|
+
export interface StackProps {
|
|
21
|
+
direction: 'vertical' | 'horizontal';
|
|
22
|
+
alignment?:
|
|
23
|
+
| 'flex-end'
|
|
24
|
+
| 'center'
|
|
25
|
+
| 'flex-start'
|
|
26
|
+
| 'space-around'
|
|
27
|
+
| 'space-between'
|
|
28
|
+
| 'space-evenly';
|
|
29
|
+
paddingVertical?: VerticalSpacing;
|
|
30
|
+
paddingHorizontal?: HorizontalSpacing;
|
|
31
|
+
spacing?: Spacing;
|
|
32
|
+
flexChildren?: boolean;
|
|
33
|
+
flex?: number;
|
|
34
|
+
flexWrap?: 'wrap' | 'nowrap' | 'wrap-reverse' | undefined;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const Stack = createRemoteComponent<'Stack', StackProps>('Stack');
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface StepperProps {
|
|
4
|
+
/**
|
|
5
|
+
* The initial value of the stepper.
|
|
6
|
+
*/
|
|
7
|
+
initialValue: number;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* A callback that is called when the value of the stepper changes.
|
|
11
|
+
*/
|
|
12
|
+
onValueChanged: (value: number) => void;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @defaultValue 1
|
|
16
|
+
* Use to set the minimum value of the stepper.
|
|
17
|
+
*/
|
|
18
|
+
minimumValue?: number;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Use to set the maximum value of the stepper.
|
|
22
|
+
*/
|
|
23
|
+
maximumValue?: number;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Only use this field if you wish to override the internal state of this component.
|
|
27
|
+
*/
|
|
28
|
+
value?: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @defaultValue false
|
|
32
|
+
* Whether the field can be modified.
|
|
33
|
+
*/
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const Stepper = createRemoteComponent<'Stepper', StepperProps>(
|
|
38
|
+
'Stepper',
|
|
39
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export type TextVariant =
|
|
4
|
+
| 'sectionHeader'
|
|
5
|
+
| 'captionRegular'
|
|
6
|
+
| 'captionRegularTall'
|
|
7
|
+
| 'captionMedium'
|
|
8
|
+
| 'body'
|
|
9
|
+
| 'headingSmall'
|
|
10
|
+
| 'headingLarge'
|
|
11
|
+
| 'display';
|
|
12
|
+
|
|
13
|
+
export type ColorType =
|
|
14
|
+
| 'TextNeutral'
|
|
15
|
+
| 'TextSubdued'
|
|
16
|
+
| 'TextDisabled'
|
|
17
|
+
| 'TextWarning'
|
|
18
|
+
| 'TextCritical'
|
|
19
|
+
| 'TextSuccess'
|
|
20
|
+
| 'TextInteractive'
|
|
21
|
+
| 'TextHighlight';
|
|
22
|
+
|
|
23
|
+
export interface TextProps {
|
|
24
|
+
variant?: TextVariant;
|
|
25
|
+
color?: ColorType;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const Text = createRemoteComponent<'Text', TextProps>('Text');
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import type {InputProps, MinMaxLengthProps} from '../shared/InputField';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents the properties for the TextField component.
|
|
6
|
+
* @typedef {Object} TextAreaProps
|
|
7
|
+
* @property {number} [rows] - The initial number of lines to be displayed. Maximum of 8 lines.
|
|
8
|
+
*/
|
|
9
|
+
export interface TextAreaProps extends InputProps, MinMaxLengthProps {
|
|
10
|
+
rows?: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const TextArea = createRemoteComponent<'TextArea', TextAreaProps>(
|
|
14
|
+
'TextArea',
|
|
15
|
+
);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import type {BaseTextFieldProps} from '../shared/BaseTextField';
|
|
3
|
+
import type {InputProps} from '../shared/InputField';
|
|
4
|
+
|
|
5
|
+
export interface ActionProps {
|
|
6
|
+
type: 'action';
|
|
7
|
+
message: string;
|
|
8
|
+
onPress: (value: string) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface InfoProps {
|
|
12
|
+
type: 'info';
|
|
13
|
+
message: string;
|
|
14
|
+
alwaysShow?: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface SuccessProps {
|
|
18
|
+
type: 'success';
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface PasswordProps {
|
|
23
|
+
type: 'password';
|
|
24
|
+
onPress: (value: string) => void;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type EmbeddedElementProps =
|
|
28
|
+
| ActionProps
|
|
29
|
+
| InfoProps
|
|
30
|
+
| SuccessProps
|
|
31
|
+
| PasswordProps;
|
|
32
|
+
|
|
33
|
+
export interface NewTextFieldProps extends InputProps {}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated
|
|
37
|
+
* This TextField component will only support NewTextFieldProps in version 2.0.0.
|
|
38
|
+
* Please migrate to using NewTextFieldProps as soon as possible.
|
|
39
|
+
*/
|
|
40
|
+
export interface TextFieldProps extends BaseTextFieldProps {
|
|
41
|
+
rightElementStyle?: EmbeddedElementProps;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export const TextField = createRemoteComponent<
|
|
45
|
+
'TextField',
|
|
46
|
+
TextFieldProps | NewTextFieldProps
|
|
47
|
+
>('TextField');
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface TileProps {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
destructive?: boolean;
|
|
8
|
+
badgeValue?: number;
|
|
9
|
+
onPress?: () => void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Tile = createRemoteComponent<'Tile', TileProps>('Tile');
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
import {InputProps} from '../shared/InputField';
|
|
3
|
+
|
|
4
|
+
export interface TimeFieldProps
|
|
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
|
+
is24Hour?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const TimeField = createRemoteComponent<'TimeField', TimeFieldProps>(
|
|
21
|
+
'TimeField',
|
|
22
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {createRemoteComponent} from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
export interface TimePickerProps {
|
|
4
|
+
selected?: string;
|
|
5
|
+
onChange?(selected: string): void;
|
|
6
|
+
visibleState: [boolean, (visible: boolean) => void];
|
|
7
|
+
is24Hour?: boolean;
|
|
8
|
+
inputMode?: 'inline' | 'spinner';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const TimePicker = createRemoteComponent<'TimePicker', TimePickerProps>(
|
|
12
|
+
'TimePicker',
|
|
13
|
+
);
|