@shopify/ui-extensions 2.0.0-alpha.2 → 2022.10.1
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/index.js +1 -43
- package/build/cjs/surfaces/checkout/components/Banner/Banner.js +12 -0
- package/build/cjs/surfaces/checkout/components/BlockLayout/BlockLayout.js +14 -0
- package/build/cjs/surfaces/checkout/components/BlockSpacer/BlockSpacer.js +15 -0
- package/build/cjs/surfaces/checkout/components/BlockStack/BlockStack.js +12 -0
- package/build/cjs/surfaces/checkout/components/Button/Button.js +12 -0
- package/build/cjs/surfaces/checkout/components/Checkbox/Checkbox.js +12 -0
- package/build/cjs/surfaces/checkout/components/Choice/Choice.js +13 -0
- package/build/cjs/surfaces/checkout/components/ChoiceList/ChoiceList.js +13 -0
- package/build/cjs/surfaces/checkout/components/Divider/Divider.js +12 -0
- package/build/cjs/surfaces/checkout/components/Form/Form.js +20 -0
- package/build/cjs/surfaces/checkout/components/Grid/Grid.js +12 -0
- package/build/cjs/surfaces/checkout/components/GridItem/GridItem.js +14 -0
- package/build/cjs/surfaces/checkout/components/Heading/Heading.js +17 -0
- package/build/cjs/surfaces/checkout/components/HeadingGroup/HeadingGroup.js +16 -0
- package/build/cjs/surfaces/checkout/components/Icon/Icon.js +13 -0
- package/build/cjs/surfaces/checkout/components/Image/Image.js +12 -0
- package/build/cjs/surfaces/checkout/components/InlineLayout/InlineLayout.js +16 -0
- package/build/cjs/surfaces/checkout/components/InlineSpacer/InlineSpacer.js +15 -0
- package/build/cjs/surfaces/checkout/components/InlineStack/InlineStack.js +12 -0
- package/build/cjs/surfaces/checkout/components/Link/Link.js +12 -0
- package/build/cjs/surfaces/checkout/components/List/List.js +12 -0
- package/build/cjs/surfaces/checkout/components/ListItem/ListItem.js +14 -0
- package/build/cjs/surfaces/checkout/components/PhoneField/PhoneField.js +17 -0
- package/build/cjs/surfaces/checkout/components/Pressable/Pressable.js +14 -0
- package/build/cjs/surfaces/checkout/components/ScrollView/ScrollView.js +13 -0
- package/build/cjs/surfaces/checkout/components/Select/Select.js +13 -0
- package/build/cjs/surfaces/checkout/components/SkeletonImage/SkeletonImage.js +12 -0
- package/build/cjs/surfaces/checkout/components/SkeletonText/SkeletonText.js +12 -0
- package/build/cjs/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.js +12 -0
- package/build/cjs/surfaces/checkout/components/Spinner/Spinner.js +13 -0
- package/build/cjs/surfaces/checkout/components/Stepper/Stepper.js +12 -0
- package/build/cjs/surfaces/checkout/components/Tag/Tag.js +12 -0
- package/build/cjs/surfaces/checkout/components/Text/Text.js +13 -0
- package/build/cjs/surfaces/checkout/components/TextBlock/TextBlock.js +12 -0
- package/build/cjs/surfaces/checkout/components/TextField/TextField.js +12 -0
- package/build/cjs/surfaces/checkout/components/Tooltip/Tooltip.js +17 -0
- package/build/cjs/surfaces/checkout/components/View/View.js +17 -0
- package/build/cjs/surfaces/checkout/extension.js +5 -23
- package/build/cjs/surfaces/checkout/index.js +82 -65
- package/build/cjs/surfaces/checkout/style/isEqual.js +29 -0
- package/build/cjs/surfaces/checkout/style/memoize.js +138 -0
- package/build/cjs/surfaces/checkout/style/style.js +74 -0
- package/build/cjs/utilities/registration.js +8 -98
- package/build/esm/index.mjs +1 -3
- package/build/esm/surfaces/checkout/components/Banner/Banner.mjs +8 -0
- package/build/esm/surfaces/checkout/components/BlockLayout/BlockLayout.mjs +10 -0
- package/build/esm/surfaces/checkout/components/BlockSpacer/BlockSpacer.mjs +11 -0
- package/build/esm/surfaces/checkout/components/BlockStack/BlockStack.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Button/Button.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Checkbox/Checkbox.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Choice/Choice.mjs +9 -0
- package/build/esm/surfaces/checkout/components/ChoiceList/ChoiceList.mjs +9 -0
- package/build/esm/surfaces/checkout/components/Divider/Divider.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Form/Form.mjs +16 -0
- package/build/esm/surfaces/checkout/components/Grid/Grid.mjs +8 -0
- package/build/esm/surfaces/checkout/components/GridItem/GridItem.mjs +10 -0
- package/build/esm/surfaces/checkout/components/Heading/Heading.mjs +13 -0
- package/build/esm/surfaces/checkout/components/HeadingGroup/HeadingGroup.mjs +12 -0
- package/build/esm/surfaces/checkout/components/Icon/Icon.mjs +9 -0
- package/build/esm/surfaces/checkout/components/Image/Image.mjs +8 -0
- package/build/esm/surfaces/checkout/components/InlineLayout/InlineLayout.mjs +12 -0
- package/build/esm/surfaces/checkout/components/InlineSpacer/InlineSpacer.mjs +11 -0
- package/build/esm/surfaces/checkout/components/InlineStack/InlineStack.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Link/Link.mjs +8 -0
- package/build/esm/surfaces/checkout/components/List/List.mjs +8 -0
- package/build/esm/surfaces/checkout/components/ListItem/ListItem.mjs +10 -0
- package/build/esm/surfaces/checkout/components/PhoneField/PhoneField.mjs +13 -0
- package/build/esm/surfaces/checkout/components/Pressable/Pressable.mjs +10 -0
- package/build/esm/surfaces/checkout/components/ScrollView/ScrollView.mjs +9 -0
- package/build/esm/surfaces/checkout/components/Select/Select.mjs +9 -0
- package/build/esm/surfaces/checkout/components/SkeletonImage/SkeletonImage.mjs +8 -0
- package/build/esm/surfaces/checkout/components/SkeletonText/SkeletonText.mjs +8 -0
- package/build/esm/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Spinner/Spinner.mjs +9 -0
- package/build/esm/surfaces/checkout/components/Stepper/Stepper.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Tag/Tag.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Text/Text.mjs +9 -0
- package/build/esm/surfaces/checkout/components/TextBlock/TextBlock.mjs +8 -0
- package/build/esm/surfaces/checkout/components/TextField/TextField.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Tooltip/Tooltip.mjs +13 -0
- package/build/esm/surfaces/checkout/components/View/View.mjs +13 -0
- package/build/esm/surfaces/checkout/extension.mjs +5 -3
- package/build/esm/surfaces/checkout/index.mjs +39 -5
- package/build/esm/surfaces/checkout/style/isEqual.mjs +25 -0
- package/build/esm/surfaces/checkout/style/memoize.mjs +132 -0
- package/build/esm/surfaces/checkout/style/style.mjs +68 -0
- package/build/esm/utilities/registration.mjs +7 -92
- package/build/esnext/index.esnext +1 -3
- package/build/esnext/surfaces/checkout/components/Banner/Banner.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/BlockLayout/BlockLayout.esnext +10 -0
- package/build/esnext/surfaces/checkout/components/BlockSpacer/BlockSpacer.esnext +11 -0
- package/build/esnext/surfaces/checkout/components/BlockStack/BlockStack.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Button/Button.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Checkbox/Checkbox.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Choice/Choice.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/ChoiceList/ChoiceList.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/Divider/Divider.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Form/Form.esnext +16 -0
- package/build/esnext/surfaces/checkout/components/Grid/Grid.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/GridItem/GridItem.esnext +10 -0
- package/build/esnext/surfaces/checkout/components/Heading/Heading.esnext +13 -0
- package/build/esnext/surfaces/checkout/components/HeadingGroup/HeadingGroup.esnext +12 -0
- package/build/esnext/surfaces/checkout/components/Icon/Icon.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/Image/Image.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/InlineLayout/InlineLayout.esnext +12 -0
- package/build/esnext/surfaces/checkout/components/InlineSpacer/InlineSpacer.esnext +11 -0
- package/build/esnext/surfaces/checkout/components/InlineStack/InlineStack.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Link/Link.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/List/List.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/ListItem/ListItem.esnext +10 -0
- package/build/esnext/surfaces/checkout/components/PhoneField/PhoneField.esnext +13 -0
- package/build/esnext/surfaces/checkout/components/Pressable/Pressable.esnext +10 -0
- package/build/esnext/surfaces/checkout/components/ScrollView/ScrollView.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/Select/Select.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/SkeletonImage/SkeletonImage.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/SkeletonText/SkeletonText.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Spinner/Spinner.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/Stepper/Stepper.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Tag/Tag.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Text/Text.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/TextBlock/TextBlock.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/TextField/TextField.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Tooltip/Tooltip.esnext +13 -0
- package/build/esnext/surfaces/checkout/components/View/View.esnext +13 -0
- package/build/esnext/surfaces/checkout/extension.esnext +5 -3
- package/build/esnext/surfaces/checkout/index.esnext +39 -5
- package/build/esnext/surfaces/checkout/style/isEqual.esnext +25 -0
- package/build/esnext/surfaces/checkout/style/memoize.esnext +132 -0
- package/build/esnext/surfaces/checkout/style/style.esnext +68 -0
- package/build/esnext/utilities/registration.esnext +7 -28
- package/build/ts/api.d.ts +0 -4
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +2 -9
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/index.d.ts +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line-details/render-after.d.ts +6 -3
- package/build/ts/surfaces/checkout/api/cart-line-details/render-after.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -3
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +1046 -2
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner/Banner.d.ts +38 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Banner/examples/basic-banner.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Banner/examples/basic-banner.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +22 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +42 -0
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Button/Button.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/Button/Button.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Button/examples/basic-button.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Button/examples/basic-button.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts +59 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +27 -0
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Choice/examples/basic-choice.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Choice/examples/basic-choice.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.d.ts +30 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider/examples/basic-divider.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Divider/examples/basic-divider.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Form/Form.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/Form/Form.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Form/examples/basic-form.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Form/examples/basic-form.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid/examples/basic-grid.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Grid/examples/basic-grid.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +36 -0
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/GridItem/examples/basic-griditem.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/GridItem/examples/basic-griditem.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.d.ts +43 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Heading/examples/basic-heading.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Heading/examples/basic-heading.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.d.ts +15 -0
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +38 -0
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Icon/examples/basic-icon.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Icon/examples/basic-icon.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts +73 -0
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Image/examples/basic-image.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Image/examples/basic-image.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts +43 -0
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts +22 -0
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +50 -0
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Link/Link.d.ts +50 -0
- package/build/ts/surfaces/checkout/components/Link/Link.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Link/examples/basic-link.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Link/examples/basic-link.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/List/List.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/List/List.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/List/examples/basic-list.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/List/examples/basic-list.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.d.ts +13 -0
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ListItem/examples/basic-listitem.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ListItem/examples/basic-listitem.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +58 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +96 -0
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Pressable/examples/basic-pressable.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Pressable/examples/basic-pressable.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +74 -0
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/examples/basic-select.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Select/examples/basic-select.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts +25 -0
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts +21 -0
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts +22 -0
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Spinner/examples/basic-spinner.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Spinner/examples/basic-spinner.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts +42 -0
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Stepper/examples/basic-stepper.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Stepper/examples/basic-stepper.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +31 -0
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tag/examples/basic-tag.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Tag/examples/basic-tag.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Text/Text.d.ts +34 -0
- package/build/ts/surfaces/checkout/components/Text/Text.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Text/examples/basic-text.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Text/examples/basic-text.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +175 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextField/examples/basic-textfield.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/TextField/examples/basic-textfield.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts +16 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/View/View.d.ts +169 -0
- package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/View/examples/basic-view.example.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/View/examples/basic-view.example.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/shared.d.ts +388 -0
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components.d.ts +75 -1
- package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/extension-points.d.ts +50 -2
- package/build/ts/surfaces/checkout/extension-points.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +11 -0
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/index.d.ts +2 -0
- package/build/ts/surfaces/checkout/index.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +3 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/isEqual.d.ts +8 -0
- package/build/ts/surfaces/checkout/style/isEqual.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/isEqual.test.d.ts +2 -0
- package/build/ts/surfaces/checkout/style/isEqual.test.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/memoize.d.ts +13 -0
- package/build/ts/surfaces/checkout/style/memoize.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/style.d.ts +70 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/style.test.d.ts +2 -0
- package/build/ts/surfaces/checkout/style/style.test.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/types.d.ts +46 -0
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style.d.ts +3 -0
- package/build/ts/surfaces/checkout/style.d.ts.map +1 -0
- package/build/ts/utilities/registration.d.ts +1 -2
- package/build/ts/utilities/registration.d.ts.map +1 -1
- package/checkout.esnext +1 -1
- package/checkout.js +1 -1
- package/checkout.mjs +1 -1
- package/index.esnext +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +17 -11
- package/src/api.ts +0 -5
- package/src/extension.ts +3 -29
- package/src/index.ts +1 -1
- package/src/surfaces/checkout/api/cart-line-details/render-after.ts +7 -3
- package/src/surfaces/checkout/api/shared.ts +810 -3
- package/src/surfaces/checkout/api/standard/standard.ts +1240 -2
- package/src/surfaces/checkout/components/Banner/Banner.ts +37 -0
- package/src/surfaces/checkout/components/Banner/README.md +14 -0
- package/src/surfaces/checkout/components/Banner/content/guidelines.md +9 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts +11 -0
- package/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts +43 -0
- package/src/surfaces/checkout/components/BlockLayout/README.md +101 -0
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts +16 -0
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +25 -0
- package/src/surfaces/checkout/components/BlockSpacer/README.md +14 -0
- package/src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts +11 -0
- package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +53 -0
- package/src/surfaces/checkout/components/BlockStack/README.md +77 -0
- package/src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts +11 -0
- package/src/surfaces/checkout/components/Button/Button.ts +87 -0
- package/src/surfaces/checkout/components/Button/README.md +22 -0
- package/src/surfaces/checkout/components/Button/content/guidelines.md +10 -0
- package/src/surfaces/checkout/components/Button/examples/basic-button.example.ts +11 -0
- package/src/{components → surfaces/checkout/components}/Checkbox/Checkbox.ts +32 -1
- package/src/surfaces/checkout/components/Checkbox/README.md +18 -0
- package/src/surfaces/checkout/components/Checkbox/content/guidelines.md +9 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts +11 -0
- package/src/surfaces/checkout/components/Choice/Choice.ts +25 -0
- package/src/surfaces/checkout/components/Choice/README.md +14 -0
- package/src/surfaces/checkout/components/Choice/content/guidelines.md +9 -0
- package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +50 -0
- package/src/surfaces/checkout/components/ChoiceList/ChoiceList.ts +33 -0
- package/src/surfaces/checkout/components/ChoiceList/README.md +14 -0
- package/src/surfaces/checkout/components/ChoiceList/content/guidelines.md +10 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +50 -0
- package/src/surfaces/checkout/components/Divider/Divider.ts +33 -0
- package/src/surfaces/checkout/components/Divider/README.md +13 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts +7 -0
- package/src/surfaces/checkout/components/Form/Form.ts +30 -0
- package/src/surfaces/checkout/components/Form/README.md +21 -0
- package/src/surfaces/checkout/components/Form/content/guidelines.md +4 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.ts +48 -0
- package/src/surfaces/checkout/components/Grid/Grid.ts +104 -0
- package/src/surfaces/checkout/components/Grid/README.md +105 -0
- package/src/surfaces/checkout/components/Grid/content/guidelines.md +3 -0
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.ts +45 -0
- package/src/surfaces/checkout/components/GridItem/GridItem.ts +42 -0
- package/src/surfaces/checkout/components/GridItem/README.md +72 -0
- package/src/surfaces/checkout/components/GridItem/content/guidelines.md +3 -0
- package/src/surfaces/checkout/components/GridItem/examples/basic-griditem.example.ts +42 -0
- package/src/surfaces/checkout/components/Heading/Heading.ts +44 -0
- package/src/surfaces/checkout/components/Heading/README.md +19 -0
- package/src/surfaces/checkout/components/Heading/content/guidelines.md +10 -0
- package/src/surfaces/checkout/components/Heading/examples/basic-heading.example.ts +7 -0
- package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.ts +15 -0
- package/src/surfaces/checkout/components/HeadingGroup/README.md +7 -0
- package/src/surfaces/checkout/components/HeadingGroup/content/guidelines.md +9 -0
- package/src/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.ts +20 -0
- package/src/surfaces/checkout/components/Icon/Icon.ts +91 -0
- package/src/surfaces/checkout/components/Icon/README.md +15 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.ts +7 -0
- package/src/surfaces/checkout/components/Image/Image.ts +83 -0
- package/src/surfaces/checkout/components/Image/README.md +53 -0
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +10 -0
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +49 -0
- package/src/surfaces/checkout/components/InlineLayout/README.md +103 -0
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.ts +16 -0
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +24 -0
- package/src/surfaces/checkout/components/InlineSpacer/README.md +14 -0
- package/src/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.ts +16 -0
- package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +63 -0
- package/src/surfaces/checkout/components/InlineStack/README.md +87 -0
- package/src/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.ts +18 -0
- package/src/surfaces/checkout/components/Link/Link.ts +49 -0
- package/src/surfaces/checkout/components/Link/README.md +18 -0
- package/src/surfaces/checkout/components/Link/content/guidelines.md +9 -0
- package/src/surfaces/checkout/components/Link/examples/basic-link.example.ts +11 -0
- package/src/surfaces/checkout/components/List/List.ts +32 -0
- package/src/surfaces/checkout/components/List/README.md +19 -0
- package/src/surfaces/checkout/components/List/content/guidelines.md +11 -0
- package/src/surfaces/checkout/components/List/examples/basic-list.example.ts +11 -0
- package/src/surfaces/checkout/components/ListItem/ListItem.ts +12 -0
- package/src/surfaces/checkout/components/ListItem/README.md +5 -0
- package/src/surfaces/checkout/components/ListItem/content/guidelines.md +3 -0
- package/src/surfaces/checkout/components/ListItem/examples/basic-listitem.example.ts +9 -0
- package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +77 -0
- package/src/surfaces/checkout/components/PhoneField/README.md +49 -0
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.ts +10 -0
- package/src/surfaces/checkout/components/Pressable/Pressable.ts +128 -0
- package/src/surfaces/checkout/components/Pressable/README.md +74 -0
- package/src/surfaces/checkout/components/Pressable/examples/basic-pressable.example.ts +27 -0
- package/src/surfaces/checkout/components/ScrollView/README.md +62 -0
- package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +76 -0
- package/src/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.ts +38 -0
- package/src/surfaces/checkout/components/Select/README.md +41 -0
- package/src/surfaces/checkout/components/Select/Select.ts +97 -0
- package/src/surfaces/checkout/components/Select/content/guidelines.md +4 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.ts +36 -0
- package/src/surfaces/checkout/components/SkeletonImage/README.md +13 -0
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +27 -0
- package/src/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.ts +10 -0
- package/src/surfaces/checkout/components/SkeletonText/README.md +13 -0
- package/src/surfaces/checkout/components/SkeletonText/SkeletonText.ts +23 -0
- package/src/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.ts +7 -0
- package/src/surfaces/checkout/components/SkeletonTextBlock/README.md +13 -0
- package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.ts +24 -0
- package/src/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.ts +7 -0
- package/src/surfaces/checkout/components/Spinner/README.md +14 -0
- package/src/surfaces/checkout/components/Spinner/Spinner.ts +35 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.ts +7 -0
- package/src/surfaces/checkout/components/Stepper/README.md +28 -0
- package/src/surfaces/checkout/components/Stepper/Stepper.ts +63 -0
- package/src/surfaces/checkout/components/Stepper/content/guidelines.md +4 -0
- package/src/surfaces/checkout/components/Stepper/examples/basic-stepper.example.ts +10 -0
- package/src/surfaces/checkout/components/Tag/README.md +14 -0
- package/src/surfaces/checkout/components/Tag/Tag.ts +26 -0
- package/src/surfaces/checkout/components/Tag/examples/basic-tag.example.ts +7 -0
- package/src/surfaces/checkout/components/Text/README.md +17 -0
- package/src/surfaces/checkout/components/Text/Text.ts +44 -0
- package/src/surfaces/checkout/components/Text/content/guidelines.md +10 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.ts +14 -0
- package/src/surfaces/checkout/components/TextBlock/README.md +15 -0
- package/src/surfaces/checkout/components/TextBlock/TextBlock.ts +38 -0
- package/src/surfaces/checkout/components/TextBlock/content/guidelines.md +9 -0
- package/src/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.ts +18 -0
- package/src/surfaces/checkout/components/TextField/README.md +49 -0
- package/src/surfaces/checkout/components/TextField/TextField.ts +173 -0
- package/src/surfaces/checkout/components/TextField/content/guidelines.md +5 -0
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.ts +9 -0
- package/src/surfaces/checkout/components/Tooltip/README.md +8 -0
- package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +15 -0
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.ts +23 -0
- package/src/surfaces/checkout/components/View/README.md +97 -0
- package/src/surfaces/checkout/components/View/View.ts +196 -0
- package/src/surfaces/checkout/components/View/examples/basic-view.example.ts +11 -0
- package/src/surfaces/checkout/components/shared.ts +560 -0
- package/src/surfaces/checkout/components.ts +155 -1
- package/src/surfaces/checkout/extension-points.ts +83 -3
- package/src/surfaces/checkout/globals.ts +15 -0
- package/src/surfaces/checkout/index.ts +2 -0
- package/src/surfaces/checkout/style/isEqual.test.ts +67 -0
- package/src/surfaces/checkout/style/isEqual.ts +41 -0
- package/src/surfaces/checkout/style/memoize.ts +176 -0
- package/src/surfaces/checkout/style/style.test.ts +131 -0
- package/src/surfaces/checkout/style/style.ts +161 -0
- package/src/surfaces/checkout/style/types.ts +67 -0
- package/src/surfaces/checkout/style.ts +16 -0
- package/src/utilities/registration.ts +9 -42
- package/LICENSE.md +0 -7
- package/admin.d.ts +0 -1
- package/admin.esnext +0 -1
- package/admin.js +0 -1
- package/admin.mjs +0 -1
- package/build/cjs/api.js +0 -1
- package/build/cjs/components/BlockStack/BlockStack.js +0 -11
- package/build/cjs/components/BlockStack/README.md +0 -1
- package/build/cjs/components/Button/Button.js +0 -11
- package/build/cjs/components/Button/README.md +0 -1
- package/build/cjs/components/Checkbox/Checkbox.js +0 -14
- package/build/cjs/components/Checkbox/README.md +0 -1
- package/build/cjs/components/Text/README.md +0 -1
- package/build/cjs/components/Text/Text.js +0 -11
- package/build/cjs/components/TextField/README.md +0 -1
- package/build/cjs/components/TextField/TextField.js +0 -11
- package/build/cjs/components/View/README.md +0 -1
- package/build/cjs/components/View/View.js +0 -11
- package/build/cjs/components.js +0 -53
- package/build/cjs/extension.js +0 -1
- package/build/cjs/surfaces/admin/api/checkout-editor/README.md +0 -1
- package/build/cjs/surfaces/admin/api/checkout-editor/render-settings.js +0 -1
- package/build/cjs/surfaces/admin/api/standard/README.md +0 -1
- package/build/cjs/surfaces/admin/api/standard/standard.js +0 -1
- package/build/cjs/surfaces/admin/api.js +0 -1
- package/build/cjs/surfaces/admin/components/TextField/TextField.js +0 -11
- package/build/cjs/surfaces/admin/components.js +0 -30
- package/build/cjs/surfaces/admin/extension-points.js +0 -1
- package/build/cjs/surfaces/admin/extension.js +0 -27
- package/build/cjs/surfaces/admin/index.js +0 -70
- package/build/cjs/surfaces/admin/shared.js +0 -1
- package/build/cjs/surfaces/checkout/api/cart-line-details/README.md +0 -1
- package/build/cjs/surfaces/checkout/api/cart-line-details/render-after.js +0 -1
- package/build/cjs/surfaces/checkout/api/shared.js +0 -1
- package/build/cjs/surfaces/checkout/api/standard/README.md +0 -1
- package/build/cjs/surfaces/checkout/api/standard/standard.js +0 -1
- package/build/cjs/surfaces/checkout/api.js +0 -1
- package/build/cjs/surfaces/checkout/components.js +0 -18
- package/build/cjs/surfaces/checkout/extension-points.js +0 -1
- package/build/cjs/surfaces/checkout/shared.js +0 -1
- package/build/esm/api.mjs +0 -0
- package/build/esm/components/BlockStack/BlockStack.mjs +0 -2
- package/build/esm/components/BlockStack/README.md +0 -1
- package/build/esm/components/Button/Button.mjs +0 -2
- package/build/esm/components/Button/README.md +0 -1
- package/build/esm/components/Checkbox/Checkbox.mjs +0 -6
- package/build/esm/components/Checkbox/README.md +0 -1
- package/build/esm/components/Text/README.md +0 -1
- package/build/esm/components/Text/Text.mjs +0 -2
- package/build/esm/components/TextField/README.md +0 -1
- package/build/esm/components/TextField/TextField.mjs +0 -2
- package/build/esm/components/View/README.md +0 -1
- package/build/esm/components/View/View.mjs +0 -2
- package/build/esm/components.mjs +0 -6
- package/build/esm/extension.mjs +0 -0
- package/build/esm/surfaces/admin/api/checkout-editor/README.md +0 -1
- package/build/esm/surfaces/admin/api/checkout-editor/render-settings.mjs +0 -0
- package/build/esm/surfaces/admin/api/standard/README.md +0 -1
- package/build/esm/surfaces/admin/api/standard/standard.mjs +0 -0
- package/build/esm/surfaces/admin/api.mjs +0 -0
- package/build/esm/surfaces/admin/components/TextField/TextField.mjs +0 -2
- package/build/esm/surfaces/admin/components.mjs +0 -2
- package/build/esm/surfaces/admin/extension-points.mjs +0 -0
- package/build/esm/surfaces/admin/extension.mjs +0 -3
- package/build/esm/surfaces/admin/index.mjs +0 -5
- package/build/esm/surfaces/admin/shared.mjs +0 -0
- package/build/esm/surfaces/checkout/api/cart-line-details/README.md +0 -1
- package/build/esm/surfaces/checkout/api/cart-line-details/render-after.mjs +0 -0
- package/build/esm/surfaces/checkout/api/shared.mjs +0 -0
- package/build/esm/surfaces/checkout/api/standard/README.md +0 -1
- package/build/esm/surfaces/checkout/api/standard/standard.mjs +0 -0
- package/build/esm/surfaces/checkout/api.mjs +0 -0
- package/build/esm/surfaces/checkout/components.mjs +0 -1
- package/build/esm/surfaces/checkout/extension-points.mjs +0 -0
- package/build/esm/surfaces/checkout/shared.mjs +0 -0
- package/build/esnext/api.esnext +0 -0
- package/build/esnext/components/BlockStack/BlockStack.esnext +0 -2
- package/build/esnext/components/BlockStack/README.md +0 -1
- package/build/esnext/components/Button/Button.esnext +0 -2
- package/build/esnext/components/Button/README.md +0 -1
- package/build/esnext/components/Checkbox/Checkbox.esnext +0 -6
- package/build/esnext/components/Checkbox/README.md +0 -1
- package/build/esnext/components/Text/README.md +0 -1
- package/build/esnext/components/Text/Text.esnext +0 -2
- package/build/esnext/components/TextField/README.md +0 -1
- package/build/esnext/components/TextField/TextField.esnext +0 -2
- package/build/esnext/components/View/README.md +0 -1
- package/build/esnext/components/View/View.esnext +0 -2
- package/build/esnext/components.esnext +0 -6
- package/build/esnext/extension.esnext +0 -0
- package/build/esnext/surfaces/admin/api/checkout-editor/README.md +0 -1
- package/build/esnext/surfaces/admin/api/checkout-editor/render-settings.esnext +0 -0
- package/build/esnext/surfaces/admin/api/standard/README.md +0 -1
- package/build/esnext/surfaces/admin/api/standard/standard.esnext +0 -0
- package/build/esnext/surfaces/admin/api.esnext +0 -0
- package/build/esnext/surfaces/admin/components/TextField/TextField.esnext +0 -2
- package/build/esnext/surfaces/admin/components.esnext +0 -2
- package/build/esnext/surfaces/admin/extension-points.esnext +0 -0
- package/build/esnext/surfaces/admin/extension.esnext +0 -3
- package/build/esnext/surfaces/admin/index.esnext +0 -5
- package/build/esnext/surfaces/admin/shared.esnext +0 -0
- package/build/esnext/surfaces/checkout/api/cart-line-details/README.md +0 -1
- package/build/esnext/surfaces/checkout/api/cart-line-details/render-after.esnext +0 -0
- package/build/esnext/surfaces/checkout/api/shared.esnext +0 -0
- package/build/esnext/surfaces/checkout/api/standard/README.md +0 -1
- package/build/esnext/surfaces/checkout/api/standard/standard.esnext +0 -0
- package/build/esnext/surfaces/checkout/api.esnext +0 -0
- package/build/esnext/surfaces/checkout/components.esnext +0 -1
- package/build/esnext/surfaces/checkout/extension-points.esnext +0 -0
- package/build/esnext/surfaces/checkout/shared.esnext +0 -0
- package/build/node/api.js +0 -1
- package/build/node/components/BlockStack/BlockStack.js +0 -11
- package/build/node/components/BlockStack/README.md +0 -1
- package/build/node/components/Button/Button.js +0 -11
- package/build/node/components/Button/README.md +0 -1
- package/build/node/components/Checkbox/Checkbox.js +0 -14
- package/build/node/components/Checkbox/README.md +0 -1
- package/build/node/components/Text/README.md +0 -1
- package/build/node/components/Text/Text.js +0 -11
- package/build/node/components/TextField/README.md +0 -1
- package/build/node/components/TextField/TextField.js +0 -11
- package/build/node/components/View/README.md +0 -1
- package/build/node/components/View/View.js +0 -11
- package/build/node/components.js +0 -53
- package/build/node/extension.js +0 -1
- package/build/node/index.js +0 -44
- package/build/node/surfaces/admin/api/checkout-editor/README.md +0 -1
- package/build/node/surfaces/admin/api/checkout-editor/render-settings.js +0 -1
- package/build/node/surfaces/admin/api/standard/README.md +0 -1
- package/build/node/surfaces/admin/api/standard/standard.js +0 -1
- package/build/node/surfaces/admin/api.js +0 -1
- package/build/node/surfaces/admin/components/TextField/TextField.js +0 -11
- package/build/node/surfaces/admin/components.js +0 -30
- package/build/node/surfaces/admin/extension-points.js +0 -1
- package/build/node/surfaces/admin/extension.js +0 -27
- package/build/node/surfaces/admin/index.js +0 -70
- package/build/node/surfaces/admin/shared.js +0 -1
- package/build/node/surfaces/checkout/api/cart-line-details/README.md +0 -1
- package/build/node/surfaces/checkout/api/cart-line-details/render-after.js +0 -1
- package/build/node/surfaces/checkout/api/shared.js +0 -1
- package/build/node/surfaces/checkout/api/standard/README.md +0 -1
- package/build/node/surfaces/checkout/api/standard/standard.js +0 -1
- package/build/node/surfaces/checkout/api.js +0 -1
- package/build/node/surfaces/checkout/components.js +0 -18
- package/build/node/surfaces/checkout/extension-points.js +0 -1
- package/build/node/surfaces/checkout/extension.js +0 -27
- package/build/node/surfaces/checkout/index.js +0 -70
- package/build/node/surfaces/checkout/shared.js +0 -1
- package/build/node/utilities/registration.js +0 -44
- package/build/ts/api.js +0 -2
- package/build/ts/components/BlockStack/BlockStack.d.ts +0 -8
- package/build/ts/components/BlockStack/BlockStack.d.ts.map +0 -1
- package/build/ts/components/BlockStack/BlockStack.js +0 -5
- package/build/ts/components/Button/Button.d.ts +0 -12
- package/build/ts/components/Button/Button.d.ts.map +0 -1
- package/build/ts/components/Button/Button.js +0 -5
- package/build/ts/components/Checkbox/Checkbox.d.ts +0 -30
- package/build/ts/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/build/ts/components/Checkbox/Checkbox.js +0 -8
- package/build/ts/components/Text/Text.d.ts +0 -8
- package/build/ts/components/Text/Text.d.ts.map +0 -1
- package/build/ts/components/Text/Text.js +0 -5
- package/build/ts/components/TextField/TextField.d.ts +0 -53
- package/build/ts/components/TextField/TextField.d.ts.map +0 -1
- package/build/ts/components/TextField/TextField.js +0 -5
- package/build/ts/components/View/View.d.ts +0 -8
- package/build/ts/components/View/View.d.ts.map +0 -1
- package/build/ts/components/View/View.js +0 -5
- package/build/ts/components.d.ts +0 -13
- package/build/ts/components.d.ts.map +0 -1
- package/build/ts/components.js +0 -15
- package/build/ts/extension.js +0 -2
- package/build/ts/index.js +0 -19
- package/build/ts/surfaces/admin/api/checkout-editor/render-settings.d.ts +0 -19
- package/build/ts/surfaces/admin/api/checkout-editor/render-settings.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/checkout-editor/render-settings.js +0 -2
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +0 -7
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/standard/standard.js +0 -2
- package/build/ts/surfaces/admin/api.d.ts +0 -3
- package/build/ts/surfaces/admin/api.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api.js +0 -2
- package/build/ts/surfaces/admin/components/TextField/TextField.d.ts +0 -15
- package/build/ts/surfaces/admin/components/TextField/TextField.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/TextField/TextField.js +0 -5
- package/build/ts/surfaces/admin/components.d.ts +0 -4
- package/build/ts/surfaces/admin/components.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components.js +0 -20
- package/build/ts/surfaces/admin/extension-points.d.ts +0 -9
- package/build/ts/surfaces/admin/extension-points.d.ts.map +0 -1
- package/build/ts/surfaces/admin/extension-points.js +0 -2
- package/build/ts/surfaces/admin/extension.d.ts +0 -4
- package/build/ts/surfaces/admin/extension.d.ts.map +0 -1
- package/build/ts/surfaces/admin/extension.js +0 -20
- package/build/ts/surfaces/admin/index.d.ts +0 -6
- package/build/ts/surfaces/admin/index.d.ts.map +0 -1
- package/build/ts/surfaces/admin/index.js +0 -21
- package/build/ts/surfaces/admin/shared.d.ts +0 -8
- package/build/ts/surfaces/admin/shared.d.ts.map +0 -1
- package/build/ts/surfaces/admin/shared.js +0 -2
- package/build/ts/surfaces/checkout/api/cart-line-details/render-after.js +0 -2
- package/build/ts/surfaces/checkout/api/shared.js +0 -2
- package/build/ts/surfaces/checkout/api/standard/standard.js +0 -2
- package/build/ts/surfaces/checkout/api.js +0 -2
- package/build/ts/surfaces/checkout/components.js +0 -17
- package/build/ts/surfaces/checkout/extension-points.js +0 -2
- package/build/ts/surfaces/checkout/extension.js +0 -20
- package/build/ts/surfaces/checkout/index.js +0 -21
- package/build/ts/surfaces/checkout/shared.js +0 -2
- package/build/ts/utilities/registration.js +0 -111
- package/build/tsconfig.tsbuildinfo +0 -1
- package/checkout.d.ts +0 -1
- package/index.d.ts +0 -1
- package/sewing-kit.config.ts +0 -9
- package/src/components/BlockStack/BlockStack.ts +0 -7
- package/src/components/BlockStack/README.md +0 -1
- package/src/components/Button/Button.ts +0 -10
- package/src/components/Button/README.md +0 -1
- package/src/components/Checkbox/README.md +0 -1
- package/src/components/Text/README.md +0 -1
- package/src/components/Text/Text.ts +0 -5
- package/src/components/TextField/README.md +0 -1
- package/src/components/TextField/TextField.ts +0 -56
- package/src/components/View/README.md +0 -1
- package/src/components/View/View.ts +0 -5
- package/src/components.ts +0 -17
- package/src/surfaces/admin/api/checkout-editor/README.md +0 -1
- package/src/surfaces/admin/api/checkout-editor/render-settings.ts +0 -26
- package/src/surfaces/admin/api/standard/README.md +0 -1
- package/src/surfaces/admin/api/standard/standard.ts +0 -8
- package/src/surfaces/admin/api.ts +0 -2
- package/src/surfaces/admin/components/TextField/TextField.ts +0 -16
- package/src/surfaces/admin/components.ts +0 -4
- package/src/surfaces/admin/extension-points.ts +0 -17
- package/src/surfaces/admin/extension.ts +0 -7
- package/src/surfaces/admin/index.ts +0 -5
- package/src/surfaces/admin/shared.ts +0 -14
- package/tsconfig.json +0 -9
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import { RemoteFragment } from '@remote-ui/core';
|
|
2
|
+
import { MaybeConditionalStyle, MaybeResponsiveConditionalStyle } from '../style';
|
|
3
|
+
/**
|
|
4
|
+
* A descriptor for selecting the data a field would like to receive during
|
|
5
|
+
* autocomplete. This attribute is modeled off of a limited set of the autocomplete
|
|
6
|
+
* values supported in browsers.
|
|
7
|
+
*
|
|
8
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens
|
|
9
|
+
*/
|
|
10
|
+
export interface Autocomplete {
|
|
11
|
+
/**
|
|
12
|
+
* The contact information “group” the autocomplete data should be sourced from.
|
|
13
|
+
*/
|
|
14
|
+
group?: AutocompleteGroup;
|
|
15
|
+
/**
|
|
16
|
+
* The type of data that should be inserted into a field supporting autocomplete.
|
|
17
|
+
*/
|
|
18
|
+
field: AutocompleteField;
|
|
19
|
+
}
|
|
20
|
+
export type AutocompleteGroup = 'shipping' | 'billing' | 'location';
|
|
21
|
+
export type AutocompleteField = 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'credit-card-name' | 'credit-card-given-name' | 'credit-card-additional-name' | 'credit-card-family-name' | 'credit-card-number' | 'credit-card-expiry' | 'credit-card-expiry-month' | 'credit-card-expiry-year' | 'credit-card-security-code' | 'credit-card-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'birthday' | 'birthday-day' | 'birthday-month' | 'birthday-year' | 'sex' | 'url' | 'photo' | 'telephone' | 'telephone-country-code' | 'telephone-national' | 'telephone-area-code' | 'telephone-local' | 'telephone-local-prefix' | 'telephone-local-suffix' | 'telephone-extension' | 'email' | 'instant-message' | 'home telephone' | 'home telephone-country-code' | 'home telephone-national' | 'home telephone-area-code' | 'home telephone-local' | 'home telephone-local-prefix' | 'home telephone-local-suffix' | 'home telephone-extension' | 'home email' | 'home instant-message' | 'work telephone' | 'work telephone-country-code' | 'work telephone-national' | 'work telephone-area-code' | 'work telephone-local' | 'work telephone-local-prefix' | 'work telephone-local-suffix' | 'work telephone-extension' | 'work email' | 'work instant-message' | 'mobile telephone' | 'mobile telephone-country-code' | 'mobile telephone-national' | 'mobile telephone-area-code' | 'mobile telephone-local' | 'mobile telephone-local-prefix' | 'mobile telephone-local-suffix' | 'mobile telephone-extension' | 'mobile email' | 'mobile instant-message' | 'fax telephone' | 'fax telephone-country-code' | 'fax telephone-national' | 'fax telephone-area-code' | 'fax telephone-local' | 'fax telephone-local-prefix' | 'fax telephone-local-suffix' | 'fax telephone-extension' | 'fax email' | 'fax instant-message' | 'pager telephone' | 'pager telephone-country-code' | 'pager telephone-national' | 'pager telephone-area-code' | 'pager telephone-local' | 'pager telephone-local-prefix' | 'pager telephone-local-suffix' | 'pager telephone-extension' | 'pager email' | 'pager instant-message';
|
|
22
|
+
export type Breakpoint = 'base' | 'small' | 'medium' | 'large';
|
|
23
|
+
export type Display = 'block' | 'inline';
|
|
24
|
+
export type ShorthandProperty<T> = [T, T] | [T, T, T, T];
|
|
25
|
+
export type MaybeShorthandProperty<T> = T | ShorthandProperty<T>;
|
|
26
|
+
export type BorderRadius = 'base' | 'tight' | 'loose' | 'fullyRounded' | 'none';
|
|
27
|
+
export type BorderStyle = 'base' | 'dotted' | 'none';
|
|
28
|
+
export type BorderWidth = 'base' | 'medium';
|
|
29
|
+
export interface BackgroundProps {
|
|
30
|
+
/**
|
|
31
|
+
* Adjust the background.
|
|
32
|
+
*/
|
|
33
|
+
background?: MaybeConditionalStyle<Background>;
|
|
34
|
+
/**
|
|
35
|
+
* Sets one or multiple responsive background images.
|
|
36
|
+
*/
|
|
37
|
+
backgroundImage?: MaybeConditionalStyle<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates if the background image should scale its container without cropping
|
|
40
|
+
* and stretching, or scale as large as possible to fill the container and stretching if necessary.
|
|
41
|
+
*/
|
|
42
|
+
backgroundFit?: BackgroundFit;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the initial position of the background image.
|
|
45
|
+
*
|
|
46
|
+
* @defaultValue 'center'
|
|
47
|
+
*/
|
|
48
|
+
backgroundPosition?: BackgroundPosition;
|
|
49
|
+
/**
|
|
50
|
+
* Sets how background image are repeated.
|
|
51
|
+
*
|
|
52
|
+
* @defaultValue 'noRepeat'
|
|
53
|
+
*/
|
|
54
|
+
backgroundRepeat?: BackgroundRepeat;
|
|
55
|
+
}
|
|
56
|
+
export interface BorderProps {
|
|
57
|
+
/**
|
|
58
|
+
* Adjust the border style.
|
|
59
|
+
*
|
|
60
|
+
* To shorten the code, it is possible to specify all the border style properties in one property.
|
|
61
|
+
*
|
|
62
|
+
* For example:
|
|
63
|
+
*
|
|
64
|
+
* - `base` means blockStart, inlineEnd, blockEnd and inlineStart border styles are `base`
|
|
65
|
+
*
|
|
66
|
+
* - `['base', 'none']` means blockStart and blockEnd border styles are `base`, inlineStart and inlineEnd border styles are `none`
|
|
67
|
+
*
|
|
68
|
+
* - `['base', 'none', 'dotted', 'base']` means blockStart border style is `base`, inlineEnd border style is `none`, blockEnd border style is `dotted` and blockStart border style is `base`
|
|
69
|
+
*/
|
|
70
|
+
border?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<BorderStyle>>;
|
|
71
|
+
/**
|
|
72
|
+
* Adjust the border width.
|
|
73
|
+
*
|
|
74
|
+
* To shorten the code, it is possible to specify all the border width properties in one property.
|
|
75
|
+
*
|
|
76
|
+
* For example:
|
|
77
|
+
*
|
|
78
|
+
* - `base` means blockStart, inlineEnd, blockEnd and inlineStart border widths are `base`
|
|
79
|
+
*
|
|
80
|
+
* - `['base', 'medium']` means blockStart and blockEnd border widths are `base`, inlineStart and inlineEnd border widths are `medium`
|
|
81
|
+
*
|
|
82
|
+
* - `['base', 'medium', 'medium', 'base']` means blockStart border width is `base`, inlineEnd border width is `medium`, blockEnd border width is `medium` and blockStart border width is `base`
|
|
83
|
+
*/
|
|
84
|
+
borderWidth?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<BorderWidth>>;
|
|
85
|
+
/**
|
|
86
|
+
* Adjust the border radius.
|
|
87
|
+
*
|
|
88
|
+
* To shorten the code, it is possible to specify all the border width properties in one property.
|
|
89
|
+
*
|
|
90
|
+
* For example:
|
|
91
|
+
*
|
|
92
|
+
* - `base` means blockStart, inlineEnd, blockEnd and inlineStart border radii are `base`
|
|
93
|
+
*
|
|
94
|
+
* - `['base', 'none']` means blockStart and blockEnd border radii are `base`, inlineStart and inlineEnd border radii are `none`
|
|
95
|
+
*
|
|
96
|
+
* - `['base', 'none', 'tight', 'base']` means blockStart border radius is `base`, inlineEnd border radius is `none`, blockEnd border radius is `tight` and blockStart border radius is `base`
|
|
97
|
+
*/
|
|
98
|
+
borderRadius?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<BorderRadius>>;
|
|
99
|
+
}
|
|
100
|
+
export interface SizingProps {
|
|
101
|
+
/**
|
|
102
|
+
* Adjust the maximum block size.
|
|
103
|
+
*
|
|
104
|
+
* `number`: size in pixels.
|
|
105
|
+
*
|
|
106
|
+
* `` `${number}%` ``: size in percentages.
|
|
107
|
+
*
|
|
108
|
+
* `fill`: takes all the available space.
|
|
109
|
+
*/
|
|
110
|
+
maxBlockSize?: MaybeResponsiveConditionalStyle<number | `${number}%` | 'fill'>;
|
|
111
|
+
/**
|
|
112
|
+
* Adjust the maximum inline size.
|
|
113
|
+
*
|
|
114
|
+
* `number`: size in pixels.
|
|
115
|
+
*
|
|
116
|
+
* `` `${number}%` ``: size in percentages.
|
|
117
|
+
*
|
|
118
|
+
* `fill`: takes all the available space.
|
|
119
|
+
*/
|
|
120
|
+
maxInlineSize?: MaybeResponsiveConditionalStyle<number | `${number}%` | 'fill'>;
|
|
121
|
+
/**
|
|
122
|
+
* Adjust the minimum inline size.
|
|
123
|
+
*
|
|
124
|
+
* `number`: size in pixels.
|
|
125
|
+
*
|
|
126
|
+
* `` `${number}%` ``: size in percentages.
|
|
127
|
+
*
|
|
128
|
+
* `fill`: takes all the available space.
|
|
129
|
+
*/
|
|
130
|
+
minInlineSize?: MaybeResponsiveConditionalStyle<number | `${number}%` | 'fill'>;
|
|
131
|
+
/**
|
|
132
|
+
* Adjust the block size.
|
|
133
|
+
*
|
|
134
|
+
* `number`: size in pixels.
|
|
135
|
+
*
|
|
136
|
+
* `` `${number}%` ``: size in percentages.
|
|
137
|
+
*
|
|
138
|
+
* `fill`: takes all the available space.
|
|
139
|
+
*/
|
|
140
|
+
minBlockSize?: MaybeResponsiveConditionalStyle<number | `${number}%` | 'fill'>;
|
|
141
|
+
}
|
|
142
|
+
export interface SpacingProps {
|
|
143
|
+
/**
|
|
144
|
+
* Adjust the padding.
|
|
145
|
+
*
|
|
146
|
+
* To shorten the code, it is possible to specify all the padding properties in one property.
|
|
147
|
+
*
|
|
148
|
+
*
|
|
149
|
+
* Examples:
|
|
150
|
+
*
|
|
151
|
+
* - `base` means blockStart, inlineEnd, blockEnd and inlineStart paddings are `base`
|
|
152
|
+
*
|
|
153
|
+
* - [`base`, `none`] means blockStart and blockEnd paddings are `base`, inlineStart and inlineEnd paddings are `none`
|
|
154
|
+
*
|
|
155
|
+
* - [`base`, `none`, `loose`, `tight`] means blockStart padding is `base`, inlineEnd padding is `none`, blockEnd padding is `loose` and blockStart padding is `tight`
|
|
156
|
+
*/
|
|
157
|
+
padding?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<Spacing>>;
|
|
158
|
+
}
|
|
159
|
+
export type AccessibilityRole =
|
|
160
|
+
/** Used to indicate the primary content. */
|
|
161
|
+
'main'
|
|
162
|
+
/** Used to indicate the component is a header. */
|
|
163
|
+
| 'header'
|
|
164
|
+
/** Used to display information such as copyright information, navigation links, and privacy statements. */
|
|
165
|
+
| 'footer'
|
|
166
|
+
/** Used to indicate a generic section. */
|
|
167
|
+
| 'section'
|
|
168
|
+
/** Used to designate a supporting section that relates to the main content. */
|
|
169
|
+
| 'complementary'
|
|
170
|
+
/** Used to identify major groups of links used for navigating. */
|
|
171
|
+
| 'navigation'
|
|
172
|
+
/** Used to identify a list of ordered items. */
|
|
173
|
+
| 'orderedList'
|
|
174
|
+
/** Used to identify an item inside a list of items. */
|
|
175
|
+
| 'listItem'
|
|
176
|
+
/** Used to identify a list of unordered items. */
|
|
177
|
+
| 'unorderedList'
|
|
178
|
+
/** Used to indicates the component acts as a divider that separates and distinguishes sections of content. */
|
|
179
|
+
| 'separator'
|
|
180
|
+
/** Used to define a live region containing advisory information for the user that is not important enough to be an alert. */
|
|
181
|
+
| 'status'
|
|
182
|
+
/** Used for important, and usually time-sensitive, information. */
|
|
183
|
+
| 'alert'
|
|
184
|
+
/** Used to indicate that an image is decorative and should be hidden from assistive technologies. */
|
|
185
|
+
| 'decorative'
|
|
186
|
+
/** Used to strip the semantic meaning of an element, but leave the visual styling intact. */
|
|
187
|
+
| 'presentation';
|
|
188
|
+
export type NonPresentationalAccessibilityRole = Exclude<AccessibilityRole, 'decorative' | 'presentation'>;
|
|
189
|
+
export type ViewLikeAccessibilityRole = NonPresentationalAccessibilityRole | [NonPresentationalAccessibilityRole, NonPresentationalAccessibilityRole];
|
|
190
|
+
export type ButtonAccessibilityRole = 'button' | 'submit';
|
|
191
|
+
export type TextAccessibilityRole =
|
|
192
|
+
/**
|
|
193
|
+
* Indicate the text is contact information. Typically used for addresses.
|
|
194
|
+
*/
|
|
195
|
+
'address'
|
|
196
|
+
/**
|
|
197
|
+
* Indicate the text has been deleted. Typically used for discounted prices.
|
|
198
|
+
*/
|
|
199
|
+
| 'deletion'
|
|
200
|
+
/**
|
|
201
|
+
* Indicate the text is marked or highlighted and relevant to the buyer’s current action.
|
|
202
|
+
* Typically used to indicate the characters that matched a search query.
|
|
203
|
+
*/
|
|
204
|
+
| 'marking'
|
|
205
|
+
/**
|
|
206
|
+
* Indicate the text is an abbreviation or acronym. Use the `for` option to
|
|
207
|
+
* provide a description of the abbreviation.
|
|
208
|
+
*/
|
|
209
|
+
| {
|
|
210
|
+
type: 'abbreviation';
|
|
211
|
+
for?: string;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Override the text directionality. Typically used for email and phone numbers.
|
|
215
|
+
*/
|
|
216
|
+
| {
|
|
217
|
+
type: 'directional-override';
|
|
218
|
+
direction: 'ltr' | 'rtl';
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Indicate the text is a date, a time or a duration. Use the `machineReadable` option
|
|
222
|
+
* to help browsers, tools or software understand the human-readable date. The valid
|
|
223
|
+
* format for `machineReadable` can be found here:
|
|
224
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time#Valid_datetime_Values
|
|
225
|
+
*/
|
|
226
|
+
| {
|
|
227
|
+
type: 'datetime';
|
|
228
|
+
machineReadable?: string;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Indicate emphatic stress. Typically for words that have a stressed emphasis compared to surrounding text.
|
|
232
|
+
*
|
|
233
|
+
* In an HTML host, the text will be rendered in a `<em>` tag.
|
|
234
|
+
*/
|
|
235
|
+
| 'stress'
|
|
236
|
+
/**
|
|
237
|
+
* Indicate an offset from the normal prose of the text. Typically used to indicate
|
|
238
|
+
* a foreign word, fictional character thoughts, or when the text refers to the definition of a word
|
|
239
|
+
* instead of representing its semantic meaning.
|
|
240
|
+
*
|
|
241
|
+
* In an HTML host, the text will be rendered in a `<i>` tag.
|
|
242
|
+
*/
|
|
243
|
+
| 'offset'
|
|
244
|
+
/**
|
|
245
|
+
* Indicate strong importance, seriousness, or urgency.
|
|
246
|
+
*
|
|
247
|
+
* In an HTML host, the text will be rendered in a `<strong>` tag.
|
|
248
|
+
*/
|
|
249
|
+
| 'strong';
|
|
250
|
+
export type Status =
|
|
251
|
+
/**
|
|
252
|
+
* Use to convey general information or actions that aren’t critical or tied to
|
|
253
|
+
* a particular action.
|
|
254
|
+
*/
|
|
255
|
+
'info'
|
|
256
|
+
/**
|
|
257
|
+
* Use rarely, only if you need additional visual confirmation that a
|
|
258
|
+
* non-standard action has been completed successfully, for example adding an
|
|
259
|
+
* item to an order as an upsell.
|
|
260
|
+
*/
|
|
261
|
+
| 'success'
|
|
262
|
+
/**
|
|
263
|
+
* Use to display information that needs attention or that customers should
|
|
264
|
+
* take action on. Seeing these banners can be stressful for customers so be
|
|
265
|
+
* cautious about using them. Should not block progress to next step.
|
|
266
|
+
*/
|
|
267
|
+
| 'warning'
|
|
268
|
+
/**
|
|
269
|
+
* Use to communicate problems that have to be resolved immediately for
|
|
270
|
+
* customers to complete a task. For example, using a different payment method
|
|
271
|
+
* if card details couldn't be processed. Seeing these banners can be stressful
|
|
272
|
+
* for customers so be cautious about using them.
|
|
273
|
+
*/
|
|
274
|
+
| 'critical';
|
|
275
|
+
export type Size = 'extraSmall' | 'small' | 'base' | 'large' | 'extraLarge' | 'fill';
|
|
276
|
+
export type Spacing = 'none' | 'extraTight' | 'tight' | 'base' | 'loose' | 'extraLoose';
|
|
277
|
+
export type Alignment = 'start' | 'center' | 'end';
|
|
278
|
+
export type InlineAlignment = 'start' | 'center' | 'end';
|
|
279
|
+
export type BlockAlignment = Alignment | 'baseline';
|
|
280
|
+
export type Background = 'transparent' | 'color1' | 'color2' | 'color3';
|
|
281
|
+
export type BackgroundFit = 'cover' | 'contain';
|
|
282
|
+
export type BackgroundPosition = 'top' | 'bottom' | 'left' | 'right' | 'center';
|
|
283
|
+
export type BackgroundRepeat = 'repeat' | 'noRepeat';
|
|
284
|
+
export type Appearance =
|
|
285
|
+
/** Use to convey emphasis and draw attention to the icon.*/
|
|
286
|
+
'accent'
|
|
287
|
+
/** Use to convey that the icon is pressable, hoverable or otherwise interactive.*/
|
|
288
|
+
| 'interactive'
|
|
289
|
+
/** Use to convey a subdued or disabled state for the icon.*/
|
|
290
|
+
| 'subdued'
|
|
291
|
+
/** Use to convey icon is informative or has information.*/
|
|
292
|
+
| 'info'
|
|
293
|
+
/** Use to convey a successful interaction.*/
|
|
294
|
+
| 'success'
|
|
295
|
+
/** Use to convey something needs attention or an action needs to be taken.*/
|
|
296
|
+
| 'warning'
|
|
297
|
+
/** Use to convey a problem has arisen.*/
|
|
298
|
+
| 'critical'
|
|
299
|
+
/** Will take the color of its parent*/
|
|
300
|
+
| 'monochrome';
|
|
301
|
+
export type Direction = 'inline' | 'block';
|
|
302
|
+
export type Fit =
|
|
303
|
+
/**
|
|
304
|
+
* Image maintains its aspect ratio while fitting within the frame.
|
|
305
|
+
*/
|
|
306
|
+
'cover'
|
|
307
|
+
/**
|
|
308
|
+
* Image maintains its aspect ratio while filling the frame.
|
|
309
|
+
* If the image is larger than the frame, then it will be cropped.
|
|
310
|
+
*/
|
|
311
|
+
| 'contain';
|
|
312
|
+
export type GridItemSize = 'auto' | 'fill' | number | `${number}fr` | `${number}%`;
|
|
313
|
+
export type Columns = GridItemSize[] | GridItemSize;
|
|
314
|
+
export type Rows = GridItemSize[] | GridItemSize;
|
|
315
|
+
/**
|
|
316
|
+
* Use to emphasize a word or a group of words.
|
|
317
|
+
*/
|
|
318
|
+
export type Emphasis =
|
|
319
|
+
/**
|
|
320
|
+
* Set the text in italic.
|
|
321
|
+
*
|
|
322
|
+
* Combine with an `accessibilityRole` of `offset` or `stress`
|
|
323
|
+
* to add more meaning to the text.
|
|
324
|
+
*/
|
|
325
|
+
'italic'
|
|
326
|
+
/**
|
|
327
|
+
* Set the text in bold.
|
|
328
|
+
*
|
|
329
|
+
* Combine with an `accessibilityRole` of `strong`
|
|
330
|
+
* to add more meaning to the text.
|
|
331
|
+
*/
|
|
332
|
+
| 'bold';
|
|
333
|
+
/**
|
|
334
|
+
* Takes a base type (Base) and a list of accepted combinations of
|
|
335
|
+
* its properties (AcceptedCombinations) and returns a new type
|
|
336
|
+
* that only allows the properties listed in AcceptedCombinations
|
|
337
|
+
* to be used together.
|
|
338
|
+
*
|
|
339
|
+
* Example:
|
|
340
|
+
*
|
|
341
|
+
* We want to accept either aspectRatio or width and height on a type,
|
|
342
|
+
* but not both simultaneously:
|
|
343
|
+
*
|
|
344
|
+
* type BaseDimensions = {
|
|
345
|
+
* aspectRatio: number,
|
|
346
|
+
* height: number,
|
|
347
|
+
* width: number,
|
|
348
|
+
* };
|
|
349
|
+
*
|
|
350
|
+
* type OneDimension = MultiPick<BaseDimensions, ['height' | 'width', 'aspectRatio']>;
|
|
351
|
+
*
|
|
352
|
+
* The OneDimension type would be equivalent to:
|
|
353
|
+
*
|
|
354
|
+
* {
|
|
355
|
+
* aspectRatio?: number,
|
|
356
|
+
* height?: never,
|
|
357
|
+
* width?: never,
|
|
358
|
+
* } | {
|
|
359
|
+
* aspectRatio?: never,
|
|
360
|
+
* height?: number,
|
|
361
|
+
* width?: number,
|
|
362
|
+
* }
|
|
363
|
+
*/
|
|
364
|
+
export type MultiPick<Base, AcceptedCombinations extends (keyof Base)[]> = {
|
|
365
|
+
[Combination in keyof AcceptedCombinations]: {
|
|
366
|
+
[Accepted in AcceptedCombinations[Combination] as Accepted extends keyof Base ? Accepted : never]?: Accepted extends keyof Base ? Base[Accepted] : never;
|
|
367
|
+
} & {
|
|
368
|
+
[NotAccepted in Exclude<keyof Base, AcceptedCombinations[Combination]>]?: never;
|
|
369
|
+
};
|
|
370
|
+
}[number];
|
|
371
|
+
export type Visibility = 'hidden';
|
|
372
|
+
export interface VisibilityProps {
|
|
373
|
+
/**
|
|
374
|
+
* Changes the visibility of the element.
|
|
375
|
+
*
|
|
376
|
+
* `hidden` visually hides the component while keeping it accessible
|
|
377
|
+
* to assistive technology, such as screen readers.
|
|
378
|
+
* Hidden elements don't take any visual space contrary to CSS visibility: hidden;
|
|
379
|
+
*/
|
|
380
|
+
visibility?: Visibility;
|
|
381
|
+
}
|
|
382
|
+
export interface OverlayActivatorProps {
|
|
383
|
+
/**
|
|
384
|
+
* An overlay component to render when the user interacts with the component.
|
|
385
|
+
*/
|
|
386
|
+
overlay?: RemoteFragment;
|
|
387
|
+
}
|
|
388
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/components/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAC,qBAAqB,EAAE,+BAA+B,EAAC,MAAM,UAAU,CAAC;AAEhF;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AA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,EAAE,IAAI;KACxE,WAAW,IAAI,MAAM,oBAAoB,GAAG;SAC1C,QAAQ,IAAI,oBAAoB,CAAC,WAAW,CAAC,IAAI,QAAQ,SAAS,MAAM,IAAI,GACzE,QAAQ,GACR,KAAK,CAAC,CAAC,EAAE,QAAQ,SAAS,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK;KAClE,GAAG;SACD,WAAW,IAAI,OAAO,CACrB,MAAM,IAAI,EACV,oBAAoB,CAAC,WAAW,CAAC,CAClC,CAAC,CAAC,EAAE,KAAK;KACX;CACF,CAAC,MAAM,CAAC,CAAC;AAEV,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAClC,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B"}
|
|
@@ -1,2 +1,76 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Banner } from './components/Banner/Banner';
|
|
2
|
+
export type { BannerProps } from './components/Banner/Banner';
|
|
3
|
+
export { BlockLayout } from './components/BlockLayout/BlockLayout';
|
|
4
|
+
export type { BlockLayoutProps } from './components/BlockLayout/BlockLayout';
|
|
5
|
+
export { BlockSpacer } from './components/BlockSpacer/BlockSpacer';
|
|
6
|
+
export type { BlockSpacerProps } from './components/BlockSpacer/BlockSpacer';
|
|
7
|
+
export { BlockStack } from './components/BlockStack/BlockStack';
|
|
8
|
+
export type { BlockStackProps } from './components/BlockStack/BlockStack';
|
|
9
|
+
export { Button } from './components/Button/Button';
|
|
10
|
+
export type { ButtonProps } from './components/Button/Button';
|
|
11
|
+
export { Checkbox } from './components/Checkbox/Checkbox';
|
|
12
|
+
export type { CheckboxProps } from './components/Checkbox/Checkbox';
|
|
13
|
+
export { Choice } from './components/Choice/Choice';
|
|
14
|
+
export type { ChoiceProps } from './components/Choice/Choice';
|
|
15
|
+
export { ChoiceList } from './components/ChoiceList/ChoiceList';
|
|
16
|
+
export type { ChoiceListProps } from './components/ChoiceList/ChoiceList';
|
|
17
|
+
export { Divider } from './components/Divider/Divider';
|
|
18
|
+
export type { DividerProps } from './components/Divider/Divider';
|
|
19
|
+
export { Form } from './components/Form/Form';
|
|
20
|
+
export type { FormProps } from './components/Form/Form';
|
|
21
|
+
export { Grid } from './components/Grid/Grid';
|
|
22
|
+
export type { GridProps } from './components/Grid/Grid';
|
|
23
|
+
export { GridItem } from './components/GridItem/GridItem';
|
|
24
|
+
export type { GridItemProps } from './components/GridItem/GridItem';
|
|
25
|
+
export { Heading } from './components/Heading/Heading';
|
|
26
|
+
export type { HeadingProps } from './components/Heading/Heading';
|
|
27
|
+
export { HeadingGroup } from './components/HeadingGroup/HeadingGroup';
|
|
28
|
+
export type { HeadingGroupProps } from './components/HeadingGroup/HeadingGroup';
|
|
29
|
+
export { Icon } from './components/Icon/Icon';
|
|
30
|
+
export type { IconProps } from './components/Icon/Icon';
|
|
31
|
+
export { Image } from './components/Image/Image';
|
|
32
|
+
export type { ImageProps } from './components/Image/Image';
|
|
33
|
+
export { InlineLayout } from './components/InlineLayout/InlineLayout';
|
|
34
|
+
export type { InlineLayoutProps } from './components/InlineLayout/InlineLayout';
|
|
35
|
+
export { InlineStack } from './components/InlineStack/InlineStack';
|
|
36
|
+
export type { InlineStackProps } from './components/InlineStack/InlineStack';
|
|
37
|
+
export { InlineSpacer } from './components/InlineSpacer/InlineSpacer';
|
|
38
|
+
export type { InlineSpacerProps } from './components/InlineSpacer/InlineSpacer';
|
|
39
|
+
export { Link } from './components/Link/Link';
|
|
40
|
+
export type { LinkProps } from './components/Link/Link';
|
|
41
|
+
export { List } from './components/List/List';
|
|
42
|
+
export type { ListProps } from './components/List/List';
|
|
43
|
+
export { ListItem } from './components/ListItem/ListItem';
|
|
44
|
+
export type { ListItemProps } from './components/ListItem/ListItem';
|
|
45
|
+
export { PhoneField } from './components/PhoneField/PhoneField';
|
|
46
|
+
export type { PhoneFieldProps } from './components/PhoneField/PhoneField';
|
|
47
|
+
export { Pressable } from './components/Pressable/Pressable';
|
|
48
|
+
export type { PressableProps } from './components/Pressable/Pressable';
|
|
49
|
+
export { ScrollView } from './components/ScrollView/ScrollView';
|
|
50
|
+
export type { ScrollViewProps, ScrollViewEvent, } from './components/ScrollView/ScrollView';
|
|
51
|
+
export { Select } from './components/Select/Select';
|
|
52
|
+
export type { SelectProps } from './components/Select/Select';
|
|
53
|
+
export { SkeletonImage } from './components/SkeletonImage/SkeletonImage';
|
|
54
|
+
export type { SkeletonImageProps } from './components/SkeletonImage/SkeletonImage';
|
|
55
|
+
export { SkeletonText } from './components/SkeletonText/SkeletonText';
|
|
56
|
+
export type { SkeletonTextProps } from './components/SkeletonText/SkeletonText';
|
|
57
|
+
export { SkeletonTextBlock } from './components/SkeletonTextBlock/SkeletonTextBlock';
|
|
58
|
+
export type { SkeletonTextBlockProps } from './components/SkeletonTextBlock/SkeletonTextBlock';
|
|
59
|
+
export { Spinner } from './components/Spinner/Spinner';
|
|
60
|
+
export type { SpinnerProps } from './components/Spinner/Spinner';
|
|
61
|
+
export { Stepper } from './components/Stepper/Stepper';
|
|
62
|
+
export type { StepperProps } from './components/Stepper/Stepper';
|
|
63
|
+
export { Tag } from './components/Tag/Tag';
|
|
64
|
+
export type { TagProps } from './components/Tag/Tag';
|
|
65
|
+
export { Text } from './components/Text/Text';
|
|
66
|
+
export type { TextProps } from './components/Text/Text';
|
|
67
|
+
export { TextBlock } from './components/TextBlock/TextBlock';
|
|
68
|
+
export type { TextBlockProps } from './components/TextBlock/TextBlock';
|
|
69
|
+
export { TextField } from './components/TextField/TextField';
|
|
70
|
+
export type { TextFieldProps } from './components/TextField/TextField';
|
|
71
|
+
export { Tooltip } from './components/Tooltip/Tooltip';
|
|
72
|
+
export type { TooltipProps } from './components/Tooltip/Tooltip';
|
|
73
|
+
export { View } from './components/View/View';
|
|
74
|
+
export type { ViewProps, Coordinate as ViewCoordinate, Position as ViewPosition, PositionType as ViewPositionType, Translate as ViewTranslate, } from './components/View/View';
|
|
75
|
+
export type { AccessibilityRole, ViewLikeAccessibilityRole, NonPresentationalAccessibilityRole, Autocomplete, AutocompleteField, AutocompleteGroup, Background, BackgroundFit, BackgroundPosition, BackgroundRepeat, BlockAlignment, InlineAlignment, BorderRadius, BorderStyle, BorderWidth, Breakpoint, ShorthandProperty, MaybeShorthandProperty, Fit, Status, Size, Spacing, Alignment, Appearance, GridItemSize, Columns, Rows, BackgroundProps, BorderProps, SizingProps, SpacingProps, VisibilityProps, OverlayActivatorProps, } from './components/shared';
|
|
2
76
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/components.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,YAAY,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,YAAY,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,YAAY,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAC,QAAQ,EAAC,MAAM,gCAAgC,CAAC;AACxD,YAAY,E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eAAe,EACf,WAAW,EACX,WAAW,EACX,YAAY,EACZ,eAAe,EACf,qBAAqB,GACtB,MAAM,qBAAqB,CAAC"}
|
|
@@ -2,9 +2,57 @@ import type { RenderExtension } from '../../extension';
|
|
|
2
2
|
import type { AnyComponent } from './shared';
|
|
3
3
|
import type { StandardApi, CartLineDetailsRenderAfterApi } from './api';
|
|
4
4
|
export interface ExtensionPoints {
|
|
5
|
+
/**
|
|
6
|
+
* A [dynamic extension point](https://shopify.dev/api/checkout-extensions/checkout#extension-points) that isn't tied to a specific checkout section or feature.
|
|
7
|
+
* Unlike static extension points, dynamic extension points render where the merchant
|
|
8
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
9
|
+
*
|
|
10
|
+
* The [supported locations](https://shopify.dev/api/checkout-extensions/checkout#supported-locations) for dynamic extension points can be previewed during development
|
|
11
|
+
* by [using a URL parameter](https://shopify.dev/apps/checkout/test-ui-extensions#dynamic-extension-points).
|
|
12
|
+
*/
|
|
5
13
|
'Checkout::Dynamic::Render': RenderExtension<StandardApi<'Checkout::Dynamic::Render'>, AnyComponent>;
|
|
14
|
+
/**
|
|
15
|
+
* A static extension point that renders on every line item, inside the details
|
|
16
|
+
* under the line item properties element.
|
|
17
|
+
*/
|
|
6
18
|
'Checkout::CartLineDetails::RenderAfter': RenderExtension<CartLineDetailsRenderAfterApi, AnyComponent>;
|
|
19
|
+
/**
|
|
20
|
+
* A static extension point that is rendered after all line items.
|
|
21
|
+
*/
|
|
22
|
+
'Checkout::CartLines::RenderAfter': RenderExtension<StandardApi<'Checkout::CartLines::RenderAfter'>, AnyComponent>;
|
|
23
|
+
/**
|
|
24
|
+
* A static extension point that is rendered between the shipping address header
|
|
25
|
+
* and shipping address form elements.
|
|
26
|
+
*/
|
|
27
|
+
'Checkout::DeliveryAddress::RenderBefore': RenderExtension<StandardApi<'Checkout::DeliveryAddress::RenderBefore'>, AnyComponent>;
|
|
28
|
+
/**
|
|
29
|
+
* A static extension point that is rendered between the shipping method
|
|
30
|
+
* header and shipping method options.
|
|
31
|
+
*/
|
|
32
|
+
'Checkout::ShippingMethods::RenderBefore': RenderExtension<StandardApi<'Checkout::ShippingMethods::RenderBefore'>, AnyComponent>;
|
|
33
|
+
/**
|
|
34
|
+
* A static extension point that is rendered after the shipping method
|
|
35
|
+
* options.
|
|
36
|
+
*/
|
|
37
|
+
'Checkout::ShippingMethods::RenderAfter': RenderExtension<StandardApi<'Checkout::ShippingMethods::RenderAfter'>, AnyComponent>;
|
|
38
|
+
/**
|
|
39
|
+
* A static extension point that is rendered in the order summary, before the discount form element.
|
|
40
|
+
*/
|
|
41
|
+
'Checkout::Reductions::RenderBefore': RenderExtension<StandardApi<'Checkout::Reductions::RenderBefore'>, AnyComponent>;
|
|
42
|
+
/**
|
|
43
|
+
* A static extension point that is rendered in the order summary, after the discount form
|
|
44
|
+
* and discount tag elements.
|
|
45
|
+
*/
|
|
46
|
+
'Checkout::Reductions::RenderAfter': RenderExtension<StandardApi<'Checkout::Reductions::RenderAfter'>, AnyComponent>;
|
|
47
|
+
/**
|
|
48
|
+
* A static extension point that is rendered immediately before any actions within each step.
|
|
49
|
+
*/
|
|
50
|
+
'Checkout::Actions::RenderBefore': RenderExtension<StandardApi<'Checkout::Actions::RenderBefore'>, AnyComponent>;
|
|
51
|
+
/**
|
|
52
|
+
* A static extension point that is rendered immediately after the contact form element.
|
|
53
|
+
*/
|
|
54
|
+
'Checkout::Contact::RenderAfter': RenderExtension<StandardApi<'Checkout::Contact::RenderAfter'>, AnyComponent>;
|
|
7
55
|
}
|
|
8
|
-
export
|
|
9
|
-
export
|
|
56
|
+
export type ExtensionPoint = keyof ExtensionPoints;
|
|
57
|
+
export type ExtensionForExtensionPoint<T extends ExtensionPoint> = ExtensionPoints[T];
|
|
10
58
|
//# sourceMappingURL=extension-points.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-points.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/extension-points.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAC,WAAW,EAAE,6BAA6B,EAAC,MAAM,OAAO,CAAC;AAEtE,MAAM,WAAW,eAAe;IAC9B,2BAA2B,EAAE,eAAe,CAC1C,WAAW,CAAC,2BAA2B,CAAC,EACxC,YAAY,CACb,CAAC;
|
|
1
|
+
{"version":3,"file":"extension-points.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/extension-points.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAC,WAAW,EAAE,6BAA6B,EAAC,MAAM,OAAO,CAAC;AAEtE,MAAM,WAAW,eAAe;IAC9B;;;;;;;OAOG;IACH,2BAA2B,EAAE,eAAe,CAC1C,WAAW,CAAC,2BAA2B,CAAC,EACxC,YAAY,CACb,CAAC;IAEF;;;OAGG;IACH,wCAAwC,EAAE,eAAe,CACvD,6BAA6B,EAC7B,YAAY,CACb,CAAC;IAEF;;OAEG;IACH,kCAAkC,EAAE,eAAe,CACjD,WAAW,CAAC,kCAAkC,CAAC,EAC/C,YAAY,CACb,CAAC;IAEF;;;OAGG;IACH,yCAAyC,EAAE,eAAe,CACxD,WAAW,CAAC,yCAAyC,CAAC,EACtD,YAAY,CACb,CAAC;IAEF;;;OAGG;IACH,yCAAyC,EAAE,eAAe,CACxD,WAAW,CAAC,yCAAyC,CAAC,EACtD,YAAY,CACb,CAAC;IAEF;;;OAGG;IACH,wCAAwC,EAAE,eAAe,CACvD,WAAW,CAAC,wCAAwC,CAAC,EACrD,YAAY,CACb,CAAC;IAEF;;OAEG;IACH,oCAAoC,EAAE,eAAe,CACnD,WAAW,CAAC,oCAAoC,CAAC,EACjD,YAAY,CACb,CAAC;IAEF;;;OAGG;IACH,mCAAmC,EAAE,eAAe,CAClD,WAAW,CAAC,mCAAmC,CAAC,EAChD,YAAY,CACb,CAAC;IAEF;;OAEG;IACH,iCAAiC,EAAE,eAAe,CAChD,WAAW,CAAC,iCAAiC,CAAC,EAC9C,YAAY,CACb,CAAC;IAEF;;OAEG;IACH,gCAAgC,EAAE,eAAe,CAC/C,WAAW,CAAC,gCAAgC,CAAC,EAC7C,YAAY,CACb,CAAC;CACH;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,eAAe,CAAC;AAEnD,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,cAAc,IAC7D,eAAe,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ExtensionPoints } from './extension-points';
|
|
2
|
+
export interface ShopifyGlobal {
|
|
3
|
+
extend<ExtensionPoint extends keyof ExtensionPoints>(extensionPoint: ExtensionPoint, extend: ExtensionPoints[ExtensionPoint]): void;
|
|
4
|
+
reload(): void;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface WorkerGlobalScope {
|
|
8
|
+
readonly shopify: ShopifyGlobal;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=globals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/globals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,cAAc,SAAS,MAAM,eAAe,EACjD,cAAc,EAAE,cAAc,EAC9B,MAAM,EAAE,eAAe,CAAC,cAAc,CAAC,GACtC,IAAI,CAAC;IACR,MAAM,IAAI,IAAI,CAAC;CAChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,iBAAiB;QACzB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;KACjC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { RemoteComponentType } from '@remote-ui/core';
|
|
2
|
-
|
|
3
|
-
export
|
|
2
|
+
type ComponentTypes = typeof import('./components');
|
|
3
|
+
export type Components = {
|
|
4
4
|
[K in keyof ComponentTypes]: ComponentTypes[K] extends RemoteComponentType<any, any> ? ComponentTypes[K] : never;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type AnyComponent = Components[keyof Components];
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAEzD,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAEzD,KAAK,cAAc,GAAG,cAAc,cAAc,CAAC,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG;KACtB,CAAC,IAAI,MAAM,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,SAAS,mBAAmB,CACxE,GAAG,EACH,GAAG,CACJ,GACG,cAAc,CAAC,CAAC,CAAC,GACjB,KAAK;CACV,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,MAAM,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A simple isEqual function that can be used to compare two style objects that's
|
|
3
|
+
* good enough for our use case on the style builder.
|
|
4
|
+
*/
|
|
5
|
+
export declare function isEqual<T = {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
} | any[] | number | boolean | string | null | undefined>(first: T, second: T): boolean;
|
|
8
|
+
//# sourceMappingURL=isEqual.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEqual.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/style/isEqual.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,OAAO,CACrB,CAAC,GACG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GACpB,GAAG,EAAE,GACL,MAAM,GACN,OAAO,GACP,MAAM,GACN,IAAI,GACJ,SAAS,EACb,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CA2B9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEqual.test.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/style/isEqual.test.ts"],"names":[],"mappings":""}
|