@shopify/ui-extensions 2025.7.2 → 2025.7.4
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/admin/api/order-routing-rule/order-routing-rule.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/picker/picker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +3 -0
- package/build/ts/surfaces/checkout/api/standard/standard.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 +18 -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 +18 -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 +8 -4
- package/build/ts/surfaces/point-of-sale/render/api/device-api/device-api.d.ts.map +1 -1
- 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 +135 -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 +265 -22
- 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 +6 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +18 -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/admin/api/action/action.doc.ts +2 -2
- package/src/surfaces/admin/api/block/block.doc.ts +2 -2
- package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +2 -2
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.ts +3 -3
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.ts +2 -2
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.doc.ts +21 -0
- package/src/surfaces/admin/api/picker/picker.doc.ts +4 -3
- package/src/surfaces/admin/api/print-action/print-action.doc.ts +2 -2
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.doc.ts +21 -0
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.ts +21 -0
- package/src/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.doc.ts +21 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.doc.ts +4 -3
- package/src/surfaces/admin/api/should-render/should-render.doc.ts +3 -3
- package/src/surfaces/admin/api/standard/standard.doc.ts +2 -2
- package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +2 -2
- package/src/surfaces/admin/components/AdminBlock/AdminBlock.doc.ts +2 -2
- package/src/surfaces/admin/components/AdminPrintAction/AdminPrintAction.doc.ts +2 -2
- package/src/surfaces/admin/components/Badge/Badge.doc.ts +2 -2
- package/src/surfaces/admin/components/Banner/Banner.doc.ts +2 -2
- package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +2 -2
- package/src/surfaces/admin/components/Box/Box.doc.ts +2 -2
- package/src/surfaces/admin/components/Button/Button.doc.ts +1 -1
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +1 -1
- package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +1 -1
- package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +1 -1
- package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +2 -2
- package/src/surfaces/admin/components/DateField/DateField.doc.ts +1 -1
- package/src/surfaces/admin/components/DatePicker/DatePicker.doc.ts +1 -1
- package/src/surfaces/admin/components/Divider/Divider.doc.ts +2 -2
- package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +1 -1
- package/src/surfaces/admin/components/Form/Form.doc.ts +1 -1
- package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.ts +1 -1
- package/src/surfaces/admin/components/Heading/Heading.doc.ts +2 -2
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +2 -2
- package/src/surfaces/admin/components/Icon/Icon.doc.ts +2 -2
- package/src/surfaces/admin/components/Image/Image.doc.ts +2 -2
- package/src/surfaces/admin/components/InlineStack/InlineStack.doc.ts +2 -2
- package/src/surfaces/admin/components/Link/Link.doc.ts +1 -1
- package/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts +1 -1
- package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +1 -1
- package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +2 -2
- package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +1 -1
- package/src/surfaces/admin/components/Pressable/Pressable.doc.ts +1 -1
- package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +2 -2
- package/src/surfaces/admin/components/Section/Section.doc.ts +2 -2
- package/src/surfaces/admin/components/Select/Select.doc.ts +1 -1
- package/src/surfaces/admin/components/Text/Text.doc.ts +2 -2
- package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +1 -1
- package/src/surfaces/admin/components/TextField/TextField.doc.ts +1 -1
- package/src/surfaces/admin/components/URLField/URLField.doc.ts +1 -1
- package/src/surfaces/checkout/api/standard/standard.ts +3 -0
- 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 +18 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +9 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +18 -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 +8 -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 +135 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +39 -0
- package/src/surfaces/point-of-sale/types/cart.ts +267 -22
- 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 +6 -0
- package/src/surfaces/point-of-sale/types/money.ts +18 -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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/ui-extensions",
|
|
3
|
-
"version": "2025.7.
|
|
3
|
+
"version": "2025.7.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"docs:admin": "bash ./docs/surfaces/admin/build-docs.sh",
|
|
6
6
|
"docs:admin:dev": "nodemon --watch src/surfaces/admin -e ts,tsx,json --exec 'yarn docs:admin'",
|
|
@@ -77,6 +77,11 @@
|
|
|
77
77
|
"access": "public",
|
|
78
78
|
"@shopify:registry": "https://registry.npmjs.org/"
|
|
79
79
|
},
|
|
80
|
+
"repository": {
|
|
81
|
+
"type": "git",
|
|
82
|
+
"url": "https://github.com/Shopify/ui-extensions.git",
|
|
83
|
+
"directory": "packages/ui-extensions"
|
|
84
|
+
},
|
|
80
85
|
"files": [
|
|
81
86
|
"build",
|
|
82
87
|
"src",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
2
|
|
|
3
3
|
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: '
|
|
4
|
+
name: 'Customer Segment Template Extension API',
|
|
5
5
|
description:
|
|
6
6
|
'This API is available to all customer segment template extension types.',
|
|
7
7
|
isVisualComponent: false,
|
|
@@ -13,8 +13,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
13
13
|
type: 'CustomerSegmentTemplateApi',
|
|
14
14
|
},
|
|
15
15
|
],
|
|
16
|
-
category: '
|
|
17
|
-
subCategory: '
|
|
16
|
+
category: 'Target APIs',
|
|
17
|
+
subCategory: 'Contextual APIs',
|
|
18
18
|
related: [],
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
+
|
|
3
|
+
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'Order Routing Rule API',
|
|
5
|
+
description:
|
|
6
|
+
'This API is available to extensions that render in the order routing settings using the `admin.settings.order-routing-rule.render` target.',
|
|
7
|
+
isVisualComponent: false,
|
|
8
|
+
type: 'API',
|
|
9
|
+
definitions: [
|
|
10
|
+
{
|
|
11
|
+
title: 'OrderRoutingRuleApi',
|
|
12
|
+
description: '',
|
|
13
|
+
type: 'OrderRoutingRuleApi',
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
category: 'Target APIs',
|
|
17
|
+
subCategory: 'Contextual APIs',
|
|
18
|
+
related: [],
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default data;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
2
|
|
|
3
3
|
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Picker',
|
|
4
|
+
name: 'Picker API',
|
|
5
5
|
overviewPreviewDescription: 'Opens a Picker in your app',
|
|
6
6
|
description: `The Picker API provides a search-based interface to help users find and select one or more resources that you provide, such as product reviews, email templates, or subscription options, and then returns the selected resource ids to your extension.
|
|
7
7
|
|
|
8
8
|
> Tip:
|
|
9
9
|
> If you are picking products, product variants, or collections, you should use the [Resource Picker](resource-picker) API instead.`,
|
|
10
10
|
isVisualComponent: true,
|
|
11
|
-
category: '
|
|
11
|
+
category: 'Target APIs',
|
|
12
|
+
subCategory: 'Utility APIs',
|
|
12
13
|
thumbnail: 'picker.png',
|
|
13
14
|
requires:
|
|
14
15
|
'an Admin [block](/docs/api/admin-extensions/unstable/extension-targets#block-locations), [action](/docs/api/admin-extensions/unstable/extension-targets#action-locations), or [print](/docs/api/admin-extensions/unstable/extension-targets#print-locations) extension.',
|
|
@@ -102,7 +103,7 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
102
103
|
},
|
|
103
104
|
related: [
|
|
104
105
|
{
|
|
105
|
-
name: 'Resource Picker',
|
|
106
|
+
name: 'Resource Picker API',
|
|
106
107
|
subtitle: 'APIs',
|
|
107
108
|
url: 'resource-picker',
|
|
108
109
|
type: 'pickaxe-3',
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
+
|
|
3
|
+
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'Product Details Configuration API',
|
|
5
|
+
description:
|
|
6
|
+
'This API is available to product configuration extensions that render on the product details page. See the [tutorial](/docs/apps/selling-strategies/bundles/product-config) for more information.',
|
|
7
|
+
isVisualComponent: false,
|
|
8
|
+
type: 'API',
|
|
9
|
+
definitions: [
|
|
10
|
+
{
|
|
11
|
+
title: 'ProductDetailsConfigurationApi',
|
|
12
|
+
description: '',
|
|
13
|
+
type: 'ProductDetailsConfigurationApi',
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
category: 'Target APIs',
|
|
17
|
+
subCategory: 'Contextual APIs',
|
|
18
|
+
related: [],
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default data;
|
package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
+
|
|
3
|
+
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'Product Variant Details Configuration API',
|
|
5
|
+
description:
|
|
6
|
+
'This API is available to product configuration extensions that render on the product variant details page. See the [tutorial](/docs/apps/selling-strategies/bundles/product-config) for more information.',
|
|
7
|
+
isVisualComponent: false,
|
|
8
|
+
type: 'API',
|
|
9
|
+
definitions: [
|
|
10
|
+
{
|
|
11
|
+
title: 'ProductVariantDetailsConfigurationApi',
|
|
12
|
+
description: '',
|
|
13
|
+
type: 'ProductVariantDetailsConfigurationApi',
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
category: 'Target APIs',
|
|
17
|
+
subCategory: 'Contextual APIs',
|
|
18
|
+
related: [],
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default data;
|
package/src/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.doc.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
+
|
|
3
|
+
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'Purchase Options Card Configuration API',
|
|
5
|
+
description:
|
|
6
|
+
'This API is available to action extensions that render in the purchase options card on product and product variant details pages when selling plan groups are present.',
|
|
7
|
+
isVisualComponent: false,
|
|
8
|
+
type: 'API',
|
|
9
|
+
definitions: [
|
|
10
|
+
{
|
|
11
|
+
title: 'PurchaseOptionsCardConfigurationApi',
|
|
12
|
+
description: '',
|
|
13
|
+
type: 'PurchaseOptionsCardConfigurationApi',
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
category: 'Target APIs',
|
|
17
|
+
subCategory: 'Contextual APIs',
|
|
18
|
+
related: [],
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
2
|
|
|
3
3
|
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Resource Picker',
|
|
4
|
+
name: 'Resource Picker API',
|
|
5
5
|
overviewPreviewDescription: 'Opens a Resource Picker in your app',
|
|
6
6
|
description: `The Resource Picker API provides a search-based interface to help users find and select one or more products, collections, or product variants, and then returns the selected resources to your app. Both the app and the user must have the necessary permissions to access the resources selected.
|
|
7
7
|
|
|
@@ -9,7 +9,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
9
9
|
> If you are picking app resources such as product reviews, email templates, or subscription options, you should use the [Picker](picker) API instead.
|
|
10
10
|
`,
|
|
11
11
|
isVisualComponent: true,
|
|
12
|
-
category: '
|
|
12
|
+
category: 'Target APIs',
|
|
13
|
+
subCategory: 'Utility APIs',
|
|
13
14
|
thumbnail: 'resource-picker.png',
|
|
14
15
|
requires:
|
|
15
16
|
'an Admin [block](/docs/api/admin-extensions/unstable/extension-targets#block-locations), [action](/docs/api/admin-extensions/unstable/extension-targets#action-locations), or [print](/docs/api/admin-extensions/unstable/extension-targets#print-locations) extension.',
|
|
@@ -152,7 +153,7 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
152
153
|
],
|
|
153
154
|
related: [
|
|
154
155
|
{
|
|
155
|
-
name: 'Picker',
|
|
156
|
+
name: 'Picker API',
|
|
156
157
|
subtitle: 'APIs',
|
|
157
158
|
url: 'picker',
|
|
158
159
|
type: 'pickaxe-3',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
2
|
|
|
3
3
|
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: '
|
|
4
|
+
name: 'Should Render API',
|
|
5
5
|
description:
|
|
6
6
|
'This API controls the render state of an admin action extension. Learn more in the <a href="https://shopify.dev/docs/apps/build/admin/actions-blocks/hide-extensions?extension=react#hide-an-admin-action">admin extensions tutorial</a>.',
|
|
7
7
|
isVisualComponent: false,
|
|
@@ -13,8 +13,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
13
13
|
type: 'ShouldRenderApi',
|
|
14
14
|
},
|
|
15
15
|
],
|
|
16
|
-
category: '
|
|
17
|
-
subCategory: '
|
|
16
|
+
category: 'Target APIs',
|
|
17
|
+
subCategory: 'Utility APIs',
|
|
18
18
|
related: [],
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'AdminActionProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Settings and templates',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'adminaction-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'AdminBlockProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Settings and templates',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'adminblock-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'AdminPrintActionProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Settings and templates',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'adminprintaction-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'BadgeProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Feedback and status indicators',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'badge-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'BannerProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Feedback and status indicators',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'banner-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'BlockStackProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Layout and structure',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'blockstack-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'BoxProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Layout and structure',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'box-default.png',
|
|
22
22
|
codeblock: {
|
package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts
CHANGED
|
@@ -16,8 +16,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
16
16
|
type: 'CustomerSegmentTemplateProps',
|
|
17
17
|
},
|
|
18
18
|
],
|
|
19
|
-
category: '
|
|
20
|
-
subCategory: '
|
|
19
|
+
category: 'UI components',
|
|
20
|
+
subCategory: 'Settings and templates',
|
|
21
21
|
defaultExample: {
|
|
22
22
|
image: 'customersegmenttemplate-default',
|
|
23
23
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'DividerProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Layout and structure',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'divider-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'HeadingProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Typography and content',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'heading-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -8,8 +8,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
8
8
|
thumbnail: 'headinggroup-thumbnail.png',
|
|
9
9
|
isVisualComponent: true,
|
|
10
10
|
type: '',
|
|
11
|
-
category: '
|
|
12
|
-
subCategory: '
|
|
11
|
+
category: 'UI components',
|
|
12
|
+
subCategory: 'Typography and content',
|
|
13
13
|
defaultExample: {
|
|
14
14
|
image: 'headinggroup-default.png',
|
|
15
15
|
codeblock: {
|
|
@@ -20,8 +20,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
20
20
|
type: 'IconName',
|
|
21
21
|
},
|
|
22
22
|
],
|
|
23
|
-
category: '
|
|
24
|
-
subCategory: 'Media',
|
|
23
|
+
category: 'UI components',
|
|
24
|
+
subCategory: 'Media and visuals',
|
|
25
25
|
defaultExample: {
|
|
26
26
|
image: 'icon-default.png',
|
|
27
27
|
codeblock: {
|
|
@@ -14,8 +14,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
14
14
|
type: 'ImageProps',
|
|
15
15
|
},
|
|
16
16
|
],
|
|
17
|
-
category: '
|
|
18
|
-
subCategory: 'Media',
|
|
17
|
+
category: 'UI components',
|
|
18
|
+
subCategory: 'Media and visuals',
|
|
19
19
|
defaultExample: {
|
|
20
20
|
image: 'image-default.png',
|
|
21
21
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'InlineStackProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Layout and structure',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'inlinestack-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'ParagraphProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Typography and content',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'paragraph-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'ProgressIndicatorProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Feedback and status indicators',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'progressindicator-default.png',
|
|
22
22
|
codeblock: {
|
|
@@ -15,8 +15,8 @@ const data: ReferenceEntityTemplateSchema = {
|
|
|
15
15
|
type: 'SectionProps',
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
|
-
category: '
|
|
19
|
-
subCategory: '
|
|
18
|
+
category: 'UI components',
|
|
19
|
+
subCategory: 'Layout and structure',
|
|
20
20
|
defaultExample: {
|
|
21
21
|
image: 'section-default.png',
|
|
22
22
|
codeblock: {
|