@shopify/ui-extensions 2024.1.0 → 2024.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/admin/components/FunctionSettings/FunctionSettings.js +9 -0
- package/build/cjs/surfaces/admin/components/Section/Section.js +9 -0
- package/build/cjs/surfaces/admin.js +6 -2
- package/build/cjs/surfaces/checkout/components/Badge/Badge.js +12 -0
- package/build/cjs/surfaces/checkout/components/Disclosure/Disclosure.js +1 -2
- package/build/cjs/surfaces/checkout/components/Modal/Modal.js +1 -2
- package/build/cjs/surfaces/checkout/components/Popover/Popover.js +1 -2
- package/build/cjs/surfaces/checkout/components/Tooltip/Tooltip.js +2 -2
- package/build/cjs/surfaces/checkout/style/style.js +4 -0
- package/build/cjs/surfaces/checkout.js +6 -4
- package/build/cjs/surfaces/customer-account.js +10 -4
- package/build/cjs/surfaces/point-of-sale/components/Actiontem/ActionItem.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/SectionHeader/SectionHeader.js +9 -0
- package/build/cjs/surfaces/point-of-sale.js +4 -0
- package/build/esm/surfaces/admin/components/FunctionSettings/FunctionSettings.mjs +5 -0
- package/build/esm/surfaces/admin/components/Section/Section.mjs +5 -0
- package/build/esm/surfaces/admin.mjs +3 -1
- package/build/esm/surfaces/checkout/components/Badge/Badge.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Disclosure/Disclosure.mjs +1 -2
- package/build/esm/surfaces/checkout/components/Modal/Modal.mjs +1 -2
- package/build/esm/surfaces/checkout/components/Popover/Popover.mjs +1 -2
- package/build/esm/surfaces/checkout/components/Tooltip/Tooltip.mjs +2 -2
- package/build/esm/surfaces/checkout/style/style.mjs +4 -0
- package/build/esm/surfaces/checkout.mjs +2 -1
- package/build/esm/surfaces/customer-account.mjs +4 -1
- package/build/esm/surfaces/point-of-sale/components/Actiontem/ActionItem.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/SectionHeader/SectionHeader.mjs +5 -0
- package/build/esm/surfaces/point-of-sale.mjs +2 -0
- package/build/esnext/surfaces/admin/components/FunctionSettings/FunctionSettings.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Section/Section.esnext +5 -0
- package/build/esnext/surfaces/admin.esnext +3 -1
- package/build/esnext/surfaces/checkout/components/Badge/Badge.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Disclosure/Disclosure.esnext +1 -2
- package/build/esnext/surfaces/checkout/components/Modal/Modal.esnext +1 -2
- package/build/esnext/surfaces/checkout/components/Popover/Popover.esnext +1 -2
- package/build/esnext/surfaces/checkout/components/Tooltip/Tooltip.esnext +2 -2
- package/build/esnext/surfaces/checkout/style/style.esnext +4 -0
- package/build/esnext/surfaces/checkout.esnext +2 -1
- package/build/esnext/surfaces/customer-account.esnext +4 -1
- package/build/esnext/surfaces/point-of-sale/components/Actiontem/ActionItem.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/SectionHeader/SectionHeader.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale.esnext +2 -0
- package/build/ts/api.d.ts +1 -3
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +3 -0
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/shared.d.ts +18 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +13 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +33 -0
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +26 -0
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +12 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +0 -10
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +3 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts +47 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Heading/Heading.d.ts +6 -1
- package/build/ts/surfaces/admin/components/Heading/Heading.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section/Section.d.ts +33 -0
- package/build/ts/surfaces/admin/components/Section/Section.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components.d.ts +5 -1
- package/build/ts/surfaces/admin/components.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +81 -14
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts +76 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +6 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +21 -0
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +6 -1
- package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +13 -0
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts +1 -18
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +166 -17
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts +43 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +2 -7
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +1 -4
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts +2 -3
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/List/List.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/List/List.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/List/List.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts +1 -4
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts +1 -2
- package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts +1 -2
- package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts +4 -2
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/View/View.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/View/View.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/shared.d.ts +32 -8
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components.d.ts +2 -0
- package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/helper.docs.d.ts +3 -4
- package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +3 -4
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/isEqual.d.ts +1 -3
- package/build/ts/surfaces/checkout/style/isEqual.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +19 -3
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +39 -2
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets.d.ts +68 -20
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout.d.ts +17 -2
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +22 -0
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +2 -17
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets.d.ts +1 -1
- package/build/ts/surfaces/customer-account.d.ts +2 -1
- package/build/ts/surfaces/customer-account.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +19 -10
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +1 -2
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +3 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +1 -15
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components.d.ts +5 -1
- package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets.d.ts +8 -4
- package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/api.ts +1 -1
- package/src/extension.ts +4 -0
- package/src/shared.ts +841 -1
- package/src/surfaces/admin/api/action/action.doc.ts +1 -1
- package/src/surfaces/admin/api/block/block.ts +15 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +34 -0
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +76 -0
- package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +25 -0
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +15 -0
- package/src/surfaces/admin/api/standard/standard.ts +0 -12
- package/src/surfaces/admin/api.ts +3 -1
- package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +1 -1
- 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 +2 -2
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +2 -2
- package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +2 -2
- package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +2 -2
- package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +2 -2
- package/src/surfaces/admin/components/DateField/DateField.doc.ts +3 -3
- package/src/surfaces/admin/components/Divider/Divider.doc.ts +2 -2
- package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +2 -2
- package/src/surfaces/admin/components/Form/Form.doc.ts +2 -2
- package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.ts +57 -0
- package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.ts +52 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/basic-functionsettings.example.ts +47 -0
- package/src/surfaces/admin/components/Heading/Heading.doc.ts +2 -2
- package/src/surfaces/admin/components/Heading/Heading.ts +6 -1
- 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/MoneyField/MoneyField.doc.ts +2 -2
- package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +2 -2
- package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +1 -1
- package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +2 -2
- package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +2 -2
- package/src/surfaces/admin/components/Section/README.md +95 -0
- package/src/surfaces/admin/components/Section/Section.doc.ts +41 -0
- package/src/surfaces/admin/components/Section/Section.ts +35 -0
- package/src/surfaces/admin/components/Section/examples/basic-Section.example.ts +19 -0
- package/src/surfaces/admin/components/Select/Select.doc.ts +2 -2
- package/src/surfaces/admin/components/Text/Text.doc.ts +2 -2
- package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +2 -2
- package/src/surfaces/admin/components/TextField/TextField.doc.ts +2 -2
- package/src/surfaces/admin/components/URLField/URLField.doc.ts +2 -2
- package/src/surfaces/admin/components.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +125 -13
- package/src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts +87 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +3 -3
- package/src/surfaces/checkout/api/docs.ts +7 -6
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +22 -0
- package/src/surfaces/checkout/api/order-status/order-status.ts +6 -1
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +15 -0
- package/src/surfaces/checkout/api/shared.ts +1 -833
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -1
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +2 -2
- package/src/surfaces/checkout/api/standard/standard.ts +203 -15
- package/src/surfaces/checkout/components/Badge/Badge.doc.ts +76 -0
- package/src/surfaces/checkout/components/Badge/Badge.ts +42 -0
- package/src/surfaces/checkout/components/Badge/content/guidelines.md +8 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.ts +7 -0
- package/src/surfaces/checkout/components/Badge/examples/status-badge.example.ts +39 -0
- package/src/surfaces/checkout/components/Banner/Banner.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts +1 -1
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +2 -2
- package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +1 -1
- package/src/surfaces/checkout/components/Button/Button.doc.ts +1 -1
- package/src/surfaces/checkout/components/Checkbox/Checkbox.doc.ts +1 -1
- package/src/surfaces/checkout/components/Checkbox/Checkbox.ts +1 -1
- package/src/surfaces/checkout/components/Choice/Choice.doc.ts +1 -1
- package/src/surfaces/checkout/components/Choice/Choice.ts +2 -1
- package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +1 -1
- package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.ts +1 -1
- package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.ts +1 -1
- package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.ts +1 -1
- package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.ts +1 -1
- package/src/surfaces/checkout/components/DateField/DateField.doc.ts +1 -1
- package/src/surfaces/checkout/components/DateField/DateField.ts +2 -2
- package/src/surfaces/checkout/components/DatePicker/DatePicker.doc.ts +1 -1
- package/src/surfaces/checkout/components/Disclosure/Disclosure.doc.ts +2 -2
- package/src/surfaces/checkout/components/Disclosure/Disclosure.ts +2 -3
- package/src/surfaces/checkout/components/Divider/Divider.doc.ts +1 -1
- package/src/surfaces/checkout/components/Form/Form.doc.ts +1 -1
- package/src/surfaces/checkout/components/Grid/Grid.doc.ts +1 -1
- package/src/surfaces/checkout/components/Grid/Grid.ts +1 -1
- package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +1 -1
- package/src/surfaces/checkout/components/GridItem/GridItem.ts +1 -1
- package/src/surfaces/checkout/components/Heading/Heading.doc.ts +1 -1
- package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.ts +1 -1
- package/src/surfaces/checkout/components/Icon/Icon.doc.ts +1 -1
- package/src/surfaces/checkout/components/Icon/Icon.ts +3 -0
- package/src/surfaces/checkout/components/Image/Image.doc.ts +1 -1
- package/src/surfaces/checkout/components/Image/Image.ts +2 -2
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -2
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +1 -1
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +1 -1
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.ts +1 -1
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +1 -1
- package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +1 -1
- package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +1 -1
- package/src/surfaces/checkout/components/Link/Link.doc.ts +1 -1
- package/src/surfaces/checkout/components/List/List.doc.ts +1 -1
- package/src/surfaces/checkout/components/List/List.ts +1 -1
- package/src/surfaces/checkout/components/ListItem/ListItem.doc.ts +1 -1
- package/src/surfaces/checkout/components/Map/Map.doc.ts +1 -1
- package/src/surfaces/checkout/components/MapMarker/MapMarker.doc.ts +1 -1
- package/src/surfaces/checkout/components/MapPopover/MapPopover.doc.ts +1 -1
- package/src/surfaces/checkout/components/MapPopover/MapPopover.ts +1 -1
- package/src/surfaces/checkout/components/Modal/Modal.doc.ts +2 -2
- package/src/surfaces/checkout/components/Modal/Modal.ts +1 -2
- package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/PhoneField.doc.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +4 -3
- package/src/surfaces/checkout/components/Popover/Popover.doc.ts +2 -2
- package/src/surfaces/checkout/components/Popover/Popover.ts +1 -2
- package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +1 -1
- package/src/surfaces/checkout/components/Pressable/Pressable.ts +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.ts +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.ts +5 -2
- package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +1 -1
- package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +1 -1
- package/src/surfaces/checkout/components/Select/Select.doc.ts +1 -1
- package/src/surfaces/checkout/components/Select/Select.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonText/SkeletonText.doc.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.ts +1 -1
- package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +1 -1
- package/src/surfaces/checkout/components/Stepper/Stepper.doc.ts +1 -1
- package/src/surfaces/checkout/components/Stepper/Stepper.ts +1 -1
- package/src/surfaces/checkout/components/Tag/Tag.doc.ts +1 -1
- package/src/surfaces/checkout/components/Tag/Tag.ts +1 -1
- package/src/surfaces/checkout/components/Text/Text.doc.ts +1 -1
- package/src/surfaces/checkout/components/TextBlock/TextBlock.doc.ts +1 -1
- package/src/surfaces/checkout/components/TextField/TextField.doc.ts +1 -1
- package/src/surfaces/checkout/components/TextField/TextField.ts +4 -3
- package/src/surfaces/checkout/components/ToggleButton/ToggleButton.doc.ts +1 -1
- package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/Tooltip.doc.ts +2 -2
- package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +2 -2
- package/src/surfaces/checkout/components/View/View.doc.ts +1 -1
- package/src/surfaces/checkout/components/View/View.ts +1 -1
- package/src/surfaces/checkout/components/shared.ts +36 -11
- package/src/surfaces/checkout/components.ts +3 -0
- package/src/surfaces/checkout/helper.docs.ts +5 -4
- package/src/surfaces/checkout/shared.ts +3 -3
- package/src/surfaces/checkout/style/isEqual.ts +3 -3
- package/src/surfaces/checkout/style/style.doc.ts +1 -1
- package/src/surfaces/checkout/style/style.ts +30 -3
- package/src/surfaces/checkout/style/types.ts +55 -5
- package/src/surfaces/checkout/targets.ts +102 -36
- package/src/surfaces/checkout.ts +174 -2
- package/src/surfaces/customer-account/api/order-status/order-status.ts +25 -0
- package/src/surfaces/customer-account/api/shared.ts +18 -831
- package/src/surfaces/customer-account/components/shared-checkout-components.ts +6 -0
- package/src/surfaces/customer-account/targets.ts +1 -1
- package/src/surfaces/customer-account.ts +2 -1
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.tsx +26 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +24 -10
- package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +0 -2
- package/src/surfaces/point-of-sale/api/types/cart.ts +1 -0
- package/src/surfaces/point-of-sale/api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts +10 -0
- package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +9 -1
- package/src/surfaces/point-of-sale/components/EmailField/EmailField.ts +2 -2
- package/src/surfaces/point-of-sale/components/List/List.ts +5 -1
- package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +2 -2
- package/src/surfaces/point-of-sale/components/SectionHeader/SectionHeader.ts +34 -0
- package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +2 -2
- package/src/surfaces/point-of-sale/components/shared/InputField.ts +1 -17
- package/src/surfaces/point-of-sale/components.ts +5 -5
- package/src/surfaces/point-of-sale/targets.ts +24 -4
- package/build/ts/surfaces/checkout/api.d.ts +0 -12
- package/build/ts/surfaces/checkout/api.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/style/index.d.ts +0 -3
- package/build/ts/surfaces/checkout/style/index.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/style.d.ts +0 -3
- package/build/ts/surfaces/checkout/style.d.ts.map +0 -1
- package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.tsx +0 -15
- package/src/surfaces/checkout/api.ts +0 -141
- package/src/surfaces/checkout/style/index.ts +0 -16
- package/src/surfaces/checkout/style.ts +0 -16
- /package/src/surfaces/admin/components/Badge/examples/{basic-Badge.example.ts → basic-badge.example.ts} +0 -0
- /package/src/surfaces/admin/components/Banner/examples/{basic-Banner.example.ts → basic-banner.example.ts} +0 -0
- /package/src/surfaces/admin/components/ChoiceList/examples/{basic-ChoiceList.example.ts → basic-choicelist.example.ts} +0 -0
- /package/src/surfaces/admin/components/ColorPicker/examples/{basic-ColorPicker.example.ts → basic-colorpicker.example.ts} +0 -0
- /package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/{CustomerSegmentTemplate.example.ts → customersegmenttemplate.example.ts} +0 -0
- /package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/examples/{InternalCustomerSegmentTemplate.example.ts → internalcustomersegmenttemplate.example.ts} +0 -0
- /package/src/surfaces/admin/components/ProgressIndicator/examples/{basic-ProgressIndicator.example.ts → basic-progressindicator.example.ts} +0 -0
- /package/src/surfaces/admin/components/ResourceItem/examples/{basic-ResourceItem.example.ts → basic-resourceitem.example.ts} +0 -0
- /package/src/surfaces/admin/components/ResourceList/examples/{basic-ResourceList.example.ts → basic-resourcelist.example.ts} +0 -0
- /package/src/surfaces/admin/components/Thumbnail/examples/{basic-Thumbnail.example.ts → basic-thumbnail.example.ts} +0 -0
|
@@ -13,13 +13,14 @@ var Button = require('./admin/components/Button/Button.js');
|
|
|
13
13
|
var Card = require('./admin/components/Card/Card.js');
|
|
14
14
|
var Checkbox = require('./admin/components/Checkbox/Checkbox.js');
|
|
15
15
|
var ChoiceList = require('./admin/components/ChoiceList/ChoiceList.js');
|
|
16
|
-
var CustomerSegmentTemplate = require('./admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js');
|
|
17
16
|
var ColorPicker = require('./admin/components/ColorPicker/ColorPicker.js');
|
|
17
|
+
var CustomerSegmentTemplate = require('./admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js');
|
|
18
18
|
var DateField = require('./admin/components/DateField/DateField.js');
|
|
19
19
|
var DatePicker = require('./admin/components/DatePicker/DatePicker.js');
|
|
20
20
|
var Divider = require('./admin/components/Divider/Divider.js');
|
|
21
21
|
var EmailField = require('./admin/components/EmailField/EmailField.js');
|
|
22
22
|
var Form = require('./admin/components/Form/Form.js');
|
|
23
|
+
var FunctionSettings = require('./admin/components/FunctionSettings/FunctionSettings.js');
|
|
23
24
|
var Heading = require('./admin/components/Heading/Heading.js');
|
|
24
25
|
var HeadingGroup = require('./admin/components/HeadingGroup/HeadingGroup.js');
|
|
25
26
|
var Icon = require('./admin/components/Icon/Icon.js');
|
|
@@ -35,6 +36,7 @@ var Pressable = require('./admin/components/Pressable/Pressable.js');
|
|
|
35
36
|
var ProgressIndicator = require('./admin/components/ProgressIndicator/ProgressIndicator.js');
|
|
36
37
|
var ResourceItem = require('./admin/components/ResourceItem/ResourceItem.js');
|
|
37
38
|
var ResourceList = require('./admin/components/ResourceList/ResourceList.js');
|
|
39
|
+
var Section = require('./admin/components/Section/Section.js');
|
|
38
40
|
var Select = require('./admin/components/Select/Select.js');
|
|
39
41
|
var Text = require('./admin/components/Text/Text.js');
|
|
40
42
|
var TextArea = require('./admin/components/TextArea/TextArea.js');
|
|
@@ -57,13 +59,14 @@ exports.Button = Button.Button;
|
|
|
57
59
|
exports.Card = Card.Card;
|
|
58
60
|
exports.Checkbox = Checkbox.Checkbox;
|
|
59
61
|
exports.ChoiceList = ChoiceList.ChoiceList;
|
|
60
|
-
exports.CustomerSegmentTemplate = CustomerSegmentTemplate.CustomerSegmentTemplate;
|
|
61
62
|
exports.ColorPicker = ColorPicker.ColorPicker;
|
|
63
|
+
exports.CustomerSegmentTemplate = CustomerSegmentTemplate.CustomerSegmentTemplate;
|
|
62
64
|
exports.DateField = DateField.DateField;
|
|
63
65
|
exports.DatePicker = DatePicker.DatePicker;
|
|
64
66
|
exports.Divider = Divider.Divider;
|
|
65
67
|
exports.EmailField = EmailField.EmailField;
|
|
66
68
|
exports.Form = Form.Form;
|
|
69
|
+
exports.FunctionSettings = FunctionSettings.FunctionSettings;
|
|
67
70
|
exports.Heading = Heading.Heading;
|
|
68
71
|
exports.HeadingGroup = HeadingGroup.HeadingGroup;
|
|
69
72
|
exports.Icon = Icon.Icon;
|
|
@@ -79,6 +82,7 @@ exports.Pressable = Pressable.Pressable;
|
|
|
79
82
|
exports.ProgressIndicator = ProgressIndicator.ProgressIndicator;
|
|
80
83
|
exports.ResourceItem = ResourceItem.ResourceItem;
|
|
81
84
|
exports.ResourceList = ResourceList.ResourceList;
|
|
85
|
+
exports.Section = Section.Section;
|
|
82
86
|
exports.Select = Select.Select;
|
|
83
87
|
exports.Text = Text.Text;
|
|
84
88
|
exports.TextArea = TextArea.TextArea;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var core = require('@remote-ui/core');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Use badges to highlight contextual information, like a label or a status, about an object. An object can be anything that has a status or label attributed to it.
|
|
9
|
+
*/
|
|
10
|
+
const Badge = core.createRemoteComponent('Badge');
|
|
11
|
+
|
|
12
|
+
exports.Badge = Badge;
|
|
@@ -12,8 +12,7 @@ var core = require('@remote-ui/core');
|
|
|
12
12
|
* The content blocks can be specified as children inside a structure component (`View`, `InlineLayout`,
|
|
13
13
|
* `BlockStack`, `Grid`, etc.).
|
|
14
14
|
*
|
|
15
|
-
* The library
|
|
16
|
-
* and the toggled content.
|
|
15
|
+
* The library automatically applies the [WAI-ARIA Accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) to both the activator and the toggled content.
|
|
17
16
|
*/
|
|
18
17
|
const Disclosure = core.createRemoteComponent('Disclosure');
|
|
19
18
|
|
|
@@ -9,8 +9,7 @@ var core = require('@remote-ui/core');
|
|
|
9
9
|
* before the main flow can proceed.
|
|
10
10
|
* They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
|
|
11
11
|
*
|
|
12
|
-
* The library
|
|
13
|
-
* and the modal content.
|
|
12
|
+
* The library automatically applies the [WAI-ARIA Dialog pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) to both the activator and the modal content.
|
|
14
13
|
*/
|
|
15
14
|
const Modal = core.createRemoteComponent('Modal');
|
|
16
15
|
|
|
@@ -9,8 +9,7 @@ var core = require('@remote-ui/core');
|
|
|
9
9
|
* The difference is that the popover can contain more content, without cluttering the page.
|
|
10
10
|
* They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
|
|
11
11
|
*
|
|
12
|
-
* The library
|
|
13
|
-
* and the popover content.
|
|
12
|
+
* The library automatically applies the WAI-ARIA Popover Widget pattern to both the activator and the popover content.
|
|
14
13
|
*/
|
|
15
14
|
const Popover = core.createRemoteComponent('Popover');
|
|
16
15
|
|
|
@@ -9,8 +9,8 @@ var core = require('@remote-ui/core');
|
|
|
9
9
|
* They must be specified inside the `overlay` prop of an activator component.
|
|
10
10
|
* Currently, activator components are `Button`, `Link`, and `Pressable`.
|
|
11
11
|
*
|
|
12
|
-
* The library
|
|
13
|
-
*
|
|
12
|
+
* The library automatically applies the [WAI-ARIA Tooltip Widget pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/) to both the activator and the tooltip content.
|
|
13
|
+
* Expect screen readers to read the tooltip content when the user focuses the activator.
|
|
14
14
|
*/
|
|
15
15
|
const Tooltip = core.createRemoteComponent('Tooltip');
|
|
16
16
|
|
|
@@ -26,6 +26,10 @@ const when = function when(conditions, value) {
|
|
|
26
26
|
};
|
|
27
27
|
return createChainableConditionalStyle(config);
|
|
28
28
|
};
|
|
29
|
+
|
|
30
|
+
// This interface is only used to provide documentation for the Style helper.
|
|
31
|
+
// It is not used in the implementation.
|
|
32
|
+
|
|
29
33
|
/**
|
|
30
34
|
* Style is a helper for authoring conditional values for prop styles.
|
|
31
35
|
* Write complex conditional styles based on one or more conditions (viewport
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var extension = require('./checkout/extension.js');
|
|
6
|
+
var style = require('./checkout/style/style.js');
|
|
7
|
+
var Badge = require('./checkout/components/Badge/Badge.js');
|
|
6
8
|
var Banner = require('./checkout/components/Banner/Banner.js');
|
|
7
9
|
var BlockLayout = require('./checkout/components/BlockLayout/BlockLayout.js');
|
|
8
10
|
var BlockSpacer = require('./checkout/components/BlockSpacer/BlockSpacer.js');
|
|
@@ -55,12 +57,15 @@ var Tooltip = require('./checkout/components/Tooltip/Tooltip.js');
|
|
|
55
57
|
var ToggleButton = require('./checkout/components/ToggleButton/ToggleButton.js');
|
|
56
58
|
var ToggleButtonGroup = require('./checkout/components/ToggleButtonGroup/ToggleButtonGroup.js');
|
|
57
59
|
var View = require('./checkout/components/View/View.js');
|
|
58
|
-
var style = require('./checkout/style/style.js');
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
exports.extend = extension.extend;
|
|
63
64
|
exports.extension = extension.extension;
|
|
65
|
+
exports.Style = style.Style;
|
|
66
|
+
exports.isConditionalStyle = style.isConditionalStyle;
|
|
67
|
+
exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
|
|
68
|
+
exports.Badge = Badge.Badge;
|
|
64
69
|
exports.Banner = Banner.Banner;
|
|
65
70
|
exports.BlockLayout = BlockLayout.BlockLayout;
|
|
66
71
|
exports.BlockSpacer = BlockSpacer.BlockSpacer;
|
|
@@ -113,6 +118,3 @@ exports.Tooltip = Tooltip.Tooltip;
|
|
|
113
118
|
exports.ToggleButton = ToggleButton.ToggleButton;
|
|
114
119
|
exports.ToggleButtonGroup = ToggleButtonGroup.ToggleButtonGroup;
|
|
115
120
|
exports.View = View.View;
|
|
116
|
-
exports.Style = style.Style;
|
|
117
|
-
exports.isConditionalStyle = style.isConditionalStyle;
|
|
118
|
-
exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var extension = require('./customer-account/extension.js');
|
|
6
|
+
var style = require('./checkout/style/style.js');
|
|
6
7
|
var Card = require('./customer-account/components/Card/Card.js');
|
|
8
|
+
var Badge = require('./checkout/components/Badge/Badge.js');
|
|
7
9
|
var Banner = require('./checkout/components/Banner/Banner.js');
|
|
8
10
|
var BlockLayout = require('./checkout/components/BlockLayout/BlockLayout.js');
|
|
9
11
|
var BlockSpacer = require('./checkout/components/BlockSpacer/BlockSpacer.js');
|
|
@@ -51,13 +53,18 @@ var TextBlock = require('./checkout/components/TextBlock/TextBlock.js');
|
|
|
51
53
|
var TextField = require('./checkout/components/TextField/TextField.js');
|
|
52
54
|
var Tooltip = require('./checkout/components/Tooltip/Tooltip.js');
|
|
53
55
|
var View = require('./checkout/components/View/View.js');
|
|
54
|
-
var
|
|
56
|
+
var ToggleButton = require('./checkout/components/ToggleButton/ToggleButton.js');
|
|
57
|
+
var ToggleButtonGroup = require('./checkout/components/ToggleButtonGroup/ToggleButtonGroup.js');
|
|
55
58
|
|
|
56
59
|
|
|
57
60
|
|
|
58
61
|
exports.extend = extension.extend;
|
|
59
62
|
exports.extension = extension.extension;
|
|
63
|
+
exports.Style = style.Style;
|
|
64
|
+
exports.isConditionalStyle = style.isConditionalStyle;
|
|
65
|
+
exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
|
|
60
66
|
exports.Card = Card.Card;
|
|
67
|
+
exports.Badge = Badge.Badge;
|
|
61
68
|
exports.Banner = Banner.Banner;
|
|
62
69
|
exports.BlockLayout = BlockLayout.BlockLayout;
|
|
63
70
|
exports.BlockSpacer = BlockSpacer.BlockSpacer;
|
|
@@ -105,6 +112,5 @@ exports.TextBlock = TextBlock.TextBlock;
|
|
|
105
112
|
exports.TextField = TextField.TextField;
|
|
106
113
|
exports.Tooltip = Tooltip.Tooltip;
|
|
107
114
|
exports.View = View.View;
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
|
|
115
|
+
exports.ToggleButton = ToggleButton.ToggleButton;
|
|
116
|
+
exports.ToggleButtonGroup = ToggleButtonGroup.ToggleButtonGroup;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var extension = require('./point-of-sale/extension.js');
|
|
6
|
+
var ActionItem = require('./point-of-sale/components/Actiontem/ActionItem.js');
|
|
6
7
|
var Badge = require('./point-of-sale/components/Badge/Badge.js');
|
|
7
8
|
var Banner = require('./point-of-sale/components/Banner/Banner.js');
|
|
8
9
|
var Button = require('./point-of-sale/components/Button/Button.js');
|
|
@@ -33,11 +34,13 @@ var TextField = require('./point-of-sale/components/TextField/TextField.js');
|
|
|
33
34
|
var Tile = require('./point-of-sale/components/Tile/Tile.js');
|
|
34
35
|
var TimeField = require('./point-of-sale/components/TimeField/TimeField.js');
|
|
35
36
|
var TimePicker = require('./point-of-sale/components/TimePicker/TimePicker.js');
|
|
37
|
+
var SectionHeader = require('./point-of-sale/components/SectionHeader/SectionHeader.js');
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
|
|
39
41
|
exports.extend = extension.extend;
|
|
40
42
|
exports.extension = extension.extension;
|
|
43
|
+
exports.ActionItem = ActionItem.ActionItem;
|
|
41
44
|
exports.Badge = Badge.Badge;
|
|
42
45
|
exports.Banner = Banner.Banner;
|
|
43
46
|
exports.Button = Button.Button;
|
|
@@ -68,3 +71,4 @@ exports.TextField = TextField.TextField;
|
|
|
68
71
|
exports.Tile = Tile.Tile;
|
|
69
72
|
exports.TimeField = TimeField.TimeField;
|
|
70
73
|
exports.TimePicker = TimePicker.TimePicker;
|
|
74
|
+
exports.SectionHeader = SectionHeader.SectionHeader;
|
|
@@ -9,13 +9,14 @@ export { Button } from './admin/components/Button/Button.mjs';
|
|
|
9
9
|
export { Card } from './admin/components/Card/Card.mjs';
|
|
10
10
|
export { Checkbox } from './admin/components/Checkbox/Checkbox.mjs';
|
|
11
11
|
export { ChoiceList } from './admin/components/ChoiceList/ChoiceList.mjs';
|
|
12
|
-
export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.mjs';
|
|
13
12
|
export { ColorPicker } from './admin/components/ColorPicker/ColorPicker.mjs';
|
|
13
|
+
export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.mjs';
|
|
14
14
|
export { DateField } from './admin/components/DateField/DateField.mjs';
|
|
15
15
|
export { DatePicker } from './admin/components/DatePicker/DatePicker.mjs';
|
|
16
16
|
export { Divider } from './admin/components/Divider/Divider.mjs';
|
|
17
17
|
export { EmailField } from './admin/components/EmailField/EmailField.mjs';
|
|
18
18
|
export { Form } from './admin/components/Form/Form.mjs';
|
|
19
|
+
export { FunctionSettings } from './admin/components/FunctionSettings/FunctionSettings.mjs';
|
|
19
20
|
export { Heading } from './admin/components/Heading/Heading.mjs';
|
|
20
21
|
export { HeadingGroup } from './admin/components/HeadingGroup/HeadingGroup.mjs';
|
|
21
22
|
export { Icon } from './admin/components/Icon/Icon.mjs';
|
|
@@ -31,6 +32,7 @@ export { Pressable } from './admin/components/Pressable/Pressable.mjs';
|
|
|
31
32
|
export { ProgressIndicator } from './admin/components/ProgressIndicator/ProgressIndicator.mjs';
|
|
32
33
|
export { ResourceItem } from './admin/components/ResourceItem/ResourceItem.mjs';
|
|
33
34
|
export { ResourceList } from './admin/components/ResourceList/ResourceList.mjs';
|
|
35
|
+
export { Section } from './admin/components/Section/Section.mjs';
|
|
34
36
|
export { Select } from './admin/components/Select/Select.mjs';
|
|
35
37
|
export { Text } from './admin/components/Text/Text.mjs';
|
|
36
38
|
export { TextArea } from './admin/components/TextArea/TextArea.mjs';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createRemoteComponent } from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Use badges to highlight contextual information, like a label or a status, about an object. An object can be anything that has a status or label attributed to it.
|
|
5
|
+
*/
|
|
6
|
+
const Badge = createRemoteComponent('Badge');
|
|
7
|
+
|
|
8
|
+
export { Badge };
|
|
@@ -8,8 +8,7 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
8
8
|
* The content blocks can be specified as children inside a structure component (`View`, `InlineLayout`,
|
|
9
9
|
* `BlockStack`, `Grid`, etc.).
|
|
10
10
|
*
|
|
11
|
-
* The library
|
|
12
|
-
* and the toggled content.
|
|
11
|
+
* The library automatically applies the [WAI-ARIA Accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) to both the activator and the toggled content.
|
|
13
12
|
*/
|
|
14
13
|
const Disclosure = createRemoteComponent('Disclosure');
|
|
15
14
|
|
|
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
5
5
|
* before the main flow can proceed.
|
|
6
6
|
* They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
|
|
7
7
|
*
|
|
8
|
-
* The library
|
|
9
|
-
* and the modal content.
|
|
8
|
+
* The library automatically applies the [WAI-ARIA Dialog pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) to both the activator and the modal content.
|
|
10
9
|
*/
|
|
11
10
|
const Modal = createRemoteComponent('Modal');
|
|
12
11
|
|
|
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
5
5
|
* The difference is that the popover can contain more content, without cluttering the page.
|
|
6
6
|
* They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
|
|
7
7
|
*
|
|
8
|
-
* The library
|
|
9
|
-
* and the popover content.
|
|
8
|
+
* The library automatically applies the WAI-ARIA Popover Widget pattern to both the activator and the popover content.
|
|
10
9
|
*/
|
|
11
10
|
const Popover = createRemoteComponent('Popover');
|
|
12
11
|
|
|
@@ -5,8 +5,8 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
5
5
|
* They must be specified inside the `overlay` prop of an activator component.
|
|
6
6
|
* Currently, activator components are `Button`, `Link`, and `Pressable`.
|
|
7
7
|
*
|
|
8
|
-
* The library
|
|
9
|
-
*
|
|
8
|
+
* The library automatically applies the [WAI-ARIA Tooltip Widget pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/) to both the activator and the tooltip content.
|
|
9
|
+
* Expect screen readers to read the tooltip content when the user focuses the activator.
|
|
10
10
|
*/
|
|
11
11
|
const Tooltip = createRemoteComponent('Tooltip');
|
|
12
12
|
|
|
@@ -22,6 +22,10 @@ const when = function when(conditions, value) {
|
|
|
22
22
|
};
|
|
23
23
|
return createChainableConditionalStyle(config);
|
|
24
24
|
};
|
|
25
|
+
|
|
26
|
+
// This interface is only used to provide documentation for the Style helper.
|
|
27
|
+
// It is not used in the implementation.
|
|
28
|
+
|
|
25
29
|
/**
|
|
26
30
|
* Style is a helper for authoring conditional values for prop styles.
|
|
27
31
|
* Write complex conditional styles based on one or more conditions (viewport
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { extend, extension } from './checkout/extension.mjs';
|
|
2
|
+
export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
|
|
3
|
+
export { Badge } from './checkout/components/Badge/Badge.mjs';
|
|
2
4
|
export { Banner } from './checkout/components/Banner/Banner.mjs';
|
|
3
5
|
export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.mjs';
|
|
4
6
|
export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.mjs';
|
|
@@ -51,4 +53,3 @@ export { Tooltip } from './checkout/components/Tooltip/Tooltip.mjs';
|
|
|
51
53
|
export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.mjs';
|
|
52
54
|
export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.mjs';
|
|
53
55
|
export { View } from './checkout/components/View/View.mjs';
|
|
54
|
-
export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { extend, extension } from './customer-account/extension.mjs';
|
|
2
|
+
export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
|
|
2
3
|
export { Card } from './customer-account/components/Card/Card.mjs';
|
|
4
|
+
export { Badge } from './checkout/components/Badge/Badge.mjs';
|
|
3
5
|
export { Banner } from './checkout/components/Banner/Banner.mjs';
|
|
4
6
|
export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.mjs';
|
|
5
7
|
export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.mjs';
|
|
@@ -47,4 +49,5 @@ export { TextBlock } from './checkout/components/TextBlock/TextBlock.mjs';
|
|
|
47
49
|
export { TextField } from './checkout/components/TextField/TextField.mjs';
|
|
48
50
|
export { Tooltip } from './checkout/components/Tooltip/Tooltip.mjs';
|
|
49
51
|
export { View } from './checkout/components/View/View.mjs';
|
|
50
|
-
export {
|
|
52
|
+
export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.mjs';
|
|
53
|
+
export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.mjs';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { extend, extension } from './point-of-sale/extension.mjs';
|
|
2
|
+
export { ActionItem } from './point-of-sale/components/Actiontem/ActionItem.mjs';
|
|
2
3
|
export { Badge } from './point-of-sale/components/Badge/Badge.mjs';
|
|
3
4
|
export { Banner } from './point-of-sale/components/Banner/Banner.mjs';
|
|
4
5
|
export { Button } from './point-of-sale/components/Button/Button.mjs';
|
|
@@ -29,3 +30,4 @@ export { TextField } from './point-of-sale/components/TextField/TextField.mjs';
|
|
|
29
30
|
export { Tile } from './point-of-sale/components/Tile/Tile.mjs';
|
|
30
31
|
export { TimeField } from './point-of-sale/components/TimeField/TimeField.mjs';
|
|
31
32
|
export { TimePicker } from './point-of-sale/components/TimePicker/TimePicker.mjs';
|
|
33
|
+
export { SectionHeader } from './point-of-sale/components/SectionHeader/SectionHeader.mjs';
|
|
@@ -9,13 +9,14 @@ export { Button } from './admin/components/Button/Button.esnext';
|
|
|
9
9
|
export { Card } from './admin/components/Card/Card.esnext';
|
|
10
10
|
export { Checkbox } from './admin/components/Checkbox/Checkbox.esnext';
|
|
11
11
|
export { ChoiceList } from './admin/components/ChoiceList/ChoiceList.esnext';
|
|
12
|
-
export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.esnext';
|
|
13
12
|
export { ColorPicker } from './admin/components/ColorPicker/ColorPicker.esnext';
|
|
13
|
+
export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.esnext';
|
|
14
14
|
export { DateField } from './admin/components/DateField/DateField.esnext';
|
|
15
15
|
export { DatePicker } from './admin/components/DatePicker/DatePicker.esnext';
|
|
16
16
|
export { Divider } from './admin/components/Divider/Divider.esnext';
|
|
17
17
|
export { EmailField } from './admin/components/EmailField/EmailField.esnext';
|
|
18
18
|
export { Form } from './admin/components/Form/Form.esnext';
|
|
19
|
+
export { FunctionSettings } from './admin/components/FunctionSettings/FunctionSettings.esnext';
|
|
19
20
|
export { Heading } from './admin/components/Heading/Heading.esnext';
|
|
20
21
|
export { HeadingGroup } from './admin/components/HeadingGroup/HeadingGroup.esnext';
|
|
21
22
|
export { Icon } from './admin/components/Icon/Icon.esnext';
|
|
@@ -31,6 +32,7 @@ export { Pressable } from './admin/components/Pressable/Pressable.esnext';
|
|
|
31
32
|
export { ProgressIndicator } from './admin/components/ProgressIndicator/ProgressIndicator.esnext';
|
|
32
33
|
export { ResourceItem } from './admin/components/ResourceItem/ResourceItem.esnext';
|
|
33
34
|
export { ResourceList } from './admin/components/ResourceList/ResourceList.esnext';
|
|
35
|
+
export { Section } from './admin/components/Section/Section.esnext';
|
|
34
36
|
export { Select } from './admin/components/Select/Select.esnext';
|
|
35
37
|
export { Text } from './admin/components/Text/Text.esnext';
|
|
36
38
|
export { TextArea } from './admin/components/TextArea/TextArea.esnext';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createRemoteComponent } from '@remote-ui/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Use badges to highlight contextual information, like a label or a status, about an object. An object can be anything that has a status or label attributed to it.
|
|
5
|
+
*/
|
|
6
|
+
const Badge = createRemoteComponent('Badge');
|
|
7
|
+
|
|
8
|
+
export { Badge };
|
|
@@ -8,8 +8,7 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
8
8
|
* The content blocks can be specified as children inside a structure component (`View`, `InlineLayout`,
|
|
9
9
|
* `BlockStack`, `Grid`, etc.).
|
|
10
10
|
*
|
|
11
|
-
* The library
|
|
12
|
-
* and the toggled content.
|
|
11
|
+
* The library automatically applies the [WAI-ARIA Accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) to both the activator and the toggled content.
|
|
13
12
|
*/
|
|
14
13
|
const Disclosure = createRemoteComponent('Disclosure');
|
|
15
14
|
|
|
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
5
5
|
* before the main flow can proceed.
|
|
6
6
|
* They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
|
|
7
7
|
*
|
|
8
|
-
* The library
|
|
9
|
-
* and the modal content.
|
|
8
|
+
* The library automatically applies the [WAI-ARIA Dialog pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) to both the activator and the modal content.
|
|
10
9
|
*/
|
|
11
10
|
const Modal = createRemoteComponent('Modal');
|
|
12
11
|
|
|
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
5
5
|
* The difference is that the popover can contain more content, without cluttering the page.
|
|
6
6
|
* They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
|
|
7
7
|
*
|
|
8
|
-
* The library
|
|
9
|
-
* and the popover content.
|
|
8
|
+
* The library automatically applies the WAI-ARIA Popover Widget pattern to both the activator and the popover content.
|
|
10
9
|
*/
|
|
11
10
|
const Popover = createRemoteComponent('Popover');
|
|
12
11
|
|
|
@@ -5,8 +5,8 @@ import { createRemoteComponent } from '@remote-ui/core';
|
|
|
5
5
|
* They must be specified inside the `overlay` prop of an activator component.
|
|
6
6
|
* Currently, activator components are `Button`, `Link`, and `Pressable`.
|
|
7
7
|
*
|
|
8
|
-
* The library
|
|
9
|
-
*
|
|
8
|
+
* The library automatically applies the [WAI-ARIA Tooltip Widget pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/) to both the activator and the tooltip content.
|
|
9
|
+
* Expect screen readers to read the tooltip content when the user focuses the activator.
|
|
10
10
|
*/
|
|
11
11
|
const Tooltip = createRemoteComponent('Tooltip');
|
|
12
12
|
|
|
@@ -22,6 +22,10 @@ const when = function when(conditions, value) {
|
|
|
22
22
|
};
|
|
23
23
|
return createChainableConditionalStyle(config);
|
|
24
24
|
};
|
|
25
|
+
|
|
26
|
+
// This interface is only used to provide documentation for the Style helper.
|
|
27
|
+
// It is not used in the implementation.
|
|
28
|
+
|
|
25
29
|
/**
|
|
26
30
|
* Style is a helper for authoring conditional values for prop styles.
|
|
27
31
|
* Write complex conditional styles based on one or more conditions (viewport
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { extend, extension } from './checkout/extension.esnext';
|
|
2
|
+
export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
|
|
3
|
+
export { Badge } from './checkout/components/Badge/Badge.esnext';
|
|
2
4
|
export { Banner } from './checkout/components/Banner/Banner.esnext';
|
|
3
5
|
export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.esnext';
|
|
4
6
|
export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.esnext';
|
|
@@ -51,4 +53,3 @@ export { Tooltip } from './checkout/components/Tooltip/Tooltip.esnext';
|
|
|
51
53
|
export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.esnext';
|
|
52
54
|
export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.esnext';
|
|
53
55
|
export { View } from './checkout/components/View/View.esnext';
|
|
54
|
-
export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { extend, extension } from './customer-account/extension.esnext';
|
|
2
|
+
export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
|
|
2
3
|
export { Card } from './customer-account/components/Card/Card.esnext';
|
|
4
|
+
export { Badge } from './checkout/components/Badge/Badge.esnext';
|
|
3
5
|
export { Banner } from './checkout/components/Banner/Banner.esnext';
|
|
4
6
|
export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.esnext';
|
|
5
7
|
export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.esnext';
|
|
@@ -47,4 +49,5 @@ export { TextBlock } from './checkout/components/TextBlock/TextBlock.esnext';
|
|
|
47
49
|
export { TextField } from './checkout/components/TextField/TextField.esnext';
|
|
48
50
|
export { Tooltip } from './checkout/components/Tooltip/Tooltip.esnext';
|
|
49
51
|
export { View } from './checkout/components/View/View.esnext';
|
|
50
|
-
export {
|
|
52
|
+
export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.esnext';
|
|
53
|
+
export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.esnext';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { extend, extension } from './point-of-sale/extension.esnext';
|
|
2
|
+
export { ActionItem } from './point-of-sale/components/Actiontem/ActionItem.esnext';
|
|
2
3
|
export { Badge } from './point-of-sale/components/Badge/Badge.esnext';
|
|
3
4
|
export { Banner } from './point-of-sale/components/Banner/Banner.esnext';
|
|
4
5
|
export { Button } from './point-of-sale/components/Button/Button.esnext';
|
|
@@ -29,3 +30,4 @@ export { TextField } from './point-of-sale/components/TextField/TextField.esnext
|
|
|
29
30
|
export { Tile } from './point-of-sale/components/Tile/Tile.esnext';
|
|
30
31
|
export { TimeField } from './point-of-sale/components/TimeField/TimeField.esnext';
|
|
31
32
|
export { TimePicker } from './point-of-sale/components/TimePicker/TimePicker.esnext';
|
|
33
|
+
export { SectionHeader } from './point-of-sale/components/SectionHeader/SectionHeader.esnext';
|
package/build/ts/api.d.ts
CHANGED
|
@@ -7,9 +7,7 @@ export interface I18nTranslate {
|
|
|
7
7
|
*
|
|
8
8
|
* @example translate("banner.title")
|
|
9
9
|
*/
|
|
10
|
-
<ReplacementType = string>(key: string, options?:
|
|
11
|
-
[placeholderKey: string]: ReplacementType | string | number;
|
|
12
|
-
}): ReplacementType extends string | number ? string : (string | ReplacementType)[];
|
|
10
|
+
<ReplacementType = string>(key: string, options?: Record<string, ReplacementType | string | number>): ReplacementType extends string | number ? string : (string | ReplacementType)[];
|
|
13
11
|
}
|
|
14
12
|
export interface I18n {
|
|
15
13
|
/**
|
package/build/ts/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,CAAC,eAAe,GAAG,MAAM,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,CAAC,eAAe,GAAG,MAAM,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC,GAC1D,eAAe,SAAS,MAAM,GAAG,MAAM,GACtC,MAAM,GACN,CAAC,MAAM,GAAG,eAAe,CAAC,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,IAAI;IACnB;;;;;;;OAOG;IACH,YAAY,EAAE,CACZ,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,mBAAmB,KAC/D,MAAM,CAAC;IAEZ;;;;;;;OAOG;IACH,cAAc,EAAE,CACd,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,mBAAmB,KAC/D,MAAM,CAAC;IAEZ;;;;;;;;;;;OAWG;IACH,UAAU,EAAE,CACV,IAAI,EAAE,IAAI,EACV,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,qBAAqB,KACjE,MAAM,CAAC;IAEZ;;;;;;;;OAQG;IACH,SAAS,EAAE,aAAa,CAAC;CAC1B"}
|