@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,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _api = require("./api");
|
|
8
|
-
|
|
9
|
-
Object.keys(_api).forEach(function (key) {
|
|
10
|
-
if (key === "default" || key === "__esModule") return;
|
|
11
|
-
if (key in exports && exports[key] === _api[key]) return;
|
|
12
|
-
Object.defineProperty(exports, key, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _api[key];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
var _components = require("./components");
|
|
21
|
-
|
|
22
|
-
Object.keys(_components).forEach(function (key) {
|
|
23
|
-
if (key === "default" || key === "__esModule") return;
|
|
24
|
-
if (key in exports && exports[key] === _components[key]) return;
|
|
25
|
-
Object.defineProperty(exports, key, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return _components[key];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
var _extensionPoints = require("./extension-points");
|
|
34
|
-
|
|
35
|
-
Object.keys(_extensionPoints).forEach(function (key) {
|
|
36
|
-
if (key === "default" || key === "__esModule") return;
|
|
37
|
-
if (key in exports && exports[key] === _extensionPoints[key]) return;
|
|
38
|
-
Object.defineProperty(exports, key, {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function () {
|
|
41
|
-
return _extensionPoints[key];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
var _extension = require("./extension");
|
|
47
|
-
|
|
48
|
-
Object.keys(_extension).forEach(function (key) {
|
|
49
|
-
if (key === "default" || key === "__esModule") return;
|
|
50
|
-
if (key in exports && exports[key] === _extension[key]) return;
|
|
51
|
-
Object.defineProperty(exports, key, {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return _extension[key];
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
var _shared = require("./shared");
|
|
60
|
-
|
|
61
|
-
Object.keys(_shared).forEach(function (key) {
|
|
62
|
-
if (key === "default" || key === "__esModule") return;
|
|
63
|
-
if (key in exports && exports[key] === _shared[key]) return;
|
|
64
|
-
Object.defineProperty(exports, key, {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () {
|
|
67
|
-
return _shared[key];
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# Checkout cart line details API
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# Standard checkout API
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _components = require("../../components");
|
|
8
|
-
|
|
9
|
-
Object.keys(_components).forEach(function (key) {
|
|
10
|
-
if (key === "default" || key === "__esModule") return;
|
|
11
|
-
if (key in exports && exports[key] === _components[key]) return;
|
|
12
|
-
Object.defineProperty(exports, key, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _components[key];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {
|
|
7
|
-
extension: true
|
|
8
|
-
};
|
|
9
|
-
exports.extension = void 0;
|
|
10
|
-
|
|
11
|
-
var _registration = require("../../utilities/registration");
|
|
12
|
-
|
|
13
|
-
var _extension = require("../../extension");
|
|
14
|
-
|
|
15
|
-
Object.keys(_extension).forEach(function (key) {
|
|
16
|
-
if (key === "default" || key === "__esModule") return;
|
|
17
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
18
|
-
if (key in exports && exports[key] === _extension[key]) return;
|
|
19
|
-
Object.defineProperty(exports, key, {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return _extension[key];
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
const extension = (0, _registration.createExtensionRegistrationFunction)();
|
|
27
|
-
exports.extension = extension;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _api = require("./api");
|
|
8
|
-
|
|
9
|
-
Object.keys(_api).forEach(function (key) {
|
|
10
|
-
if (key === "default" || key === "__esModule") return;
|
|
11
|
-
if (key in exports && exports[key] === _api[key]) return;
|
|
12
|
-
Object.defineProperty(exports, key, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _api[key];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
var _components = require("./components");
|
|
21
|
-
|
|
22
|
-
Object.keys(_components).forEach(function (key) {
|
|
23
|
-
if (key === "default" || key === "__esModule") return;
|
|
24
|
-
if (key in exports && exports[key] === _components[key]) return;
|
|
25
|
-
Object.defineProperty(exports, key, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return _components[key];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
var _extensionPoints = require("./extension-points");
|
|
34
|
-
|
|
35
|
-
Object.keys(_extensionPoints).forEach(function (key) {
|
|
36
|
-
if (key === "default" || key === "__esModule") return;
|
|
37
|
-
if (key in exports && exports[key] === _extensionPoints[key]) return;
|
|
38
|
-
Object.defineProperty(exports, key, {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function () {
|
|
41
|
-
return _extensionPoints[key];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
var _extension = require("./extension");
|
|
47
|
-
|
|
48
|
-
Object.keys(_extension).forEach(function (key) {
|
|
49
|
-
if (key === "default" || key === "__esModule") return;
|
|
50
|
-
if (key in exports && exports[key] === _extension[key]) return;
|
|
51
|
-
Object.defineProperty(exports, key, {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return _extension[key];
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
var _shared = require("./shared");
|
|
60
|
-
|
|
61
|
-
Object.keys(_shared).forEach(function (key) {
|
|
62
|
-
if (key === "default" || key === "__esModule") return;
|
|
63
|
-
if (key in exports && exports[key] === _shared[key]) return;
|
|
64
|
-
Object.defineProperty(exports, key, {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () {
|
|
67
|
-
return _shared[key];
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.createExtensionRegistrationFunction = createExtensionRegistrationFunction;
|
|
7
|
-
|
|
8
|
-
var _core = require("@remote-ui/core");
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* This function takes an extension function that is expecting a `RemoteRoot` as its
|
|
12
|
-
* first argument, and returns a new function that accepts a `RemoteChannel` instead.
|
|
13
|
-
* This is a convenience that allows the raw UI extension API to only expose the simpler
|
|
14
|
-
* `RemoteChannel` type, while allowing the extension to use the more powerful `RemoteRoot`,
|
|
15
|
-
* provided by a version of `@remote-ui/core` that the extension controls.
|
|
16
|
-
*/
|
|
17
|
-
function createExtensionRegistrationFunction() {
|
|
18
|
-
const extensionWrapper = (_extensionPoint, extensionWithRemoteRoot) => {
|
|
19
|
-
async function extension(...args) {
|
|
20
|
-
// This handles extensions that do not take a `RemoteChannel` as their first argument.
|
|
21
|
-
// This is true for ”non-rendering” extension points, like `Checkout::PostPurchase::ShouldRender`.
|
|
22
|
-
if (args.length === 1 || typeof args[0] !== 'object' || args[0] == null || !('channel' in args[0])) {
|
|
23
|
-
const result = await extensionWithRemoteRoot(...args);
|
|
24
|
-
return result;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const [{
|
|
28
|
-
channel,
|
|
29
|
-
components
|
|
30
|
-
}, ...rest] = args;
|
|
31
|
-
const root = (0, _core.createRemoteRoot)(channel, {
|
|
32
|
-
components,
|
|
33
|
-
strict: true
|
|
34
|
-
});
|
|
35
|
-
const result = await extensionWithRemoteRoot(root, ...rest);
|
|
36
|
-
await root.mount();
|
|
37
|
-
return result;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return extension;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
return extensionWrapper;
|
|
44
|
-
}
|
package/build/ts/api.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface BlockStackProps {
|
|
2
|
-
}
|
|
3
|
-
export declare const BlockStack: "BlockStack" & {
|
|
4
|
-
readonly type?: "BlockStack" | undefined;
|
|
5
|
-
readonly props?: BlockStackProps | undefined;
|
|
6
|
-
readonly children?: true | undefined;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=BlockStack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockStack.d.ts","sourceRoot":"","sources":["../../../../src/components/BlockStack/BlockStack.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;CAAG;AAEnC,eAAO,MAAM,UAAU;;;;CAEtB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ButtonProps {
|
|
2
|
-
/**
|
|
3
|
-
* A callback that is run after the button is pressed.
|
|
4
|
-
*/
|
|
5
|
-
onPress?(): void;
|
|
6
|
-
}
|
|
7
|
-
export declare const Button: "Button" & {
|
|
8
|
-
readonly type?: "Button" | undefined;
|
|
9
|
-
readonly props?: ButtonProps | undefined;
|
|
10
|
-
readonly children?: true | undefined;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,OAAO,CAAC,IAAI,IAAI,CAAC;CAClB;AAED,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export interface CheckboxProps {
|
|
2
|
-
/**
|
|
3
|
-
* Whether the checkbox is active. This prop is an alias for `checked`,
|
|
4
|
-
* and can be useful in form libraries that provide a normalized API for
|
|
5
|
-
* dealing with both `boolean` and `string` values. If both `value` and
|
|
6
|
-
* `checked` are set, `checked` takes precedence.
|
|
7
|
-
*/
|
|
8
|
-
value?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Whether the checkbox is active.
|
|
11
|
-
*/
|
|
12
|
-
checked?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* A callback that is run whenever the checkbox is changed. This callback
|
|
15
|
-
* is called with a boolean indicating whether the checkbox should now be
|
|
16
|
-
* active or inactive. This component is [controlled](https://reactjs.org/docs/forms.html#controlled-components),
|
|
17
|
-
* so you must store this value in state and reflect it back in the
|
|
18
|
-
* `checked` or `value` props.
|
|
19
|
-
*/
|
|
20
|
-
onChange?(value: boolean): void;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Use checkboxes to give users a single binary option, such as signing up for marketing, or agreeing to terms and conditions.
|
|
24
|
-
*/
|
|
25
|
-
export declare const Checkbox: "Checkbox" & {
|
|
26
|
-
readonly type?: "Checkbox" | undefined;
|
|
27
|
-
readonly props?: CheckboxProps | undefined;
|
|
28
|
-
readonly children?: true | undefined;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACjC;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;CAEpB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Checkbox = void 0;
|
|
4
|
-
var core_1 = require("@remote-ui/core");
|
|
5
|
-
/**
|
|
6
|
-
* Use checkboxes to give users a single binary option, such as signing up for marketing, or agreeing to terms and conditions.
|
|
7
|
-
*/
|
|
8
|
-
exports.Checkbox = (0, core_1.createRemoteComponent)('Checkbox');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;CAAG;AAE7B,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export interface TextFieldProps {
|
|
2
|
-
/**
|
|
3
|
-
* Content to use as the field label.
|
|
4
|
-
*/
|
|
5
|
-
label: string;
|
|
6
|
-
/**
|
|
7
|
-
* The current value for the field. If omitted, the field will be empty. You should
|
|
8
|
-
* update this value in response to the `onChange` callback.
|
|
9
|
-
*/
|
|
10
|
-
value?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Callback when the user has **finished editing** a field. Unlike `onChange`
|
|
13
|
-
* callbacks you may be familiar with from Polaris or other React component libraries,
|
|
14
|
-
* this callback is **not** run on every change to the input. Text fields are
|
|
15
|
-
* “partially controlled” components, which means that while the user edits the
|
|
16
|
-
* field, its state is controlled by the component. Once the user has signalled that
|
|
17
|
-
* they have finished editing the field (typically, by blurring the field), `onChange`
|
|
18
|
-
* is called if the input actually changed from the most recent `value` property. At
|
|
19
|
-
* that point, you are expected to store this “committed value” in state, and reflect
|
|
20
|
-
* it in the text field’s `value` property.
|
|
21
|
-
*
|
|
22
|
-
* This state management model is important given how UI Extensions are rendered. UI Extension components
|
|
23
|
-
* run on a separate thread from the UI, so they can’t respond to input synchronously.
|
|
24
|
-
* A pattern popularized by [controlled React components](https://reactjs.org/docs/forms.html#controlled-components)
|
|
25
|
-
* is to have the component be the source of truth for the input `value`, and update
|
|
26
|
-
* the `value` on every user input. The delay in responding to events from a UI
|
|
27
|
-
* extension is only a few milliseconds, but attempting to strictly store state with
|
|
28
|
-
* this delay can cause issues if a user types quickly, or if the user is using a
|
|
29
|
-
* lower-powered device. Having the UI thread take ownership for “in progress” input,
|
|
30
|
-
* and only synchronizing when the user is finished with a field, avoids this risk.
|
|
31
|
-
*
|
|
32
|
-
* This callback is called with the current value of the field. If the value of a field
|
|
33
|
-
* is the same as the current `value` prop provided to the field, the `onChange` callback
|
|
34
|
-
* will not be run.
|
|
35
|
-
*/
|
|
36
|
-
onChange?(value: string): void;
|
|
37
|
-
/**
|
|
38
|
-
* Callback when the user makes any changes in the field. As noted in the documentation
|
|
39
|
-
* for `onChange`, you **must not** use this to update `state` — use the `onChange`
|
|
40
|
-
* callback for that purpose. Use the `onInput` prop when you need to do something
|
|
41
|
-
* as soon as the user makes a change, like clearing validation errors that apply to
|
|
42
|
-
* the field as soon as the user begins making the necessary adjustments.
|
|
43
|
-
*
|
|
44
|
-
* This callback is called with the current value of the field.
|
|
45
|
-
*/
|
|
46
|
-
onInput?(value: string): void;
|
|
47
|
-
}
|
|
48
|
-
export declare const TextField: "TextField" & {
|
|
49
|
-
readonly type?: "TextField" | undefined;
|
|
50
|
-
readonly props?: TextFieldProps | undefined;
|
|
51
|
-
readonly children?: true | undefined;
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/TextField.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;;;;;;OAQG;IACH,OAAO,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,SAAS;;;;CAErB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../src/components/View/View.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;CAAG;AAE7B,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
package/build/ts/components.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { BlockStack } from './components/BlockStack/BlockStack';
|
|
2
|
-
export type { BlockStackProps } from './components/BlockStack/BlockStack';
|
|
3
|
-
export { Button } from './components/Button/Button';
|
|
4
|
-
export type { ButtonProps } from './components/Button/Button';
|
|
5
|
-
export { Checkbox } from './components/Checkbox/Checkbox';
|
|
6
|
-
export type { CheckboxProps } from './components/Checkbox/Checkbox';
|
|
7
|
-
export { Text } from './components/Text/Text';
|
|
8
|
-
export type { TextProps } from './components/Text/Text';
|
|
9
|
-
export { TextField } from './components/TextField/TextField';
|
|
10
|
-
export type { TextFieldProps } from './components/TextField/TextField';
|
|
11
|
-
export { View } from './components/View/View';
|
|
12
|
-
export type { ViewProps } from './components/View/View';
|
|
13
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAAA,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,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAC5C,YAAY,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAC3D,YAAY,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAC5C,YAAY,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC"}
|
package/build/ts/components.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.View = exports.TextField = exports.Text = exports.Checkbox = exports.Button = exports.BlockStack = void 0;
|
|
4
|
-
var BlockStack_1 = require("./components/BlockStack/BlockStack");
|
|
5
|
-
Object.defineProperty(exports, "BlockStack", { enumerable: true, get: function () { return BlockStack_1.BlockStack; } });
|
|
6
|
-
var Button_1 = require("./components/Button/Button");
|
|
7
|
-
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
8
|
-
var Checkbox_1 = require("./components/Checkbox/Checkbox");
|
|
9
|
-
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } });
|
|
10
|
-
var Text_1 = require("./components/Text/Text");
|
|
11
|
-
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return Text_1.Text; } });
|
|
12
|
-
var TextField_1 = require("./components/TextField/TextField");
|
|
13
|
-
Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return TextField_1.TextField; } });
|
|
14
|
-
var View_1 = require("./components/View/View");
|
|
15
|
-
Object.defineProperty(exports, "View", { enumerable: true, get: function () { return View_1.View; } });
|
package/build/ts/extension.js
DELETED
package/build/ts/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api"), exports);
|
|
18
|
-
__exportStar(require("./components"), exports);
|
|
19
|
-
__exportStar(require("./extension"), exports);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StandardApi } from '../standard/standard';
|
|
2
|
-
export interface ApplySettingsChangeResult {
|
|
3
|
-
type: 'success' | 'error';
|
|
4
|
-
}
|
|
5
|
-
export interface ApplySettingsChangeInput {
|
|
6
|
-
key: string;
|
|
7
|
-
value: string | number | boolean | null;
|
|
8
|
-
}
|
|
9
|
-
export interface Settings {
|
|
10
|
-
value: Record<string, unknown>;
|
|
11
|
-
subscribe(callback: (settings: Settings) => void, options?: {
|
|
12
|
-
signal?: AbortSignal;
|
|
13
|
-
}): Promise<Settings>;
|
|
14
|
-
}
|
|
15
|
-
export interface CheckoutEditorRenderSettingsApi extends StandardApi<'Admin::CheckoutEditor::RenderSettings'> {
|
|
16
|
-
settings: Settings;
|
|
17
|
-
applySettingsChange(input: ApplySettingsChangeInput): Promise<ApplySettingsChangeResult>;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=render-settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-editor/render-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,SAAS,CACP,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,EACtC,OAAO,CAAC,EAAE;QAAC,MAAM,CAAC,EAAE,WAAW,CAAA;KAAC,GAC/B,OAAO,CAAC,QAAQ,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,+BACf,SAAQ,WAAW,CAAC,uCAAuC,CAAC;IAC5D,QAAQ,EAAE,QAAQ,CAAC;IACnB,mBAAmB,CACjB,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { StandardApi as BaseStandardApi } from '../../../../api';
|
|
2
|
-
import type { ExtensionPoint as AnyExtensionPoint } from '../../extension-points';
|
|
3
|
-
export interface StandardApi<ExtensionPoint extends AnyExtensionPoint> extends BaseStandardApi {
|
|
4
|
-
readonly surface: 'admin';
|
|
5
|
-
readonly extensionPoint: ExtensionPoint;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=standard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/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,OAAO,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;CACzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACzD,YAAY,EAAC,+BAA+B,EAAC,MAAM,uCAAuC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { TextFieldProps as BaseTextFieldProps } from '../../../../components';
|
|
2
|
-
export interface TextFieldProps extends BaseTextFieldProps {
|
|
3
|
-
/**
|
|
4
|
-
* Additional hint text to display beside the field, with less visual prominence than the label.
|
|
5
|
-
* Help text should only be used when there are additional implications of editing the field’s
|
|
6
|
-
* value that can’t be communicated as part of the field’s label.
|
|
7
|
-
*/
|
|
8
|
-
helpText?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const TextField: "TextField" & {
|
|
11
|
-
readonly type?: "TextField" | undefined;
|
|
12
|
-
readonly props?: TextFieldProps | undefined;
|
|
13
|
-
readonly children?: true | undefined;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/TextField/TextField.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,cAAc,IAAI,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAEjF,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,SAAS;;;;CAErB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/components.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAC3D,YAAY,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC"}
|