@dropins/tools 0.24.0-alpha3 → 0.24.0-alpha36

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.
Files changed (182) hide show
  1. package/chunks/initializer.js.map +1 -1
  2. package/chunks/vcomponent.js.map +1 -1
  3. package/components.d.ts +1 -0
  4. package/components.js.map +1 -1
  5. package/event-bus.d.ts +1 -0
  6. package/event-bus.js.map +1 -1
  7. package/fetch-graphql.d.ts +1 -0
  8. package/fetch-graphql.js.map +1 -1
  9. package/i18n.d.ts +1 -0
  10. package/initializer.d.ts +1 -0
  11. package/lib.d.ts +1 -0
  12. package/lib.js.map +1 -1
  13. package/package.json +1 -1
  14. package/preact-compat.d.ts +1 -0
  15. package/preact-hooks.d.ts +1 -0
  16. package/preact-jsx-runtime.d.ts +1 -0
  17. package/preact.d.ts +1 -0
  18. package/types/elsie/src/components/Accordion/Accordion.d.ts +26 -0
  19. package/types/elsie/src/components/Accordion/Accordion.d.ts.map +1 -0
  20. package/types/elsie/src/components/Accordion/index.d.ts +3 -0
  21. package/types/elsie/src/components/Accordion/index.d.ts.map +1 -0
  22. package/types/elsie/src/components/ActionButton/ActionButton.d.ts +11 -0
  23. package/types/elsie/src/components/ActionButton/ActionButton.d.ts.map +1 -0
  24. package/types/elsie/src/components/ActionButton/index.d.ts +2 -0
  25. package/types/elsie/src/components/ActionButton/index.d.ts.map +1 -0
  26. package/types/elsie/src/components/ActionButtonGroup/ActionButtonGroup.d.ts +20 -0
  27. package/types/elsie/src/components/ActionButtonGroup/ActionButtonGroup.d.ts.map +1 -0
  28. package/types/elsie/src/components/ActionButtonGroup/index.d.ts +2 -0
  29. package/types/elsie/src/components/ActionButtonGroup/index.d.ts.map +1 -0
  30. package/types/elsie/src/components/AlertBanner/AlertBanner.d.ts +15 -0
  31. package/types/elsie/src/components/AlertBanner/AlertBanner.d.ts.map +1 -0
  32. package/types/elsie/src/components/AlertBanner/index.d.ts +3 -0
  33. package/types/elsie/src/components/AlertBanner/index.d.ts.map +1 -0
  34. package/types/elsie/src/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
  35. package/types/elsie/src/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  36. package/types/elsie/src/components/Breadcrumbs/index.d.ts +3 -0
  37. package/types/elsie/src/components/Breadcrumbs/index.d.ts.map +1 -0
  38. package/types/elsie/src/components/Button/Button.d.ts +15 -0
  39. package/types/elsie/src/components/Button/Button.d.ts.map +1 -0
  40. package/types/elsie/src/components/Button/index.d.ts +3 -0
  41. package/types/elsie/src/components/Button/index.d.ts.map +1 -0
  42. package/types/elsie/src/components/Card/Card.d.ts +9 -0
  43. package/types/elsie/src/components/Card/Card.d.ts.map +1 -0
  44. package/types/elsie/src/components/Card/index.d.ts +2 -0
  45. package/types/elsie/src/components/Card/index.d.ts.map +1 -0
  46. package/types/elsie/src/components/CartItem/CartItem.d.ts +27 -0
  47. package/types/elsie/src/components/CartItem/CartItem.d.ts.map +1 -0
  48. package/types/elsie/src/components/CartItem/CartItemSkeleton.d.ts +4 -0
  49. package/types/elsie/src/components/CartItem/CartItemSkeleton.d.ts.map +1 -0
  50. package/types/elsie/src/components/CartItem/index.d.ts +4 -0
  51. package/types/elsie/src/components/CartItem/index.d.ts.map +1 -0
  52. package/types/elsie/src/components/CartList/CartList.d.ts +7 -0
  53. package/types/elsie/src/components/CartList/CartList.d.ts.map +1 -0
  54. package/types/elsie/src/components/CartList/index.d.ts +3 -0
  55. package/types/elsie/src/components/CartList/index.d.ts.map +1 -0
  56. package/types/elsie/src/components/Checkbox/Checkbox.d.ts +13 -0
  57. package/types/elsie/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  58. package/types/elsie/src/components/Checkbox/index.d.ts +2 -0
  59. package/types/elsie/src/components/Checkbox/index.d.ts.map +1 -0
  60. package/types/elsie/src/components/ColorSwatch/ColorSwatch.d.ts +20 -0
  61. package/types/elsie/src/components/ColorSwatch/ColorSwatch.d.ts.map +1 -0
  62. package/types/elsie/src/components/ColorSwatch/index.d.ts +3 -0
  63. package/types/elsie/src/components/ColorSwatch/index.d.ts.map +1 -0
  64. package/types/elsie/src/components/Divider/Divider.d.ts +8 -0
  65. package/types/elsie/src/components/Divider/Divider.d.ts.map +1 -0
  66. package/types/elsie/src/components/Divider/index.d.ts +3 -0
  67. package/types/elsie/src/components/Divider/index.d.ts.map +1 -0
  68. package/types/elsie/src/components/Field/Field.d.ts +14 -0
  69. package/types/elsie/src/components/Field/Field.d.ts.map +1 -0
  70. package/types/elsie/src/components/Field/index.d.ts +2 -0
  71. package/types/elsie/src/components/Field/index.d.ts.map +1 -0
  72. package/types/elsie/src/components/Icon/Icon.d.ts +18 -0
  73. package/types/elsie/src/components/Icon/Icon.d.ts.map +1 -0
  74. package/types/elsie/src/components/Icon/index.d.ts +2 -0
  75. package/types/elsie/src/components/Icon/index.d.ts.map +1 -0
  76. package/types/elsie/src/components/IllustratedMessage/IllustratedMessage.d.ts +13 -0
  77. package/types/elsie/src/components/IllustratedMessage/IllustratedMessage.d.ts.map +1 -0
  78. package/types/elsie/src/components/IllustratedMessage/index.d.ts +3 -0
  79. package/types/elsie/src/components/IllustratedMessage/index.d.ts.map +1 -0
  80. package/types/elsie/src/components/Image/Image.d.ts +11 -0
  81. package/types/elsie/src/components/Image/Image.d.ts.map +1 -0
  82. package/types/elsie/src/components/Image/index.d.ts +2 -0
  83. package/types/elsie/src/components/Image/index.d.ts.map +1 -0
  84. package/types/elsie/src/components/ImageSwatch/ImageSwatch.d.ts +20 -0
  85. package/types/elsie/src/components/ImageSwatch/ImageSwatch.d.ts.map +1 -0
  86. package/types/elsie/src/components/ImageSwatch/index.d.ts +3 -0
  87. package/types/elsie/src/components/ImageSwatch/index.d.ts.map +1 -0
  88. package/types/elsie/src/components/InLineAlert/InLineAlert.d.ts +17 -0
  89. package/types/elsie/src/components/InLineAlert/InLineAlert.d.ts.map +1 -0
  90. package/types/elsie/src/components/InLineAlert/index.d.ts +3 -0
  91. package/types/elsie/src/components/InLineAlert/index.d.ts.map +1 -0
  92. package/types/elsie/src/components/Incrementer/Incrementer.d.ts +17 -0
  93. package/types/elsie/src/components/Incrementer/Incrementer.d.ts.map +1 -0
  94. package/types/elsie/src/components/Incrementer/index.d.ts +2 -0
  95. package/types/elsie/src/components/Incrementer/index.d.ts.map +1 -0
  96. package/types/elsie/src/components/Input/Input.d.ts +19 -0
  97. package/types/elsie/src/components/Input/Input.d.ts.map +1 -0
  98. package/types/elsie/src/components/Input/index.d.ts +3 -0
  99. package/types/elsie/src/components/Input/index.d.ts.map +1 -0
  100. package/types/elsie/src/components/Modal/Modal.d.ts +15 -0
  101. package/types/elsie/src/components/Modal/Modal.d.ts.map +1 -0
  102. package/types/elsie/src/components/Modal/index.d.ts +2 -0
  103. package/types/elsie/src/components/Modal/index.d.ts.map +1 -0
  104. package/types/elsie/src/components/Picker/Picker.d.ts +26 -0
  105. package/types/elsie/src/components/Picker/Picker.d.ts.map +1 -0
  106. package/types/elsie/src/components/Picker/index.d.ts +2 -0
  107. package/types/elsie/src/components/Picker/index.d.ts.map +1 -0
  108. package/types/elsie/src/components/Price/Price.d.ts +17 -0
  109. package/types/elsie/src/components/Price/Price.d.ts.map +1 -0
  110. package/types/elsie/src/components/Price/index.d.ts +2 -0
  111. package/types/elsie/src/components/Price/index.d.ts.map +1 -0
  112. package/types/elsie/src/components/PriceRange/PriceRange.d.ts +17 -0
  113. package/types/elsie/src/components/PriceRange/PriceRange.d.ts.map +1 -0
  114. package/types/elsie/src/components/PriceRange/index.d.ts +3 -0
  115. package/types/elsie/src/components/PriceRange/index.d.ts.map +1 -0
  116. package/types/elsie/src/components/PriceSummary/PriceSummary.d.ts +49 -0
  117. package/types/elsie/src/components/PriceSummary/PriceSummary.d.ts.map +1 -0
  118. package/types/elsie/src/components/PriceSummary/index.d.ts +3 -0
  119. package/types/elsie/src/components/PriceSummary/index.d.ts.map +1 -0
  120. package/types/elsie/src/components/ProgressSpinner/ProgressSpinner.d.ts +14 -0
  121. package/types/elsie/src/components/ProgressSpinner/ProgressSpinner.d.ts.map +1 -0
  122. package/types/elsie/src/components/ProgressSpinner/index.d.ts +3 -0
  123. package/types/elsie/src/components/ProgressSpinner/index.d.ts.map +1 -0
  124. package/types/elsie/src/components/RadioButton/RadioButton.d.ts +15 -0
  125. package/types/elsie/src/components/RadioButton/RadioButton.d.ts.map +1 -0
  126. package/types/elsie/src/components/RadioButton/index.d.ts +3 -0
  127. package/types/elsie/src/components/RadioButton/index.d.ts.map +1 -0
  128. package/types/elsie/src/components/Skeleton/Skeleton.d.ts +17 -0
  129. package/types/elsie/src/components/Skeleton/Skeleton.d.ts.map +1 -0
  130. package/types/elsie/src/components/Skeleton/index.d.ts +2 -0
  131. package/types/elsie/src/components/Skeleton/index.d.ts.map +1 -0
  132. package/types/elsie/src/components/TextSwatch/TextSwatch.d.ts +18 -0
  133. package/types/elsie/src/components/TextSwatch/TextSwatch.d.ts.map +1 -0
  134. package/types/elsie/src/components/TextSwatch/index.d.ts +3 -0
  135. package/types/elsie/src/components/TextSwatch/index.d.ts.map +1 -0
  136. package/types/elsie/src/components/UIProvider/UIProvider.d.ts +17 -0
  137. package/types/elsie/src/components/UIProvider/UIProvider.d.ts.map +1 -0
  138. package/types/elsie/src/components/UIProvider/index.d.ts +2 -0
  139. package/types/elsie/src/components/UIProvider/index.d.ts.map +1 -0
  140. package/types/elsie/src/components/index.d.ts +34 -0
  141. package/types/elsie/src/components/index.d.ts.map +1 -0
  142. package/types/elsie/src/i18n/en_US.json.d.ts +120 -0
  143. package/types/elsie/src/i18n/index.d.ts +356 -0
  144. package/types/elsie/src/i18n/index.d.ts.map +1 -0
  145. package/types/elsie/src/icons/index.d.ts +35 -0
  146. package/types/elsie/src/icons/index.d.ts.map +1 -0
  147. package/types/elsie/src/lib/classes.d.ts +6 -0
  148. package/types/elsie/src/lib/classes.d.ts.map +1 -0
  149. package/types/elsie/src/lib/config.d.ts +7 -0
  150. package/types/elsie/src/lib/config.d.ts.map +1 -0
  151. package/types/elsie/src/lib/debounce.d.ts +2 -0
  152. package/types/elsie/src/lib/debounce.d.ts.map +1 -0
  153. package/types/elsie/src/lib/deepmerge.d.ts +2 -0
  154. package/types/elsie/src/lib/deepmerge.d.ts.map +1 -0
  155. package/types/elsie/src/lib/form-values.d.ts +5 -0
  156. package/types/elsie/src/lib/form-values.d.ts.map +1 -0
  157. package/types/elsie/src/lib/i18n.d.ts +8 -0
  158. package/types/elsie/src/lib/i18n.d.ts.map +1 -0
  159. package/types/elsie/src/lib/image-params-keymap.d.ts +4 -0
  160. package/types/elsie/src/lib/image-params-keymap.d.ts.map +1 -0
  161. package/types/elsie/src/lib/index.d.ts +14 -0
  162. package/types/elsie/src/lib/index.d.ts.map +1 -0
  163. package/types/elsie/src/lib/initializer.d.ts +70 -0
  164. package/types/elsie/src/lib/initializer.d.ts.map +1 -0
  165. package/types/elsie/src/lib/render.d.ts +34 -0
  166. package/types/elsie/src/lib/render.d.ts.map +1 -0
  167. package/types/elsie/src/lib/resolve-image.d.ts +10 -0
  168. package/types/elsie/src/lib/resolve-image.d.ts.map +1 -0
  169. package/types/elsie/src/lib/slot.d.ts +44 -0
  170. package/types/elsie/src/lib/slot.d.ts.map +1 -0
  171. package/types/elsie/src/lib/tests.d.ts +5 -0
  172. package/types/elsie/src/lib/tests.d.ts.map +1 -0
  173. package/types/elsie/src/lib/types.d.ts +10 -0
  174. package/types/elsie/src/lib/types.d.ts.map +1 -0
  175. package/types/elsie/src/lib/vcomponent.d.ts +9 -0
  176. package/types/elsie/src/lib/vcomponent.d.ts.map +1 -0
  177. package/types/event-bus/src/events-catalog.d.ts +16 -0
  178. package/types/event-bus/src/events-catalog.d.ts.map +1 -0
  179. package/types/event-bus/src/index.d.ts +46 -0
  180. package/types/event-bus/src/index.d.ts.map +1 -0
  181. package/types/fetch-graphql/src/index.d.ts +105 -0
  182. package/types/fetch-graphql/src/index.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface TextSwatchProps extends Omit<HTMLAttributes<HTMLInputElement>, 'label'> {
5
+ name?: string;
6
+ label: string;
7
+ groupAriaLabel?: string;
8
+ value?: string;
9
+ id: string;
10
+ disabled?: boolean;
11
+ selected?: boolean;
12
+ outOfStock?: boolean;
13
+ multi?: boolean;
14
+ onValue?: (value: any) => void;
15
+ onUpdateError?: (error: Error) => void;
16
+ }
17
+ export declare const TextSwatch: FunctionComponent<TextSwatchProps>;
18
+ //# sourceMappingURL=TextSwatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextSwatch.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextSwatch/TextSwatch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EACL,cAAc,EAKf,MAAM,eAAe,CAAC;AAEvB,OAAO,mDAAmD,CAAC;AAG3D,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CA8FzD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './TextSwatch';
2
+ export { TextSwatch as default } from './TextSwatch';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextSwatch/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC;AAC9D,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,+CAA+C,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+ import { Lang } from '../../i18n';
4
+
5
+ export declare const UIContext: import('preact').Context<{
6
+ locale: string;
7
+ }>;
8
+ type LangDefinitions = {
9
+ [key: string]: any;
10
+ };
11
+ export interface UIProviderProps extends HTMLAttributes<HTMLDivElement> {
12
+ lang?: Lang;
13
+ langDefinitions?: LangDefinitions;
14
+ }
15
+ export declare const UIProvider: FunctionComponent<UIProviderProps>;
16
+ export {};
17
+ //# sourceMappingURL=UIProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/UIProvider/UIProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAA0B,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAyC,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEhF,OAAO,mDAAmD,CAAC;AAC3D,OAAO,kDAAkD,CAAC;AAE1D,eAAO,MAAM,SAAS;YACZ,MAAM;EAGd,CAAC;AAEH,KAAK,eAAe,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAE9C,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAgCzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './UIProvider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/UIProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC"}
@@ -0,0 +1,34 @@
1
+ export * from './Skeleton';
2
+ export * from './UIProvider';
3
+ export * from './Incrementer';
4
+ export * from './Input';
5
+ export * from './Image';
6
+ export * from './Divider';
7
+ export * from './Icon';
8
+ export * from './Price';
9
+ export * from './RadioButton';
10
+ export * from './Image';
11
+ export * from './Divider';
12
+ export * from './Icon';
13
+ export * from './Button';
14
+ export * from './Picker';
15
+ export * from './Field';
16
+ export * from './ActionButton';
17
+ export * from './ActionButtonGroup';
18
+ export * from './Card';
19
+ export * from './Checkbox';
20
+ export * from './ColorSwatch';
21
+ export * from './TextSwatch';
22
+ export * from './ProgressSpinner';
23
+ export * from './ImageSwatch';
24
+ export * from './Accordion';
25
+ export * from './InLineAlert';
26
+ export * from './Modal';
27
+ export * from './CartItem';
28
+ export * from './PriceSummary';
29
+ export * from './CartList';
30
+ export * from './PriceRange';
31
+ export * from './Breadcrumbs';
32
+ export * from './AlertBanner';
33
+ export * from './IllustratedMessage';
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC"}
@@ -0,0 +1,120 @@
1
+ declare const _default: {
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
+ "withoutTaxes": "excluding taxes"
26
+ },
27
+ "shipping": {
28
+ "label": "Shipping",
29
+ "editZipAction": "Apply",
30
+ "estimated": "Estimated Shipping",
31
+ "estimatedDestination": "Estimated Shipping to ",
32
+ "destinationLinkAriaLabel": "Change destination",
33
+ "zipPlaceholder": "Zip Code",
34
+ "withTaxes": "Including taxes",
35
+ "withoutTaxes": "excluding taxes",
36
+ "alternateField": {
37
+ "zip": "Estimate using country/zip",
38
+ "state": "Estimate using country/state"
39
+ }
40
+ },
41
+ "taxes": {
42
+ "total": "Tax Total",
43
+ "totalOnly": "Tax",
44
+ "breakdown": "Taxes",
45
+ "showBreakdown": "Show Tax Breakdown",
46
+ "hideBreakdown": "Hide Tax Breakdown",
47
+ "estimated": "Estimated Tax"
48
+ },
49
+ "total": {
50
+ "estimated": "Estimated Total",
51
+ "label": "Total",
52
+ "withoutTax": "Total excluding taxes"
53
+ }
54
+ },
55
+ "ProgressSpinner": {
56
+ "updating": {
57
+ "label": "Item is updating"
58
+ },
59
+ "updatingChildren": {
60
+ "label": "Items are updating"
61
+ }
62
+ },
63
+ "PriceRange": {
64
+ "from": {
65
+ "label": "From"
66
+ },
67
+ "to": {
68
+ "label": "to"
69
+ },
70
+ "asLowAs": {
71
+ "label": "As low as"
72
+ }
73
+ },
74
+ "Swatches": {
75
+ "outOfStock": {
76
+ "label": "out of stock swatch"
77
+ },
78
+ "selected": {
79
+ "label": "swatch selected"
80
+ },
81
+ "swatch": {
82
+ "label": "swatch"
83
+ }
84
+ },
85
+ "Accordion": {
86
+ "open": {
87
+ "label": "Open"
88
+ },
89
+ "close": {
90
+ "label": "Close"
91
+ }
92
+ },
93
+ "CartItem": {
94
+ "each": {
95
+ "label": "each"
96
+ },
97
+ "quantity": {
98
+ "label": "Quantity"
99
+ },
100
+ "remove": {
101
+ "label": "Remove {product} from the cart"
102
+ },
103
+ "removeDefault": {
104
+ "label": "Remove item from the cart"
105
+ },
106
+ "taxIncluded": {
107
+ "label": "incl. VAT"
108
+ },
109
+ "taxExcluded": {
110
+ "label": "excl. tax"
111
+ },
112
+ "updating": {
113
+ "label": "{product} is updating"
114
+ }
115
+ }
116
+ }
117
+ }
118
+ ;
119
+
120
+ export default _default;
@@ -0,0 +1,356 @@
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
+ withoutTaxes: string;
28
+ };
29
+ shipping: {
30
+ label: string;
31
+ editZipAction: string;
32
+ estimated: string;
33
+ estimatedDestination: string;
34
+ destinationLinkAriaLabel: string;
35
+ zipPlaceholder: string;
36
+ withTaxes: string;
37
+ withoutTaxes: string;
38
+ alternateField: {
39
+ zip: string;
40
+ state: string;
41
+ };
42
+ };
43
+ taxes: {
44
+ total: string;
45
+ totalOnly: string;
46
+ breakdown: string;
47
+ showBreakdown: string;
48
+ hideBreakdown: string;
49
+ estimated: string;
50
+ };
51
+ total: {
52
+ estimated: string;
53
+ label: string;
54
+ withoutTax: string;
55
+ };
56
+ };
57
+ ProgressSpinner: {
58
+ updating: {
59
+ label: string;
60
+ };
61
+ updatingChildren: {
62
+ label: string;
63
+ };
64
+ };
65
+ PriceRange: {
66
+ from: {
67
+ label: string;
68
+ };
69
+ to: {
70
+ label: string;
71
+ };
72
+ asLowAs: {
73
+ label: string;
74
+ };
75
+ };
76
+ Swatches: {
77
+ outOfStock: {
78
+ label: string;
79
+ };
80
+ selected: {
81
+ label: string;
82
+ };
83
+ swatch: {
84
+ label: string;
85
+ };
86
+ };
87
+ Accordion: {
88
+ open: {
89
+ label: string;
90
+ };
91
+ close: {
92
+ label: string;
93
+ };
94
+ };
95
+ CartItem: {
96
+ each: {
97
+ label: string;
98
+ };
99
+ quantity: {
100
+ label: string;
101
+ };
102
+ remove: {
103
+ label: string;
104
+ };
105
+ removeDefault: {
106
+ label: string;
107
+ };
108
+ taxIncluded: {
109
+ label: string;
110
+ };
111
+ taxExcluded: {
112
+ label: string;
113
+ };
114
+ updating: {
115
+ label: string;
116
+ };
117
+ };
118
+ };
119
+ };
120
+ en_US: {
121
+ Dropin: {
122
+ ExampleComponentName: {
123
+ item: {
124
+ label: string;
125
+ };
126
+ };
127
+ Incrementer: {
128
+ decreaseLabel: string;
129
+ increaseLabel: string;
130
+ label: string;
131
+ };
132
+ Modal: {
133
+ Close: {
134
+ label: string;
135
+ };
136
+ };
137
+ InlineAlert: {
138
+ dismissLabel: string;
139
+ };
140
+ PriceSummary: {
141
+ subTotal: {
142
+ label: string;
143
+ withTaxes: string;
144
+ withoutTaxes: string;
145
+ };
146
+ shipping: {
147
+ label: string;
148
+ editZipAction: string;
149
+ estimated: string;
150
+ estimatedDestination: string;
151
+ destinationLinkAriaLabel: string;
152
+ zipPlaceholder: string;
153
+ withTaxes: string;
154
+ withoutTaxes: string;
155
+ alternateField: {
156
+ zip: string;
157
+ state: string;
158
+ };
159
+ };
160
+ taxes: {
161
+ total: string;
162
+ totalOnly: string;
163
+ breakdown: string;
164
+ showBreakdown: string;
165
+ hideBreakdown: string;
166
+ estimated: string;
167
+ };
168
+ total: {
169
+ estimated: string;
170
+ label: string;
171
+ withoutTax: string;
172
+ };
173
+ };
174
+ ProgressSpinner: {
175
+ updating: {
176
+ label: string;
177
+ };
178
+ updatingChildren: {
179
+ label: string;
180
+ };
181
+ };
182
+ PriceRange: {
183
+ from: {
184
+ label: string;
185
+ };
186
+ to: {
187
+ label: string;
188
+ };
189
+ asLowAs: {
190
+ label: string;
191
+ };
192
+ };
193
+ Swatches: {
194
+ outOfStock: {
195
+ label: string;
196
+ };
197
+ selected: {
198
+ label: string;
199
+ };
200
+ swatch: {
201
+ label: string;
202
+ };
203
+ };
204
+ Accordion: {
205
+ open: {
206
+ label: string;
207
+ };
208
+ close: {
209
+ label: string;
210
+ };
211
+ };
212
+ CartItem: {
213
+ each: {
214
+ label: string;
215
+ };
216
+ quantity: {
217
+ label: string;
218
+ };
219
+ remove: {
220
+ label: string;
221
+ };
222
+ removeDefault: {
223
+ label: string;
224
+ };
225
+ taxIncluded: {
226
+ label: string;
227
+ };
228
+ taxExcluded: {
229
+ label: string;
230
+ };
231
+ updating: {
232
+ label: string;
233
+ };
234
+ };
235
+ };
236
+ };
237
+ };
238
+ export * from 'preact-i18n';
239
+ export declare const getDefinitionByLanguage: (lang: Lang) => {
240
+ Dropin: {
241
+ ExampleComponentName: {
242
+ item: {
243
+ label: string;
244
+ };
245
+ };
246
+ Incrementer: {
247
+ decreaseLabel: string;
248
+ increaseLabel: string;
249
+ label: string;
250
+ };
251
+ Modal: {
252
+ Close: {
253
+ label: string;
254
+ };
255
+ };
256
+ InlineAlert: {
257
+ dismissLabel: string;
258
+ };
259
+ PriceSummary: {
260
+ subTotal: {
261
+ label: string;
262
+ withTaxes: string;
263
+ withoutTaxes: string;
264
+ };
265
+ shipping: {
266
+ label: string;
267
+ editZipAction: string;
268
+ estimated: string;
269
+ estimatedDestination: string;
270
+ destinationLinkAriaLabel: string;
271
+ zipPlaceholder: string;
272
+ withTaxes: string;
273
+ withoutTaxes: string;
274
+ alternateField: {
275
+ zip: string;
276
+ state: string;
277
+ };
278
+ };
279
+ taxes: {
280
+ total: string;
281
+ totalOnly: string;
282
+ breakdown: string;
283
+ showBreakdown: string;
284
+ hideBreakdown: string;
285
+ estimated: string;
286
+ };
287
+ total: {
288
+ estimated: string;
289
+ label: string;
290
+ withoutTax: string;
291
+ };
292
+ };
293
+ ProgressSpinner: {
294
+ updating: {
295
+ label: string;
296
+ };
297
+ updatingChildren: {
298
+ label: string;
299
+ };
300
+ };
301
+ PriceRange: {
302
+ from: {
303
+ label: string;
304
+ };
305
+ to: {
306
+ label: string;
307
+ };
308
+ asLowAs: {
309
+ label: string;
310
+ };
311
+ };
312
+ Swatches: {
313
+ outOfStock: {
314
+ label: string;
315
+ };
316
+ selected: {
317
+ label: string;
318
+ };
319
+ swatch: {
320
+ label: string;
321
+ };
322
+ };
323
+ Accordion: {
324
+ open: {
325
+ label: string;
326
+ };
327
+ close: {
328
+ label: string;
329
+ };
330
+ };
331
+ CartItem: {
332
+ each: {
333
+ label: string;
334
+ };
335
+ quantity: {
336
+ label: string;
337
+ };
338
+ remove: {
339
+ label: string;
340
+ };
341
+ removeDefault: {
342
+ label: string;
343
+ };
344
+ taxIncluded: {
345
+ label: string;
346
+ };
347
+ taxExcluded: {
348
+ label: string;
349
+ };
350
+ updating: {
351
+ label: string;
352
+ };
353
+ };
354
+ };
355
+ };
356
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,35 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,6 @@
1
+ import { JSXInternal } from 'preact/src/jsx';
2
+
3
+ type ClassName = string | JSXInternal.SignalLike<string | undefined>;
4
+ export declare const classes: (classes: Array<ClassName | [ClassName, boolean] | undefined>) => string;
5
+ export {};
6
+ //# sourceMappingURL=classes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classes.d.ts","sourceRoot":"","sources":["../../../../src/lib/classes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,KAAK,SAAS,GAAG,MAAM,GAAG,WAAW,CAAC,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAErE,eAAO,MAAM,OAAO,YACT,MAAM,SAAS,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,WAkB7D,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare class Config<T> {
2
+ private config;
3
+ constructor(initialConfig: T);
4
+ getConfig(): T;
5
+ setConfig(newConfig: T): void;
6
+ }
7
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/lib/config.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM,CAAC,CAAC;IACnB,OAAO,CAAC,MAAM,CAAI;gBAEN,aAAa,EAAE,CAAC;IAI5B,SAAS,IAAI,CAAC;IAId,SAAS,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI;CAG9B"}
@@ -0,0 +1,2 @@
1
+ export declare const debounce: (fn: Function, ms: number) => (this: any, ...args: any[]) => void;
2
+ //# sourceMappingURL=debounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../../src/lib/debounce.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,OAAQ,QAAQ,MAAM,MAAM,YAExB,GAAG,WAAW,GAAG,EAAE,SAI3C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as deepmerge } from 'deepmerge';
2
+ //# sourceMappingURL=deepmerge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepmerge.d.ts","sourceRoot":"","sources":["../../../../src/lib/deepmerge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const getFormValues: (form: HTMLFormElement) => {
2
+ [k: string]: any;
3
+ };
4
+ export declare const getFormErrors: (form: HTMLFormElement) => {};
5
+ //# sourceMappingURL=form-values.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-values.d.ts","sourceRoot":"","sources":["../../../../src/lib/form-values.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,SAAU,eAAe;;CAIlD,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,eAAe,OAelD,CAAC"}