@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":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAe,cAAc,EAAoB,MAAM,eAAe,CAAC;AAI9E,OAAO,+CAA+C,CAAC;AAEvD,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ,EAAE,iBAAiB,CAAC,aAAa,CA+FrD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Checkbox';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface ColorSwatchProps extends Omit<HTMLAttributes<HTMLInputElement>, 'label' | 'size'> {
5
+ name?: string;
6
+ label?: string;
7
+ groupAriaLabel?: string;
8
+ id?: string;
9
+ size?: 'medium' | 'large';
10
+ color?: string;
11
+ value?: string;
12
+ disabled?: boolean;
13
+ selected?: boolean;
14
+ outOfStock?: boolean;
15
+ multi?: boolean;
16
+ onValue?: (value: any) => void;
17
+ onUpdateError?: (error: Error) => void;
18
+ }
19
+ export declare const ColorSwatch: FunctionComponent<ColorSwatchProps>;
20
+ //# sourceMappingURL=ColorSwatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSwatch.d.ts","sourceRoot":"","sources":["../../../../../src/components/ColorSwatch/ColorSwatch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAe,MAAM,eAAe,CAAC;AAE5D,OAAO,qDAAqD,CAAC;AAG7D,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,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,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CA8F3D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './ColorSwatch';
2
+ export { ColorSwatch as default } from './ColorSwatch';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ColorSwatch/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,iDAAiD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface DividerProps extends HTMLAttributes<HTMLHRElement> {
5
+ variant?: 'primary' | 'secondary';
6
+ }
7
+ export declare const Divider: FunctionComponent<DividerProps>;
8
+ //# sourceMappingURL=Divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,6CAA6C,CAAC;AAErD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,aAAa,CAAC;IACjE,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC;AAED,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAcnD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Divider';
2
+ export { Divider as default } from './Divider';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,yCAAyC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface FieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'size'> {
5
+ label?: string;
6
+ error?: string;
7
+ hint?: string;
8
+ success?: string;
9
+ disabled?: boolean;
10
+ children?: VNode;
11
+ size?: 'medium' | 'large';
12
+ }
13
+ export declare const Field: FunctionComponent<FieldProps>;
14
+ //# sourceMappingURL=Field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,UAAU,CA0D/C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Field';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { SVGProps } from 'preact/compat';
3
+
4
+ export type IconType = keyof typeof import('@adobe/elsie/icons');
5
+ export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'size'> {
6
+ source: FunctionComponent<SVGProps<SVGSVGElement> & {
7
+ title?: string;
8
+ }> | IconType;
9
+ size?: '12' | '16' | '24' | '32' | '64' | '80';
10
+ stroke?: '1' | '2' | '3' | '4';
11
+ className?: string;
12
+ title?: string;
13
+ }
14
+ export type IconNode = FunctionComponent<SVGProps<SVGSVGElement> & {
15
+ title?: string;
16
+ }>;
17
+ export declare function Icon({ source: Source, size, stroke, viewBox, className, ...props }: IconProps): import("preact").JSX.Element;
18
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3C,OAAO,EAAkB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,uCAAuC,CAAC;AAE/C,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,oBAAoB,CAAC,CAAC;AA2CjE,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACtE,MAAM,EACF,iBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAC/D,QAAQ,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,QAAQ,GAAG,iBAAiB,CACtC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAC7C,CAAC;AAEF,wBAAgB,IAAI,CAAC,EACnB,MAAM,EAAE,MAAM,EACd,IAAW,EACX,MAAY,EACZ,OAAqB,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,gCAwBX"}
@@ -0,0 +1,2 @@
1
+ export * from './Icon';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface IllustratedMessageProps extends Omit<HTMLAttributes<HTMLDivElement>, 'icon' | 'action'> {
5
+ icon?: VNode<HTMLAttributes<SVGSVGElement>>;
6
+ heading?: string;
7
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
8
+ message?: VNode<HTMLAttributes<HTMLElement>>;
9
+ action?: VNode;
10
+ variant?: 'primary' | 'secondary';
11
+ }
12
+ export declare const IllustratedMessage: FunctionComponent<IllustratedMessageProps>;
13
+ //# sourceMappingURL=IllustratedMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IllustratedMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/IllustratedMessage/IllustratedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAO,MAAM,eAAe,CAAC;AAEpD,OAAO,mEAAmE,CAAC;AAG3E,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC/D,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;IAC7C,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,uBAAuB,CAoDzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './IllustratedMessage';
2
+ export { IllustratedMessage as default } from './IllustratedMessage';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/IllustratedMessage/index.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC;AAC9E,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,+DAA+D,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+ import { ResolveImageUrlOptions } from '../../lib';
4
+
5
+ export interface ImageProps extends HTMLAttributes<HTMLDivElement> {
6
+ params?: ResolveImageUrlOptions;
7
+ src: string;
8
+ onLoad?: (e: any) => void;
9
+ }
10
+ export declare const Image: FunctionComponent<ImageProps>;
11
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAqB,MAAM,eAAe,CAAC;AAClE,OAAO,EAGL,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,yCAAyC,CAAC;AAEjD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3B;AACD,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,UAAU,CA0C/C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Image';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Image/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface ImageSwatchProps extends Omit<HTMLAttributes<HTMLInputElement>, 'label'> {
5
+ name?: string;
6
+ label?: string;
7
+ groupAriaLabel?: string;
8
+ id?: string;
9
+ src: string;
10
+ alt?: string;
11
+ value?: string;
12
+ disabled?: boolean;
13
+ selected?: boolean;
14
+ outOfStock?: boolean;
15
+ multi?: boolean;
16
+ onValue?: (value: any) => void;
17
+ onUpdateError?: (error: Error) => void;
18
+ }
19
+ export declare const ImageSwatch: FunctionComponent<ImageSwatchProps>;
20
+ //# sourceMappingURL=ImageSwatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageSwatch.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageSwatch/ImageSwatch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAe,MAAM,eAAe,CAAC;AAE5D,OAAO,qDAAqD,CAAC;AAI7D,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,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,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAsF3D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './ImageSwatch';
2
+ export { ImageSwatch as default } from './ImageSwatch';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageSwatch/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,iDAAiD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface InLineAlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'icon'> {
5
+ variant?: 'primary' | 'secondary';
6
+ heading: string;
7
+ description?: string;
8
+ type?: 'error' | 'warning' | 'success';
9
+ icon?: VNode<HTMLAttributes<SVGSVGElement>>;
10
+ additionalActions?: Array<{
11
+ label: string;
12
+ onClick: (event: Event) => void;
13
+ }>;
14
+ onDismiss?: (event: Event) => void;
15
+ }
16
+ export declare const InLineAlert: FunctionComponent<InLineAlertProps>;
17
+ //# sourceMappingURL=InLineAlert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InLineAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/InLineAlert/InLineAlert.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,qDAAqD,CAAC;AAC7D,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IACvC,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAC5C,iBAAiB,CAAC,EAAE,KAAK,CAAC;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KACjC,CAAC,CAAC;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CA6E3D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './InLineAlert';
2
+ export { InLineAlert as default } from './InLineAlert';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/InLineAlert/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,iDAAiD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface IncrementerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'size'> {
5
+ name?: string;
6
+ size?: 'medium' | 'large';
7
+ onValue?: (value: any) => void;
8
+ onUpdateError?: (error: Error) => void;
9
+ error?: boolean;
10
+ success?: boolean;
11
+ min?: number;
12
+ max?: number;
13
+ disabled?: boolean;
14
+ maxLength?: number;
15
+ }
16
+ export declare const Incrementer: FunctionComponent<IncrementerProps>;
17
+ //# sourceMappingURL=Incrementer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Incrementer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Incrementer/Incrementer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAK/C,OAAO,qDAAqD,CAAC;AAE7D,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAkJ3D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Incrementer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Incrementer/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface InputProps extends Omit<HTMLAttributes<HTMLInputElement>, 'size' | 'icon'> {
5
+ id?: string;
6
+ name?: string;
7
+ variant?: 'primary' | 'secondary';
8
+ disabled?: boolean;
9
+ error?: boolean;
10
+ floatingLabel?: string;
11
+ onUpdateError?: (error: Error) => void;
12
+ onValue?: (value: any) => void;
13
+ size?: 'medium' | 'large';
14
+ success?: boolean;
15
+ icon?: VNode<HTMLAttributes<SVGSVGElement>>;
16
+ maxLength?: number;
17
+ }
18
+ export declare const Input: FunctionComponent<InputProps>;
19
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,yCAAyC,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,UAAU,CAoI/C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Input';
2
+ export { Input as default } from '.';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FunctionComponent, HTMLAttributes } from 'preact/compat';
2
+ import { VNode } from 'preact';
3
+
4
+ export interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'size' | 'title'> {
5
+ size?: 'small' | 'medium' | 'full';
6
+ title?: VNode;
7
+ centered?: boolean;
8
+ onClose?: () => void;
9
+ backgroundDim?: boolean;
10
+ clickToDismiss?: boolean;
11
+ escapeToDismiss?: boolean;
12
+ showCloseButton?: boolean;
13
+ }
14
+ export declare const Modal: FunctionComponent<ModalProps>;
15
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAgBA,OAAO,EACL,iBAAiB,EACjB,cAAc,EAGf,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,OAAO,yCAAyC,CAAC;AAEjD,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9D,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,UAAU,CAyH/C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Modal';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAcA,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface PickerOption {
5
+ value: string | null;
6
+ text?: string;
7
+ icon?: VNode<HTMLAttributes<SVGSVGElement>>;
8
+ disabled?: boolean;
9
+ }
10
+ export interface PickerProps extends Omit<HTMLAttributes<HTMLSelectElement>, 'value' | 'size' | 'icon'> {
11
+ id?: string;
12
+ name?: string;
13
+ value?: string | null;
14
+ placeholder?: string;
15
+ variant?: 'primary' | 'secondary';
16
+ size?: 'medium' | 'large';
17
+ floatingLabel?: string;
18
+ icon?: VNode<HTMLAttributes<SVGSVGElement>>;
19
+ options?: PickerOption[];
20
+ defaultOption?: PickerOption;
21
+ disabled?: boolean;
22
+ error?: boolean;
23
+ handleSelect?: (event: Event) => void;
24
+ }
25
+ export declare const Picker: FunctionComponent<PickerProps>;
26
+ //# sourceMappingURL=Picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Picker.d.ts","sourceRoot":"","sources":["../../../../../src/components/Picker/Picker.tsx"],"names":[],"mappings":"AACA,OAAO,2CAA2C,CAAC;AAGnD,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAuB,MAAM,eAAe,CAAC;AAGpE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAC1E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,WAAW,CA+IjD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Picker';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Picker/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface PriceProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'size'> {
5
+ amount?: number;
6
+ currency?: string;
7
+ locale?: string;
8
+ formatOptions?: {
9
+ [key: string]: any;
10
+ };
11
+ variant?: 'default' | 'strikethrough';
12
+ weight?: 'bold' | 'normal';
13
+ sale?: boolean;
14
+ size?: 'small' | 'medium' | 'large';
15
+ }
16
+ export declare const Price: FunctionComponent<PriceProps>;
17
+ //# sourceMappingURL=Price.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["../../../../../src/components/Price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAW,MAAM,eAAe,CAAC;AAExD,OAAO,yCAAyC,CAAC;AAEjD,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,UAAU,CA2C/C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Price';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Price/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface PriceRangeProps extends Omit<HTMLAttributes<HTMLDivElement>, 'size'> {
5
+ locale?: string;
6
+ currency?: string;
7
+ amount?: number;
8
+ variant?: 'default' | 'strikethrough';
9
+ minimumAmount?: number;
10
+ maximumAmount?: number;
11
+ display?: 'dash' | 'from to' | 'as low as';
12
+ size?: 'small' | 'medium' | 'large';
13
+ specialPrice?: number;
14
+ sale?: boolean;
15
+ }
16
+ export declare const PriceRange: FunctionComponent<PriceRangeProps>;
17
+ //# sourceMappingURL=PriceRange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceRange.d.ts","sourceRoot":"","sources":["../../../../../src/components/PriceRange/PriceRange.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAW,MAAM,eAAe,CAAC;AAExD,OAAO,mDAAmD,CAAC;AAI3D,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC;IAC3C,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CA+EzD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './PriceRange';
2
+ export { PriceRange as default } from './PriceRange';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PriceRange/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC;AAC9D,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,+CAA+C,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface PriceSummaryProps extends Omit<HTMLAttributes<HTMLDivElement>, 'loading'> {
5
+ heading: string;
6
+ loading?: boolean;
7
+ total?: {
8
+ price: VNode<HTMLAttributes<HTMLSpanElement>>;
9
+ estimated?: boolean;
10
+ priceWithoutTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
11
+ };
12
+ subTotal?: {
13
+ price: VNode<HTMLAttributes<HTMLSpanElement>>;
14
+ priceExcludingTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
15
+ taxIncluded?: boolean;
16
+ taxExcluded?: boolean;
17
+ zeroTaxSubtotal?: boolean;
18
+ };
19
+ shipping?: {
20
+ price: VNode<HTMLAttributes<HTMLSpanElement>>;
21
+ estimated?: boolean;
22
+ taxIncluded?: boolean;
23
+ taxExcluded?: boolean;
24
+ priceIncludingTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
25
+ priceExcludingTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
26
+ countryField?: VNode<HTMLAttributes<HTMLInputElement>>;
27
+ stateField?: VNode<HTMLAttributes<HTMLInputElement>>;
28
+ zipField?: VNode<HTMLAttributes<HTMLInputElement>>;
29
+ destinationText?: string;
30
+ onEstimate?: (formData: any) => void;
31
+ estimateButton?: VNode<HTMLAttributes<HTMLButtonElement>>;
32
+ };
33
+ taxTotal?: {
34
+ price: VNode<HTMLAttributes<HTMLSpanElement>>;
35
+ estimated?: boolean;
36
+ };
37
+ taxesApplied?: {
38
+ label: string;
39
+ price: VNode<HTMLAttributes<HTMLSpanElement>>;
40
+ }[];
41
+ discounts?: {
42
+ label: string;
43
+ price: VNode<HTMLAttributes<HTMLSpanElement>>;
44
+ caption?: VNode<HTMLAttributes<HTMLDivElement>>;
45
+ }[];
46
+ primaryAction?: VNode<HTMLAttributes<HTMLButtonElement>>;
47
+ }
48
+ export declare const PriceSummary: FunctionComponent<PriceSummaryProps>;
49
+ //# sourceMappingURL=PriceSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceSummary.d.ts","sourceRoot":"","sources":["../../../../../src/components/PriceSummary/PriceSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAoB,MAAM,eAAe,CAAC;AAajE,OAAO,uDAAuD,CAAC;AAE/D,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,CAAC;IACvD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;KAC1D,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC9C,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC3D,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC3D,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC3D,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;QACvD,UAAU,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;QACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;QACnD,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;QACrC,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC3D,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;KAC/C,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;QAC9C,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;KACjD,EAAE,CAAC;IACJ,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;CAC1D;AAED,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,iBAAiB,CAyd7D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './PriceSummary';
2
+ export { PriceSummary as default } from './PriceSummary';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PriceSummary/index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC;AAClE,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,mDAAmD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ /**
5
+ * @param size this is the size of the spinner ranging in [12px, 24px, 36px, 48px]
6
+ * @param stroke this is the stroke of the spinner ranging in [1px, 2px, 3px, 4px]
7
+ */
8
+ export interface ProgressSpinnerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'size'> {
9
+ ariaLabel?: string;
10
+ size?: 'small' | 'medium' | 'big' | 'large';
11
+ stroke?: '1' | '2' | '3' | '4';
12
+ }
13
+ export declare const ProgressSpinner: FunctionComponent<ProgressSpinnerProps>;
14
+ //# sourceMappingURL=ProgressSpinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressSpinner.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressSpinner/ProgressSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,6DAA6D,CAAC;AAErE;;;GAGG;AACH,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;IAC5C,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAChC;AAED,eAAO,MAAM,eAAe,EAAE,iBAAiB,CAAC,oBAAoB,CA0DnE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './ProgressSpinner';
2
+ export { ProgressSpinner as default } from './ProgressSpinner';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressSpinner/index.ts"],"names":[],"mappings":"AAAA,cAAc,yDAAyD,CAAC;AACxE,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,yDAAyD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FunctionComponent, VNode } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface RadioButtonProps extends Omit<HTMLAttributes<HTMLInputElement>, 'size' | 'label'> {
5
+ label: string | VNode<HTMLAttributes<HTMLElement>>;
6
+ name: string;
7
+ value: string;
8
+ size?: 'medium' | 'large';
9
+ checked?: boolean;
10
+ disabled?: boolean;
11
+ error?: boolean;
12
+ description?: string;
13
+ }
14
+ export declare const RadioButton: FunctionComponent<RadioButtonProps>;
15
+ //# sourceMappingURL=RadioButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,qDAAqD,CAAC;AAE7D,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChE,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAwD3D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './RadioButton';
2
+ export { RadioButton as default } from './RadioButton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/RadioButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,iDAAiD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent } from 'preact';
2
+ import { HTMLAttributes } from 'preact/compat';
3
+
4
+ export interface SkeletonRowProps extends Omit<HTMLAttributes<HTMLDivElement>, 'size'> {
5
+ fullWidth?: boolean;
6
+ lines?: number;
7
+ size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
8
+ variant?: 'heading' | 'row' | 'empty';
9
+ multilineGap?: 'xsmall' | 'small' | 'medium' | 'big' | 'xbig';
10
+ children?: string;
11
+ }
12
+ export declare const SkeletonRow: FunctionComponent<SkeletonRowProps>;
13
+ export interface SkeletonProps extends Omit<HTMLAttributes<HTMLDivElement>, 'size'> {
14
+ rowGap?: 'xsmall' | 'small' | 'medium' | 'big' | 'xbig';
15
+ }
16
+ export declare const Skeleton: FunctionComponent<SkeletonProps>;
17
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,+CAA+C,CAAC;AAEvD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1D,OAAO,CAAC,EAAE,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAkF3D,CAAC;AAEF,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;CACzD;AAED,eAAO,MAAM,QAAQ,EAAE,iBAAiB,CAAC,aAAa,CAiBrD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Skeleton';
2
+ //# sourceMappingURL=index.d.ts.map