@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/standard/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,IAAI,eAAe,EAAC,MAAM,iBAAiB,CAAC;AACpE,OAAO,KAAK,EAAC,cAAc,IAAI,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AAEhF,MAAM,WAAW,WAAW,CAAC,cAAc,SAAS,iBAAiB,CACnE,SAAQ,eAAe;IACvB,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;CACzC"}
|
|
1
|
+
{"version":3,"file":"standard.d.ts","source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,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,CAAC,gBAAgB,EAAE,gBAAgB,GAC/B,kBAAkB,GAClB,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACtD;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACzE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Status } from '../shared';
|
|
2
|
+
export interface BannerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Banners have an optional title. Use a title to grab the buyer’s attention
|
|
5
|
+
* with a short, concise message. Banners with no title should have child elements
|
|
6
|
+
* to convey the banner’s purpose to the buyer.
|
|
7
|
+
*/
|
|
8
|
+
title?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Sets the status of the banner.
|
|
11
|
+
*
|
|
12
|
+
* @defaultValue 'info'
|
|
13
|
+
*/
|
|
14
|
+
status?: Status;
|
|
15
|
+
/**
|
|
16
|
+
* Makes the content collapsible. A collapsible banner will conceal child
|
|
17
|
+
* elements initially, but allow the user to expand the banner to see them.
|
|
18
|
+
*
|
|
19
|
+
* @defaultValue false
|
|
20
|
+
*/
|
|
21
|
+
collapsible?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Callback when banner is dismissed. This component is
|
|
24
|
+
* [controlled](https://reactjs.org/docs/forms.html#controlled-components),
|
|
25
|
+
* so you must manage the visibility of the banner in state by using
|
|
26
|
+
* the onDismiss callback.
|
|
27
|
+
*/
|
|
28
|
+
onDismiss?(): void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Use banners to communicate important messages to customers in a prominent way.
|
|
32
|
+
*/
|
|
33
|
+
export declare const Banner: "Banner" & {
|
|
34
|
+
readonly type?: "Banner" | undefined;
|
|
35
|
+
readonly props?: BannerProps | undefined;
|
|
36
|
+
readonly children?: true | undefined;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Banner/Banner.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,SAAS,CAAC,IAAI,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-banner.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { MaybeResponsiveConditionalStyle } from '../../style';
|
|
2
|
+
import type { Rows } from '../shared';
|
|
3
|
+
import type { GridProps } from '../Grid/Grid';
|
|
4
|
+
export interface BlockLayoutProps extends Omit<GridProps, 'columns' | 'rows'> {
|
|
5
|
+
/**
|
|
6
|
+
* Sizes for each row of the layout.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* `auto`: intrinsic size of the element.
|
|
10
|
+
*
|
|
11
|
+
* `fill`: fills the remaining available space. When multiple elements are set to `fill`, the remaining space is shared equally.
|
|
12
|
+
*
|
|
13
|
+
* `` `${number}%` ``: size in percentages.
|
|
14
|
+
*
|
|
15
|
+
* `` `${number}fr` ``: size in fractions.
|
|
16
|
+
*
|
|
17
|
+
* `number`: size in pixels.
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* - When the sum of the defined sizes is larger than the available space, elements will shrink to avoid overflow.
|
|
21
|
+
*
|
|
22
|
+
* - When the size of an element is not explicitly set, it will fill the remaining space available.
|
|
23
|
+
*
|
|
24
|
+
* - When only one size is set and outside of an array, all elements of the layout will take that size.
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* @defaultValue 'fill'
|
|
28
|
+
*/
|
|
29
|
+
rows?: MaybeResponsiveConditionalStyle<Rows>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* BlockLayout is used to lay out content over multiple rows.
|
|
33
|
+
*
|
|
34
|
+
* By default, all rows fill the available block space, sharing it equally.
|
|
35
|
+
*/
|
|
36
|
+
export declare const BlockLayout: "BlockLayout" & {
|
|
37
|
+
readonly type?: "BlockLayout" | undefined;
|
|
38
|
+
readonly props?: BlockLayoutProps | undefined;
|
|
39
|
+
readonly children?: true | undefined;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=BlockLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/BlockLayout/BlockLayout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,+BAA+B,EAAC,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAE5C,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC;IAC3E;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-blockLayout.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { MaybeResponsiveConditionalStyle } from '../../style';
|
|
2
|
+
import type { Spacing } from '../shared';
|
|
3
|
+
export interface BlockSpacerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Adjust size of the spacer
|
|
6
|
+
*
|
|
7
|
+
* @defaultValue 'base'
|
|
8
|
+
**/
|
|
9
|
+
spacing?: MaybeResponsiveConditionalStyle<Exclude<Spacing, 'none'>>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* BlockSpacer is used to create empty block space, typically when variable spacing
|
|
13
|
+
* is needed between multiple elements.
|
|
14
|
+
*
|
|
15
|
+
* Note that you should favor BlockStack when spacing between all elements is the same.
|
|
16
|
+
*/
|
|
17
|
+
export declare const BlockSpacer: "BlockSpacer" & {
|
|
18
|
+
readonly type?: "BlockSpacer" | undefined;
|
|
19
|
+
readonly props?: BlockSpacerProps | undefined;
|
|
20
|
+
readonly children?: false | undefined;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=BlockSpacer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockSpacer.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B;;;;QAII;IACJ,OAAO,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;CACrE;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;CAIR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-blockspacer.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { BorderProps, InlineAlignment, SizingProps, Spacing, SpacingProps, ViewLikeAccessibilityRole } from '../shared';
|
|
2
|
+
import { MaybeResponsiveConditionalStyle } from '../../style';
|
|
3
|
+
export interface BlockStackProps extends BorderProps, SizingProps, SpacingProps {
|
|
4
|
+
/**
|
|
5
|
+
* Position children along the main axis
|
|
6
|
+
*/
|
|
7
|
+
inlineAlignment?: MaybeResponsiveConditionalStyle<InlineAlignment>;
|
|
8
|
+
/**
|
|
9
|
+
* Adjust spacing between children
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue 'base'
|
|
12
|
+
*/
|
|
13
|
+
spacing?: MaybeResponsiveConditionalStyle<Spacing>;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the semantic meaning of the component’s content. When set,
|
|
16
|
+
* the role will be used by assistive technologies to help buyers
|
|
17
|
+
* navigate the page.
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* For example:
|
|
21
|
+
*
|
|
22
|
+
* - In an HTML host a `['listItem', 'separator']` tuple will render: <li role='separator'>
|
|
23
|
+
*
|
|
24
|
+
* - In an HTML host a `listItem` string will render: <li>
|
|
25
|
+
*/
|
|
26
|
+
accessibilityRole?: ViewLikeAccessibilityRole;
|
|
27
|
+
/**
|
|
28
|
+
* A label that describes the purpose or contents of the element. When set,
|
|
29
|
+
* it will be announced to buyers using assistive technologies and will
|
|
30
|
+
* provide them with more context.
|
|
31
|
+
*/
|
|
32
|
+
accessibilityLabel?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* BlockStack is used to vertically stack elements.
|
|
36
|
+
*/
|
|
37
|
+
export declare const BlockStack: "BlockStack" & {
|
|
38
|
+
readonly type?: "BlockStack" | undefined;
|
|
39
|
+
readonly props?: BlockStackProps | undefined;
|
|
40
|
+
readonly children?: true | undefined;
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=BlockStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockStack.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/BlockStack/BlockStack.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,WAAW,EACX,OAAO,EACP,YAAY,EACZ,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EAAC,+BAA+B,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,WAAW,eACf,SAAQ,WAAW,EACjB,WAAW,EACX,YAAY;IACd;;OAEG;IACH,eAAe,CAAC,EAAE,+BAA+B,CAAC,eAAe,CAAC,CAAC;IACnE;;;;OAIG;IACH,OAAO,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,CAAC;IACnD;;;;;;;;;;;OAWG;IACH,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IAC9C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,UAAU;;;;CAEtB,CAAC"}
|
package/build/ts/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-blockstack.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { Appearance, InlineAlignment, ButtonAccessibilityRole, OverlayActivatorProps } from '../shared';
|
|
2
|
+
export interface ButtonProps extends OverlayActivatorProps {
|
|
3
|
+
/**
|
|
4
|
+
* The type of button that will be rendered. The visual presentation of the button type
|
|
5
|
+
* is controlled by merchants through the Branding API.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* `primary`: button used for main actions. For example: "Continue to next step".
|
|
9
|
+
*
|
|
10
|
+
* `secondary`: button used for secondary actions not blocking user progress. For example: "Download Shop app".
|
|
11
|
+
*
|
|
12
|
+
* `plain`: renders a button that visually looks like a link.
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @defaultValue 'primary'
|
|
16
|
+
*/
|
|
17
|
+
kind?: 'primary' | 'secondary' | 'plain';
|
|
18
|
+
/**
|
|
19
|
+
* Specify the color treatment of the Button.
|
|
20
|
+
*/
|
|
21
|
+
appearance?: Extract<Appearance, 'monochrome' | 'critical'>;
|
|
22
|
+
/**
|
|
23
|
+
* Allows the button to submit a form.
|
|
24
|
+
* @deprecated use `accessibilityRole="submit"` instead
|
|
25
|
+
*/
|
|
26
|
+
submit?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Destination URL to link to. If this value is set, the button will render as a Link.
|
|
29
|
+
*/
|
|
30
|
+
to?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the inline alignment of the content.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue 'center'
|
|
35
|
+
*/
|
|
36
|
+
inlineAlignment?: InlineAlignment;
|
|
37
|
+
/**
|
|
38
|
+
* Replaces content with a loading indicator.
|
|
39
|
+
*
|
|
40
|
+
* @defaultValue false
|
|
41
|
+
*/
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Accessible label for the loading indicator when user prefers reduced motion. This value is
|
|
45
|
+
* only used if `loading` is true.
|
|
46
|
+
*/
|
|
47
|
+
loadingLabel?: string;
|
|
48
|
+
/**
|
|
49
|
+
* A label used for buyers using assistive technologies. When set, any
|
|
50
|
+
* `children` supplied to this component are hidden from being seen for
|
|
51
|
+
* accessibility purposes to prevent duplicate content from being read.
|
|
52
|
+
*/
|
|
53
|
+
accessibilityLabel?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The role of the button that will be rendered.
|
|
56
|
+
*
|
|
57
|
+
* `button`: renders a regular button.
|
|
58
|
+
*
|
|
59
|
+
* `submit`: renders a button that submits a form.
|
|
60
|
+
*
|
|
61
|
+
* @defaultValue 'button'
|
|
62
|
+
*/
|
|
63
|
+
accessibilityRole?: ButtonAccessibilityRole;
|
|
64
|
+
/**
|
|
65
|
+
* Disables the button, disallowing any interaction.
|
|
66
|
+
*
|
|
67
|
+
* @defaultValue false
|
|
68
|
+
*/
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Callback that is run when the button is pressed.
|
|
72
|
+
*/
|
|
73
|
+
onPress?(): void;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Buttons are used for actions, such as “Add”, “Continue”, “Pay now”, or “Save”.
|
|
77
|
+
*/
|
|
78
|
+
export declare const Button: "Button" & {
|
|
79
|
+
readonly type?: "Button" | undefined;
|
|
80
|
+
readonly props?: ButtonProps | undefined;
|
|
81
|
+
readonly children?: true | undefined;
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Button/Button.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EACf,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,WAAY,SAAQ,qBAAqB;IACxD;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE,YAAY,GAAG,UAAU,CAAC,CAAC;IAC5D;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,IAAI,IAAI,CAAC;CAClB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-button.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/Button/examples/basic-button.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export interface CheckboxProps {
|
|
2
|
+
/**
|
|
3
|
+
* A unique identifier for the field. When no `id` is set,
|
|
4
|
+
* a globally unique value will be used instead.
|
|
5
|
+
*/
|
|
6
|
+
id?: string;
|
|
7
|
+
/**
|
|
8
|
+
* An identifier for the field that is unique within the nearest
|
|
9
|
+
* containing `Form` component.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the checkbox is active. This prop is an alias for `checked`,
|
|
14
|
+
* and can be useful in form libraries that provide a normalized API for
|
|
15
|
+
* dealing with both `boolean` and `string` values. If both `value` and
|
|
16
|
+
* `checked` are set, `checked` takes precedence.
|
|
17
|
+
*/
|
|
18
|
+
value?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the checkbox is active.
|
|
21
|
+
*/
|
|
22
|
+
checked?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the checkbox can be changed.
|
|
25
|
+
*/
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
29
|
+
* to communicate problems that have to be resolved immediately.
|
|
30
|
+
*/
|
|
31
|
+
error?: string;
|
|
32
|
+
/**
|
|
33
|
+
* A label to use for the field that will be used for buyers using
|
|
34
|
+
* assistive technologies. When set, any `children` supplied to
|
|
35
|
+
* this component are hidden from being seen for accessibility purposes
|
|
36
|
+
* to prevent duplicate content from being read.
|
|
37
|
+
*/
|
|
38
|
+
accessibilityLabel?: string;
|
|
39
|
+
/**
|
|
40
|
+
* A callback that is run whenever the checkbox is changed. This callback
|
|
41
|
+
* is called with a boolean indicating whether the checkbox should now be
|
|
42
|
+
* active or inactive. This component is [controlled](https://reactjs.org/docs/forms.html#controlled-components),
|
|
43
|
+
* so you must store this value in state and reflect it back in the
|
|
44
|
+
* `checked` or `value` props.
|
|
45
|
+
*/
|
|
46
|
+
onChange?(value: boolean): void;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Use checkboxes to give customers a single binary option, such as signing up for marketing, or agreeing to terms and conditions.
|
|
50
|
+
*/
|
|
51
|
+
export declare const Checkbox: "Checkbox" & {
|
|
52
|
+
readonly type?: "Checkbox" | undefined;
|
|
53
|
+
readonly props?: CheckboxProps | undefined; /**
|
|
54
|
+
* An identifier for the field that is unique within the nearest
|
|
55
|
+
* containing `Form` component.
|
|
56
|
+
*/
|
|
57
|
+
readonly children?: true | undefined;
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Checkbox/Checkbox.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;OAMG;IACH,QAAQ,CAAC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACjC;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ;;gDAnDnB;;;OAGG;;CAkDJ,CAAC"}
|
package/build/ts/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-checkbox.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ChoiceProps {
|
|
2
|
+
/**
|
|
3
|
+
* A unique identifier for the choice.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Whether the choice can be changed.
|
|
8
|
+
*/
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* A label to use for the choice that will be used for buyers using
|
|
12
|
+
* assistive technologies. When set, any `children` supplied to
|
|
13
|
+
* this component are hidden from being seen for accessibility purposes
|
|
14
|
+
* to prevent duplicate content from being read.
|
|
15
|
+
*/
|
|
16
|
+
accessibilityLabel?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options inside a `ChoiceList`.
|
|
20
|
+
* The wrapping `ChoiceList` component will dictate if the choice renders as radio buttons or checkboxes.
|
|
21
|
+
*/
|
|
22
|
+
export declare const Choice: "Choice" & {
|
|
23
|
+
readonly type?: "Choice" | undefined;
|
|
24
|
+
readonly props?: ChoiceProps | undefined;
|
|
25
|
+
readonly children?: true | undefined;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=Choice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Choice.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Choice/Choice.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-choice.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface ChoiceListProps<T extends string | string[]> {
|
|
2
|
+
/**
|
|
3
|
+
* An identifier for the field that is unique within the nearest
|
|
4
|
+
* containing `Form` component.
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* A `string` or `string[]` indicating the ids of selected choices. When
|
|
9
|
+
* a string is set, choices render as radios. When a string array is
|
|
10
|
+
* set, choices render as checkboxes.
|
|
11
|
+
*/
|
|
12
|
+
value: T;
|
|
13
|
+
/**
|
|
14
|
+
* A callback that is run whenever the choice list is changed. This callback
|
|
15
|
+
* is called with a string or array of strings indicating the ids of choices
|
|
16
|
+
* that should now be selected. This component is
|
|
17
|
+
* [controlled](https://reactjs.org/docs/forms.html#controlled-components),
|
|
18
|
+
* so you must store this value in state and reflect it back in the
|
|
19
|
+
* `value` prop.
|
|
20
|
+
*/
|
|
21
|
+
onChange(value: T): void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Use choice lists to present a list of choices where buyers can make
|
|
25
|
+
* a single selection or multiple selections.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ChoiceList: "ChoiceList" & {
|
|
28
|
+
readonly type?: "ChoiceList" | undefined;
|
|
29
|
+
readonly props?: ChoiceListProps<string | string[]> | undefined;
|
|
30
|
+
readonly children?: true | undefined;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=ChoiceList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChoiceList.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/ChoiceList/ChoiceList.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE;IAC1D;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,CAAC,CAAC;IACT;;;;;;;OAOG;IACH,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;CAGR,CAAC"}
|
package/build/ts/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-choicelist.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Size, Alignment, Direction } from '../shared';
|
|
2
|
+
export interface DividerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Use to create dividers with varying widths.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue 'small'
|
|
7
|
+
*/
|
|
8
|
+
size?: Extract<Size, 'small' | 'base' | 'large' | 'extraLarge'>;
|
|
9
|
+
/**
|
|
10
|
+
* Use to specify direction of divider.
|
|
11
|
+
*
|
|
12
|
+
* @defaultValue 'inline'
|
|
13
|
+
*/
|
|
14
|
+
direction?: Direction;
|
|
15
|
+
/**
|
|
16
|
+
* Use to specify alignment of contents of divider.
|
|
17
|
+
*
|
|
18
|
+
* @defaultValue 'center'
|
|
19
|
+
*/
|
|
20
|
+
alignment?: Alignment;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A divider separates content and represents a thematic break between elements.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Divider: "Divider" & {
|
|
26
|
+
readonly type?: "Divider" | undefined;
|
|
27
|
+
readonly props?: DividerProps | undefined;
|
|
28
|
+
readonly children?: true | undefined;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Divider/Divider.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,WAAW,CAAC;AAE1D,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC,CAAC;IAEhE;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-divider.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface FormProps {
|
|
2
|
+
/**
|
|
3
|
+
* Whether the form is able to be submitted. When set to `true`, this will
|
|
4
|
+
* disable the implicit submit behavior of the form.
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* A callback that is run when the form is submitted.
|
|
9
|
+
*/
|
|
10
|
+
onSubmit(): void;
|
|
11
|
+
/**
|
|
12
|
+
* An optional override for the autogenerated form ID.
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The form component should be used to wrap one or more form controls. This
|
|
18
|
+
* component provides an "implicit submit" behavior, where customers can submit
|
|
19
|
+
* the form from any input by pressing "Enter" on their keyboards. This
|
|
20
|
+
* behavior is widely expected, and should be respected as often as possible.
|
|
21
|
+
*
|
|
22
|
+
* Unlike an HTML `form` element, this component does not support configuring
|
|
23
|
+
* the descendant fields to be submitted via HTTP automatically. Instead, you
|
|
24
|
+
* must provide an `onSubmit` callback that will perform the necessary HTTP
|
|
25
|
+
* requests in JavaScript.
|
|
26
|
+
*/
|
|
27
|
+
export declare const Form: "Form" & {
|
|
28
|
+
readonly type?: "Form" | undefined;
|
|
29
|
+
readonly props?: FormProps | undefined;
|
|
30
|
+
readonly children?: true | undefined;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Form/Form.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,IAAI,IAAI,CAAC;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-form.example.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/checkout/components/Form/examples/basic-form.example.ts"],"names":[],"mappings":""}
|