@dropins/tools 0.21.2-alpha3 → 0.21.2-alpha389
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/event-bus.js +1 -49
- package/fetch-graphql.js +1 -62
- package/initializer.js +1 -64
- package/package.json +1 -1
- package/preact-compat.js +1 -93
- package/preact-hooks.js +1 -40
- package/preact-jsx-runtime.js +1 -35
- package/preact.js +1 -21
- package/runtime.js +1 -69
- package/components/Accordion/Accordion.d.ts +0 -25
- package/components/Accordion/Accordion.d.ts.map +0 -1
- package/components/Accordion/Accordion.jsx +0 -59
- package/components/Accordion/Accordion.stories.d.ts +0 -22
- package/components/Accordion/Accordion.stories.d.ts.map +0 -1
- package/components/Accordion/Accordion.stories.jsx +0 -320
- package/components/Accordion/Accordion.test.d.ts +0 -3
- package/components/Accordion/Accordion.test.d.ts.map +0 -1
- package/components/Accordion/Accordion.test.jsx +0 -79
- package/components/Accordion/index.d.ts +0 -3
- package/components/Accordion/index.d.ts.map +0 -1
- package/components/Accordion/index.js +0 -2
- package/components/ActionButton/ActionButton.d.ts +0 -11
- package/components/ActionButton/ActionButton.d.ts.map +0 -1
- package/components/ActionButton/ActionButton.jsx +0 -14
- package/components/ActionButton/ActionButton.stories.d.ts +0 -16
- package/components/ActionButton/ActionButton.stories.d.ts.map +0 -1
- package/components/ActionButton/ActionButton.stories.jsx +0 -119
- package/components/ActionButton/ActionButton.test.d.ts +0 -3
- package/components/ActionButton/ActionButton.test.d.ts.map +0 -1
- package/components/ActionButton/ActionButton.test.jsx +0 -47
- package/components/ActionButton/index.d.ts +0 -2
- package/components/ActionButton/index.d.ts.map +0 -1
- package/components/ActionButton/index.js +0 -1
- package/components/ActionButtonGroup/ActionButtonGroup.d.ts +0 -20
- package/components/ActionButtonGroup/ActionButtonGroup.d.ts.map +0 -1
- package/components/ActionButtonGroup/ActionButtonGroup.jsx +0 -39
- package/components/ActionButtonGroup/ActionButtonGroup.stories.d.ts +0 -16
- package/components/ActionButtonGroup/ActionButtonGroup.stories.d.ts.map +0 -1
- package/components/ActionButtonGroup/ActionButtonGroup.stories.jsx +0 -72
- package/components/ActionButtonGroup/ActionButtonGroup.test.d.ts +0 -3
- package/components/ActionButtonGroup/ActionButtonGroup.test.d.ts.map +0 -1
- package/components/ActionButtonGroup/ActionButtonGroup.test.jsx +0 -78
- package/components/ActionButtonGroup/index.d.ts +0 -2
- package/components/ActionButtonGroup/index.d.ts.map +0 -1
- package/components/ActionButtonGroup/index.js +0 -1
- package/components/AlertBanner/AlertBanner.d.ts +0 -15
- package/components/AlertBanner/AlertBanner.d.ts.map +0 -1
- package/components/AlertBanner/AlertBanner.jsx +0 -30
- package/components/AlertBanner/AlertBanner.stories.d.ts +0 -17
- package/components/AlertBanner/AlertBanner.stories.d.ts.map +0 -1
- package/components/AlertBanner/AlertBanner.stories.jsx +0 -128
- package/components/AlertBanner/AlertBanner.test.d.ts +0 -3
- package/components/AlertBanner/AlertBanner.test.d.ts.map +0 -1
- package/components/AlertBanner/AlertBanner.test.jsx +0 -40
- package/components/AlertBanner/index.d.ts +0 -3
- package/components/AlertBanner/index.d.ts.map +0 -1
- package/components/AlertBanner/index.js +0 -2
- package/components/Breadcrumbs/Breadcrumbs.d.ts +0 -9
- package/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/components/Breadcrumbs/Breadcrumbs.jsx +0 -26
- package/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -15
- package/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/components/Breadcrumbs/Breadcrumbs.stories.jsx +0 -110
- package/components/Breadcrumbs/Breadcrumbs.test.d.ts +0 -3
- package/components/Breadcrumbs/Breadcrumbs.test.d.ts.map +0 -1
- package/components/Breadcrumbs/Breadcrumbs.test.jsx +0 -67
- package/components/Breadcrumbs/index.d.ts +0 -3
- package/components/Breadcrumbs/index.d.ts.map +0 -1
- package/components/Breadcrumbs/index.js +0 -2
- package/components/Button/Button.d.ts +0 -15
- package/components/Button/Button.d.ts.map +0 -1
- package/components/Button/Button.jsx +0 -59
- package/components/Button/Button.stories.d.ts +0 -135
- package/components/Button/Button.stories.d.ts.map +0 -1
- package/components/Button/Button.stories.jsx +0 -354
- package/components/Button/Button.test.d.ts +0 -2
- package/components/Button/Button.test.d.ts.map +0 -1
- package/components/Button/Button.test.jsx +0 -134
- package/components/Button/index.d.ts +0 -3
- package/components/Button/index.d.ts.map +0 -1
- package/components/Button/index.js +0 -2
- package/components/Card/Card.d.ts +0 -9
- package/components/Card/Card.d.ts.map +0 -1
- package/components/Card/Card.jsx +0 -7
- package/components/Card/Card.stories.d.ts +0 -16
- package/components/Card/Card.stories.d.ts.map +0 -1
- package/components/Card/Card.stories.jsx +0 -47
- package/components/Card/Card.test.d.ts +0 -3
- package/components/Card/Card.test.d.ts.map +0 -1
- package/components/Card/Card.test.jsx +0 -26
- package/components/Card/index.d.ts +0 -2
- package/components/Card/index.d.ts.map +0 -1
- package/components/Card/index.js +0 -1
- package/components/CartItem/CartItem.d.ts +0 -25
- package/components/CartItem/CartItem.d.ts.map +0 -1
- package/components/CartItem/CartItem.jsx +0 -124
- package/components/CartItem/CartItem.stories.d.ts +0 -54
- package/components/CartItem/CartItem.stories.d.ts.map +0 -1
- package/components/CartItem/CartItem.stories.jsx +0 -309
- package/components/CartItem/CartItem.test.d.ts +0 -3
- package/components/CartItem/CartItem.test.d.ts.map +0 -1
- package/components/CartItem/CartItem.test.jsx +0 -71
- package/components/CartItem/CartItemSkeleton.d.ts +0 -3
- package/components/CartItem/CartItemSkeleton.d.ts.map +0 -1
- package/components/CartItem/CartItemSkeleton.jsx +0 -25
- package/components/CartItem/CartItemSkeleton.test.d.ts +0 -3
- package/components/CartItem/CartItemSkeleton.test.d.ts.map +0 -1
- package/components/CartItem/CartItemSkeleton.test.jsx +0 -11
- package/components/CartItem/index.d.ts +0 -4
- package/components/CartItem/index.d.ts.map +0 -1
- package/components/CartItem/index.js +0 -3
- package/components/CartList/CartList.d.ts +0 -7
- package/components/CartList/CartList.d.ts.map +0 -1
- package/components/CartList/CartList.jsx +0 -14
- package/components/CartList/CartList.stories.d.ts +0 -17
- package/components/CartList/CartList.stories.d.ts.map +0 -1
- package/components/CartList/CartList.stories.jsx +0 -54
- package/components/CartList/CartList.test.d.ts +0 -3
- package/components/CartList/CartList.test.d.ts.map +0 -1
- package/components/CartList/CartList.test.jsx +0 -12
- package/components/CartList/index.d.ts +0 -3
- package/components/CartList/index.d.ts.map +0 -1
- package/components/CartList/index.js +0 -2
- package/components/Checkbox/Checkbox.d.ts +0 -13
- package/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/components/Checkbox/Checkbox.jsx +0 -51
- package/components/Checkbox/Checkbox.stories.d.ts +0 -22
- package/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/components/Checkbox/Checkbox.stories.jsx +0 -157
- package/components/Checkbox/Checkbox.test.d.ts +0 -3
- package/components/Checkbox/Checkbox.test.d.ts.map +0 -1
- package/components/Checkbox/Checkbox.test.jsx +0 -136
- package/components/Checkbox/index.d.ts +0 -2
- package/components/Checkbox/index.d.ts.map +0 -1
- package/components/Checkbox/index.js +0 -1
- package/components/ColorSwatch/ColorSwatch.d.ts +0 -20
- package/components/ColorSwatch/ColorSwatch.d.ts.map +0 -1
- package/components/ColorSwatch/ColorSwatch.jsx +0 -57
- package/components/ColorSwatch/ColorSwatch.stories.d.ts +0 -20
- package/components/ColorSwatch/ColorSwatch.stories.d.ts.map +0 -1
- package/components/ColorSwatch/ColorSwatch.stories.jsx +0 -206
- package/components/ColorSwatch/ColorSwatch.test.d.ts +0 -3
- package/components/ColorSwatch/ColorSwatch.test.d.ts.map +0 -1
- package/components/ColorSwatch/ColorSwatch.test.jsx +0 -87
- package/components/ColorSwatch/index.d.ts +0 -3
- package/components/ColorSwatch/index.d.ts.map +0 -1
- package/components/ColorSwatch/index.js +0 -2
- package/components/Divider/Divider.d.ts +0 -8
- package/components/Divider/Divider.d.ts.map +0 -1
- package/components/Divider/Divider.jsx +0 -9
- package/components/Divider/Divider.stories.d.ts +0 -11
- package/components/Divider/Divider.stories.d.ts.map +0 -1
- package/components/Divider/Divider.stories.jsx +0 -43
- package/components/Divider/Divider.test.d.ts +0 -2
- package/components/Divider/Divider.test.d.ts.map +0 -1
- package/components/Divider/Divider.test.jsx +0 -19
- package/components/Divider/index.d.ts +0 -3
- package/components/Divider/index.d.ts.map +0 -1
- package/components/Divider/index.js +0 -2
- package/components/Field/Field.d.ts +0 -14
- package/components/Field/Field.d.ts.map +0 -1
- package/components/Field/Field.jsx +0 -29
- package/components/Field/Field.stories.d.ts +0 -37
- package/components/Field/Field.stories.d.ts.map +0 -1
- package/components/Field/Field.stories.jsx +0 -174
- package/components/Field/Field.test.d.ts +0 -3
- package/components/Field/Field.test.d.ts.map +0 -1
- package/components/Field/Field.test.jsx +0 -91
- package/components/Field/index.d.ts +0 -2
- package/components/Field/index.d.ts.map +0 -1
- package/components/Field/index.js +0 -1
- package/components/Icon/Icon.d.ts +0 -11
- package/components/Icon/Icon.d.ts.map +0 -1
- package/components/Icon/Icon.jsx +0 -57
- package/components/Icon/Icon.stories.d.ts +0 -16
- package/components/Icon/Icon.stories.d.ts.map +0 -1
- package/components/Icon/Icon.stories.helpers.d.ts +0 -4
- package/components/Icon/Icon.stories.helpers.d.ts.map +0 -1
- package/components/Icon/Icon.stories.helpers.jsx +0 -7
- package/components/Icon/Icon.stories.jsx +0 -48
- package/components/Icon/Icon.test.d.ts +0 -3
- package/components/Icon/Icon.test.d.ts.map +0 -1
- package/components/Icon/Icon.test.jsx +0 -67
- package/components/Icon/index.d.ts +0 -2
- package/components/Icon/index.d.ts.map +0 -1
- package/components/Icon/index.js +0 -1
- package/components/IllustratedMessage/IllustratedMessage.d.ts +0 -13
- package/components/IllustratedMessage/IllustratedMessage.d.ts.map +0 -1
- package/components/IllustratedMessage/IllustratedMessage.jsx +0 -21
- package/components/IllustratedMessage/IllustratedMessage.stories.d.ts +0 -10
- package/components/IllustratedMessage/IllustratedMessage.stories.d.ts.map +0 -1
- package/components/IllustratedMessage/IllustratedMessage.stories.jsx +0 -90
- package/components/IllustratedMessage/IllustratedMessage.test.d.ts +0 -3
- package/components/IllustratedMessage/IllustratedMessage.test.d.ts.map +0 -1
- package/components/IllustratedMessage/IllustratedMessage.test.jsx +0 -42
- package/components/IllustratedMessage/index.d.ts +0 -3
- package/components/IllustratedMessage/index.d.ts.map +0 -1
- package/components/IllustratedMessage/index.js +0 -2
- package/components/Image/Image.d.ts +0 -11
- package/components/Image/Image.d.ts.map +0 -1
- package/components/Image/Image.jsx +0 -26
- package/components/Image/Image.stories.d.ts +0 -11
- package/components/Image/Image.stories.d.ts.map +0 -1
- package/components/Image/Image.stories.jsx +0 -66
- package/components/Image/Image.test.d.ts +0 -3
- package/components/Image/Image.test.d.ts.map +0 -1
- package/components/Image/Image.test.jsx +0 -82
- package/components/Image/index.d.ts +0 -2
- package/components/Image/index.d.ts.map +0 -1
- package/components/Image/index.js +0 -1
- package/components/ImageSwatch/ImageSwatch.d.ts +0 -20
- package/components/ImageSwatch/ImageSwatch.d.ts.map +0 -1
- package/components/ImageSwatch/ImageSwatch.jsx +0 -49
- package/components/ImageSwatch/ImageSwatch.stories.d.ts +0 -20
- package/components/ImageSwatch/ImageSwatch.stories.d.ts.map +0 -1
- package/components/ImageSwatch/ImageSwatch.stories.jsx +0 -206
- package/components/ImageSwatch/ImageSwatch.test.d.ts +0 -3
- package/components/ImageSwatch/ImageSwatch.test.d.ts.map +0 -1
- package/components/ImageSwatch/ImageSwatch.test.jsx +0 -64
- package/components/ImageSwatch/index.d.ts +0 -3
- package/components/ImageSwatch/index.d.ts.map +0 -1
- package/components/ImageSwatch/index.js +0 -2
- package/components/InLineAlert/InLineAlert.d.ts +0 -16
- package/components/InLineAlert/InLineAlert.d.ts.map +0 -1
- package/components/InLineAlert/InLineAlert.jsx +0 -38
- package/components/InLineAlert/InLineAlert.stories.d.ts +0 -86
- package/components/InLineAlert/InLineAlert.stories.d.ts.map +0 -1
- package/components/InLineAlert/InLineAlert.stories.jsx +0 -193
- package/components/InLineAlert/InLineAlert.test.d.ts +0 -3
- package/components/InLineAlert/InLineAlert.test.d.ts.map +0 -1
- package/components/InLineAlert/InLineAlert.test.jsx +0 -77
- package/components/InLineAlert/index.d.ts +0 -3
- package/components/InLineAlert/index.d.ts.map +0 -1
- package/components/InLineAlert/index.js +0 -2
- package/components/Incrementer/Incrementer.d.ts +0 -17
- package/components/Incrementer/Incrementer.d.ts.map +0 -1
- package/components/Incrementer/Incrementer.jsx +0 -87
- package/components/Incrementer/Incrementer.stories.d.ts +0 -10
- package/components/Incrementer/Incrementer.stories.d.ts.map +0 -1
- package/components/Incrementer/Incrementer.stories.jsx +0 -68
- package/components/Incrementer/Incrementer.test.d.ts +0 -3
- package/components/Incrementer/Incrementer.test.d.ts.map +0 -1
- package/components/Incrementer/Incrementer.test.jsx +0 -112
- package/components/Incrementer/index.d.ts +0 -2
- package/components/Incrementer/index.d.ts.map +0 -1
- package/components/Incrementer/index.js +0 -1
- package/components/Input/Input.d.ts +0 -19
- package/components/Input/Input.d.ts.map +0 -1
- package/components/Input/Input.jsx +0 -73
- package/components/Input/Input.stories.d.ts +0 -11
- package/components/Input/Input.stories.d.ts.map +0 -1
- package/components/Input/Input.stories.jsx +0 -115
- package/components/Input/Input.test.d.ts +0 -3
- package/components/Input/Input.test.d.ts.map +0 -1
- package/components/Input/Input.test.jsx +0 -111
- package/components/Input/index.d.ts +0 -3
- package/components/Input/index.d.ts.map +0 -1
- package/components/Input/index.js +0 -2
- package/components/Modal/Modal.d.ts +0 -15
- package/components/Modal/Modal.d.ts.map +0 -1
- package/components/Modal/Modal.jsx +0 -93
- package/components/Modal/Modal.stories.d.ts +0 -56
- package/components/Modal/Modal.stories.d.ts.map +0 -1
- package/components/Modal/Modal.stories.jsx +0 -189
- package/components/Modal/Modal.test.d.ts +0 -3
- package/components/Modal/Modal.test.d.ts.map +0 -1
- package/components/Modal/Modal.test.jsx +0 -85
- package/components/Modal/index.d.ts +0 -2
- package/components/Modal/index.d.ts.map +0 -1
- package/components/Modal/index.js +0 -14
- package/components/Picker/Picker.d.ts +0 -26
- package/components/Picker/Picker.d.ts.map +0 -1
- package/components/Picker/Picker.jsx +0 -81
- package/components/Picker/Picker.stories.d.ts +0 -22
- package/components/Picker/Picker.stories.d.ts.map +0 -1
- package/components/Picker/Picker.stories.jsx +0 -236
- package/components/Picker/Picker.test.d.ts +0 -2
- package/components/Picker/Picker.test.d.ts.map +0 -1
- package/components/Picker/Picker.test.jsx +0 -190
- package/components/Picker/index.d.ts +0 -2
- package/components/Picker/index.d.ts.map +0 -1
- package/components/Picker/index.js +0 -1
- package/components/Price/Price.d.ts +0 -17
- package/components/Price/Price.d.ts.map +0 -1
- package/components/Price/Price.jsx +0 -24
- package/components/Price/Price.stories.d.ts +0 -17
- package/components/Price/Price.stories.d.ts.map +0 -1
- package/components/Price/Price.stories.jsx +0 -78
- package/components/Price/Price.test.d.ts +0 -3
- package/components/Price/Price.test.d.ts.map +0 -1
- package/components/Price/Price.test.jsx +0 -68
- package/components/Price/index.d.ts +0 -2
- package/components/Price/index.d.ts.map +0 -1
- package/components/Price/index.js +0 -1
- package/components/PriceRange/PriceRange.d.ts +0 -17
- package/components/PriceRange/PriceRange.d.ts.map +0 -1
- package/components/PriceRange/PriceRange.jsx +0 -75
- package/components/PriceRange/PriceRange.stories.d.ts +0 -107
- package/components/PriceRange/PriceRange.stories.d.ts.map +0 -1
- package/components/PriceRange/PriceRange.stories.jsx +0 -210
- package/components/PriceRange/PriceRange.test.d.ts +0 -3
- package/components/PriceRange/PriceRange.test.d.ts.map +0 -1
- package/components/PriceRange/PriceRange.test.jsx +0 -188
- package/components/PriceRange/index.d.ts +0 -3
- package/components/PriceRange/index.d.ts.map +0 -1
- package/components/PriceRange/index.js +0 -2
- package/components/PriceSummary/PriceSummary.d.ts +0 -43
- package/components/PriceSummary/PriceSummary.d.ts.map +0 -1
- package/components/PriceSummary/PriceSummary.jsx +0 -228
- package/components/PriceSummary/PriceSummary.stories.d.ts +0 -127
- package/components/PriceSummary/PriceSummary.stories.d.ts.map +0 -1
- package/components/PriceSummary/PriceSummary.stories.jsx +0 -456
- package/components/PriceSummary/PriceSummary.test.d.ts +0 -3
- package/components/PriceSummary/PriceSummary.test.d.ts.map +0 -1
- package/components/PriceSummary/PriceSummary.test.jsx +0 -275
- package/components/PriceSummary/index.d.ts +0 -3
- package/components/PriceSummary/index.d.ts.map +0 -1
- package/components/PriceSummary/index.js +0 -2
- package/components/ProgressSpinner/ProgressSpinner.d.ts +0 -14
- package/components/ProgressSpinner/ProgressSpinner.d.ts.map +0 -1
- package/components/ProgressSpinner/ProgressSpinner.jsx +0 -31
- package/components/ProgressSpinner/ProgressSpinner.stories.d.ts +0 -19
- package/components/ProgressSpinner/ProgressSpinner.stories.d.ts.map +0 -1
- package/components/ProgressSpinner/ProgressSpinner.stories.jsx +0 -195
- package/components/ProgressSpinner/ProgressSpinner.test.d.ts +0 -3
- package/components/ProgressSpinner/ProgressSpinner.test.d.ts.map +0 -1
- package/components/ProgressSpinner/ProgressSpinner.test.jsx +0 -40
- package/components/ProgressSpinner/index.d.ts +0 -3
- package/components/ProgressSpinner/index.d.ts.map +0 -1
- package/components/ProgressSpinner/index.js +0 -2
- package/components/RadioButton/RadioButton.d.ts +0 -15
- package/components/RadioButton/RadioButton.d.ts.map +0 -1
- package/components/RadioButton/RadioButton.jsx +0 -31
- package/components/RadioButton/RadioButton.stories.d.ts +0 -15
- package/components/RadioButton/RadioButton.stories.d.ts.map +0 -1
- package/components/RadioButton/RadioButton.stories.jsx +0 -92
- package/components/RadioButton/RadioButton.test.d.ts +0 -3
- package/components/RadioButton/RadioButton.test.d.ts.map +0 -1
- package/components/RadioButton/RadioButton.test.jsx +0 -62
- package/components/RadioButton/index.d.ts +0 -3
- package/components/RadioButton/index.d.ts.map +0 -1
- package/components/RadioButton/index.js +0 -2
- package/components/Skeleton/Skeleton.d.ts +0 -17
- package/components/Skeleton/Skeleton.d.ts.map +0 -1
- package/components/Skeleton/Skeleton.jsx +0 -52
- package/components/Skeleton/Skeleton.stories.d.ts +0 -67
- package/components/Skeleton/Skeleton.stories.d.ts.map +0 -1
- package/components/Skeleton/Skeleton.stories.jsx +0 -184
- package/components/Skeleton/Skeleton.test.d.ts +0 -3
- package/components/Skeleton/Skeleton.test.d.ts.map +0 -1
- package/components/Skeleton/Skeleton.test.jsx +0 -62
- package/components/Skeleton/index.d.ts +0 -2
- package/components/Skeleton/index.d.ts.map +0 -1
- package/components/Skeleton/index.js +0 -1
- package/components/TextSwatch/TextSwatch.d.ts +0 -18
- package/components/TextSwatch/TextSwatch.d.ts.map +0 -1
- package/components/TextSwatch/TextSwatch.jsx +0 -56
- package/components/TextSwatch/TextSwatch.stories.d.ts +0 -21
- package/components/TextSwatch/TextSwatch.stories.d.ts.map +0 -1
- package/components/TextSwatch/TextSwatch.stories.jsx +0 -211
- package/components/TextSwatch/TextSwatch.test.d.ts +0 -3
- package/components/TextSwatch/TextSwatch.test.d.ts.map +0 -1
- package/components/TextSwatch/TextSwatch.test.jsx +0 -85
- package/components/TextSwatch/index.d.ts +0 -3
- package/components/TextSwatch/index.d.ts.map +0 -1
- package/components/TextSwatch/index.js +0 -2
- package/components/UIProvider/UIProvider.d.ts +0 -18
- package/components/UIProvider/UIProvider.d.ts.map +0 -1
- package/components/UIProvider/UIProvider.jsx +0 -26
- package/components/UIProvider/UIProvider.test.d.ts +0 -2
- package/components/UIProvider/UIProvider.test.d.ts.map +0 -1
- package/components/UIProvider/UIProvider.test.jsx +0 -9
- package/components/UIProvider/index.d.ts +0 -2
- package/components/UIProvider/index.d.ts.map +0 -1
- package/components/UIProvider/index.js +0 -1
- package/components/index.d.ts +0 -34
- package/components/index.d.ts.map +0 -1
- package/components/index.js +0 -33
- package/docs/Design/designBlocks.d.ts +0 -21
- package/docs/Design/designBlocks.d.ts.map +0 -1
- package/docs/Design/designBlocks.jsx +0 -59
- package/docs/Design/getTokenData.d.ts +0 -7
- package/docs/Design/getTokenData.d.ts.map +0 -1
- package/docs/Design/getTokenData.js +0 -18
- package/docs/Design/getTokenData.test.d.ts +0 -2
- package/docs/Design/getTokenData.test.d.ts.map +0 -1
- package/docs/Design/getTokenData.test.js +0 -92
- package/i18n/en_US.json +0 -112
- package/i18n/index.d.ts +0 -341
- package/i18n/index.d.ts.map +0 -1
- package/i18n/index.js +0 -12
- package/i18n/index.test.d.ts +0 -2
- package/i18n/index.test.d.ts.map +0 -1
- package/i18n/index.test.js +0 -11
- package/icons/index.d.ts +0 -35
- package/icons/index.d.ts.map +0 -1
- package/icons/index.js +0 -34
- package/lib/classes.d.ts +0 -5
- package/lib/classes.d.ts.map +0 -1
- package/lib/classes.js +0 -16
- package/lib/classes.test.d.ts +0 -2
- package/lib/classes.test.d.ts.map +0 -1
- package/lib/classes.test.js +0 -18
- package/lib/config.d.ts +0 -7
- package/lib/config.d.ts.map +0 -1
- package/lib/config.js +0 -12
- package/lib/config.test.d.ts +0 -2
- package/lib/config.test.d.ts.map +0 -1
- package/lib/config.test.js +0 -12
- package/lib/debounce.d.ts +0 -2
- package/lib/debounce.d.ts.map +0 -1
- package/lib/debounce.js +0 -7
- package/lib/debounce.test.d.ts +0 -2
- package/lib/debounce.test.d.ts.map +0 -1
- package/lib/debounce.test.js +0 -40
- package/lib/deepmerge.d.ts +0 -2
- package/lib/deepmerge.d.ts.map +0 -1
- package/lib/deepmerge.js +0 -1
- package/lib/form-values.d.ts +0 -5
- package/lib/form-values.d.ts.map +0 -1
- package/lib/form-values.js +0 -17
- package/lib/form-values.test.d.ts +0 -2
- package/lib/form-values.test.d.ts.map +0 -1
- package/lib/form-values.test.jsx +0 -29
- package/lib/i18n.d.ts +0 -8
- package/lib/i18n.d.ts.map +0 -1
- package/lib/i18n.js +0 -9
- package/lib/i18n.test.d.ts +0 -2
- package/lib/i18n.test.d.ts.map +0 -1
- package/lib/i18n.test.jsx +0 -8
- package/lib/image-params-keymap.d.ts +0 -4
- package/lib/image-params-keymap.d.ts.map +0 -1
- package/lib/image-params-keymap.js +0 -19
- package/lib/image-params-keymap.test.d.ts +0 -2
- package/lib/image-params-keymap.test.d.ts.map +0 -1
- package/lib/image-params-keymap.test.js +0 -7
- package/lib/index.d.ts +0 -14
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -13
- package/lib/initializer.d.ts +0 -81
- package/lib/initializer.d.ts.map +0 -1
- package/lib/initializer.js +0 -96
- package/lib/initializer.test.d.ts +0 -2
- package/lib/initializer.test.d.ts.map +0 -1
- package/lib/initializer.test.js +0 -64
- package/lib/render.d.ts +0 -10
- package/lib/render.d.ts.map +0 -1
- package/lib/render.jsx +0 -34
- package/lib/render.test.d.ts +0 -2
- package/lib/render.test.d.ts.map +0 -1
- package/lib/render.test.jsx +0 -70
- package/lib/resolve-image.d.ts +0 -10
- package/lib/resolve-image.d.ts.map +0 -1
- package/lib/resolve-image.js +0 -57
- package/lib/resolve-image.test.d.ts +0 -2
- package/lib/resolve-image.test.d.ts.map +0 -1
- package/lib/resolve-image.test.jsx +0 -146
- package/lib/slot.d.ts +0 -43
- package/lib/slot.d.ts.map +0 -1
- package/lib/slot.jsx +0 -184
- package/lib/slot.test.d.ts +0 -2
- package/lib/slot.test.d.ts.map +0 -1
- package/lib/slot.test.jsx +0 -325
- package/lib/tests.d.ts +0 -4
- package/lib/tests.d.ts.map +0 -1
- package/lib/tests.jsx +0 -19
- package/lib/tests.test.d.ts +0 -2
- package/lib/tests.test.d.ts.map +0 -1
- package/lib/tests.test.jsx +0 -13
- package/lib/types.d.ts +0 -9
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -1
- package/lib/vcomponent.d.ts +0 -8
- package/lib/vcomponent.d.ts.map +0 -1
- package/lib/vcomponent.jsx +0 -27
- package/lib/vcomponent.test.d.ts +0 -2
- package/lib/vcomponent.test.d.ts.map +0 -1
- package/lib/vcomponent.test.jsx +0 -51
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTokenData.d.ts","sourceRoot":"","sources":["../../../src/docs/Design/getTokenData.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,SAAU,GAAG,gBAMrC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const getTokenData = (data) => {
|
|
2
|
-
const results = [];
|
|
3
|
-
walk(results, '-', data);
|
|
4
|
-
return results;
|
|
5
|
-
};
|
|
6
|
-
const walk = (results, currentName, data) => {
|
|
7
|
-
if (data.value) {
|
|
8
|
-
results.push({
|
|
9
|
-
name: currentName,
|
|
10
|
-
value: data.value,
|
|
11
|
-
comment: data.comment || null,
|
|
12
|
-
});
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
Object.entries(data).forEach((entry) => {
|
|
16
|
-
walk(results, `${currentName}-${entry[0]}`, entry[1]);
|
|
17
|
-
});
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTokenData.test.d.ts","sourceRoot":"","sources":["../../../src/docs/Design/getTokenData.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { getTokenData } from './getTokenData';
|
|
2
|
-
describe('getTokenData()', () => {
|
|
3
|
-
test.each([
|
|
4
|
-
{
|
|
5
|
-
name: 'single shallow entry',
|
|
6
|
-
data: { color: { brand: { value: 'orange' } } },
|
|
7
|
-
expected: [{ name: '--color-brand', value: 'orange', comment: null }],
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
name: 'color data',
|
|
11
|
-
data: {
|
|
12
|
-
color: {
|
|
13
|
-
brand: {
|
|
14
|
-
'500': {
|
|
15
|
-
value: '#454545',
|
|
16
|
-
comment: 'Light',
|
|
17
|
-
},
|
|
18
|
-
'600': {
|
|
19
|
-
value: '#383838',
|
|
20
|
-
comment: 'Medium',
|
|
21
|
-
},
|
|
22
|
-
'700': {
|
|
23
|
-
value: '#2B2B2B',
|
|
24
|
-
comment: 'Dark',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
informational: {
|
|
28
|
-
'200': {
|
|
29
|
-
value: '#EEEFFB',
|
|
30
|
-
},
|
|
31
|
-
'500': {
|
|
32
|
-
value: '#6978D9',
|
|
33
|
-
},
|
|
34
|
-
'800': {
|
|
35
|
-
value: '#5D6DD6',
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
expected: [
|
|
41
|
-
{ name: '--color-brand-500', value: '#454545', comment: 'Light' },
|
|
42
|
-
{ name: '--color-brand-600', value: '#383838', comment: 'Medium' },
|
|
43
|
-
{ name: '--color-brand-700', value: '#2B2B2B', comment: 'Dark' },
|
|
44
|
-
{ name: '--color-informational-200', value: '#EEEFFB', comment: null },
|
|
45
|
-
{ name: '--color-informational-500', value: '#6978D9', comment: null },
|
|
46
|
-
{ name: '--color-informational-800', value: '#5D6DD6', comment: null },
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
name: 'deep nesting',
|
|
51
|
-
data: {
|
|
52
|
-
type: {
|
|
53
|
-
font: {
|
|
54
|
-
family: {
|
|
55
|
-
display: {
|
|
56
|
-
'1': {
|
|
57
|
-
value: 'system-ui',
|
|
58
|
-
},
|
|
59
|
-
'2': {
|
|
60
|
-
value: 'system-ui',
|
|
61
|
-
},
|
|
62
|
-
'3': {
|
|
63
|
-
value: 'system-ui',
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
expected: [
|
|
71
|
-
{
|
|
72
|
-
name: '--type-font-family-display-1',
|
|
73
|
-
value: 'system-ui',
|
|
74
|
-
comment: null,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: '--type-font-family-display-2',
|
|
78
|
-
value: 'system-ui',
|
|
79
|
-
comment: null,
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: '--type-font-family-display-3',
|
|
83
|
-
value: 'system-ui',
|
|
84
|
-
comment: null,
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
])('handles $name', ({ data, expected }) => {
|
|
89
|
-
const results = getTokenData(data);
|
|
90
|
-
expect(results).toEqual(expected);
|
|
91
|
-
});
|
|
92
|
-
});
|
package/i18n/en_US.json
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Dropin": {
|
|
3
|
-
"ExampleComponentName": {
|
|
4
|
-
"item": {
|
|
5
|
-
"label": "string"
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
|
-
"Incrementer": {
|
|
9
|
-
"decreaseLabel": "Decrease Quantity",
|
|
10
|
-
"increaseLabel": "Increase Quantity",
|
|
11
|
-
"label": "Quantity"
|
|
12
|
-
},
|
|
13
|
-
"Modal": {
|
|
14
|
-
"Close": {
|
|
15
|
-
"label": "Close"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"InlineAlert": {
|
|
19
|
-
"dismissLabel": "Dismiss Alert"
|
|
20
|
-
},
|
|
21
|
-
"PriceSummary": {
|
|
22
|
-
"subTotal": {
|
|
23
|
-
"label": "Subtotal",
|
|
24
|
-
"withTaxes": "Including taxes"
|
|
25
|
-
},
|
|
26
|
-
"shipping": {
|
|
27
|
-
"label": "Shipping",
|
|
28
|
-
"editZipAction": "Apply",
|
|
29
|
-
"estimated": "Estimated Shipping",
|
|
30
|
-
"estimatedDestination": "Estimated Shipping to ",
|
|
31
|
-
"destinationLinkAriaLabel": "Change destination",
|
|
32
|
-
"zipPlaceholder": "Zip Code",
|
|
33
|
-
"withTaxes": "Including taxes",
|
|
34
|
-
"alternateField": {
|
|
35
|
-
"zip": "Estimate using country/zip",
|
|
36
|
-
"state": "Estimate using country/state"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"taxes": {
|
|
40
|
-
"total": "Tax Total",
|
|
41
|
-
"totalOnly": "Tax",
|
|
42
|
-
"breakdown": "Taxes",
|
|
43
|
-
"showBreakdown": "Show Tax Breakdown",
|
|
44
|
-
"hideBreakdown": "Hide Tax Breakdown",
|
|
45
|
-
"estimated": "Estimated Tax"
|
|
46
|
-
},
|
|
47
|
-
"total": {
|
|
48
|
-
"estimated": "Estimated Total",
|
|
49
|
-
"label": "Total",
|
|
50
|
-
"withoutTax": "Total excluding taxes"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"ProgressSpinner": {
|
|
54
|
-
"updating": {
|
|
55
|
-
"label": "Item is updating"
|
|
56
|
-
},
|
|
57
|
-
"updatingChildren": {
|
|
58
|
-
"label": "Items are updating"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"PriceRange": {
|
|
62
|
-
"from": {
|
|
63
|
-
"label": "From"
|
|
64
|
-
},
|
|
65
|
-
"to": {
|
|
66
|
-
"label": "to"
|
|
67
|
-
},
|
|
68
|
-
"asLowAs": {
|
|
69
|
-
"label": "As low as"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"Swatches": {
|
|
73
|
-
"outOfStock": {
|
|
74
|
-
"label": "out of stock swatch"
|
|
75
|
-
},
|
|
76
|
-
"selected": {
|
|
77
|
-
"label": "swatch selected"
|
|
78
|
-
},
|
|
79
|
-
"swatch": {
|
|
80
|
-
"label": "swatch"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"Accordion": {
|
|
84
|
-
"open": {
|
|
85
|
-
"label": "Open"
|
|
86
|
-
},
|
|
87
|
-
"close": {
|
|
88
|
-
"label": "Close"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"CartItem": {
|
|
92
|
-
"each": {
|
|
93
|
-
"label": "each"
|
|
94
|
-
},
|
|
95
|
-
"quantity": {
|
|
96
|
-
"label": "Quantity"
|
|
97
|
-
},
|
|
98
|
-
"remove": {
|
|
99
|
-
"label": "Remove {product} from the cart"
|
|
100
|
-
},
|
|
101
|
-
"removeDefault": {
|
|
102
|
-
"label": "Remove item from the cart"
|
|
103
|
-
},
|
|
104
|
-
"taxIncluded": {
|
|
105
|
-
"label": "incl. VAT"
|
|
106
|
-
},
|
|
107
|
-
"updating": {
|
|
108
|
-
"label": "{product} is updating"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
package/i18n/index.d.ts
DELETED
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
export type Lang = 'en_US';
|
|
2
|
-
export declare const definition: {
|
|
3
|
-
default: {
|
|
4
|
-
Dropin: {
|
|
5
|
-
ExampleComponentName: {
|
|
6
|
-
item: {
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
Incrementer: {
|
|
11
|
-
decreaseLabel: string;
|
|
12
|
-
increaseLabel: string;
|
|
13
|
-
label: string;
|
|
14
|
-
};
|
|
15
|
-
Modal: {
|
|
16
|
-
Close: {
|
|
17
|
-
label: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
InlineAlert: {
|
|
21
|
-
dismissLabel: string;
|
|
22
|
-
};
|
|
23
|
-
PriceSummary: {
|
|
24
|
-
subTotal: {
|
|
25
|
-
label: string;
|
|
26
|
-
withTaxes: string;
|
|
27
|
-
};
|
|
28
|
-
shipping: {
|
|
29
|
-
label: string;
|
|
30
|
-
editZipAction: string;
|
|
31
|
-
estimated: string;
|
|
32
|
-
estimatedDestination: string;
|
|
33
|
-
destinationLinkAriaLabel: string;
|
|
34
|
-
zipPlaceholder: string;
|
|
35
|
-
withTaxes: string;
|
|
36
|
-
alternateField: {
|
|
37
|
-
zip: string;
|
|
38
|
-
state: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
taxes: {
|
|
42
|
-
total: string;
|
|
43
|
-
totalOnly: string;
|
|
44
|
-
breakdown: string;
|
|
45
|
-
showBreakdown: string;
|
|
46
|
-
hideBreakdown: string;
|
|
47
|
-
estimated: string;
|
|
48
|
-
};
|
|
49
|
-
total: {
|
|
50
|
-
estimated: string;
|
|
51
|
-
label: string;
|
|
52
|
-
withoutTax: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
ProgressSpinner: {
|
|
56
|
-
updating: {
|
|
57
|
-
label: string;
|
|
58
|
-
};
|
|
59
|
-
updatingChildren: {
|
|
60
|
-
label: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
PriceRange: {
|
|
64
|
-
from: {
|
|
65
|
-
label: string;
|
|
66
|
-
};
|
|
67
|
-
to: {
|
|
68
|
-
label: string;
|
|
69
|
-
};
|
|
70
|
-
asLowAs: {
|
|
71
|
-
label: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
Swatches: {
|
|
75
|
-
outOfStock: {
|
|
76
|
-
label: string;
|
|
77
|
-
};
|
|
78
|
-
selected: {
|
|
79
|
-
label: string;
|
|
80
|
-
};
|
|
81
|
-
swatch: {
|
|
82
|
-
label: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
Accordion: {
|
|
86
|
-
open: {
|
|
87
|
-
label: string;
|
|
88
|
-
};
|
|
89
|
-
close: {
|
|
90
|
-
label: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
CartItem: {
|
|
94
|
-
each: {
|
|
95
|
-
label: string;
|
|
96
|
-
};
|
|
97
|
-
quantity: {
|
|
98
|
-
label: string;
|
|
99
|
-
};
|
|
100
|
-
remove: {
|
|
101
|
-
label: string;
|
|
102
|
-
};
|
|
103
|
-
removeDefault: {
|
|
104
|
-
label: string;
|
|
105
|
-
};
|
|
106
|
-
taxIncluded: {
|
|
107
|
-
label: string;
|
|
108
|
-
};
|
|
109
|
-
updating: {
|
|
110
|
-
label: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
en_US: {
|
|
116
|
-
Dropin: {
|
|
117
|
-
ExampleComponentName: {
|
|
118
|
-
item: {
|
|
119
|
-
label: string;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
Incrementer: {
|
|
123
|
-
decreaseLabel: string;
|
|
124
|
-
increaseLabel: string;
|
|
125
|
-
label: string;
|
|
126
|
-
};
|
|
127
|
-
Modal: {
|
|
128
|
-
Close: {
|
|
129
|
-
label: string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
InlineAlert: {
|
|
133
|
-
dismissLabel: string;
|
|
134
|
-
};
|
|
135
|
-
PriceSummary: {
|
|
136
|
-
subTotal: {
|
|
137
|
-
label: string;
|
|
138
|
-
withTaxes: string;
|
|
139
|
-
};
|
|
140
|
-
shipping: {
|
|
141
|
-
label: string;
|
|
142
|
-
editZipAction: string;
|
|
143
|
-
estimated: string;
|
|
144
|
-
estimatedDestination: string;
|
|
145
|
-
destinationLinkAriaLabel: string;
|
|
146
|
-
zipPlaceholder: string;
|
|
147
|
-
withTaxes: string;
|
|
148
|
-
alternateField: {
|
|
149
|
-
zip: string;
|
|
150
|
-
state: string;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
taxes: {
|
|
154
|
-
total: string;
|
|
155
|
-
totalOnly: string;
|
|
156
|
-
breakdown: string;
|
|
157
|
-
showBreakdown: string;
|
|
158
|
-
hideBreakdown: string;
|
|
159
|
-
estimated: string;
|
|
160
|
-
};
|
|
161
|
-
total: {
|
|
162
|
-
estimated: string;
|
|
163
|
-
label: string;
|
|
164
|
-
withoutTax: string;
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
ProgressSpinner: {
|
|
168
|
-
updating: {
|
|
169
|
-
label: string;
|
|
170
|
-
};
|
|
171
|
-
updatingChildren: {
|
|
172
|
-
label: string;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
PriceRange: {
|
|
176
|
-
from: {
|
|
177
|
-
label: string;
|
|
178
|
-
};
|
|
179
|
-
to: {
|
|
180
|
-
label: string;
|
|
181
|
-
};
|
|
182
|
-
asLowAs: {
|
|
183
|
-
label: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
Swatches: {
|
|
187
|
-
outOfStock: {
|
|
188
|
-
label: string;
|
|
189
|
-
};
|
|
190
|
-
selected: {
|
|
191
|
-
label: string;
|
|
192
|
-
};
|
|
193
|
-
swatch: {
|
|
194
|
-
label: string;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
Accordion: {
|
|
198
|
-
open: {
|
|
199
|
-
label: string;
|
|
200
|
-
};
|
|
201
|
-
close: {
|
|
202
|
-
label: string;
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
CartItem: {
|
|
206
|
-
each: {
|
|
207
|
-
label: string;
|
|
208
|
-
};
|
|
209
|
-
quantity: {
|
|
210
|
-
label: string;
|
|
211
|
-
};
|
|
212
|
-
remove: {
|
|
213
|
-
label: string;
|
|
214
|
-
};
|
|
215
|
-
removeDefault: {
|
|
216
|
-
label: string;
|
|
217
|
-
};
|
|
218
|
-
taxIncluded: {
|
|
219
|
-
label: string;
|
|
220
|
-
};
|
|
221
|
-
updating: {
|
|
222
|
-
label: string;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
export * from 'preact-i18n';
|
|
229
|
-
export declare const getDefinitionByLanguage: (lang: Lang) => {
|
|
230
|
-
Dropin: {
|
|
231
|
-
ExampleComponentName: {
|
|
232
|
-
item: {
|
|
233
|
-
label: string;
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
Incrementer: {
|
|
237
|
-
decreaseLabel: string;
|
|
238
|
-
increaseLabel: string;
|
|
239
|
-
label: string;
|
|
240
|
-
};
|
|
241
|
-
Modal: {
|
|
242
|
-
Close: {
|
|
243
|
-
label: string;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
InlineAlert: {
|
|
247
|
-
dismissLabel: string;
|
|
248
|
-
};
|
|
249
|
-
PriceSummary: {
|
|
250
|
-
subTotal: {
|
|
251
|
-
label: string;
|
|
252
|
-
withTaxes: string;
|
|
253
|
-
};
|
|
254
|
-
shipping: {
|
|
255
|
-
label: string;
|
|
256
|
-
editZipAction: string;
|
|
257
|
-
estimated: string;
|
|
258
|
-
estimatedDestination: string;
|
|
259
|
-
destinationLinkAriaLabel: string;
|
|
260
|
-
zipPlaceholder: string;
|
|
261
|
-
withTaxes: string;
|
|
262
|
-
alternateField: {
|
|
263
|
-
zip: string;
|
|
264
|
-
state: string;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
taxes: {
|
|
268
|
-
total: string;
|
|
269
|
-
totalOnly: string;
|
|
270
|
-
breakdown: string;
|
|
271
|
-
showBreakdown: string;
|
|
272
|
-
hideBreakdown: string;
|
|
273
|
-
estimated: string;
|
|
274
|
-
};
|
|
275
|
-
total: {
|
|
276
|
-
estimated: string;
|
|
277
|
-
label: string;
|
|
278
|
-
withoutTax: string;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
ProgressSpinner: {
|
|
282
|
-
updating: {
|
|
283
|
-
label: string;
|
|
284
|
-
};
|
|
285
|
-
updatingChildren: {
|
|
286
|
-
label: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
PriceRange: {
|
|
290
|
-
from: {
|
|
291
|
-
label: string;
|
|
292
|
-
};
|
|
293
|
-
to: {
|
|
294
|
-
label: string;
|
|
295
|
-
};
|
|
296
|
-
asLowAs: {
|
|
297
|
-
label: string;
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
Swatches: {
|
|
301
|
-
outOfStock: {
|
|
302
|
-
label: string;
|
|
303
|
-
};
|
|
304
|
-
selected: {
|
|
305
|
-
label: string;
|
|
306
|
-
};
|
|
307
|
-
swatch: {
|
|
308
|
-
label: string;
|
|
309
|
-
};
|
|
310
|
-
};
|
|
311
|
-
Accordion: {
|
|
312
|
-
open: {
|
|
313
|
-
label: string;
|
|
314
|
-
};
|
|
315
|
-
close: {
|
|
316
|
-
label: string;
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
CartItem: {
|
|
320
|
-
each: {
|
|
321
|
-
label: string;
|
|
322
|
-
};
|
|
323
|
-
quantity: {
|
|
324
|
-
label: string;
|
|
325
|
-
};
|
|
326
|
-
remove: {
|
|
327
|
-
label: string;
|
|
328
|
-
};
|
|
329
|
-
removeDefault: {
|
|
330
|
-
label: string;
|
|
331
|
-
};
|
|
332
|
-
taxIncluded: {
|
|
333
|
-
label: string;
|
|
334
|
-
};
|
|
335
|
-
updating: {
|
|
336
|
-
label: string;
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
//# sourceMappingURL=index.d.ts.map
|
package/i18n/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,IAAI,GAAG,OAAO,CAAC;AAE3B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGtB,CAAC;AAIF,cAAc,aAAa,CAAC;AAE5B,eAAO,MAAM,uBAAuB,SAAU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEjD,CAAC"}
|
package/i18n/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { deepmerge } from '@adobe/elsie/lib';
|
|
2
|
-
import en_US from '@adobe/elsie/i18n/en_US.json';
|
|
3
|
-
export const definition = {
|
|
4
|
-
default: en_US,
|
|
5
|
-
en_US,
|
|
6
|
-
};
|
|
7
|
-
// https://github.com/synacor/preact-i18n
|
|
8
|
-
// eslint-disable-next-line no-restricted-imports
|
|
9
|
-
export * from 'preact-i18n';
|
|
10
|
-
export const getDefinitionByLanguage = (lang) => {
|
|
11
|
-
return deepmerge(definition.default, definition[lang] || {});
|
|
12
|
-
};
|
package/i18n/index.test.d.ts
DELETED
package/i18n/index.test.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/i18n/index.test.ts"],"names":[],"mappings":""}
|
package/i18n/index.test.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { getDefinitionByLanguage, definition } from './';
|
|
2
|
-
describe('getDefinitionByLanguage()', () => {
|
|
3
|
-
test('returns the default definition when there is not match', () => {
|
|
4
|
-
const selected = getDefinitionByLanguage('not_found');
|
|
5
|
-
expect(selected).toMatchObject(definition.default);
|
|
6
|
-
});
|
|
7
|
-
test('returns the selected definition', () => {
|
|
8
|
-
const selected = getDefinitionByLanguage('en_US');
|
|
9
|
-
expect(selected).toMatchObject(definition.en_US);
|
|
10
|
-
});
|
|
11
|
-
});
|
package/icons/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export { default as Add } from './Add.svg';
|
|
2
|
-
export { default as Bulk } from './Bulk.svg';
|
|
3
|
-
export { default as Burger } from './Burger.svg';
|
|
4
|
-
export { default as Cart } from './Cart.svg';
|
|
5
|
-
export { default as Check } from './Check.svg';
|
|
6
|
-
export { default as ChevronDown } from './ChevronDown.svg';
|
|
7
|
-
export { default as ChevronUp } from './ChevronUp.svg';
|
|
8
|
-
export { default as ChevronRight } from './ChevronRight.svg';
|
|
9
|
-
export { default as Close } from './Close.svg';
|
|
10
|
-
export { default as Heart } from './Heart.svg';
|
|
11
|
-
export { default as Minus } from './Minus.svg';
|
|
12
|
-
export { default as Placeholder } from './Placeholder.svg';
|
|
13
|
-
export { default as PlaceholderFilled } from './PlaceholderFilled.svg';
|
|
14
|
-
export { default as Search } from './Search.svg';
|
|
15
|
-
export { default as SearchFilled } from './SearchFilled.svg';
|
|
16
|
-
export { default as Sort } from './Sort.svg';
|
|
17
|
-
export { default as Star } from './Star.svg';
|
|
18
|
-
export { default as View } from './View.svg';
|
|
19
|
-
export { default as User } from './User.svg';
|
|
20
|
-
export { default as Warning } from './Warning.svg';
|
|
21
|
-
export { default as Locker } from './Locker.svg';
|
|
22
|
-
export { default as Wallet } from './Wallet.svg';
|
|
23
|
-
export { default as Card } from './Card.svg';
|
|
24
|
-
export { default as Order } from './Order.svg';
|
|
25
|
-
export { default as Delivery } from './Delivery.svg';
|
|
26
|
-
export { default as OrderError } from './OrderError.svg';
|
|
27
|
-
export { default as OrderSuccess } from './OrderSuccess.svg';
|
|
28
|
-
export { default as PaymentError } from './PaymentError.svg';
|
|
29
|
-
export { default as CheckWithCircle } from './CheckWithCircle.svg';
|
|
30
|
-
export { default as WarningWithCircle } from './WarningWithCircle.svg';
|
|
31
|
-
export { default as WarningFilled } from './WarningFilled.svg';
|
|
32
|
-
export { default as InfoFilled } from './InfoFilled.svg';
|
|
33
|
-
export { default as HeartFilled } from './HeartFilled.svg';
|
|
34
|
-
export { default as Trash } from './Trash.svg';
|
|
35
|
-
//# sourceMappingURL=index.d.ts.map
|
package/icons/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC"}
|
package/icons/index.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export { default as Add } from './Add.svg';
|
|
2
|
-
export { default as Bulk } from './Bulk.svg';
|
|
3
|
-
export { default as Burger } from './Burger.svg';
|
|
4
|
-
export { default as Cart } from './Cart.svg';
|
|
5
|
-
export { default as Check } from './Check.svg';
|
|
6
|
-
export { default as ChevronDown } from './ChevronDown.svg';
|
|
7
|
-
export { default as ChevronUp } from './ChevronUp.svg';
|
|
8
|
-
export { default as ChevronRight } from './ChevronRight.svg';
|
|
9
|
-
export { default as Close } from './Close.svg';
|
|
10
|
-
export { default as Heart } from './Heart.svg';
|
|
11
|
-
export { default as Minus } from './Minus.svg';
|
|
12
|
-
export { default as Placeholder } from './Placeholder.svg';
|
|
13
|
-
export { default as PlaceholderFilled } from './PlaceholderFilled.svg';
|
|
14
|
-
export { default as Search } from './Search.svg';
|
|
15
|
-
export { default as SearchFilled } from './SearchFilled.svg';
|
|
16
|
-
export { default as Sort } from './Sort.svg';
|
|
17
|
-
export { default as Star } from './Star.svg';
|
|
18
|
-
export { default as View } from './View.svg';
|
|
19
|
-
export { default as User } from './User.svg';
|
|
20
|
-
export { default as Warning } from './Warning.svg';
|
|
21
|
-
export { default as Locker } from './Locker.svg';
|
|
22
|
-
export { default as Wallet } from './Wallet.svg';
|
|
23
|
-
export { default as Card } from './Card.svg';
|
|
24
|
-
export { default as Order } from './Order.svg';
|
|
25
|
-
export { default as Delivery } from './Delivery.svg';
|
|
26
|
-
export { default as OrderError } from './OrderError.svg';
|
|
27
|
-
export { default as OrderSuccess } from './OrderSuccess.svg';
|
|
28
|
-
export { default as PaymentError } from './PaymentError.svg';
|
|
29
|
-
export { default as CheckWithCircle } from './CheckWithCircle.svg';
|
|
30
|
-
export { default as WarningWithCircle } from './WarningWithCircle.svg';
|
|
31
|
-
export { default as WarningFilled } from './WarningFilled.svg';
|
|
32
|
-
export { default as InfoFilled } from './InfoFilled.svg';
|
|
33
|
-
export { default as HeartFilled } from './HeartFilled.svg';
|
|
34
|
-
export { default as Trash } from './Trash.svg';
|