@adobe-commerce/elsie 1.0.0-alpha2 → 1.0.0-alpha4

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 (194) hide show
  1. package/config/eslint.js +1 -0
  2. package/config/storybook/addon.js +1 -1
  3. package/package.json +3 -3
  4. package/src/components/Accordion/Accordion.stories.tsx +7 -0
  5. package/src/components/Accordion/Accordion.tsx +3 -1
  6. package/src/components/Icon/Icon.stories.tsx +1 -0
  7. package/src/docs/API/initializer.mdx +23 -14
  8. package/src/icons/GiftCard.svg +2 -2
  9. package/src/lib/image-params-keymap.ts +3 -1
  10. package/src/lib/initializer.ts +7 -4
  11. package/src/lib/resolve-image.ts +19 -4
  12. package/dist/chunks/deviceUtils.js +0 -14
  13. package/dist/chunks/icons/Add.js +0 -3
  14. package/dist/chunks/icons/AddressBook.js +0 -3
  15. package/dist/chunks/icons/Bulk.js +0 -3
  16. package/dist/chunks/icons/Burger.js +0 -3
  17. package/dist/chunks/icons/Card.js +0 -3
  18. package/dist/chunks/icons/Cart.js +0 -3
  19. package/dist/chunks/icons/Check.js +0 -3
  20. package/dist/chunks/icons/CheckWithCircle.js +0 -3
  21. package/dist/chunks/icons/ChevronDown.js +0 -3
  22. package/dist/chunks/icons/ChevronRight.js +0 -3
  23. package/dist/chunks/icons/ChevronUp.js +0 -3
  24. package/dist/chunks/icons/Close.js +0 -3
  25. package/dist/chunks/icons/Coupon.js +0 -3
  26. package/dist/chunks/icons/Date.js +0 -3
  27. package/dist/chunks/icons/Delivery.js +0 -3
  28. package/dist/chunks/icons/EmptyBox.js +0 -3
  29. package/dist/chunks/icons/Eye.js +0 -3
  30. package/dist/chunks/icons/EyeClose.js +0 -3
  31. package/dist/chunks/icons/Gift.js +0 -3
  32. package/dist/chunks/icons/GiftCard.js +0 -3
  33. package/dist/chunks/icons/Heart.js +0 -3
  34. package/dist/chunks/icons/HeartFilled.js +0 -3
  35. package/dist/chunks/icons/InfoFilled.js +0 -3
  36. package/dist/chunks/icons/Locker.js +0 -3
  37. package/dist/chunks/icons/Minus.js +0 -3
  38. package/dist/chunks/icons/Order.js +0 -3
  39. package/dist/chunks/icons/OrderError.js +0 -3
  40. package/dist/chunks/icons/OrderSuccess.js +0 -3
  41. package/dist/chunks/icons/PaymentError.js +0 -3
  42. package/dist/chunks/icons/Placeholder.js +0 -3
  43. package/dist/chunks/icons/PlaceholderFilled.js +0 -3
  44. package/dist/chunks/icons/Search.js +0 -3
  45. package/dist/chunks/icons/SearchFilled.js +0 -3
  46. package/dist/chunks/icons/Sort.js +0 -3
  47. package/dist/chunks/icons/Star.js +0 -3
  48. package/dist/chunks/icons/Trash.js +0 -3
  49. package/dist/chunks/icons/User.js +0 -3
  50. package/dist/chunks/icons/View.js +0 -3
  51. package/dist/chunks/icons/Wallet.js +0 -3
  52. package/dist/chunks/icons/Warning.js +0 -3
  53. package/dist/chunks/icons/WarningFilled.js +0 -3
  54. package/dist/chunks/icons/WarningWithCircle.js +0 -3
  55. package/dist/chunks/image-params-keymap.js +0 -3
  56. package/dist/chunks/initializer.js +0 -5
  57. package/dist/components.d.ts +0 -1
  58. package/dist/components.js +0 -3
  59. package/dist/event-bus.d.ts +0 -1
  60. package/dist/event-bus.js +0 -3
  61. package/dist/fetch-graphql.d.ts +0 -1
  62. package/dist/fetch-graphql.js +0 -3
  63. package/dist/i18n.d.ts +0 -1
  64. package/dist/i18n.js +0 -5
  65. package/dist/initializer.d.ts +0 -1
  66. package/dist/initializer.js +0 -5
  67. package/dist/lib.d.ts +0 -1
  68. package/dist/lib.js +0 -3
  69. package/dist/preact-compat.d.ts +0 -1
  70. package/dist/preact-compat.js +0 -3
  71. package/dist/preact-hooks.d.ts +0 -1
  72. package/dist/preact-hooks.js +0 -3
  73. package/dist/preact-jsx-runtime.d.ts +0 -1
  74. package/dist/preact-jsx-runtime.js +0 -3
  75. package/dist/preact.d.ts +0 -1
  76. package/dist/preact.js +0 -3
  77. package/dist/recaptcha.d.ts +0 -1
  78. package/dist/recaptcha.js +0 -14
  79. package/dist/signals.d.ts +0 -1
  80. package/dist/signals.js +0 -3
  81. package/dist/types/elsie/src/components/Accordion/Accordion.d.ts +0 -27
  82. package/dist/types/elsie/src/components/Accordion/index.d.ts +0 -3
  83. package/dist/types/elsie/src/components/ActionButton/ActionButton.d.ts +0 -11
  84. package/dist/types/elsie/src/components/ActionButton/index.d.ts +0 -2
  85. package/dist/types/elsie/src/components/ActionButtonGroup/ActionButtonGroup.d.ts +0 -20
  86. package/dist/types/elsie/src/components/ActionButtonGroup/index.d.ts +0 -2
  87. package/dist/types/elsie/src/components/AlertBanner/AlertBanner.d.ts +0 -15
  88. package/dist/types/elsie/src/components/AlertBanner/index.d.ts +0 -3
  89. package/dist/types/elsie/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -9
  90. package/dist/types/elsie/src/components/Breadcrumbs/index.d.ts +0 -3
  91. package/dist/types/elsie/src/components/Button/Button.d.ts +0 -15
  92. package/dist/types/elsie/src/components/Button/index.d.ts +0 -3
  93. package/dist/types/elsie/src/components/Card/Card.d.ts +0 -9
  94. package/dist/types/elsie/src/components/Card/index.d.ts +0 -2
  95. package/dist/types/elsie/src/components/CartItem/CartItem.d.ts +0 -36
  96. package/dist/types/elsie/src/components/CartItem/CartItemSkeleton.d.ts +0 -4
  97. package/dist/types/elsie/src/components/CartItem/index.d.ts +0 -4
  98. package/dist/types/elsie/src/components/CartList/CartList.d.ts +0 -7
  99. package/dist/types/elsie/src/components/CartList/index.d.ts +0 -3
  100. package/dist/types/elsie/src/components/Checkbox/Checkbox.d.ts +0 -13
  101. package/dist/types/elsie/src/components/Checkbox/index.d.ts +0 -2
  102. package/dist/types/elsie/src/components/ColorSwatch/ColorSwatch.d.ts +0 -20
  103. package/dist/types/elsie/src/components/ColorSwatch/index.d.ts +0 -3
  104. package/dist/types/elsie/src/components/ContentGrid/ContentGrid.d.ts +0 -10
  105. package/dist/types/elsie/src/components/ContentGrid/index.d.ts +0 -19
  106. package/dist/types/elsie/src/components/Divider/Divider.d.ts +0 -8
  107. package/dist/types/elsie/src/components/Divider/index.d.ts +0 -3
  108. package/dist/types/elsie/src/components/Field/Field.d.ts +0 -14
  109. package/dist/types/elsie/src/components/Field/index.d.ts +0 -2
  110. package/dist/types/elsie/src/components/Header/Header.d.ts +0 -11
  111. package/dist/types/elsie/src/components/Header/index.d.ts +0 -3
  112. package/dist/types/elsie/src/components/Icon/Icon.d.ts +0 -18
  113. package/dist/types/elsie/src/components/Icon/index.d.ts +0 -2
  114. package/dist/types/elsie/src/components/IllustratedMessage/IllustratedMessage.d.ts +0 -13
  115. package/dist/types/elsie/src/components/IllustratedMessage/index.d.ts +0 -3
  116. package/dist/types/elsie/src/components/Image/Image.d.ts +0 -11
  117. package/dist/types/elsie/src/components/Image/index.d.ts +0 -2
  118. package/dist/types/elsie/src/components/ImageSwatch/ImageSwatch.d.ts +0 -20
  119. package/dist/types/elsie/src/components/ImageSwatch/index.d.ts +0 -3
  120. package/dist/types/elsie/src/components/InLineAlert/InLineAlert.d.ts +0 -19
  121. package/dist/types/elsie/src/components/InLineAlert/index.d.ts +0 -3
  122. package/dist/types/elsie/src/components/Incrementer/Incrementer.d.ts +0 -17
  123. package/dist/types/elsie/src/components/Incrementer/index.d.ts +0 -2
  124. package/dist/types/elsie/src/components/Input/Input.d.ts +0 -19
  125. package/dist/types/elsie/src/components/Input/index.d.ts +0 -3
  126. package/dist/types/elsie/src/components/InputDate/InputDate.d.ts +0 -11
  127. package/dist/types/elsie/src/components/InputDate/index.d.ts +0 -3
  128. package/dist/types/elsie/src/components/InputPassword/InputPassword.d.ts +0 -19
  129. package/dist/types/elsie/src/components/InputPassword/PasswordStatusIndicator/PasswordStatusIndicator.d.ts +0 -18
  130. package/dist/types/elsie/src/components/InputPassword/PasswordStatusIndicator/index.d.ts +0 -3
  131. package/dist/types/elsie/src/components/InputPassword/index.d.ts +0 -3
  132. package/dist/types/elsie/src/components/Modal/Modal.d.ts +0 -15
  133. package/dist/types/elsie/src/components/Modal/index.d.ts +0 -2
  134. package/dist/types/elsie/src/components/Pagination/Pagination.d.ts +0 -15
  135. package/dist/types/elsie/src/components/Pagination/index.d.ts +0 -3
  136. package/dist/types/elsie/src/components/Picker/Picker.d.ts +0 -28
  137. package/dist/types/elsie/src/components/Picker/index.d.ts +0 -2
  138. package/dist/types/elsie/src/components/Price/Price.d.ts +0 -17
  139. package/dist/types/elsie/src/components/Price/index.d.ts +0 -2
  140. package/dist/types/elsie/src/components/PriceRange/PriceRange.d.ts +0 -17
  141. package/dist/types/elsie/src/components/PriceRange/index.d.ts +0 -3
  142. package/dist/types/elsie/src/components/ProgressSpinner/ProgressSpinner.d.ts +0 -14
  143. package/dist/types/elsie/src/components/ProgressSpinner/index.d.ts +0 -3
  144. package/dist/types/elsie/src/components/RadioButton/RadioButton.d.ts +0 -16
  145. package/dist/types/elsie/src/components/RadioButton/index.d.ts +0 -3
  146. package/dist/types/elsie/src/components/Skeleton/Skeleton.d.ts +0 -17
  147. package/dist/types/elsie/src/components/Skeleton/index.d.ts +0 -2
  148. package/dist/types/elsie/src/components/Tag/Tag.d.ts +0 -9
  149. package/dist/types/elsie/src/components/Tag/index.d.ts +0 -3
  150. package/dist/types/elsie/src/components/TextArea/TextArea.d.ts +0 -11
  151. package/dist/types/elsie/src/components/TextArea/index.d.ts +0 -3
  152. package/dist/types/elsie/src/components/TextSwatch/TextSwatch.d.ts +0 -18
  153. package/dist/types/elsie/src/components/TextSwatch/index.d.ts +0 -3
  154. package/dist/types/elsie/src/components/ToggleButton/ToggleButton.d.ts +0 -14
  155. package/dist/types/elsie/src/components/ToggleButton/index.d.ts +0 -3
  156. package/dist/types/elsie/src/components/UIProvider/UIProvider.d.ts +0 -19
  157. package/dist/types/elsie/src/components/UIProvider/index.d.ts +0 -2
  158. package/dist/types/elsie/src/components/index.d.ts +0 -41
  159. package/dist/types/elsie/src/i18n/en_US.json.d.ts +0 -149
  160. package/dist/types/elsie/src/i18n/index.d.ts +0 -443
  161. package/dist/types/elsie/src/icons/index.d.ts +0 -43
  162. package/dist/types/elsie/src/lib/classes.d.ts +0 -6
  163. package/dist/types/elsie/src/lib/config.d.ts +0 -7
  164. package/dist/types/elsie/src/lib/debounce.d.ts +0 -2
  165. package/dist/types/elsie/src/lib/deepmerge.d.ts +0 -5
  166. package/dist/types/elsie/src/lib/deviceUtils.d.ts +0 -2
  167. package/dist/types/elsie/src/lib/form-values.d.ts +0 -5
  168. package/dist/types/elsie/src/lib/i18n.d.ts +0 -8
  169. package/dist/types/elsie/src/lib/image-params-keymap.d.ts +0 -4
  170. package/dist/types/elsie/src/lib/index.d.ts +0 -16
  171. package/dist/types/elsie/src/lib/initializer.d.ts +0 -81
  172. package/dist/types/elsie/src/lib/is-number.d.ts +0 -2
  173. package/dist/types/elsie/src/lib/render.d.ts +0 -42
  174. package/dist/types/elsie/src/lib/resolve-image.d.ts +0 -10
  175. package/dist/types/elsie/src/lib/signals.d.ts +0 -2
  176. package/dist/types/elsie/src/lib/slot.d.ts +0 -45
  177. package/dist/types/elsie/src/lib/tests.d.ts +0 -5
  178. package/dist/types/elsie/src/lib/types.d.ts +0 -10
  179. package/dist/types/elsie/src/lib/vcomponent.d.ts +0 -9
  180. package/dist/types/event-bus/src/events-catalog.d.ts +0 -16
  181. package/dist/types/event-bus/src/index.d.ts +0 -53
  182. package/dist/types/fetch-graphql/src/index.d.ts +0 -105
  183. package/dist/types/recaptcha/src/configs/index.d.ts +0 -4
  184. package/dist/types/recaptcha/src/configs/message.config.d.ts +0 -8
  185. package/dist/types/recaptcha/src/configs/recaptchaBadgeSelector.config.d.ts +0 -2
  186. package/dist/types/recaptcha/src/configs/typeForms.config.d.ts +0 -2
  187. package/dist/types/recaptcha/src/graphql/recaptchaConfig.graphql.d.ts +0 -2
  188. package/dist/types/recaptcha/src/index.d.ts +0 -42
  189. package/dist/types/recaptcha/src/lib/_checkRecaptchaBadge.d.ts +0 -2
  190. package/dist/types/recaptcha/src/lib/_convertKeysToCamelCase.d.ts +0 -6
  191. package/dist/types/recaptcha/src/lib/_extendConfig.d.ts +0 -4
  192. package/dist/types/recaptcha/src/lib/_storageConfig.d.ts +0 -6
  193. package/dist/types/recaptcha/src/lib/index.d.ts +0 -5
  194. package/dist/types/recaptcha/src/services/recaptcha.service.d.ts +0 -6
@@ -1,149 +0,0 @@
1
- declare const _default: {
2
- "Dropin": {
3
- "ExampleComponentName": {
4
- "item": {
5
- "label": "string"
6
- }
7
- },
8
- "Pagination": {
9
- "backwardButton": {
10
- "ariaLabel": "Go to previous page"
11
- },
12
- "forwardButton": {
13
- "ariaLabel": "Go to next page"
14
- }
15
- },
16
- "Incrementer": {
17
- "decreaseLabel": "Decrease Quantity",
18
- "increaseLabel": "Increase Quantity",
19
- "label": "Quantity",
20
- "errorMessage": "Enter a valid quantity",
21
- "minQuantityMessage": "Enter at least {{minQuantity}}",
22
- "maxQuantityMessage": "Maximum quantity is {{maxQuantity}}"
23
- },
24
- "Modal": {
25
- "Close": {
26
- "label": "Close"
27
- }
28
- },
29
- "InputPassword": {
30
- "placeholder": "Password",
31
- "floatingLabel": "Password",
32
- "buttonShowTitle": "Click to show password",
33
- "buttonHideTitle": "Click to hide password"
34
- },
35
- "PasswordStatusIndicator": {
36
- "chartTwoSymbols": "Use characters and numbers or symbols",
37
- "chartThreeSymbols": "Use characters, numbers and symbols",
38
- "chartFourSymbols": "Use uppercase characters, lowercase characters, numbers and symbols",
39
- "messageLengthPassword": "At least {minLength} characters long"
40
- },
41
- "InlineAlert": {
42
- "dismissLabel": "Dismiss Alert"
43
- },
44
- "PriceSummary": {
45
- "subTotal": {
46
- "label": "Subtotal",
47
- "withTaxes": "Including taxes",
48
- "withoutTaxes": "excluding taxes"
49
- },
50
- "shipping": {
51
- "label": "Shipping",
52
- "editZipAction": "Apply",
53
- "estimated": "Estimated Shipping",
54
- "estimatedDestination": "Estimated Shipping to ",
55
- "destinationLinkAriaLabel": "Change destination",
56
- "zipPlaceholder": "Zip Code",
57
- "withTaxes": "Including taxes",
58
- "withoutTaxes": "excluding taxes",
59
- "alternateField": {
60
- "zip": "Estimate using country/zip",
61
- "state": "Estimate using country/state"
62
- }
63
- },
64
- "taxes": {
65
- "total": "Tax Total",
66
- "totalOnly": "Tax",
67
- "breakdown": "Taxes",
68
- "showBreakdown": "Show Tax Breakdown",
69
- "hideBreakdown": "Hide Tax Breakdown",
70
- "estimated": "Estimated Tax"
71
- },
72
- "total": {
73
- "estimated": "Estimated Total",
74
- "label": "Total",
75
- "withoutTax": "Total excluding taxes"
76
- }
77
- },
78
- "ProgressSpinner": {
79
- "updating": {
80
- "label": "Item is updating"
81
- },
82
- "updatingChildren": {
83
- "label": "Items are updating"
84
- }
85
- },
86
- "PriceRange": {
87
- "from": {
88
- "label": "From"
89
- },
90
- "to": {
91
- "label": "to"
92
- },
93
- "asLowAs": {
94
- "label": "As low as"
95
- }
96
- },
97
- "Swatches": {
98
- "outOfStock": {
99
- "label": "out of stock swatch"
100
- },
101
- "selected": {
102
- "label": "swatch selected"
103
- },
104
- "swatch": {
105
- "label": "swatch"
106
- }
107
- },
108
- "Accordion": {
109
- "open": {
110
- "label": "Open"
111
- },
112
- "close": {
113
- "label": "Close"
114
- }
115
- },
116
- "CartItem": {
117
- "each": {
118
- "label": "each"
119
- },
120
- "pricePerItem": {
121
- "label": "price per item"
122
- },
123
- "quantity": {
124
- "label": "Quantity"
125
- },
126
- "remove": {
127
- "label": "Remove {product} from the cart"
128
- },
129
- "removeDefault": {
130
- "label": "Remove item from the cart"
131
- },
132
- "taxIncluded": {
133
- "label": "incl. VAT"
134
- },
135
- "taxExcluded": {
136
- "label": "excl. tax"
137
- },
138
- "updating": {
139
- "label": "{product} is updating"
140
- }
141
- },
142
- "InputDate": {
143
- "picker": "Select a date"
144
- }
145
- }
146
- }
147
- ;
148
-
149
- export default _default;
@@ -1,443 +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
- Pagination: {
11
- backwardButton: {
12
- ariaLabel: string;
13
- };
14
- forwardButton: {
15
- ariaLabel: string;
16
- };
17
- };
18
- Incrementer: {
19
- decreaseLabel: string;
20
- increaseLabel: string;
21
- label: string;
22
- errorMessage: string;
23
- minQuantityMessage: string;
24
- maxQuantityMessage: string;
25
- };
26
- Modal: {
27
- Close: {
28
- label: string;
29
- };
30
- };
31
- InputPassword: {
32
- placeholder: string;
33
- floatingLabel: string;
34
- buttonShowTitle: string;
35
- buttonHideTitle: string;
36
- };
37
- PasswordStatusIndicator: {
38
- chartTwoSymbols: string;
39
- chartThreeSymbols: string;
40
- chartFourSymbols: string;
41
- messageLengthPassword: string;
42
- };
43
- InlineAlert: {
44
- dismissLabel: string;
45
- };
46
- PriceSummary: {
47
- subTotal: {
48
- label: string;
49
- withTaxes: string;
50
- withoutTaxes: string;
51
- };
52
- shipping: {
53
- label: string;
54
- editZipAction: string;
55
- estimated: string;
56
- estimatedDestination: string;
57
- destinationLinkAriaLabel: string;
58
- zipPlaceholder: string;
59
- withTaxes: string;
60
- withoutTaxes: string;
61
- alternateField: {
62
- zip: string;
63
- state: string;
64
- };
65
- };
66
- taxes: {
67
- total: string;
68
- totalOnly: string;
69
- breakdown: string;
70
- showBreakdown: string;
71
- hideBreakdown: string;
72
- estimated: string;
73
- };
74
- total: {
75
- estimated: string;
76
- label: string;
77
- withoutTax: string;
78
- };
79
- };
80
- ProgressSpinner: {
81
- updating: {
82
- label: string;
83
- };
84
- updatingChildren: {
85
- label: string;
86
- };
87
- };
88
- PriceRange: {
89
- from: {
90
- label: string;
91
- };
92
- to: {
93
- label: string;
94
- };
95
- asLowAs: {
96
- label: string;
97
- };
98
- };
99
- Swatches: {
100
- outOfStock: {
101
- label: string;
102
- };
103
- selected: {
104
- label: string;
105
- };
106
- swatch: {
107
- label: string;
108
- };
109
- };
110
- Accordion: {
111
- open: {
112
- label: string;
113
- };
114
- close: {
115
- label: string;
116
- };
117
- };
118
- CartItem: {
119
- each: {
120
- label: string;
121
- };
122
- pricePerItem: {
123
- label: string;
124
- };
125
- quantity: {
126
- label: string;
127
- };
128
- remove: {
129
- label: string;
130
- };
131
- removeDefault: {
132
- label: string;
133
- };
134
- taxIncluded: {
135
- label: string;
136
- };
137
- taxExcluded: {
138
- label: string;
139
- };
140
- updating: {
141
- label: string;
142
- };
143
- };
144
- InputDate: {
145
- picker: string;
146
- };
147
- };
148
- };
149
- en_US: {
150
- Dropin: {
151
- ExampleComponentName: {
152
- item: {
153
- label: string;
154
- };
155
- };
156
- Pagination: {
157
- backwardButton: {
158
- ariaLabel: string;
159
- };
160
- forwardButton: {
161
- ariaLabel: string;
162
- };
163
- };
164
- Incrementer: {
165
- decreaseLabel: string;
166
- increaseLabel: string;
167
- label: string;
168
- errorMessage: string;
169
- minQuantityMessage: string;
170
- maxQuantityMessage: string;
171
- };
172
- Modal: {
173
- Close: {
174
- label: string;
175
- };
176
- };
177
- InputPassword: {
178
- placeholder: string;
179
- floatingLabel: string;
180
- buttonShowTitle: string;
181
- buttonHideTitle: string;
182
- };
183
- PasswordStatusIndicator: {
184
- chartTwoSymbols: string;
185
- chartThreeSymbols: string;
186
- chartFourSymbols: string;
187
- messageLengthPassword: string;
188
- };
189
- InlineAlert: {
190
- dismissLabel: string;
191
- };
192
- PriceSummary: {
193
- subTotal: {
194
- label: string;
195
- withTaxes: string;
196
- withoutTaxes: string;
197
- };
198
- shipping: {
199
- label: string;
200
- editZipAction: string;
201
- estimated: string;
202
- estimatedDestination: string;
203
- destinationLinkAriaLabel: string;
204
- zipPlaceholder: string;
205
- withTaxes: string;
206
- withoutTaxes: string;
207
- alternateField: {
208
- zip: string;
209
- state: string;
210
- };
211
- };
212
- taxes: {
213
- total: string;
214
- totalOnly: string;
215
- breakdown: string;
216
- showBreakdown: string;
217
- hideBreakdown: string;
218
- estimated: string;
219
- };
220
- total: {
221
- estimated: string;
222
- label: string;
223
- withoutTax: string;
224
- };
225
- };
226
- ProgressSpinner: {
227
- updating: {
228
- label: string;
229
- };
230
- updatingChildren: {
231
- label: string;
232
- };
233
- };
234
- PriceRange: {
235
- from: {
236
- label: string;
237
- };
238
- to: {
239
- label: string;
240
- };
241
- asLowAs: {
242
- label: string;
243
- };
244
- };
245
- Swatches: {
246
- outOfStock: {
247
- label: string;
248
- };
249
- selected: {
250
- label: string;
251
- };
252
- swatch: {
253
- label: string;
254
- };
255
- };
256
- Accordion: {
257
- open: {
258
- label: string;
259
- };
260
- close: {
261
- label: string;
262
- };
263
- };
264
- CartItem: {
265
- each: {
266
- label: string;
267
- };
268
- pricePerItem: {
269
- label: string;
270
- };
271
- quantity: {
272
- label: string;
273
- };
274
- remove: {
275
- label: string;
276
- };
277
- removeDefault: {
278
- label: string;
279
- };
280
- taxIncluded: {
281
- label: string;
282
- };
283
- taxExcluded: {
284
- label: string;
285
- };
286
- updating: {
287
- label: string;
288
- };
289
- };
290
- InputDate: {
291
- picker: string;
292
- };
293
- };
294
- };
295
- };
296
- export * from 'preact-i18n';
297
- export declare const getDefinitionByLanguage: (lang: Lang) => {
298
- Dropin: {
299
- ExampleComponentName: {
300
- item: {
301
- label: string;
302
- };
303
- };
304
- Pagination: {
305
- backwardButton: {
306
- ariaLabel: string;
307
- };
308
- forwardButton: {
309
- ariaLabel: string;
310
- };
311
- };
312
- Incrementer: {
313
- decreaseLabel: string;
314
- increaseLabel: string;
315
- label: string;
316
- errorMessage: string;
317
- minQuantityMessage: string;
318
- maxQuantityMessage: string;
319
- };
320
- Modal: {
321
- Close: {
322
- label: string;
323
- };
324
- };
325
- InputPassword: {
326
- placeholder: string;
327
- floatingLabel: string;
328
- buttonShowTitle: string;
329
- buttonHideTitle: string;
330
- };
331
- PasswordStatusIndicator: {
332
- chartTwoSymbols: string;
333
- chartThreeSymbols: string;
334
- chartFourSymbols: string;
335
- messageLengthPassword: string;
336
- };
337
- InlineAlert: {
338
- dismissLabel: string;
339
- };
340
- PriceSummary: {
341
- subTotal: {
342
- label: string;
343
- withTaxes: string;
344
- withoutTaxes: string;
345
- };
346
- shipping: {
347
- label: string;
348
- editZipAction: string;
349
- estimated: string;
350
- estimatedDestination: string;
351
- destinationLinkAriaLabel: string;
352
- zipPlaceholder: string;
353
- withTaxes: string;
354
- withoutTaxes: string;
355
- alternateField: {
356
- zip: string;
357
- state: string;
358
- };
359
- };
360
- taxes: {
361
- total: string;
362
- totalOnly: string;
363
- breakdown: string;
364
- showBreakdown: string;
365
- hideBreakdown: string;
366
- estimated: string;
367
- };
368
- total: {
369
- estimated: string;
370
- label: string;
371
- withoutTax: string;
372
- };
373
- };
374
- ProgressSpinner: {
375
- updating: {
376
- label: string;
377
- };
378
- updatingChildren: {
379
- label: string;
380
- };
381
- };
382
- PriceRange: {
383
- from: {
384
- label: string;
385
- };
386
- to: {
387
- label: string;
388
- };
389
- asLowAs: {
390
- label: string;
391
- };
392
- };
393
- Swatches: {
394
- outOfStock: {
395
- label: string;
396
- };
397
- selected: {
398
- label: string;
399
- };
400
- swatch: {
401
- label: string;
402
- };
403
- };
404
- Accordion: {
405
- open: {
406
- label: string;
407
- };
408
- close: {
409
- label: string;
410
- };
411
- };
412
- CartItem: {
413
- each: {
414
- label: string;
415
- };
416
- pricePerItem: {
417
- label: string;
418
- };
419
- quantity: {
420
- label: string;
421
- };
422
- remove: {
423
- label: string;
424
- };
425
- removeDefault: {
426
- label: string;
427
- };
428
- taxIncluded: {
429
- label: string;
430
- };
431
- taxExcluded: {
432
- label: string;
433
- };
434
- updating: {
435
- label: string;
436
- };
437
- };
438
- InputDate: {
439
- picker: string;
440
- };
441
- };
442
- };
443
- //# sourceMappingURL=index.d.ts.map
@@ -1,43 +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
- export { default as Eye } from './Eye.svg';
36
- export { default as EyeClose } from './EyeClose.svg';
37
- export { default as Date } from './Date.svg';
38
- export { default as AddressBook } from './AddressBook.svg';
39
- export { default as EmptyBox } from './EmptyBox.svg';
40
- export { default as Coupon } from './Coupon.svg';
41
- export { default as Gift } from './Gift.svg';
42
- export { default as GiftCard } from './GiftCard.svg';
43
- //# sourceMappingURL=index.d.ts.map
@@ -1,6 +0,0 @@
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
@@ -1,7 +0,0 @@
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
@@ -1,2 +0,0 @@
1
- export declare const debounce: (fn: Function, ms: number) => (this: any, ...args: any[]) => void;
2
- //# sourceMappingURL=debounce.d.ts.map
@@ -1,5 +0,0 @@
1
- export { default as deepmerge } from 'deepmerge';
2
- export declare function merge<T>(prev: T, next?: {
3
- [key: string]: any;
4
- }): T;
5
- //# sourceMappingURL=deepmerge.d.ts.map
@@ -1,2 +0,0 @@
1
- export declare const isIOSMobileDevice: () => boolean;
2
- //# sourceMappingURL=deviceUtils.d.ts.map
@@ -1,5 +0,0 @@
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
@@ -1,8 +0,0 @@
1
- /**
2
- * Convert locale from Magento standard to react-intl BCP 47 language tag
3
- *
4
- * @param {string} locale - A locale (e.g. `fr_FR`).
5
- * @returns {string} A BCP 47 language tag (e.g. `fr-FR`).
6
- */
7
- export declare const toLanguageTag: (locale: string) => string;
8
- //# sourceMappingURL=i18n.d.ts.map
@@ -1,4 +0,0 @@
1
- export declare const setImageParamsKeyMap: (value: typeof this._map) => void, getImageParamsKeyMap: () => {
2
- [key: string]: string;
3
- } | undefined;
4
- //# sourceMappingURL=image-params-keymap.d.ts.map