@shopify/ui-extensions 2025.7.1 → 2025.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/point-of-sale/render/components/Badge/Badge.js +0 -7
- package/build/cjs/surfaces/point-of-sale/render/components/Banner/Banner.js +0 -9
- package/build/cjs/surfaces/point-of-sale/render/components/Button/Button.js +0 -8
- package/build/cjs/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/DatePicker/DatePicker.js +0 -8
- package/build/cjs/surfaces/point-of-sale/render/components/Dialog/Dialog.js +0 -12
- package/build/cjs/surfaces/point-of-sale/render/components/Image/Image.js +7 -2
- package/build/cjs/surfaces/point-of-sale/render/components/Navigator/Navigator.js +0 -4
- package/build/cjs/surfaces/point-of-sale/render/components/NumberField/NumberField.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/POSBlock/POSBlock.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.js +0 -4
- package/build/cjs/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.js +0 -5
- package/build/cjs/surfaces/point-of-sale/render/components/PinPad/PinPad.js +16 -20
- package/build/cjs/surfaces/point-of-sale/render/components/QRCode/QRCode.js +0 -5
- package/build/cjs/surfaces/point-of-sale/render/components/Screen/Screen.js +0 -22
- package/build/cjs/surfaces/point-of-sale/render/components/Section/Section.js +2 -8
- package/build/cjs/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.js +4 -0
- package/build/cjs/surfaces/point-of-sale/render/components/Stack/Stack.js +4 -0
- package/build/cjs/surfaces/point-of-sale/render/components/Text/Text.js +28 -0
- package/build/cjs/surfaces/point-of-sale/render/components/TextArea/TextArea.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/Tile/Tile.js +0 -10
- package/build/cjs/surfaces/point-of-sale/render/components/TimePicker/TimePicker.js +0 -9
- package/build/cjs/surfaces/point-of-sale/types/storage.js +3 -0
- package/build/esm/surfaces/point-of-sale/render/components/Badge/Badge.mjs +0 -7
- package/build/esm/surfaces/point-of-sale/render/components/Banner/Banner.mjs +0 -9
- package/build/esm/surfaces/point-of-sale/render/components/Button/Button.mjs +0 -8
- package/build/esm/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/DatePicker/DatePicker.mjs +0 -8
- package/build/esm/surfaces/point-of-sale/render/components/Dialog/Dialog.mjs +0 -12
- package/build/esm/surfaces/point-of-sale/render/components/Image/Image.mjs +7 -2
- package/build/esm/surfaces/point-of-sale/render/components/Navigator/Navigator.mjs +0 -4
- package/build/esm/surfaces/point-of-sale/render/components/NumberField/NumberField.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/POSBlock/POSBlock.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.mjs +0 -4
- package/build/esm/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.mjs +0 -5
- package/build/esm/surfaces/point-of-sale/render/components/PinPad/PinPad.mjs +16 -20
- package/build/esm/surfaces/point-of-sale/render/components/QRCode/QRCode.mjs +0 -5
- package/build/esm/surfaces/point-of-sale/render/components/Screen/Screen.mjs +0 -22
- package/build/esm/surfaces/point-of-sale/render/components/Section/Section.mjs +2 -8
- package/build/esm/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.mjs +4 -0
- package/build/esm/surfaces/point-of-sale/render/components/Stack/Stack.mjs +4 -0
- package/build/esm/surfaces/point-of-sale/render/components/Text/Text.mjs +28 -0
- package/build/esm/surfaces/point-of-sale/render/components/TextArea/TextArea.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/Tile/Tile.mjs +0 -10
- package/build/esm/surfaces/point-of-sale/render/components/TimePicker/TimePicker.mjs +0 -9
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +3 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Badge/Badge.esnext +0 -7
- package/build/esnext/surfaces/point-of-sale/render/components/Banner/Banner.esnext +0 -9
- package/build/esnext/surfaces/point-of-sale/render/components/Button/Button.esnext +0 -8
- package/build/esnext/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/DatePicker/DatePicker.esnext +0 -8
- package/build/esnext/surfaces/point-of-sale/render/components/Dialog/Dialog.esnext +0 -12
- package/build/esnext/surfaces/point-of-sale/render/components/Image/Image.esnext +7 -2
- package/build/esnext/surfaces/point-of-sale/render/components/Navigator/Navigator.esnext +0 -4
- package/build/esnext/surfaces/point-of-sale/render/components/NumberField/NumberField.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/POSBlock/POSBlock.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.esnext +0 -4
- package/build/esnext/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.esnext +0 -5
- package/build/esnext/surfaces/point-of-sale/render/components/PinPad/PinPad.esnext +16 -20
- package/build/esnext/surfaces/point-of-sale/render/components/QRCode/QRCode.esnext +0 -5
- package/build/esnext/surfaces/point-of-sale/render/components/Screen/Screen.esnext +0 -22
- package/build/esnext/surfaces/point-of-sale/render/components/Section/Section.esnext +2 -8
- package/build/esnext/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.esnext +4 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Stack/Stack.esnext +4 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Text/Text.esnext +28 -0
- package/build/esnext/surfaces/point-of-sale/render/components/TextArea/TextArea.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/Tile/Tile.esnext +0 -10
- package/build/esnext/surfaces/point-of-sale/render/components/TimePicker/TimePicker.esnext +0 -9
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +3 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +20 -6
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout/targets.d.ts +2 -2
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/announcement/announcement.d.ts +20 -6
- package/build/ts/surfaces/customer-account/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +2 -0
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +2 -0
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets.d.ts +4 -4
- package/build/ts/surfaces/customer-account/targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +27 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +27 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/action-api/action-api.d.ts +3 -5
- package/build/ts/surfaces/point-of-sale/render/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/cart-api/cart-api.d.ts +37 -31
- package/build/ts/surfaces/point-of-sale/render/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/cart-line-item-api/cart-line-item-api.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.d.ts +6 -4
- package/build/ts/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/customer-api/customer-api.d.ts +4 -1
- package/build/ts/surfaces/point-of-sale/render/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/device-api/device-api.d.ts +4 -4
- package/build/ts/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.d.ts +6 -3
- package/build/ts/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/locale-api/locale-api.d.ts +3 -4
- package/build/ts/surfaces/point-of-sale/render/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/navigation-api/navigation-api.d.ts +9 -7
- package/build/ts/surfaces/point-of-sale/render/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/order-api/order-api.d.ts +5 -5
- package/build/ts/surfaces/point-of-sale/render/api/print-api/print-api.d.ts +7 -12
- package/build/ts/surfaces/point-of-sale/render/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/product-api/product-api.d.ts +5 -2
- package/build/ts/surfaces/point-of-sale/render/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/product-search-api/product-search-api.d.ts +24 -10
- package/build/ts/surfaces/point-of-sale/render/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/scanner-api/scanner-api.d.ts +22 -10
- package/build/ts/surfaces/point-of-sale/render/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/session-api/session-api.d.ts +3 -6
- package/build/ts/surfaces/point-of-sale/render/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/storage-api/storage-api.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/render/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/toast-api/toast-api.d.ts +11 -1
- package/build/ts/surfaces/point-of-sale/render/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Badge/Badge.d.ts +12 -9
- package/build/ts/surfaces/point-of-sale/render/components/Badge/Badge.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Banner/Banner.d.ts +13 -14
- package/build/ts/surfaces/point-of-sale/render/components/Banner/Banner.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Button/Button.d.ts +9 -15
- package/build/ts/surfaces/point-of-sale/render/components/Button/Button.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.d.ts +6 -8
- package/build/ts/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/DatePicker/DatePicker.d.ts +8 -11
- package/build/ts/surfaces/point-of-sale/render/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Dialog/Dialog.d.ts +13 -20
- package/build/ts/surfaces/point-of-sale/render/components/Dialog/Dialog.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Icon/Icon.d.ts +10 -8
- package/build/ts/surfaces/point-of-sale/render/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Image/Image.d.ts +10 -5
- package/build/ts/surfaces/point-of-sale/render/components/Image/Image.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/List/List.d.ts +30 -25
- package/build/ts/surfaces/point-of-sale/render/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Navigator/Navigator.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/render/components/Navigator/Navigator.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/NumberField/NumberField.d.ts +7 -7
- package/build/ts/surfaces/point-of-sale/render/components/NumberField/NumberField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlock.d.ts +8 -10
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlock.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/PinPad/PinPad.d.ts +25 -28
- package/build/ts/surfaces/point-of-sale/render/components/PinPad/PinPad.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.d.ts +1 -11
- package/build/ts/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/QRCode/QRCode.d.ts +1 -5
- package/build/ts/surfaces/point-of-sale/render/components/QRCode/QRCode.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.d.ts +7 -5
- package/build/ts/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Screen/Screen.d.ts +13 -33
- package/build/ts/surfaces/point-of-sale/render/components/Screen/Screen.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/SearchBar/SearchBar.d.ts +7 -7
- package/build/ts/surfaces/point-of-sale/render/components/Section/Section.d.ts +6 -11
- package/build/ts/surfaces/point-of-sale/render/components/Section/Section.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.d.ts +9 -7
- package/build/ts/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.d.ts +9 -6
- package/build/ts/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Selectable/Selectable.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/render/components/Stack/Stack.d.ts +22 -22
- package/build/ts/surfaces/point-of-sale/render/components/Stack/Stack.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Stepper/Stepper.d.ts +8 -6
- package/build/ts/surfaces/point-of-sale/render/components/Stepper/Stepper.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Text/Text.d.ts +28 -2
- package/build/ts/surfaces/point-of-sale/render/components/Text/Text.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TextArea/TextArea.d.ts +1 -6
- package/build/ts/surfaces/point-of-sale/render/components/TextArea/TextArea.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TextField/TextField.d.ts +30 -0
- package/build/ts/surfaces/point-of-sale/render/components/TextField/TextField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Tile/Tile.d.ts +6 -15
- package/build/ts/surfaces/point-of-sale/render/components/Tile/Tile.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TimeField/TimeField.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/render/components/TimeField/TimeField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TimePicker/TimePicker.d.ts +10 -14
- package/build/ts/surfaces/point-of-sale/render/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/BaseTextField.d.ts +6 -14
- package/build/ts/surfaces/point-of-sale/render/components/shared/BaseTextField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/InputField.d.ts +16 -37
- package/build/ts/surfaces/point-of-sale/render/components/shared/InputField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/box.d.ts +31 -42
- package/build/ts/surfaces/point-of-sale/render/components/shared/box.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/deprecated-types.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/deprecated-types.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/inner-layouts.d.ts +13 -7
- package/build/ts/surfaces/point-of-sale/render/components/shared/inner-layouts.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/sizes.d.ts +3 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/sizes.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets.d.ts +138 -0
- package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +39 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +281 -10
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +6 -3
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +3 -3
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -2
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +2 -3
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +172 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +7 -5
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +32 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +13 -11
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +20 -6
- package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
- package/src/surfaces/checkout/targets.ts +2 -2
- package/src/surfaces/checkout.ts +1 -1
- package/src/surfaces/customer-account/api/announcement/announcement.ts +20 -6
- package/src/surfaces/customer-account/api/docs.ts +3 -0
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +2 -0
- package/src/surfaces/customer-account/api.ts +2 -0
- package/src/surfaces/customer-account/targets.ts +5 -4
- package/src/surfaces/point-of-sale/api.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +15 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +6 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +27 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +19 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +9 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +19 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +12 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +27 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +14 -0
- package/src/surfaces/point-of-sale/render/api/action-api/action-api.ts +3 -5
- package/src/surfaces/point-of-sale/render/api/cart-api/cart-api.ts +37 -31
- package/src/surfaces/point-of-sale/render/api/cart-line-item-api/cart-line-item-api.ts +2 -2
- package/src/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.ts +6 -4
- package/src/surfaces/point-of-sale/render/api/customer-api/customer-api.ts +4 -1
- package/src/surfaces/point-of-sale/render/api/device-api/device-api.ts +4 -4
- package/src/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.ts +6 -3
- package/src/surfaces/point-of-sale/render/api/locale-api/locale-api.ts +3 -4
- package/src/surfaces/point-of-sale/render/api/navigation-api/navigation-api.ts +9 -7
- package/src/surfaces/point-of-sale/render/api/order-api/order-api.ts +5 -5
- package/src/surfaces/point-of-sale/render/api/print-api/print-api.ts +7 -12
- package/src/surfaces/point-of-sale/render/api/product-api/product-api.ts +5 -2
- package/src/surfaces/point-of-sale/render/api/product-search-api/product-search-api.ts +24 -10
- package/src/surfaces/point-of-sale/render/api/scanner-api/scanner-api.ts +22 -10
- package/src/surfaces/point-of-sale/render/api/session-api/session-api.ts +3 -6
- package/src/surfaces/point-of-sale/render/api/storage-api/storage-api.ts +7 -0
- package/src/surfaces/point-of-sale/render/api/toast-api/toast-api.ts +11 -1
- package/src/surfaces/point-of-sale/render/components/Badge/Badge.ts +12 -10
- package/src/surfaces/point-of-sale/render/components/Banner/Banner.ts +13 -14
- package/src/surfaces/point-of-sale/render/components/Button/Button.ts +9 -15
- package/src/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.ts +6 -8
- package/src/surfaces/point-of-sale/render/components/DatePicker/DatePicker.ts +8 -11
- package/src/surfaces/point-of-sale/render/components/Dialog/Dialog.ts +13 -20
- package/src/surfaces/point-of-sale/render/components/Icon/Icon.ts +254 -248
- package/src/surfaces/point-of-sale/render/components/Image/Image.ts +14 -5
- package/src/surfaces/point-of-sale/render/components/List/List.ts +30 -25
- package/src/surfaces/point-of-sale/render/components/Navigator/Navigator.ts +1 -4
- package/src/surfaces/point-of-sale/render/components/NumberField/NumberField.ts +7 -7
- package/src/surfaces/point-of-sale/render/components/POSBlock/POSBlock.ts +5 -9
- package/src/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.ts +1 -4
- package/src/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.ts +0 -4
- package/src/surfaces/point-of-sale/render/components/PinPad/PinPad.ts +25 -28
- package/src/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.ts +1 -11
- package/src/surfaces/point-of-sale/render/components/QRCode/QRCode.ts +1 -5
- package/src/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.ts +4 -4
- package/src/surfaces/point-of-sale/render/components/Screen/Screen.ts +13 -33
- package/src/surfaces/point-of-sale/render/components/SearchBar/SearchBar.ts +7 -7
- package/src/surfaces/point-of-sale/render/components/Section/Section.ts +6 -11
- package/src/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.ts +6 -6
- package/src/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.ts +9 -7
- package/src/surfaces/point-of-sale/render/components/Selectable/Selectable.ts +2 -2
- package/src/surfaces/point-of-sale/render/components/Stack/Stack.ts +27 -22
- package/src/surfaces/point-of-sale/render/components/Stepper/Stepper.ts +8 -6
- package/src/surfaces/point-of-sale/render/components/Text/Text.ts +28 -2
- package/src/surfaces/point-of-sale/render/components/TextArea/TextArea.ts +1 -6
- package/src/surfaces/point-of-sale/render/components/TextField/TextField.ts +30 -0
- package/src/surfaces/point-of-sale/render/components/Tile/Tile.ts +6 -15
- package/src/surfaces/point-of-sale/render/components/TimeField/TimeField.ts +2 -1
- package/src/surfaces/point-of-sale/render/components/TimePicker/TimePicker.ts +10 -14
- package/src/surfaces/point-of-sale/render/components/shared/BaseTextField.ts +6 -14
- package/src/surfaces/point-of-sale/render/components/shared/InputField.ts +16 -37
- package/src/surfaces/point-of-sale/render/components/shared/box.ts +33 -42
- package/src/surfaces/point-of-sale/render/components/shared/deprecated-types.ts +12 -0
- package/src/surfaces/point-of-sale/render/components/shared/inner-layouts.ts +14 -7
- package/src/surfaces/point-of-sale/render/components/shared/sizes.ts +3 -1
- package/src/surfaces/point-of-sale/targets.ts +139 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +39 -0
- package/src/surfaces/point-of-sale/types/cart.ts +284 -10
- package/src/surfaces/point-of-sale/types/country-code.ts +3 -0
- package/src/surfaces/point-of-sale/types/device.ts +6 -3
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +3 -3
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +11 -0
- package/src/surfaces/point-of-sale/types/money.ts +23 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -2
- package/src/surfaces/point-of-sale/types/order.ts +18 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +2 -3
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/product.ts +172 -0
- package/src/surfaces/point-of-sale/types/session.ts +7 -5
- package/src/surfaces/point-of-sale/types/shipping-line.ts +32 -0
- package/src/surfaces/point-of-sale/types/storage.ts +13 -11
- package/src/surfaces/point-of-sale/types/tax-line.ts +21 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +7 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { InputProps } from '../shared/InputField';
|
|
2
2
|
export interface TimeFieldProps extends Pick<InputProps, 'value' | 'error' | 'label' | 'disabled' | 'onFocus' | 'onBlur' | 'onChange' | 'action' | 'helpText'> {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Whether the clock displays in 24-hour format instead of 12-hour format. This property only affects Android devices.
|
|
5
|
+
*
|
|
5
6
|
* @defaultValue false
|
|
6
7
|
*/
|
|
7
8
|
is24Hour?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/TimeField/TimeField.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,UAAU,EACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,UAAU,CACb;IACD
|
|
1
|
+
{"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/TimeField/TimeField.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,UAAU,EACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,UAAU,CACb;IACD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS;;;;CAErB,CAAC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents the properties for the TimePicker component.
|
|
3
|
-
* @property selected - The selected time.
|
|
4
|
-
* @property onChange - A callback for changes.
|
|
5
|
-
* @property visibleState - Controls the visible state, and a callback to set the visible state as false when the dialog closes.
|
|
6
|
-
* @property is24Hour - (Android only) Whether the clock displays in 24 hour time instead of 12 hour time.
|
|
7
|
-
* @property inputMode - Whether to display the picker in inline (clock) mode or spinner mode.
|
|
8
|
-
*/
|
|
9
1
|
export interface TimePickerProps {
|
|
10
2
|
/**
|
|
11
|
-
* The selected time.
|
|
12
|
-
*
|
|
3
|
+
* The currently selected time value. Defaults to the current time when not specified.
|
|
4
|
+
*
|
|
5
|
+
* @defaultValue The current time.
|
|
13
6
|
*/
|
|
14
7
|
selected?: string;
|
|
15
8
|
/**
|
|
@@ -17,17 +10,20 @@ export interface TimePickerProps {
|
|
|
17
10
|
*/
|
|
18
11
|
onChange?(selected: string): void;
|
|
19
12
|
/**
|
|
20
|
-
*
|
|
13
|
+
* A tuple that controls the visible state of the picker and provides a callback to set visibility to false when the dialog closes. The first element is the current visibility state, and the second is a setter function.
|
|
21
14
|
*/
|
|
22
15
|
visibleState: [boolean, (visible: boolean) => void];
|
|
23
16
|
/**
|
|
24
|
-
*
|
|
17
|
+
* Whether the clock displays in 24-hour format instead of 12-hour format. This property only affects Android devices.
|
|
18
|
+
*
|
|
25
19
|
* @defaultValue false
|
|
26
20
|
*/
|
|
27
21
|
is24Hour?: boolean;
|
|
28
22
|
/**
|
|
29
|
-
*
|
|
30
|
-
* iOS
|
|
23
|
+
* The display mode for the time picker.
|
|
24
|
+
* - `inline`: A clock-style interface that displays an analog or digital clock where users can tap to select specific times. Provides visual context about time relationships. Only available on Android devices—iOS always uses spinner mode.
|
|
25
|
+
* - `spinner`: A spinner-style selector with scrollable columns for hours, minutes, and optionally seconds. Offers a more compact interface suitable for all devices and is the only mode supported on iOS.
|
|
26
|
+
*
|
|
31
27
|
* @defaultValue 'inline'
|
|
32
28
|
*/
|
|
33
29
|
inputMode?: 'inline' | 'spinner';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/TimePicker/TimePicker.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/TimePicker/TimePicker.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;IACpD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,UAAU;;;;CAEtB,CAAC"}
|
|
@@ -1,34 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @property `title` the title of the `TextField`.
|
|
3
|
-
* @property `initialValue` populates the `TextField` with an text initial value.
|
|
4
|
-
* @property `placeholder` sets a placeholder value for when the `TextField` is empty.
|
|
5
|
-
* @property `isValid` set whether the current value in the `TextField` is valid.
|
|
6
|
-
* @property `errorMessage` sets an error message to present to the user.
|
|
7
|
-
* @property `onChangeText` a callback that is executed every time the `TextField` value changes.
|
|
8
|
-
*/
|
|
9
1
|
export interface BaseTextFieldProps {
|
|
10
2
|
/**
|
|
11
|
-
* The title
|
|
3
|
+
* The title text displayed for the text field.
|
|
12
4
|
*/
|
|
13
5
|
title?: string;
|
|
14
6
|
/**
|
|
15
|
-
*
|
|
7
|
+
* The initial text value to populate the text field with when it first renders.
|
|
16
8
|
*/
|
|
17
9
|
initialValue?: string;
|
|
18
10
|
/**
|
|
19
|
-
*
|
|
11
|
+
* A placeholder hint displayed when the text field is empty.
|
|
20
12
|
*/
|
|
21
13
|
placeholder?: string;
|
|
22
14
|
/**
|
|
23
|
-
*
|
|
15
|
+
* Controls the validation state of the current value in the text field. When `false`, indicates invalid input.
|
|
24
16
|
*/
|
|
25
17
|
isValid?: boolean;
|
|
26
18
|
/**
|
|
27
|
-
*
|
|
19
|
+
* An error message to display to the user when validation fails.
|
|
28
20
|
*/
|
|
29
21
|
errorMessage?: string;
|
|
30
22
|
/**
|
|
31
|
-
* A callback
|
|
23
|
+
* A callback function executed every time the text field value changes, receiving the new value as a parameter.
|
|
32
24
|
*/
|
|
33
25
|
onChangeText?: (value: string) => void;
|
|
34
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTextField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/BaseTextField.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"BaseTextField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/BaseTextField.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC"}
|
|
@@ -1,68 +1,47 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @typedef {Object} InputAction
|
|
4
|
-
* @property {string} label - The text displayed in the button.
|
|
5
|
-
* @property {boolean} [disabled] - Whether the button is disabled.
|
|
6
|
-
* @property {function(): void} onPress - A callback to be performed.
|
|
2
|
+
* Defines the configuration object for action buttons displayed below input fields to provide extra functionality.
|
|
7
3
|
*/
|
|
8
4
|
export interface InputAction {
|
|
9
5
|
/**
|
|
10
|
-
* The text displayed
|
|
6
|
+
* The text displayed on the action button.
|
|
11
7
|
*/
|
|
12
8
|
label: string;
|
|
13
9
|
/**
|
|
14
|
-
* A callback
|
|
10
|
+
* A callback function executed when the action button is pressed.
|
|
15
11
|
*/
|
|
16
12
|
onPress: () => void;
|
|
17
13
|
/**
|
|
18
|
-
*
|
|
14
|
+
* A boolean value that determines whether the action button can be pressed.
|
|
19
15
|
*/
|
|
20
16
|
disabled?: boolean;
|
|
21
17
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Represents the properties for the text field components.
|
|
24
|
-
* @typedef {Object} InputProps
|
|
25
|
-
* @property {boolean} [disabled] - Whether the field is disabled.
|
|
26
|
-
* @property {string} [error] - Indicate an error to the user. The field will be given a specific stylistic treatment to communicate problems that have to be resolved immediately.
|
|
27
|
-
* @property {string} [label] - Content to use as the field label.
|
|
28
|
-
* @property {function(): void} [onBlur] - Callback when focus is blurred.
|
|
29
|
-
* @property {function(value: string): void} [onChange] - Callback when the user has finished editing a field.
|
|
30
|
-
* @property {function(): void} [onFocus] - Callback when input is focused.
|
|
31
|
-
* @property {function(value: string): void} [onInput] - Callback when the user makes any changes in the field. As noted in the documentation for `onChange`, you **must not** use this to update `value` — use the `onChange` callback for that purpose. Use the `onInput` prop when you need to do something as soon as the user makes a change, like clearing validation errors that apply to the field as soon as the user begins making the necessary adjustments.
|
|
32
|
-
* @property {string} [placeholder] - A short hint that describes the expected value of the field.
|
|
33
|
-
* @property {boolean} [required] - Whether the field needs a value.
|
|
34
|
-
* @property {string} [value] - The current value for the field. If omitted, the field will be empty. You should update this value in response to the `onChange` callback.
|
|
35
|
-
* @property {string} [helpText] - Label under the text field which provides guidance or instructions that assist users.
|
|
36
|
-
* @property {InputAction} [action] - A button under the text field to provide extra functionality.
|
|
37
|
-
* @property {number?} [maxLength] - Specifies the maximum number of characters allowed.
|
|
38
|
-
*/
|
|
39
18
|
export interface InputProps {
|
|
40
19
|
/**
|
|
41
|
-
*
|
|
20
|
+
* Controls whether the field can be modified. When `true`, the field is disabled and users cannot edit its value.
|
|
42
21
|
*/
|
|
43
22
|
disabled?: boolean;
|
|
44
23
|
/**
|
|
45
|
-
*
|
|
24
|
+
* An error message that indicates a problem to the user. The field is given specific stylistic treatment to communicate issues that must be resolved immediately.
|
|
46
25
|
*/
|
|
47
26
|
error?: string;
|
|
48
27
|
/**
|
|
49
|
-
* The content to use as the field label.
|
|
28
|
+
* The content to use as the field label that describes the text information being requested.
|
|
50
29
|
*/
|
|
51
30
|
label: string;
|
|
52
31
|
/**
|
|
53
|
-
*
|
|
32
|
+
* A callback function executed when focus is removed from the field.
|
|
54
33
|
*/
|
|
55
34
|
onBlur?: () => void;
|
|
56
35
|
/**
|
|
57
|
-
*
|
|
36
|
+
* A callback function executed when the user has finished editing the field, receiving the new text value as a parameter. You should update the `value` property in response to this callback.
|
|
58
37
|
*/
|
|
59
38
|
onChange?: (value: string) => void;
|
|
60
39
|
/**
|
|
61
|
-
*
|
|
40
|
+
* A callback function executed when the field receives focus.
|
|
62
41
|
*/
|
|
63
42
|
onFocus?: () => void;
|
|
64
43
|
/**
|
|
65
|
-
*
|
|
44
|
+
* A callback function executed immediately when the user makes any change in the field. Use this for real-time feedback, such as clearing validation errors as soon as the user begins making corrections. Don't use this to update the `value` property—the `onChange` callback is the appropriate handler for updating the field's value.
|
|
66
45
|
*/
|
|
67
46
|
onInput?: (value: string) => void;
|
|
68
47
|
/**
|
|
@@ -70,23 +49,23 @@ export interface InputProps {
|
|
|
70
49
|
*/
|
|
71
50
|
placeholder?: string;
|
|
72
51
|
/**
|
|
73
|
-
*
|
|
52
|
+
* A boolean that indicates whether the field needs a value for form submission or validation purposes.
|
|
74
53
|
*/
|
|
75
54
|
required?: boolean;
|
|
76
55
|
/**
|
|
77
|
-
* The current value for the field.
|
|
56
|
+
* The current text value for the field. If omitted, the field will be empty. You should update the `value` property in response to the `onChange` callback.
|
|
78
57
|
*/
|
|
79
58
|
value?: string;
|
|
80
59
|
/**
|
|
81
|
-
* The label under the
|
|
60
|
+
* The label text displayed under the field that provides guidance or instructions to assist users.
|
|
82
61
|
*/
|
|
83
62
|
helpText?: string;
|
|
84
63
|
/**
|
|
85
|
-
* A button under the text field to provide extra functionality.
|
|
64
|
+
* A button configuration object displayed under the text field to provide extra functionality.
|
|
86
65
|
*/
|
|
87
66
|
action?: InputAction;
|
|
88
67
|
/**
|
|
89
|
-
* The maximum number of characters allowed in the
|
|
68
|
+
* The maximum number of characters allowed in the text field.
|
|
90
69
|
*/
|
|
91
70
|
maxLength?: number;
|
|
92
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/InputField.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/InputField.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,114 +1,103 @@
|
|
|
1
1
|
import { SizeKeyword } from './sizes';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the allowed padding values, including all standardized size keywords and `'none'` for no padding.
|
|
4
|
+
*/
|
|
2
5
|
export type PaddingKeys = SizeKeyword | 'none';
|
|
3
6
|
export interface PaddingProps {
|
|
4
7
|
/**
|
|
5
|
-
*
|
|
8
|
+
* Adjusts the padding on all edges of the box using predefined spacing values.
|
|
6
9
|
*
|
|
7
10
|
* @default '0'
|
|
8
11
|
*/
|
|
9
12
|
padding?: PaddingKeys;
|
|
10
13
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* This overrides the block value of `padding`.
|
|
14
|
+
* Adjusts the padding on the block axis (vertical in horizontal writing modes). Overrides the block value from `padding`.
|
|
14
15
|
*
|
|
15
16
|
* @default '0'
|
|
16
17
|
*/
|
|
17
18
|
paddingBlock?: PaddingKeys;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
20
|
+
* Adjusts the padding at the block-start edge (top in horizontal writing modes). Overrides the start value from `paddingBlock`.
|
|
22
21
|
*
|
|
23
22
|
* @default '0'
|
|
24
23
|
*/
|
|
25
24
|
paddingBlockStart?: PaddingKeys;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
26
|
+
* Adjusts the padding at the block-end edge (bottom in horizontal writing modes). Overrides the end value from `paddingBlock`.
|
|
30
27
|
*
|
|
31
28
|
* @default '0'
|
|
32
29
|
*/
|
|
33
30
|
paddingBlockEnd?: PaddingKeys;
|
|
34
31
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* This overrides the inline value of `padding`.
|
|
32
|
+
* Adjusts the padding on the inline axis (horizontal in horizontal writing modes). Overrides the inline value from `padding`.
|
|
39
33
|
*
|
|
40
34
|
* @default '0'
|
|
41
35
|
*/
|
|
42
36
|
paddingInline?: PaddingKeys;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
38
|
+
* Adjusts the padding at the inline-start edge (left in left-to-right languages). Overrides the start value from `paddingInline`.
|
|
47
39
|
*
|
|
48
40
|
* @default '0'
|
|
49
41
|
*/
|
|
50
42
|
paddingInlineStart?: PaddingKeys;
|
|
51
43
|
/**
|
|
52
|
-
*
|
|
44
|
+
* Adjusts the padding at the inline-end edge (right in left-to-right languages). Overrides the end value from `paddingInline`.
|
|
53
45
|
*
|
|
54
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
55
|
-
|
|
56
46
|
* @default '0'
|
|
57
47
|
*/
|
|
58
48
|
paddingInlineEnd?: PaddingKeys;
|
|
59
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Defines CSS size units for dimensions, supporting pixel values, percentages, or zero.
|
|
52
|
+
*/
|
|
60
53
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
54
|
+
/**
|
|
55
|
+
* Extends SizeUnits to include `'none'` for properties that can be explicitly disabled.
|
|
56
|
+
*/
|
|
61
57
|
export type SizeUnitsOrNone = SizeUnits | 'none';
|
|
58
|
+
/**
|
|
59
|
+
* Extends SizeUnits to include `'auto'` for properties that can automatically size based on content.
|
|
60
|
+
*/
|
|
62
61
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
63
62
|
export interface SizingProps {
|
|
64
63
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* Auto takes the block size of the box's children.
|
|
68
|
-
*
|
|
69
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
64
|
+
* Adjusts the block size (height in horizontal writing modes). Use `'auto'` to take the block size of the box's children.
|
|
65
|
+
* Learn more about [block-size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
70
66
|
*
|
|
71
67
|
* @default 'auto'
|
|
72
68
|
*/
|
|
73
69
|
blockSize?: SizeUnitsOrAuto;
|
|
74
70
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
71
|
+
* Adjusts the minimum block size (min-height in horizontal writing modes).
|
|
72
|
+
* Learn more about [min-block-size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
78
73
|
*
|
|
79
74
|
* @default '0'
|
|
80
75
|
*/
|
|
81
76
|
minBlockSize?: SizeUnits;
|
|
82
77
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
78
|
+
* Adjusts the maximum block size (max-height in horizontal writing modes).
|
|
79
|
+
* Learn more about [max-block-size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
86
80
|
*
|
|
87
81
|
* @default 'none'
|
|
88
82
|
*/
|
|
89
83
|
maxBlockSize?: SizeUnitsOrNone;
|
|
90
84
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* Auto takes the inline size of the box's children.
|
|
94
|
-
*
|
|
95
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
85
|
+
* Adjusts the inline size (width in horizontal writing modes). Use `'auto'` to take the inline size of the box's children.
|
|
86
|
+
* Learn more about [inline-size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
96
87
|
*
|
|
97
88
|
* @default 'auto'
|
|
98
89
|
*/
|
|
99
90
|
inlineSize?: SizeUnitsOrAuto;
|
|
100
91
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
92
|
+
* Adjusts the minimum inline size (min-width in horizontal writing modes).
|
|
93
|
+
* Learn more about [min-inline-size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
104
94
|
*
|
|
105
95
|
* @default '0'
|
|
106
96
|
*/
|
|
107
97
|
minInlineSize?: SizeUnits;
|
|
108
98
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
99
|
+
* Adjusts the maximum inline size (max-width in horizontal writing modes).
|
|
100
|
+
* Learn more about [max-inline-size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
112
101
|
*
|
|
113
102
|
* @default 'none'
|
|
114
103
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAEhC;;;;OAIG;IACH,eAAe,CAAC,EAAE,WAAW,CAAC;IAE9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAE5B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,WAAW,CAAC;IAEjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,GAAG,MAAM,IAAI,GAAG,GAAG,MAAM,GAAG,GAAG,GAAG,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,MAAM,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAE5B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC;IAE/B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,eAAe,CAAC;CACjC"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated spacing values represented as numeric multipliers.
|
|
3
|
+
* @deprecated Use `SizeKeyword` from `./sizes` instead for consistent spacing across the design system.
|
|
4
|
+
*/
|
|
1
5
|
export type Spacing = 0.5 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 16;
|
|
6
|
+
/**
|
|
7
|
+
* Deprecated vertical spacing values using named size keywords.
|
|
8
|
+
* @deprecated Use `SizeKeyword` from `./sizes` instead for consistent spacing across the design system.
|
|
9
|
+
*/
|
|
2
10
|
export type VerticalSpacing = 'HalfPoint' | 'ExtraSmall' | 'Small' | 'Medium' | 'Large' | 'ExtraLarge';
|
|
11
|
+
/**
|
|
12
|
+
* Deprecated horizontal spacing values using named size keywords.
|
|
13
|
+
* @deprecated Use `SizeKeyword` from `./sizes` instead for consistent spacing across the design system.
|
|
14
|
+
*/
|
|
3
15
|
export type HorizontalSpacing = 'HalfPoint' | 'ExtraSmall' | 'Small' | 'Medium' | 'Large' | 'ExtraLarge' | 'ExtraExtraLarge';
|
|
4
16
|
//# sourceMappingURL=deprecated-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecated-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/deprecated-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GACf,GAAG,GACH,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,CAAC;AAEP,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,CAAC;AAEjB,MAAM,MAAM,iBAAiB,GACzB,WAAW,GACX,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"deprecated-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/deprecated-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,OAAO,GACf,GAAG,GACH,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,CAAC;AAEP;;;GAGG;AACH,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,CAAC;AAEjB;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GACzB,WAAW,GACX,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,iBAAiB,CAAC"}
|
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
import { SizeKeyword } from './sizes';
|
|
2
|
+
/**
|
|
3
|
+
* Spacing values that can be used for gaps between elements, including all size keywords and `'none'` for no spacing.
|
|
4
|
+
*/
|
|
2
5
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
3
6
|
export interface GapProps {
|
|
4
7
|
/**
|
|
5
|
-
*
|
|
8
|
+
* Adjusts the spacing between child elements on both axes using predefined spacing values.
|
|
9
|
+
*
|
|
6
10
|
* @default 'none'
|
|
7
11
|
*/
|
|
8
12
|
gap?: SpacingKeyword;
|
|
9
13
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* This overrides the row value of `gap`.
|
|
14
|
+
* Adjusts the spacing between elements in the block axis (vertical spacing in horizontal writing modes). Overrides the row value from `gap`.
|
|
13
15
|
*
|
|
14
16
|
* @default '' - meaning no override
|
|
15
17
|
*/
|
|
16
18
|
rowGap?: SpacingKeyword | '';
|
|
17
19
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* This overrides the column value of `gap`.
|
|
20
|
+
* Adjusts the spacing between elements in the inline axis (horizontal spacing in horizontal writing modes). Overrides the column value from `gap`.
|
|
21
21
|
*
|
|
22
22
|
* @default '' - meaning no override
|
|
23
23
|
*/
|
|
24
24
|
columnGap?: SpacingKeyword | '';
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Defines positioning values for aligning content within a container.
|
|
28
|
+
*/
|
|
26
29
|
export type ContentPosition = 'center' | 'start' | 'end';
|
|
30
|
+
/**
|
|
31
|
+
* Defines distribution strategies for spacing content within a container.
|
|
32
|
+
*/
|
|
27
33
|
export type ContentDistribution = 'space-around' | 'space-between' | 'space-evenly';
|
|
28
34
|
//# sourceMappingURL=inner-layouts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inner-layouts.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/inner-layouts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,CAAC;AAElD,MAAM,WAAW,QAAQ;IACvB
|
|
1
|
+
{"version":3,"file":"inner-layouts.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/inner-layouts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,CAAC;AAElD,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;IAErB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,GAAG,EAAE,CAAC;IAE7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,cAAc,GAAG,EAAE,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,cAAc,GACd,eAAe,GACf,cAAc,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Defines the standardized spacing scale used throughout the POS design system. Each keyword maps to a predetermined
|
|
3
|
+
* spacing value that ensures visual consistency across components. Values range from `'0'` (no spacing) through `'2000'`
|
|
4
|
+
* (maximum spacing), with increments designed to create harmonious visual rhythm and hierarchy.
|
|
3
5
|
*/
|
|
4
6
|
export type SizeKeyword = '0' | '025' | '050' | '100' | '200' | '250' | '300' | '350' | '400' | '450' | '500' | '600' | '700' | '800' | '900' | '1000' | '1100' | '1200' | '1400' | '1800' | '2000';
|
|
5
7
|
//# sourceMappingURL=sizes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/sizes.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/shared/sizes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,WAAW,GACnB,GAAG,GACH,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,CAAC"}
|