@sonic-equipment/ui 0.0.118 → 1.0.0

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 (1518) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +5 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/address-info-display/address-info-display.d.ts +6 -0
  4. package/dist/address-info-display/address-info-display.js +10 -0
  5. package/dist/address-info-display/address-info-display.module.css.js +3 -0
  6. package/dist/algolia/algolia-active-categories.js +39 -0
  7. package/dist/algolia/algolia-active-filters.js +38 -0
  8. package/dist/algolia/algolia-categories-filters.js +27 -0
  9. package/dist/algolia/algolia-dummy-refinement-list-consumer.js +20 -0
  10. package/dist/algolia/algolia-filter-panel.js +39 -0
  11. package/dist/algolia/algolia-filter-panel.module.css.js +3 -0
  12. package/dist/algolia/algolia-hit-type.d.ts +2 -0
  13. package/dist/algolia/algolia-hit-type.js +6 -0
  14. package/dist/algolia/algolia-hits-provider.js +17 -0
  15. package/dist/algolia/algolia-index-config.d.ts +3 -1
  16. package/dist/algolia/algolia-index-config.js +77 -0
  17. package/dist/algolia/algolia-initialization.js +34 -0
  18. package/dist/algolia/algolia-insight-instant-search-provider.js +14 -0
  19. package/dist/algolia/algolia-insights-provider.js +25 -0
  20. package/dist/algolia/algolia-instant-search-state-provider.js +16 -0
  21. package/dist/algolia/algolia-multi-select-filter-section.js +27 -0
  22. package/dist/algolia/algolia-pagination.js +18 -0
  23. package/dist/algolia/algolia-provider.js +34 -0
  24. package/dist/algolia/algolia-query-string-routing.js +108 -0
  25. package/dist/algolia/algolia-results-count.js +22 -0
  26. package/dist/algolia/algolia-search-provider.js +176 -0
  27. package/dist/algolia/algolia-searchclient-offline.js +26 -0
  28. package/dist/algolia/algolia-sonic-searchclient.d.ts +2 -1
  29. package/dist/algolia/algolia-sonic-searchclient.js +26 -0
  30. package/dist/algolia/algolia-sort-by.js +29 -0
  31. package/dist/algolia/constants/index.d.ts +1 -0
  32. package/dist/algolia/constants/index.js +3 -0
  33. package/dist/algolia/filter-section.js +34 -0
  34. package/dist/algolia/filter-section.module.css.js +3 -0
  35. package/dist/algolia/use-algolia-hits.js +19 -0
  36. package/dist/algolia/use-algolia-insights-provider-global-state.js +9 -0
  37. package/dist/algolia/use-algolia-insights.d.ts +20 -6
  38. package/dist/algolia/use-algolia-insights.js +303 -0
  39. package/dist/algolia/use-algolia-instant-search-state.js +25 -0
  40. package/dist/algolia/use-algolia-search.d.ts +2 -1
  41. package/dist/algolia/use-algolia-search.js +41 -0
  42. package/dist/authentication/authenticated-container.d.ts +9 -0
  43. package/dist/authentication/authenticated-container.js +21 -0
  44. package/dist/background-overlay/background-overlay-manager.d.ts +178 -0
  45. package/dist/background-overlay/background-overlay-manager.js +297 -0
  46. package/dist/background-overlay/background-overlay.d.ts +12 -2
  47. package/dist/background-overlay/background-overlay.js +40 -0
  48. package/dist/badges/badge/badge.d.ts +5 -2
  49. package/dist/badges/badge/badge.js +18 -0
  50. package/dist/badges/badge/badge.module.css.js +3 -0
  51. package/dist/badges/badge/icon-with-badge/icon-with-badge.d.ts +11 -4
  52. package/dist/badges/badge/icon-with-badge/icon-with-badge.js +12 -0
  53. package/dist/badges/badge/icon-with-badge/icon-with-badge.module.css.js +3 -0
  54. package/dist/badges/tag/tag.js +11 -0
  55. package/dist/badges/tag/tag.module.css.js +3 -0
  56. package/dist/base.css +49 -0
  57. package/dist/breadcrumbs/breadcrumb.js +26 -0
  58. package/dist/breadcrumbs/breadcrumb.module.css.js +3 -0
  59. package/dist/buttons/add-to-cart-button/add-to-cart-button.d.ts +1 -3
  60. package/dist/buttons/add-to-cart-button/add-to-cart-button.js +118 -0
  61. package/dist/buttons/add-to-cart-button/add-to-cart-button.module.css.js +3 -0
  62. package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.d.ts +1 -1
  63. package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.js +126 -0
  64. package/dist/buttons/button/button.d.ts +14 -2
  65. package/dist/buttons/button/button.js +36 -0
  66. package/dist/buttons/button/button.module.css.js +3 -0
  67. package/dist/buttons/close-button/close-button.d.ts +12 -0
  68. package/dist/buttons/close-button/close-button.js +11 -0
  69. package/dist/buttons/close-button/close-button.module.css.js +3 -0
  70. package/dist/buttons/favorite/connected-favorite-button.d.ts +1 -1
  71. package/dist/buttons/favorite/connected-favorite-button.js +56 -0
  72. package/dist/buttons/favorite/favorite-button.d.ts +1 -1
  73. package/dist/buttons/favorite/favorite-button.js +15 -0
  74. package/dist/buttons/favorite/favorite-button.module.css.js +3 -0
  75. package/dist/buttons/icon-button/icon-button.d.ts +20 -6
  76. package/dist/buttons/icon-button/icon-button.js +24 -0
  77. package/dist/buttons/icon-button/icon-button.module.css.js +3 -0
  78. package/dist/buttons/link/link.d.ts +19 -5
  79. package/dist/buttons/link/link.js +18 -0
  80. package/dist/buttons/link/link.module.css.js +3 -0
  81. package/dist/buttons/print-button/print-button.d.ts +2 -1
  82. package/dist/buttons/print-button/print-button.js +10 -0
  83. package/dist/buttons/reorder-button/connected-reorder-button.d.ts +4 -0
  84. package/dist/buttons/reorder-button/connected-reorder-button.js +38 -0
  85. package/dist/buttons/reorder-button/reorder-button.d.ts +9 -0
  86. package/dist/buttons/reorder-button/reorder-button.js +12 -0
  87. package/dist/cards/category-card/category-card.d.ts +3 -2
  88. package/dist/cards/category-card/category-card.js +14 -0
  89. package/dist/cards/category-card/category-card.module.css.js +3 -0
  90. package/dist/cards/data-card/data-card.d.ts +39 -0
  91. package/dist/cards/data-card/data-card.js +68 -0
  92. package/dist/cards/data-card/data-card.module.css.js +3 -0
  93. package/dist/cards/orderline-card/connected-orderline-card.d.ts +2 -2
  94. package/dist/cards/orderline-card/connected-orderline-card.js +13 -0
  95. package/dist/cards/orderline-card/connected-remove-button.d.ts +2 -2
  96. package/dist/cards/orderline-card/connected-remove-button.js +18 -0
  97. package/dist/cards/orderline-card/orderline-card.d.ts +5 -5
  98. package/dist/cards/orderline-card/orderline-card.js +22 -0
  99. package/dist/cards/orderline-card/orderline-card.module.css.js +3 -0
  100. package/dist/cards/product-card/connected-product-card.d.ts +6 -2
  101. package/dist/cards/product-card/connected-product-card.js +11 -0
  102. package/dist/cards/product-card/product-card.d.ts +4 -2
  103. package/dist/cards/product-card/product-card.js +22 -0
  104. package/dist/cards/product-card/product-card.module.css.js +3 -0
  105. package/dist/cards/table-card/table-card.d.ts +15 -0
  106. package/dist/cards/table-card/table-card.js +15 -0
  107. package/dist/cards/table-card/table-card.module.css.js +3 -0
  108. package/dist/carousel/card-carousel/card-carousel.js +24 -0
  109. package/dist/carousel/card-carousel/card-carousel.module.css.js +3 -0
  110. package/dist/carousel/carousel-navigation-button.js +12 -0
  111. package/dist/carousel/carousel-navigation-button.module.css.js +3 -0
  112. package/dist/carousel/carousel.js +69 -0
  113. package/dist/carousel/carousel.module.css.js +3 -0
  114. package/dist/carousel/category-carousel/category-carousel.js +10 -0
  115. package/dist/carousel/category-carousel/category-carousel.module.css.js +3 -0
  116. package/dist/carousel/pagination/pagination.d.ts +1 -1
  117. package/dist/carousel/pagination/pagination.js +36 -0
  118. package/dist/carousel/pagination/pagination.module.css.js +3 -0
  119. package/dist/carousel/pagination/transitions.js +144 -0
  120. package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +13 -0
  121. package/dist/carousel/usp-carousel/product-usp-carousel.js +10 -0
  122. package/dist/carousel/usp-carousel/usp-carousel.js +49 -0
  123. package/dist/carousel/usp-carousel/usp-carousel.module.css.js +3 -0
  124. package/dist/cart-totals/cart-totals-summary.d.ts +7 -0
  125. package/dist/cart-totals/cart-totals-summary.js +13 -0
  126. package/dist/cart-totals/cart-totals-summary.module.css.js +3 -0
  127. package/dist/cart-totals/cart-totals.d.ts +11 -8
  128. package/dist/cart-totals/cart-totals.js +15 -0
  129. package/dist/cart-totals/cart-totals.module.css.js +3 -0
  130. package/dist/collapsables/accordion/accordion-item.d.ts +4 -1
  131. package/dist/collapsables/accordion/accordion-item.js +36 -0
  132. package/dist/collapsables/accordion/accordion.d.ts +11 -2
  133. package/dist/collapsables/accordion/accordion.js +35 -0
  134. package/dist/collapsables/accordion/accordion.module.css.js +3 -0
  135. package/dist/collapsables/cascading-component/cascading-component-container-context.d.ts +2 -0
  136. package/dist/collapsables/cascading-component/cascading-component-container-context.js +6 -0
  137. package/dist/collapsables/cascading-component/cascading-component-container-provider.d.ts +7 -0
  138. package/dist/collapsables/cascading-component/cascading-component-container-provider.js +29 -0
  139. package/dist/collapsables/cascading-component/cascading-component-container.d.ts +8 -0
  140. package/dist/collapsables/cascading-component/cascading-component-container.js +9 -0
  141. package/dist/collapsables/cascading-component/cascading-component.d.ts +17 -0
  142. package/dist/collapsables/cascading-component/cascading-component.js +45 -0
  143. package/dist/collapsables/cascading-component/types.d.ts +11 -0
  144. package/dist/collapsables/cascading-component/use-cascading-component-container.d.ts +2 -0
  145. package/dist/collapsables/cascading-component/use-cascading-component-container.js +9 -0
  146. package/dist/collapsables/cascading-component/use-cascading-component.d.ts +2 -0
  147. package/dist/collapsables/cascading-component/use-cascading-component.js +15 -0
  148. package/dist/collapsables/cascading-component/use-has-cascading-component-container.d.ts +1 -0
  149. package/dist/collapsables/cascading-component/use-has-cascading-component-container.js +8 -0
  150. package/dist/collapsables/show-all/show-all.js +35 -0
  151. package/dist/collapsables/show-all/show-all.module.css.js +3 -0
  152. package/dist/collapsables/unmounter/unmounter.d.ts +14 -0
  153. package/dist/collapsables/unmounter/unmounter.js +44 -0
  154. package/dist/collapsables/unmounter/utils.d.ts +2 -0
  155. package/dist/collapsables/unmounter/utils.js +21 -0
  156. package/dist/config.d.ts +4 -2
  157. package/dist/config.js +116 -0
  158. package/dist/cookies/client-cookie-context.d.ts +3 -0
  159. package/dist/cookies/client-cookie-context.js +30 -0
  160. package/dist/cookies/cookie-context.d.ts +2 -0
  161. package/dist/cookies/cookie-context.js +6 -0
  162. package/dist/cookies/cookie-provider.d.ts +6 -0
  163. package/dist/cookies/cookie-provider.js +10 -0
  164. package/dist/cookies/readonly-cookie-reader.d.ts +2 -0
  165. package/dist/cookies/readonly-cookie-reader.js +18 -0
  166. package/dist/cookies/types.d.ts +14 -0
  167. package/dist/cookies/types.js +7 -0
  168. package/dist/{shared/hooks → cookies}/use-cookie.d.ts +1 -1
  169. package/dist/cookies/use-cookie.js +33 -0
  170. package/dist/country-language-selection-list/connected-country-language-selection-list.d.ts +1 -0
  171. package/dist/country-language-selection-list/connected-country-language-selection-list.js +267 -0
  172. package/dist/country-language-selection-list/country-language-selection-list.d.ts +18 -0
  173. package/dist/country-language-selection-list/country-language-selection-list.js +54 -0
  174. package/dist/country-language-selection-list/country-language-selection-list.module.css.js +3 -0
  175. package/dist/country-language-selector/connected-country-language-selector.d.ts +11 -0
  176. package/dist/country-language-selector/connected-country-language-selector.js +155 -0
  177. package/dist/country-language-selector/country-language-selector.d.ts +18 -0
  178. package/dist/country-language-selector/country-language-selector.js +52 -0
  179. package/dist/country-language-selector/country-language-selector.module.css.js +3 -0
  180. package/dist/country-language-selector-button/connected-country-language-selector-button.d.ts +1 -0
  181. package/dist/country-language-selector-button/connected-country-language-selector-button.js +22 -0
  182. package/dist/country-language-selector-button/country-language-selector-button.d.ts +7 -0
  183. package/dist/country-language-selector-button/country-language-selector-button.js +18 -0
  184. package/dist/country-language-selector-button/country-language-selector-button.module.css.js +3 -0
  185. package/dist/country-select/country-select.d.ts +29 -0
  186. package/dist/country-select/country-select.js +29 -0
  187. package/dist/country-select/hooks/use-countries.d.ts +12 -0
  188. package/dist/country-select/hooks/use-countries.js +55 -0
  189. package/dist/country-selector/connected-country-selector.d.ts +8 -8
  190. package/dist/country-selector/connected-country-selector.js +58 -0
  191. package/dist/country-selector/country-selector-dialog/country-selector-dialog.d.ts +2 -2
  192. package/dist/country-selector/country-selector-dialog/country-selector-dialog.js +34 -0
  193. package/dist/country-selector/country-selector-dialog/country-selector-dialog.module.css.js +3 -0
  194. package/dist/country-selector/country-selector-trigger/country-selector-trigger.d.ts +2 -3
  195. package/dist/country-selector/country-selector-trigger/country-selector-trigger.js +24 -0
  196. package/dist/country-selector/country-selector-trigger/country-selector-trigger.module.css.js +3 -0
  197. package/dist/country-selector/use-countries-languages.d.ts +23 -6
  198. package/dist/country-selector/use-countries-languages.js +95 -0
  199. package/dist/delivery-time/delivery-time.d.ts +2 -2
  200. package/dist/delivery-time/delivery-time.js +32 -0
  201. package/dist/delivery-time/delivery-time.module.css.js +3 -0
  202. package/dist/display/details/details.d.ts +7 -0
  203. package/dist/display/details/details.js +11 -0
  204. package/dist/display/details/details.module.css.js +3 -0
  205. package/dist/display/info-display/info-display.d.ts +7 -0
  206. package/dist/display/info-display/info-display.js +9 -0
  207. package/dist/display/info-display/info-display.module.css.js +3 -0
  208. package/dist/display/price/price.d.ts +18 -0
  209. package/dist/display/price/price.js +41 -0
  210. package/dist/display/price/price.module.css.js +3 -0
  211. package/dist/display/product-sku/product-sku.d.ts +2 -1
  212. package/dist/display/product-sku/product-sku.js +10 -0
  213. package/dist/display/product-sku/product-sku.module.css.js +3 -0
  214. package/dist/drawer/drawer.d.ts +28 -0
  215. package/dist/drawer/drawer.js +49 -0
  216. package/dist/drawer/drawer.module.css.js +3 -0
  217. package/dist/drawer/use-drawer.d.ts +17 -0
  218. package/dist/drawer/use-drawer.js +67 -0
  219. package/dist/exports.d.ts +589 -0
  220. package/dist/filters/active-filters/active-filters.d.ts +1 -1
  221. package/dist/filters/active-filters/active-filters.js +19 -0
  222. package/dist/filters/active-filters/active-filters.module.css.js +3 -0
  223. package/dist/filters/multi-select/multi-select.js +21 -0
  224. package/dist/filters/multi-select/multi-select.module.css.js +3 -0
  225. package/dist/filters/pagination/pagination.js +14 -0
  226. package/dist/filters/pagination/pagination.module.css.js +3 -0
  227. package/dist/flag/flag.d.ts +8 -0
  228. package/dist/flag/flag.js +11 -0
  229. package/dist/flag/flag.module.css.js +3 -0
  230. package/dist/flags/flag-ad.d.ts +1 -0
  231. package/dist/flags/flag-ad.js +7 -0
  232. package/dist/flags/flag-ae.d.ts +1 -0
  233. package/dist/flags/flag-ae.js +7 -0
  234. package/dist/flags/flag-al.d.ts +1 -0
  235. package/dist/flags/flag-al.js +7 -0
  236. package/dist/flags/flag-at.d.ts +1 -0
  237. package/dist/flags/flag-at.js +7 -0
  238. package/dist/flags/flag-ba.d.ts +1 -0
  239. package/dist/flags/flag-ba.js +7 -0
  240. package/dist/flags/flag-be.d.ts +1 -0
  241. package/dist/flags/flag-be.js +7 -0
  242. package/dist/flags/flag-bg.d.ts +1 -0
  243. package/dist/flags/flag-bg.js +7 -0
  244. package/dist/flags/flag-br.d.ts +1 -0
  245. package/dist/flags/flag-br.js +7 -0
  246. package/dist/flags/flag-ca.d.ts +1 -0
  247. package/dist/flags/flag-ca.js +7 -0
  248. package/dist/flags/flag-ch.d.ts +1 -0
  249. package/dist/flags/flag-ch.js +7 -0
  250. package/dist/flags/flag-cy.d.ts +1 -0
  251. package/dist/flags/flag-cy.js +7 -0
  252. package/dist/flags/flag-cz.d.ts +1 -0
  253. package/dist/flags/flag-cz.js +7 -0
  254. package/dist/flags/flag-de.d.ts +1 -0
  255. package/dist/flags/flag-de.js +7 -0
  256. package/dist/flags/flag-dj.d.ts +1 -0
  257. package/dist/flags/flag-dj.js +7 -0
  258. package/dist/flags/flag-dk.d.ts +1 -0
  259. package/dist/flags/flag-dk.js +7 -0
  260. package/dist/flags/flag-ec.d.ts +1 -0
  261. package/dist/flags/flag-ec.js +7 -0
  262. package/dist/flags/flag-ee.d.ts +1 -0
  263. package/dist/flags/flag-ee.js +7 -0
  264. package/dist/flags/flag-es.d.ts +1 -0
  265. package/dist/flags/flag-es.js +7 -0
  266. package/dist/flags/flag-eu.d.ts +1 -0
  267. package/dist/flags/flag-eu.js +7 -0
  268. package/dist/flags/flag-fi.d.ts +1 -0
  269. package/dist/flags/flag-fi.js +7 -0
  270. package/dist/flags/flag-fr.d.ts +1 -0
  271. package/dist/flags/flag-fr.js +7 -0
  272. package/dist/flags/flag-gb.d.ts +1 -0
  273. package/dist/flags/flag-gb.js +7 -0
  274. package/dist/flags/flag-gr.d.ts +1 -0
  275. package/dist/flags/flag-gr.js +7 -0
  276. package/dist/flags/flag-hr.d.ts +1 -0
  277. package/dist/flags/flag-hr.js +7 -0
  278. package/dist/flags/flag-hu.d.ts +1 -0
  279. package/dist/flags/flag-hu.js +7 -0
  280. package/dist/flags/flag-ie.d.ts +1 -0
  281. package/dist/flags/flag-ie.js +7 -0
  282. package/dist/flags/flag-iq.d.ts +1 -0
  283. package/dist/flags/flag-iq.js +7 -0
  284. package/dist/flags/flag-is.d.ts +1 -0
  285. package/dist/flags/flag-is.js +7 -0
  286. package/dist/flags/flag-it.d.ts +1 -0
  287. package/dist/flags/flag-it.js +7 -0
  288. package/dist/flags/flag-kw.d.ts +1 -0
  289. package/dist/flags/flag-kw.js +7 -0
  290. package/dist/flags/flag-kz.d.ts +1 -0
  291. package/dist/flags/flag-kz.js +7 -0
  292. package/dist/flags/flag-lb.d.ts +1 -0
  293. package/dist/flags/flag-lb.js +7 -0
  294. package/dist/flags/flag-lt.d.ts +1 -0
  295. package/dist/flags/flag-lt.js +7 -0
  296. package/dist/flags/flag-lu.d.ts +1 -0
  297. package/dist/flags/flag-lu.js +7 -0
  298. package/dist/flags/flag-lv.d.ts +1 -0
  299. package/dist/flags/flag-lv.js +7 -0
  300. package/dist/flags/flag-ma.d.ts +1 -0
  301. package/dist/flags/flag-ma.js +7 -0
  302. package/dist/flags/flag-mc.d.ts +1 -0
  303. package/dist/flags/flag-mc.js +7 -0
  304. package/dist/flags/flag-md.d.ts +1 -0
  305. package/dist/flags/flag-md.js +7 -0
  306. package/dist/flags/flag-me.d.ts +1 -0
  307. package/dist/flags/flag-me.js +7 -0
  308. package/dist/flags/flag-mk.d.ts +1 -0
  309. package/dist/flags/flag-mk.js +7 -0
  310. package/dist/flags/flag-mt.d.ts +1 -0
  311. package/dist/flags/flag-mt.js +7 -0
  312. package/dist/flags/flag-mx.d.ts +1 -0
  313. package/dist/flags/flag-mx.js +7 -0
  314. package/dist/flags/flag-my.d.ts +1 -0
  315. package/dist/flags/flag-my.js +7 -0
  316. package/dist/flags/flag-nl.d.ts +1 -0
  317. package/dist/flags/flag-nl.js +7 -0
  318. package/dist/flags/flag-no.d.ts +1 -0
  319. package/dist/flags/flag-no.js +7 -0
  320. package/dist/flags/flag-pl.d.ts +1 -0
  321. package/dist/flags/flag-pl.js +7 -0
  322. package/dist/flags/flag-pt.d.ts +1 -0
  323. package/dist/flags/flag-pt.js +7 -0
  324. package/dist/flags/flag-ro.d.ts +1 -0
  325. package/dist/flags/flag-ro.js +7 -0
  326. package/dist/flags/flag-rs.d.ts +1 -0
  327. package/dist/flags/flag-rs.js +7 -0
  328. package/dist/flags/flag-sa.d.ts +1 -0
  329. package/dist/flags/flag-sa.js +7 -0
  330. package/dist/flags/flag-se.d.ts +1 -0
  331. package/dist/flags/flag-se.js +7 -0
  332. package/dist/flags/flag-sg.d.ts +1 -0
  333. package/dist/flags/flag-sg.js +7 -0
  334. package/dist/flags/flag-si.d.ts +1 -0
  335. package/dist/flags/flag-si.js +7 -0
  336. package/dist/flags/flag-sk.d.ts +1 -0
  337. package/dist/flags/flag-sk.js +7 -0
  338. package/dist/flags/flag-tr.d.ts +1 -0
  339. package/dist/flags/flag-tr.js +7 -0
  340. package/dist/flags/flag-tw.d.ts +1 -0
  341. package/dist/flags/flag-tw.js +7 -0
  342. package/dist/flags/flag-ua.d.ts +1 -0
  343. package/dist/flags/flag-ua.js +7 -0
  344. package/dist/flags/flag-us.d.ts +1 -0
  345. package/dist/flags/flag-us.js +7 -0
  346. package/dist/flags/flag-vn.d.ts +1 -0
  347. package/dist/flags/flag-vn.js +7 -0
  348. package/dist/flags/flag-xk.d.ts +1 -0
  349. package/dist/flags/flag-xk.js +7 -0
  350. package/dist/flags/flag-za.d.ts +1 -0
  351. package/dist/flags/flag-za.js +7 -0
  352. package/dist/flags/index.d.ts +1 -0
  353. package/dist/flags/index.js +88 -0
  354. package/dist/footer/connected-footer.d.ts +3 -0
  355. package/dist/footer/connected-footer.js +21 -0
  356. package/dist/footer/footer.d.ts +9 -0
  357. package/dist/footer/footer.js +39 -0
  358. package/dist/footer/footer.model.d.ts +6 -0
  359. package/dist/footer/footer.module.css.js +3 -0
  360. package/dist/forms/elements/checkbox/checkbox.d.ts +23 -0
  361. package/dist/forms/elements/checkbox/checkbox.js +15 -0
  362. package/dist/forms/elements/checkbox/checkbox.module.css.js +3 -0
  363. package/dist/forms/elements/color-checkbox/color-checkbox.d.ts +7 -0
  364. package/dist/forms/elements/color-checkbox/color-checkbox.js +17 -0
  365. package/dist/forms/elements/field-error/field-error.d.ts +19 -0
  366. package/dist/forms/elements/field-error/field-error.js +27 -0
  367. package/dist/forms/elements/field-error/field-error.module.css.js +3 -0
  368. package/dist/forms/{input → elements/input}/input.d.ts +6 -0
  369. package/dist/forms/elements/input/input.js +31 -0
  370. package/dist/forms/elements/input/input.module.css.js +3 -0
  371. package/dist/forms/elements/label/label.d.ts +8 -0
  372. package/dist/forms/elements/label/label.js +13 -0
  373. package/dist/forms/elements/label/label.module.css.js +3 -0
  374. package/dist/forms/elements/select/select.d.ts +20 -0
  375. package/dist/forms/elements/select/select.js +37 -0
  376. package/dist/forms/elements/select/select.module.css.js +3 -0
  377. package/dist/forms/elements/switch/switch.d.ts +22 -0
  378. package/dist/forms/elements/switch/switch.js +15 -0
  379. package/dist/forms/elements/switch/switch.module.css.js +3 -0
  380. package/dist/forms/{textarea → elements/textarea}/textarea.d.ts +4 -0
  381. package/dist/forms/elements/textarea/textarea.js +55 -0
  382. package/dist/forms/elements/textarea/textarea.module.css.js +3 -0
  383. package/dist/forms/fields/checkbox-field/checkbox-field.d.ts +10 -0
  384. package/dist/forms/fields/checkbox-field/checkbox-field.js +16 -0
  385. package/dist/forms/fields/checkbox-field/checkbox-field.module.css.js +3 -0
  386. package/dist/forms/fields/number-field/number-field.d.ts +34 -0
  387. package/dist/forms/fields/number-field/number-field.js +55 -0
  388. package/dist/forms/fields/number-field/number-field.module.css.js +3 -0
  389. package/dist/forms/fields/password-field/password-field.d.ts +2 -0
  390. package/dist/forms/fields/password-field/password-field.js +16 -0
  391. package/dist/forms/fields/search-field/search-field.d.ts +5 -0
  392. package/dist/forms/fields/search-field/search-field.js +20 -0
  393. package/dist/forms/fields/select-field/select-field.d.ts +34 -0
  394. package/dist/forms/fields/select-field/select-field.js +51 -0
  395. package/dist/forms/fields/select-field/select-field.module.css.js +3 -0
  396. package/dist/forms/fields/switch-field/switch-field.d.ts +10 -0
  397. package/dist/forms/fields/switch-field/switch-field.js +18 -0
  398. package/dist/forms/fields/switch-field/switch-field.module.css.js +3 -0
  399. package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.d.ts +10 -0
  400. package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.js +18 -0
  401. package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.module.css.js +3 -0
  402. package/dist/forms/fields/text-field/text-field.d.ts +50 -0
  403. package/dist/forms/fields/text-field/text-field.js +26 -0
  404. package/dist/forms/fields/text-field/text-field.module.css.js +3 -0
  405. package/dist/forms/layout/form/form-field-layout.d.ts +10 -0
  406. package/dist/forms/layout/form/form-field-layout.js +10 -0
  407. package/dist/forms/layout/form/form-field-layout.module.css.js +3 -0
  408. package/dist/forms/layout/form/form-segment-group.d.ts +6 -0
  409. package/dist/forms/layout/form/form-segment-group.js +14 -0
  410. package/dist/forms/layout/form/form-segment-group.module.css.js +3 -0
  411. package/dist/forms/layout/form/form-segment.d.ts +6 -0
  412. package/dist/forms/layout/form/form-segment.js +10 -0
  413. package/dist/forms/layout/form/form-segment.module.css.js +3 -0
  414. package/dist/forms/layout/form/form.d.ts +20 -0
  415. package/dist/forms/layout/form/form.js +28 -0
  416. package/dist/forms/layout/form/form.module.css.js +3 -0
  417. package/dist/forms/partials/address-form/address-form.d.ts +11 -0
  418. package/dist/forms/partials/address-form/address-form.js +40 -0
  419. package/dist/forms/partials/address-form/address-form.module.css.js +3 -0
  420. package/dist/forms/partials/password-validation/password-validation.d.ts +4 -0
  421. package/dist/forms/partials/password-validation/password-validation.js +33 -0
  422. package/dist/global-search/categories-grid/categories-grid.js +14 -0
  423. package/dist/global-search/categories-grid/categories-grid.module.css.js +3 -0
  424. package/dist/global-search/global-search-provider/global-search-provider.d.ts +0 -6
  425. package/dist/global-search/global-search-provider/global-search-provider.js +9 -0
  426. package/dist/global-search/global-search-provider/use-search-disclosure.d.ts +1 -6
  427. package/dist/global-search/global-search-provider/use-search-disclosure.js +9 -0
  428. package/dist/global-search/global-search.d.ts +3 -1
  429. package/dist/global-search/global-search.js +44 -0
  430. package/dist/global-search/global-search.module.css.js +3 -0
  431. package/dist/global-search/plugins/categories-plugin.d.ts +1 -1
  432. package/dist/global-search/plugins/categories-plugin.js +37 -0
  433. package/dist/global-search/plugins/popular-categories-plugin.d.ts +1 -1
  434. package/dist/global-search/plugins/popular-categories-plugin.js +35 -0
  435. package/dist/global-search/plugins/popular-searches-plugin.d.ts +1 -1
  436. package/dist/global-search/plugins/popular-searches-plugin.js +24 -0
  437. package/dist/global-search/plugins/query-suggestions-plugin.d.ts +1 -1
  438. package/dist/global-search/plugins/query-suggestions-plugin.js +23 -0
  439. package/dist/global-search/plugins/quick-access-plugin.d.ts +1 -1
  440. package/dist/global-search/plugins/quick-access-plugin.js +35 -0
  441. package/dist/global-search/plugins/recent-searches-plugin.d.ts +1 -1
  442. package/dist/global-search/plugins/recent-searches-plugin.js +18 -0
  443. package/dist/global-search/search-highlight/highlight.d.ts +2 -1
  444. package/dist/global-search/search-highlight/highlight.js +15 -0
  445. package/dist/global-search/search-input/connected-search-input.js +22 -0
  446. package/dist/global-search/search-input/search-input.js +30 -0
  447. package/dist/global-search/search-input/search-input.module.css.js +3 -0
  448. package/dist/global-search/search-result-panel/panel-content.js +16 -0
  449. package/dist/global-search/search-result-panel/search-result-panel.js +17 -0
  450. package/dist/global-search/search-result-panel/search-result-panel.module.css.js +3 -0
  451. package/dist/global-search/search-result-panel/sections/no-search-results.d.ts +3 -1
  452. package/dist/global-search/search-result-panel/sections/no-search-results.js +32 -0
  453. package/dist/global-search/search-result-panel/sections/no-search.d.ts +5 -1
  454. package/dist/global-search/search-result-panel/sections/no-search.js +59 -0
  455. package/dist/global-search/search-result-panel/sections/search-content.module.css.js +3 -0
  456. package/dist/global-search/search-result-panel/sections/searching.d.ts +1 -0
  457. package/dist/global-search/search-result-panel/sections/searching.js +11 -0
  458. package/dist/global-search/search-result-panel/sections/section-container.js +9 -0
  459. package/dist/global-search/search-result-panel/sections/with-results.d.ts +3 -1
  460. package/dist/global-search/search-result-panel/sections/with-results.js +104 -0
  461. package/dist/global-search/search-section/search-list-item.d.ts +3 -2
  462. package/dist/global-search/search-section/search-list-item.js +14 -0
  463. package/dist/global-search/search-section/search-list-item.module.css.js +3 -0
  464. package/dist/global-search/search-section/search-list.js +10 -0
  465. package/dist/global-search/search-section/search-list.module.css.js +3 -0
  466. package/dist/global-search/search-section/search-section.js +10 -0
  467. package/dist/global-search/search-section/search-section.module.css.js +3 -0
  468. package/dist/global-search/types.d.ts +3 -1
  469. package/dist/header/buttons/account/connected-account-button.d.ts +5 -0
  470. package/dist/header/buttons/account/connected-account-button.js +30 -0
  471. package/dist/header/buttons/account/connected-account-button.module.css.js +3 -0
  472. package/dist/header/buttons/cart/connected-cart-button.d.ts +7 -0
  473. package/dist/header/buttons/cart/connected-cart-button.js +13 -0
  474. package/dist/header/buttons/favorites/connected-favorites-button.d.ts +7 -0
  475. package/dist/header/buttons/favorites/connected-favorites-button.js +11 -0
  476. package/dist/header/buttons/hamburger/hamburger-button.d.ts +7 -0
  477. package/dist/header/buttons/hamburger/hamburger-button.js +13 -0
  478. package/dist/header/buttons/hamburger/hamburger-button.module.css.js +3 -0
  479. package/dist/header/buttons/search/search-button.d.ts +7 -0
  480. package/dist/header/buttons/search/search-button.js +11 -0
  481. package/dist/header/connected-header.d.ts +3 -0
  482. package/dist/header/connected-header.js +21 -0
  483. package/dist/header/drawers/desktop-navigation-drawer.d.ts +8 -0
  484. package/dist/header/drawers/desktop-navigation-drawer.js +11 -0
  485. package/dist/header/drawers/desktop-navigation-drawer.module.css.js +3 -0
  486. package/dist/header/drawers/mobile-navigation-drawer.d.ts +7 -0
  487. package/dist/header/drawers/mobile-navigation-drawer.js +11 -0
  488. package/dist/header/drawers/mobile-navigation-drawer.module.css.js +3 -0
  489. package/dist/header/drawers/search-drawer.d.ts +5 -0
  490. package/dist/header/drawers/search-drawer.js +10 -0
  491. package/dist/header/header-layout/header-layout.d.ts +10 -0
  492. package/dist/header/header-layout/header-layout.js +10 -0
  493. package/dist/header/header-layout/header-layout.module.css.js +3 -0
  494. package/dist/header/header.d.ts +7 -0
  495. package/dist/header/header.js +76 -0
  496. package/dist/header/header.module.css.js +3 -0
  497. package/dist/header/link-list/navigation-link-list.d.ts +8 -0
  498. package/dist/header/link-list/navigation-link-list.js +31 -0
  499. package/dist/header/link-list/navigation-link-list.module.css.js +3 -0
  500. package/dist/header/sonic-logo/sonic-logo.d.ts +7 -0
  501. package/dist/header/sonic-logo/sonic-logo.js +18 -0
  502. package/dist/header/sonic-logo/sonic-logo.module.css.js +3 -0
  503. package/dist/icon/icon.d.ts +10 -0
  504. package/dist/icon/icon.js +11 -0
  505. package/dist/icon/icon.module.css.js +3 -0
  506. package/dist/icons/glyph/glyphs-arrow-boldcaps-left-icon.js +7 -0
  507. package/dist/icons/glyph/glyphs-arrow-boldcaps-right-icon.js +7 -0
  508. package/dist/icons/glyph/glyphs-chevrons-bold-down-icon.js +7 -0
  509. package/dist/icons/glyph/glyphs-chevrons-bold-left-icon.js +7 -0
  510. package/dist/icons/glyph/glyphs-chevrons-bold-right-icon.js +7 -0
  511. package/dist/icons/glyph/glyphs-chevrons-bold-up-icon.js +7 -0
  512. package/dist/icons/glyph/glyphs-chevrons-slim-down-icon.js +7 -0
  513. package/dist/icons/glyph/glyphs-chevrons-slim-left-icon.js +7 -0
  514. package/dist/icons/glyph/glyphs-chevrons-slim-right-icon.js +7 -0
  515. package/dist/icons/glyph/glyphs-chevrons-slim-up-icon.js +7 -0
  516. package/dist/icons/index.d.ts +87 -0
  517. package/dist/icons/index.js +90 -0
  518. package/dist/icons/solid/solid-add-icon.d.ts +1 -0
  519. package/dist/icons/solid/solid-attention-icon.js +7 -0
  520. package/dist/icons/solid/solid-cart-icon.js +7 -0
  521. package/dist/icons/solid/solid-close-icon.js +7 -0
  522. package/dist/icons/solid/solid-dashboard-icon.d.ts +1 -0
  523. package/dist/icons/solid/solid-edit-icon.d.ts +1 -0
  524. package/dist/icons/solid/solid-edit-icon.js +7 -0
  525. package/dist/icons/solid/solid-facebook-icon.d.ts +1 -0
  526. package/dist/icons/solid/solid-favorite-icon.js +7 -0
  527. package/dist/icons/solid/solid-folder-icon.d.ts +1 -0
  528. package/dist/icons/solid/solid-home-icon.js +7 -0
  529. package/dist/icons/solid/solid-information-icon.js +7 -0
  530. package/dist/icons/solid/solid-instagram-icon.d.ts +1 -0
  531. package/dist/icons/solid/solid-link-icon.d.ts +1 -0
  532. package/dist/icons/solid/solid-linkedin-icon.d.ts +1 -0
  533. package/dist/icons/solid/solid-login-icon.js +7 -0
  534. package/dist/icons/solid/solid-logout-icon.d.ts +1 -0
  535. package/dist/icons/solid/solid-logout-icon.js +7 -0
  536. package/dist/icons/solid/solid-mail-icon.d.ts +1 -0
  537. package/dist/icons/solid/solid-news-icon.js +7 -0
  538. package/dist/icons/solid/solid-notice-icon.js +7 -0
  539. package/dist/icons/solid/solid-okay-icon.js +7 -0
  540. package/dist/icons/solid/solid-package-icon.d.ts +1 -0
  541. package/dist/icons/solid/solid-payment-icon.d.ts +1 -0
  542. package/dist/icons/solid/solid-rating-icon.js +7 -0
  543. package/dist/icons/solid/solid-remove-icon.d.ts +1 -0
  544. package/dist/icons/solid/solid-salecategory-icon.d.ts +1 -0
  545. package/dist/icons/solid/solid-salecategory-icon.js +7 -0
  546. package/dist/icons/solid/solid-stories-icon.d.ts +1 -0
  547. package/dist/icons/solid/solid-tag-icon.js +7 -0
  548. package/dist/icons/solid/solid-thumbsdown-icon.d.ts +1 -0
  549. package/dist/icons/solid/solid-thumbsup-icon.d.ts +1 -0
  550. package/dist/icons/solid/solid-tiktok-icon.d.ts +1 -0
  551. package/dist/icons/solid/solid-youtube-icon.d.ts +1 -0
  552. package/dist/icons/stroke/stroke-3d-icon.d.ts +1 -0
  553. package/dist/icons/stroke/stroke-3dview-icon.d.ts +1 -0
  554. package/dist/icons/stroke/stroke-add-icon.d.ts +1 -0
  555. package/dist/icons/stroke/stroke-arkit-icon.d.ts +1 -0
  556. package/dist/icons/stroke/stroke-arrowdown-icon.d.ts +1 -0
  557. package/dist/icons/stroke/stroke-arrowleft-icon.d.ts +1 -0
  558. package/dist/icons/stroke/stroke-arrowleft-icon.js +7 -0
  559. package/dist/icons/stroke/stroke-arrowright-icon.d.ts +1 -0
  560. package/dist/icons/stroke/stroke-arrowright-icon.js +7 -0
  561. package/dist/icons/stroke/stroke-arrowup-icon.d.ts +1 -0
  562. package/dist/icons/stroke/stroke-categories-icon.js +7 -0
  563. package/dist/icons/stroke/stroke-checkmark-icon.js +7 -0
  564. package/dist/icons/stroke/stroke-closebox-icon.js +7 -0
  565. package/dist/icons/stroke/stroke-dashboard-icon.d.ts +1 -0
  566. package/dist/icons/stroke/stroke-dehashed-icon.js +7 -0
  567. package/dist/icons/stroke/stroke-download-icon.js +7 -0
  568. package/dist/icons/stroke/stroke-edit-icon.d.ts +1 -0
  569. package/dist/icons/stroke/stroke-efficiency-icon.d.ts +1 -0
  570. package/dist/icons/stroke/stroke-event-icon.d.ts +1 -0
  571. package/dist/icons/stroke/stroke-event-icon.js +7 -0
  572. package/dist/icons/stroke/stroke-facebook-icon.d.ts +1 -0
  573. package/dist/icons/stroke/stroke-fallback-icon.d.ts +1 -0
  574. package/dist/icons/stroke/stroke-favorite-icon.js +7 -0
  575. package/dist/icons/stroke/stroke-filter-icon.js +7 -0
  576. package/dist/icons/stroke/stroke-folder-icon.d.ts +1 -0
  577. package/dist/icons/stroke/stroke-happy-icon.d.ts +1 -0
  578. package/dist/icons/stroke/stroke-hashed-icon.js +7 -0
  579. package/dist/icons/stroke/stroke-information-icon.js +7 -0
  580. package/dist/icons/stroke/stroke-innovate-icon.d.ts +1 -0
  581. package/dist/icons/stroke/stroke-instagram-icon.d.ts +1 -0
  582. package/dist/icons/stroke/stroke-link-icon.d.ts +1 -0
  583. package/dist/icons/stroke/stroke-linkedin-icon.d.ts +1 -0
  584. package/dist/icons/stroke/stroke-logout-icon.d.ts +1 -0
  585. package/dist/icons/stroke/stroke-mail-icon.d.ts +1 -0
  586. package/dist/icons/stroke/stroke-minus-icon.d.ts +1 -0
  587. package/dist/icons/stroke/stroke-minus-icon.js +7 -0
  588. package/dist/icons/stroke/stroke-modular-icon.d.ts +1 -0
  589. package/dist/icons/stroke/stroke-neutral-icon.d.ts +1 -0
  590. package/dist/icons/stroke/stroke-news-icon.d.ts +1 -0
  591. package/dist/icons/stroke/stroke-notice-icon.js +7 -0
  592. package/dist/icons/stroke/stroke-package-icon.d.ts +1 -0
  593. package/dist/icons/stroke/stroke-payment-icon.d.ts +1 -0
  594. package/dist/icons/stroke/stroke-plus-icon.d.ts +1 -0
  595. package/dist/icons/stroke/stroke-plus-icon.js +7 -0
  596. package/dist/icons/stroke/stroke-proactive-icon.d.ts +1 -0
  597. package/dist/icons/stroke/stroke-productivity-icon.d.ts +1 -0
  598. package/dist/icons/stroke/stroke-recent-icon.js +7 -0
  599. package/dist/icons/stroke/stroke-remove-icon.d.ts +1 -0
  600. package/dist/icons/stroke/stroke-sad-icon.d.ts +1 -0
  601. package/dist/icons/stroke/stroke-sale-icon.d.ts +1 -0
  602. package/dist/icons/stroke/stroke-salecategory-icon.d.ts +1 -0
  603. package/dist/icons/stroke/stroke-search-icon.js +7 -0
  604. package/dist/icons/stroke/stroke-stories-icon.d.ts +1 -0
  605. package/dist/icons/stroke/stroke-style-icon.d.ts +1 -0
  606. package/dist/icons/stroke/stroke-support-icon.d.ts +1 -0
  607. package/dist/icons/stroke/stroke-teamplayer-icon.d.ts +1 -0
  608. package/dist/icons/stroke/stroke-thumbsdown-icon.d.ts +1 -0
  609. package/dist/icons/stroke/stroke-thumbsup-icon.d.ts +1 -0
  610. package/dist/icons/stroke/stroke-tiktok-icon.d.ts +1 -0
  611. package/dist/icons/stroke/stroke-trash-icon.js +7 -0
  612. package/dist/icons/stroke/stroke-warranty10y-icon.d.ts +1 -0
  613. package/dist/icons/stroke/stroke-warranty1y-icon.d.ts +1 -0
  614. package/dist/icons/stroke/stroke-warranty3y-icon.d.ts +1 -0
  615. package/dist/icons/stroke/stroke-warranty5y-icon.d.ts +1 -0
  616. package/dist/icons/stroke/stroke-warrantyconsumable-icon.d.ts +1 -0
  617. package/dist/icons/stroke/stroke-warrantylifetime-icon.d.ts +1 -0
  618. package/dist/icons/stroke/stroke-youtube-icon.d.ts +1 -0
  619. package/dist/index.d.ts +3 -245
  620. package/dist/index.js +584 -12627
  621. package/dist/info-icon-tooltip/info-icon-tooltip.d.ts +11 -0
  622. package/dist/info-icon-tooltip/info-icon-tooltip.js +18 -0
  623. package/dist/info-icon-tooltip/info-icon-tooltip.module.css.js +3 -0
  624. package/dist/intl/formatted-date.d.ts +4 -0
  625. package/dist/intl/formatted-date.js +8 -0
  626. package/dist/intl/formatted-message.d.ts +3 -3
  627. package/dist/intl/formatted-message.js +30 -0
  628. package/dist/intl/intl-context.d.ts +13 -5
  629. package/dist/intl/intl-context.js +6 -0
  630. package/dist/intl/intl-provider.d.ts +4 -2
  631. package/dist/intl/intl-provider.js +35 -0
  632. package/dist/intl/missing-translation-provider.d.ts +6 -0
  633. package/dist/intl/missing-translation-provider.js +45 -0
  634. package/dist/intl/translation-id.d.ts +1 -1
  635. package/dist/intl/types.d.ts +34 -12
  636. package/dist/intl/types.js +33 -0
  637. package/dist/intl/use-country-code.d.ts +3 -0
  638. package/dist/intl/use-country-code.js +15 -0
  639. package/dist/intl/use-culture-code.d.ts +2 -1
  640. package/dist/intl/use-culture-code.js +15 -0
  641. package/dist/intl/use-currency-code.d.ts +4 -0
  642. package/dist/intl/use-currency-code.js +15 -0
  643. package/dist/intl/use-formatted-date.d.ts +6 -0
  644. package/dist/intl/use-formatted-date.js +20 -0
  645. package/dist/intl/use-formatted-message.d.ts +2 -2
  646. package/dist/intl/use-formatted-message.js +17 -0
  647. package/dist/intl/use-intl.d.ts +1 -0
  648. package/dist/intl/use-intl.js +12 -0
  649. package/dist/intl/use-language-code.js +10 -0
  650. package/dist/intl/utils.js +30 -0
  651. package/dist/{pages/page-container/page-container.d.ts → layout/center.d.ts} +1 -1
  652. package/dist/layout/center.js +10 -0
  653. package/dist/layout/center.module.css.js +3 -0
  654. package/dist/lists/download-document-list/download-document-list.js +14 -0
  655. package/dist/lists/download-document-list/download-document-list.module.css.js +3 -0
  656. package/dist/lists/feature-list/feature-list.js +26 -0
  657. package/dist/lists/feature-list/feature-list.module.css.js +3 -0
  658. package/dist/lists/icon-list/icon-list.d.ts +11 -0
  659. package/dist/lists/icon-list/icon-list.js +13 -0
  660. package/dist/lists/icon-list/icon-list.module.css.js +3 -0
  661. package/dist/lists/menu-list/menu-list-back-button.d.ts +8 -0
  662. package/dist/lists/menu-list/menu-list-back-button.js +10 -0
  663. package/dist/lists/menu-list/menu-list-header.d.ts +8 -0
  664. package/dist/lists/menu-list/menu-list-header.js +11 -0
  665. package/dist/lists/menu-list/menu-list-item.d.ts +16 -0
  666. package/dist/lists/menu-list/menu-list-item.js +17 -0
  667. package/dist/lists/menu-list/menu-list-provider.d.ts +11 -0
  668. package/dist/lists/menu-list/menu-list-provider.js +30 -0
  669. package/dist/lists/menu-list/menu-list.d.ts +20 -0
  670. package/dist/lists/menu-list/menu-list.js +15 -0
  671. package/dist/lists/menu-list/menu-list.module.css.js +3 -0
  672. package/dist/lists/menu-list/use-menu-list-item.d.ts +5 -0
  673. package/dist/lists/menu-list/use-menu-list-item.js +13 -0
  674. package/dist/lists/menu-list/use-menu-list.d.ts +1 -0
  675. package/dist/lists/menu-list/use-menu-list.js +12 -0
  676. package/dist/lists/orderline-list/orderline-list.d.ts +1 -1
  677. package/dist/lists/orderline-list/orderline-list.js +32 -0
  678. package/dist/lists/orderline-list/orderline-list.module.css.js +3 -0
  679. package/dist/lists/product-overview-grid/product-overview-grid.js +15 -0
  680. package/dist/lists/product-overview-grid/product-overview-grid.module.css.js +3 -0
  681. package/dist/lists/widget-grid/widget-grid.d.ts +5 -0
  682. package/dist/lists/widget-grid/widget-grid.js +9 -0
  683. package/dist/lists/widget-grid/widget-grid.module.css.js +3 -0
  684. package/dist/lists/widget-grid/widget.d.ts +6 -0
  685. package/dist/lists/widget-grid/widget.js +10 -0
  686. package/dist/loading/blank-page-spacer.js +9 -0
  687. package/dist/loading/blank-page-spacer.module.css.js +3 -0
  688. package/dist/loading/dynamic-loading-overlay.d.ts +5 -0
  689. package/dist/loading/dynamic-loading-overlay.js +33 -0
  690. package/dist/loading/dynamic-loading-overlay.module.css.js +3 -0
  691. package/dist/loading/loading-overlay.js +10 -0
  692. package/dist/loading/loading-overlay.module.css.js +3 -0
  693. package/dist/loading/progress-circle.d.ts +3 -1
  694. package/dist/loading/progress-circle.js +10 -0
  695. package/dist/loading/progress-circle.module.css.js +3 -0
  696. package/dist/logging/logger.d.ts +11 -0
  697. package/dist/logging/logger.js +22 -0
  698. package/dist/logging/use-log-error.d.ts +1 -0
  699. package/dist/logging/use-log-error.js +13 -0
  700. package/dist/media/image/image.d.ts +3 -2
  701. package/dist/media/image/image.js +63 -0
  702. package/dist/media/image/image.module.css.js +3 -0
  703. package/dist/media/image-grid/images-grid.d.ts +2 -1
  704. package/dist/media/image-grid/images-grid.js +32 -0
  705. package/dist/media/image-grid/images-grid.module.css.js +3 -0
  706. package/dist/media/image-lightbox/image-lightbox.d.ts +2 -7
  707. package/dist/media/image-lightbox/image-lightbox.js +49 -0
  708. package/dist/media/image-lightbox/image-lightbox.module.css.js +3 -0
  709. package/dist/media/zoom-image/zoom-image.d.ts +8 -0
  710. package/dist/media/zoom-image/zoom-image.js +39 -0
  711. package/dist/media/zoom-image/zoom-image.module.css.js +3 -0
  712. package/dist/message/message.d.ts +7 -0
  713. package/dist/message/message.js +17 -0
  714. package/dist/message/message.module.css.js +3 -0
  715. package/dist/modals/confirmation/confirmation-dialog.d.ts +5 -3
  716. package/dist/modals/confirmation/confirmation-dialog.js +12 -0
  717. package/dist/modals/confirmation/confirmation-dialog.module.css.js +3 -0
  718. package/dist/modals/dialog/dialog.d.ts +12 -6
  719. package/dist/modals/dialog/dialog.js +36 -0
  720. package/dist/modals/dialog/dialog.module.css.js +3 -0
  721. package/dist/modals/favorite/add-to-favorite-dialog.d.ts +1 -1
  722. package/dist/modals/favorite/add-to-favorite-dialog.js +60 -0
  723. package/dist/modals/favorite/add-to-favorite-dialog.module.css.js +3 -0
  724. package/dist/modals/modal/modal.js +17 -0
  725. package/dist/modals/modal/modal.module.css.js +3 -0
  726. package/dist/modals/recover-password/recover-password-dialog.d.ts +6 -0
  727. package/dist/modals/recover-password/recover-password-dialog.js +35 -0
  728. package/dist/modals/signin/sign-in-dialog.d.ts +1 -1
  729. package/dist/modals/signin/sign-in-dialog.js +21 -0
  730. package/dist/navigation/mobile-navigation/mobile-navigation.d.ts +8 -0
  731. package/dist/navigation/mobile-navigation/mobile-navigation.js +24 -0
  732. package/dist/navigation/mobile-navigation/mobile-navigation.module.css.js +3 -0
  733. package/dist/navigation/panel-navigation/panel-navigation.d.ts +15 -0
  734. package/dist/navigation/panel-navigation/panel-navigation.js +66 -0
  735. package/dist/navigation/panel-navigation/panel-navigation.module.css.js +3 -0
  736. package/dist/navigation/quick-access-menu/quick-access-menu.d.ts +9 -0
  737. package/dist/navigation/quick-access-menu/quick-access-menu.js +24 -0
  738. package/dist/navigation/quick-access-menu/quick-access-menu.module.css.js +3 -0
  739. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/checkOptions.js +7 -0
  740. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/createAutocomplete.js +109 -0
  741. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/createStore.js +31 -0
  742. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getAutocompleteSetters.js +51 -0
  743. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getCompletion.js +12 -0
  744. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getDefaultProps.js +135 -0
  745. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getPropGetters.js +355 -0
  746. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/metadata.js +44 -0
  747. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/onInput.js +148 -0
  748. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/onKeyDown.js +202 -0
  749. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/reshape.js +48 -0
  750. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/resolve.js +119 -0
  751. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/stateReducer.js +149 -0
  752. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createCancelablePromise.js +50 -0
  753. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createCancelablePromiseList.js +42 -0
  754. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createConcurrentSafePromise.js +38 -0
  755. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getActiveItem.js +79 -0
  756. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getAutocompleteElementId.js +12 -0
  757. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNativeEvent.js +5 -0
  758. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNextActiveItemId.js +31 -0
  759. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNormalizedSources.js +53 -0
  760. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getPluginSubmitPromise.js +39 -0
  761. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/isOrContainsNode.js +5 -0
  762. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/isSamsung.js +6 -0
  763. package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/mapToAlgoliaResponse.js +25 -0
  764. package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/requesters/createAlgoliaRequester.js +16 -0
  765. package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/requesters/getAlgoliaResults.js +12 -0
  766. package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/userAgents.js +8 -0
  767. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createAlgoliaInsightsPlugin.js +252 -0
  768. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createClickedEvent.js +16 -0
  769. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createSearchInsightsApi.js +209 -0
  770. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createViewedEvents.js +18 -0
  771. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/isAlgoliaInsightsHit.js +5 -0
  772. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/isModernInsightsClient.js +25 -0
  773. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/constants.js +7 -0
  774. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/createQuerySuggestionsPlugin.js +118 -0
  775. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/getTemplates.js +64 -0
  776. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/addHighlightedAttribute.js +21 -0
  777. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/constants.js +10 -0
  778. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createLocalStorage.js +36 -0
  779. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createLocalStorageRecentSearchesPlugin.js +49 -0
  780. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createRecentSearchesPlugin.js +137 -0
  781. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createStorageApi.js +16 -0
  782. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/getLocalStorage.js +33 -0
  783. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/getTemplates.js +72 -0
  784. package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/search.js +25 -0
  785. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/constants/index.js +4 -0
  786. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/highlight/parseAlgoliaHitHighlight.js +25 -0
  787. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/highlight/parseAttribute.js +51 -0
  788. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/createAlgoliaRequester.js +6 -0
  789. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/createRequester.js +37 -0
  790. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/getAlgoliaResults.js +19 -0
  791. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/search/fetchAlgoliaResults.js +69 -0
  792. package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/utils/getAppIdAndApiKey.js +16 -0
  793. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/createRef.js +7 -0
  794. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/debounce.js +16 -0
  795. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/decycle.js +34 -0
  796. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/flatten.js +7 -0
  797. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/generateAutocompleteId.js +6 -0
  798. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/getAttributeValueByPath.js +7 -0
  799. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/getItemsCount.js +10 -0
  800. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.js +15 -0
  801. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/isEqual.js +26 -0
  802. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/noop.js +3 -0
  803. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/safelyRunOnBrowser.js +13 -0
  804. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/userAgents.js +8 -0
  805. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/version.js +3 -0
  806. package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/warn.js +26 -0
  807. package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/routers/history.js +341 -0
  808. package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/stateMappings/simple.js +36 -0
  809. package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/documentation.js +8 -0
  810. package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/logger.js +32 -0
  811. package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/noop.js +3 -0
  812. package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/safelyRunOnBrowser.js +24 -0
  813. package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/formats.js +33 -0
  814. package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/index.js +25 -0
  815. package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/parse.js +269 -0
  816. package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/stringify.js +300 -0
  817. package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/utils.js +264 -0
  818. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/free-mode.js +237 -0
  819. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.js +200 -0
  820. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/thumbs.js +197 -0
  821. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/create-element-if-not-defined.js +21 -0
  822. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/ssr-window.esm.js +146 -0
  823. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/swiper-core.js +3951 -0
  824. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/update-on-virtual-data.js +131 -0
  825. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/update-swiper.js +232 -0
  826. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/utils.js +315 -0
  827. package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper-react.js +389 -0
  828. package/dist/notifications/announcements/announcement-list.d.ts +7 -0
  829. package/dist/notifications/announcements/announcement-list.js +30 -0
  830. package/dist/notifications/announcements/announcement-list.module.css.js +3 -0
  831. package/dist/notifications/announcements/announcement.d.ts +2 -1
  832. package/dist/notifications/announcements/announcement.js +28 -0
  833. package/dist/notifications/announcements/announcement.module.css.js +3 -0
  834. package/dist/notifications/announcements/connected-announcement-list.d.ts +3 -0
  835. package/dist/notifications/announcements/connected-announcement-list.js +22 -0
  836. package/dist/notifications/announcements/use-filter-announcements.d.ts +2 -0
  837. package/dist/notifications/announcements/use-filter-announcements.js +35 -0
  838. package/dist/observers/intersection-observer.d.ts +16 -0
  839. package/dist/observers/intersection-observer.js +22 -0
  840. package/dist/pages/account/change-password-page/change-password-page.d.ts +6 -0
  841. package/dist/pages/account/change-password-page/change-password-page.js +57 -0
  842. package/dist/pages/account/components/change-password-form/change-password-form.d.ts +16 -0
  843. package/dist/pages/account/components/change-password-form/change-password-form.js +49 -0
  844. package/dist/pages/account/components/create-account-form/create-account-form.d.ts +11 -0
  845. package/dist/pages/account/components/create-account-form/create-account-form.js +75 -0
  846. package/dist/pages/account/components/create-account-form/create-account-form.module.css.js +3 -0
  847. package/dist/pages/account/components/sign-in-form/sign-in-form.d.ts +28 -0
  848. package/dist/pages/account/components/sign-in-form/sign-in-form.js +77 -0
  849. package/dist/pages/account/components/sign-in-form/sign-in-form.module.css.js +3 -0
  850. package/dist/pages/account/create-account-page/create-account-page.d.ts +3 -0
  851. package/dist/pages/account/create-account-page/create-account-page.js +51 -0
  852. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.d.ts +6 -0
  853. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.js +9 -0
  854. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.d.ts +9 -0
  855. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js +12 -0
  856. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.module.css.js +3 -0
  857. package/dist/pages/account/sign-in-page/sign-in-page.d.ts +3 -0
  858. package/dist/pages/account/sign-in-page/sign-in-page.js +103 -0
  859. package/dist/pages/checkout/cart-page/cart-page.d.ts +1 -0
  860. package/dist/pages/checkout/cart-page/cart-page.js +133 -0
  861. package/dist/pages/checkout/cart-page/components/empty-cart-page.d.ts +1 -0
  862. package/dist/pages/checkout/cart-page/components/empty-cart-page.js +12 -0
  863. package/dist/pages/checkout/components/billing-and-invoice-information.d.ts +7 -0
  864. package/dist/pages/checkout/components/billing-and-invoice-information.js +13 -0
  865. package/dist/pages/checkout/components/billing-and-invoice-information.module.css.js +3 -0
  866. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.d.ts +11 -0
  867. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js +34 -0
  868. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.module.css.js +3 -0
  869. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.d.ts +7 -0
  870. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.js +10 -0
  871. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.d.ts +8 -0
  872. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.js +10 -0
  873. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.d.ts +4 -0
  874. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.js +9 -0
  875. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.d.ts +7 -0
  876. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js +11 -0
  877. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.module.css.js +3 -0
  878. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.d.ts +5 -0
  879. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +110 -0
  880. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.d.ts +4 -0
  881. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.js +30 -0
  882. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.module.css.js +3 -0
  883. package/dist/pages/checkout/payment-page/components/adyen-payment.d.ts +31 -0
  884. package/dist/pages/checkout/payment-page/components/adyen-payment.js +217 -0
  885. package/dist/pages/checkout/payment-page/components/adyen-payment.module.css.js +3 -0
  886. package/dist/pages/checkout/payment-page/components/payment.d.ts +14 -0
  887. package/dist/pages/checkout/payment-page/components/payment.js +280 -0
  888. package/dist/pages/checkout/payment-page/components/payment.module.css.js +3 -0
  889. package/dist/pages/checkout/payment-page/hooks/use-get-adyen-redirect-result.d.ts +1 -0
  890. package/dist/pages/checkout/payment-page/hooks/use-get-adyen-redirect-result.js +14 -0
  891. package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.d.ts +1 -0
  892. package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.js +9 -0
  893. package/dist/pages/checkout/payment-page/payment-page-content.d.ts +13 -0
  894. package/dist/pages/checkout/payment-page/payment-page-content.js +51 -0
  895. package/dist/pages/checkout/payment-page/payment-page.d.ts +3 -0
  896. package/dist/pages/checkout/payment-page/payment-page.js +64 -0
  897. package/dist/pages/checkout/payment-page/utils/parse-amount.d.ts +3 -0
  898. package/dist/pages/checkout/payment-page/utils/parse-amount.js +10 -0
  899. package/dist/pages/checkout/shipping-page/components/address-book-selector.d.ts +6 -0
  900. package/dist/pages/checkout/shipping-page/components/address-book-selector.js +81 -0
  901. package/dist/pages/checkout/shipping-page/components/address-book-selector.module.css.js +3 -0
  902. package/dist/pages/checkout/shipping-page/components/currency-change-dialog.d.ts +6 -0
  903. package/dist/pages/checkout/shipping-page/components/currency-change-dialog.js +15 -0
  904. package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.d.ts +16 -0
  905. package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.js +49 -0
  906. package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.module.css.js +3 -0
  907. package/dist/pages/checkout/shipping-page/components/readonly-address.d.ts +17 -0
  908. package/dist/pages/checkout/shipping-page/components/readonly-address.js +130 -0
  909. package/dist/pages/checkout/shipping-page/components/readonly-address.module.css.js +3 -0
  910. package/dist/pages/checkout/shipping-page/components/ship-to-mode-selector.d.ts +8 -0
  911. package/dist/pages/checkout/shipping-page/components/ship-to-mode-selector.js +25 -0
  912. package/dist/pages/checkout/shipping-page/components/sonic-address.d.ts +1 -0
  913. package/dist/pages/checkout/shipping-page/components/sonic-address.js +15 -0
  914. package/dist/pages/checkout/shipping-page/components/sonic-address.module.css.js +3 -0
  915. package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.d.ts +22 -0
  916. package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.js +60 -0
  917. package/dist/pages/checkout/shipping-page/shipping-page-content.d.ts +15 -0
  918. package/dist/pages/checkout/shipping-page/shipping-page-content.js +43 -0
  919. package/dist/pages/checkout/shipping-page/shipping-page.d.ts +1 -0
  920. package/dist/pages/checkout/shipping-page/shipping-page.js +190 -0
  921. package/dist/pages/checkout/shipping-page/shipping-page.module.css.js +3 -0
  922. package/dist/pages/components/page/page.d.ts +13 -0
  923. package/dist/pages/components/page/page.js +15 -0
  924. package/dist/pages/components/page-container/page-container.d.ts +10 -0
  925. package/dist/pages/components/page-container/page-container.js +11 -0
  926. package/dist/pages/components/page-container/page-container.module.css.js +3 -0
  927. package/dist/pages/components/page-meta-data/page-meta-data.d.ts +15 -0
  928. package/dist/pages/components/page-meta-data/page-meta-data.js +100 -0
  929. package/dist/pages/countries-page/countries-page.d.ts +1 -0
  930. package/dist/pages/countries-page/countries-page.js +18 -0
  931. package/dist/pages/error-page/error-page.d.ts +2 -1
  932. package/dist/pages/error-page/error-page.js +20 -0
  933. package/dist/pages/loading-page/loading-page.js +10 -0
  934. package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.d.ts +16 -0
  935. package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.js +30 -0
  936. package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.module.css.js +3 -0
  937. package/dist/pages/my-sonic/actions/change-customer/change-customer.d.ts +16 -0
  938. package/dist/pages/my-sonic/actions/change-customer/change-customer.js +76 -0
  939. package/dist/pages/my-sonic/actions/change-customer/change-customer.module.css.js +3 -0
  940. package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.d.ts +7 -0
  941. package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.js +50 -0
  942. package/dist/pages/my-sonic/actions/change-password/change-password-dialog.d.ts +12 -0
  943. package/dist/pages/my-sonic/actions/change-password/change-password-dialog.js +25 -0
  944. package/dist/pages/my-sonic/actions/change-password/change-password-dialog.module.css.js +3 -0
  945. package/dist/pages/my-sonic/actions/change-password/change-password.d.ts +8 -0
  946. package/dist/pages/my-sonic/actions/change-password/change-password.js +28 -0
  947. package/dist/pages/my-sonic/actions/change-password/change-password.module.css.js +3 -0
  948. package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.d.ts +5 -0
  949. package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.js +39 -0
  950. package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.d.ts +5 -0
  951. package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.js +89 -0
  952. package/dist/pages/my-sonic/actions/create-ship-to-address/create-ship-to-address.module.css.js +3 -0
  953. package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.d.ts +4 -0
  954. package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.js +94 -0
  955. package/dist/pages/my-sonic/actions/edit-bill-to-address/edit-bill-to-address.module.css.js +3 -0
  956. package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.d.ts +5 -0
  957. package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.js +126 -0
  958. package/dist/pages/my-sonic/actions/edit-ship-to-address/edit-ship-to-address.module.css.js +3 -0
  959. package/dist/pages/my-sonic/actions/edit-user-info/connected-edit-user-info-dialog.d.ts +5 -0
  960. package/dist/pages/my-sonic/actions/edit-user-info/connected-edit-user-info-dialog.js +56 -0
  961. package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info-dialog.d.ts +10 -0
  962. package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info-dialog.js +15 -0
  963. package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.d.ts +11 -0
  964. package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.js +29 -0
  965. package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.module.css.js +3 -0
  966. package/dist/pages/my-sonic/actions/upload-order/upload-order-form.d.ts +1 -0
  967. package/dist/pages/my-sonic/actions/upload-order/upload-order-form.js +19 -0
  968. package/dist/pages/my-sonic/actions/upload-order/upload-order-instructions.d.ts +3 -0
  969. package/dist/pages/my-sonic/actions/upload-order/upload-order-instructions.js +13 -0
  970. package/dist/pages/my-sonic/actions/upload-order/upload-order.d.ts +3 -0
  971. package/dist/pages/my-sonic/actions/upload-order/upload-order.js +12 -0
  972. package/dist/pages/my-sonic/actions/upload-order/upload-order.module.css.js +3 -0
  973. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.d.ts +4 -0
  974. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.js +9 -0
  975. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.d.ts +4 -0
  976. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.js +9 -0
  977. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.d.ts +4 -0
  978. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.js +9 -0
  979. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.d.ts +5 -0
  980. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.js +10 -0
  981. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.d.ts +4 -0
  982. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.js +9 -0
  983. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.d.ts +4 -0
  984. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.js +10 -0
  985. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.d.ts +5 -0
  986. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.js +10 -0
  987. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.module.css.js +3 -0
  988. package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.d.ts +1 -0
  989. package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.js +15 -0
  990. package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.module.css.js +3 -0
  991. package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.d.ts +7 -0
  992. package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.js +24 -0
  993. package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.module.css.js +3 -0
  994. package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.d.ts +5 -0
  995. package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.js +26 -0
  996. package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.d.ts +21 -0
  997. package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.js +45 -0
  998. package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.d.ts +8 -0
  999. package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js +29 -0
  1000. package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.d.ts +7 -0
  1001. package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js +29 -0
  1002. package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.d.ts +9 -0
  1003. package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js +29 -0
  1004. package/dist/pages/my-sonic/pages/favorites/favorites-page.d.ts +2 -0
  1005. package/dist/pages/my-sonic/pages/favorites/favorites-page.js +48 -0
  1006. package/dist/pages/my-sonic/pages/my-account/my-account-page.d.ts +2 -0
  1007. package/dist/pages/my-sonic/pages/my-account/my-account-page.js +30 -0
  1008. package/dist/pages/my-sonic/pages/order-details/order-details-content.d.ts +10 -0
  1009. package/dist/pages/my-sonic/pages/order-details/order-details-content.js +70 -0
  1010. package/dist/pages/my-sonic/pages/order-details/order-details-content.module.css.js +3 -0
  1011. package/dist/pages/my-sonic/pages/order-details/order-details-page.d.ts +8 -0
  1012. package/dist/pages/my-sonic/pages/order-details/order-details-page.js +42 -0
  1013. package/dist/pages/my-sonic/pages/order-history/order-history-page.d.ts +2 -0
  1014. package/dist/pages/my-sonic/pages/order-history/order-history-page.js +193 -0
  1015. package/dist/pages/my-sonic/pages/order-history/order-history-page.module.css.js +3 -0
  1016. package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.d.ts +4 -0
  1017. package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.js +24 -0
  1018. package/dist/pages/my-sonic/widgets/components/address-data-card.d.ts +23 -0
  1019. package/dist/pages/my-sonic/widgets/components/address-data-card.js +43 -0
  1020. package/dist/pages/my-sonic/widgets/connected-address-book-widget.d.ts +1 -0
  1021. package/dist/pages/my-sonic/widgets/connected-address-book-widget.js +174 -0
  1022. package/dist/pages/my-sonic/widgets/connected-address-book-widget.module.css.js +3 -0
  1023. package/dist/pages/my-sonic/widgets/connected-bill-to-address-widget.d.ts +3 -0
  1024. package/dist/pages/my-sonic/widgets/connected-bill-to-address-widget.js +34 -0
  1025. package/dist/pages/my-sonic/widgets/connected-customer-information-widget.d.ts +1 -0
  1026. package/dist/pages/my-sonic/widgets/connected-customer-information-widget.js +57 -0
  1027. package/dist/pages/my-sonic/widgets/connected-ship-to-address-widget.d.ts +4 -0
  1028. package/dist/pages/my-sonic/widgets/connected-ship-to-address-widget.js +39 -0
  1029. package/dist/pages/my-sonic/widgets/connected-user-account-widget.d.ts +1 -0
  1030. package/dist/pages/my-sonic/widgets/connected-user-account-widget.js +44 -0
  1031. package/dist/pages/product/components/product-overview.d.ts +10 -0
  1032. package/dist/pages/product/components/product-overview.js +20 -0
  1033. package/dist/pages/{layouts → product/layouts/product-details-page-layout}/product-details-page-layout.d.ts +2 -2
  1034. package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +10 -0
  1035. package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.module.css.js +3 -0
  1036. package/dist/pages/{product-details-page → product/product-details-page}/components/product-details-images/product-detail-images.d.ts +1 -1
  1037. package/dist/pages/product/product-details-page/components/product-details-images/product-detail-images.js +33 -0
  1038. package/dist/pages/product/product-details-page/components/product-details-images/product-detail-images.module.css.js +3 -0
  1039. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.d.ts +5 -0
  1040. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +48 -0
  1041. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.module.css.js +3 -0
  1042. package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.d.ts +1 -0
  1043. package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js +25 -0
  1044. package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.module.css.js +3 -0
  1045. package/dist/pages/product/product-details-page/product-details-page.js +22 -0
  1046. package/dist/pages/product/product-details-page/product-details.d.ts +5 -0
  1047. package/dist/pages/product/product-details-page/product-details.js +47 -0
  1048. package/dist/pages/product/product-listing-page/no-results/no-results.js +16 -0
  1049. package/dist/pages/product/product-listing-page/no-results/no-results.module.css.js +3 -0
  1050. package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.js +22 -0
  1051. package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-data-types.d.ts +3 -1
  1052. package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-context.js +8 -0
  1053. package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-provider.js +14 -0
  1054. package/dist/pages/product/product-listing-page/product-listing-page.js +29 -0
  1055. package/dist/pages/product/product-listing-page/product-listing-page.module.css.js +3 -0
  1056. package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.js +32 -0
  1057. package/dist/pages/product/product-listing-page/product-listing.d.ts +6 -0
  1058. package/dist/pages/product/product-listing-page/product-listing.js +49 -0
  1059. package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.js +34 -0
  1060. package/dist/pages/product/search-result-page/search-results-page-category-carousel/search-results-page-category-carousel.js +22 -0
  1061. package/dist/pages/product/search-result-page/search-results-page.js +53 -0
  1062. package/dist/pages/product/search-result-page/search-results-page.module.css.js +3 -0
  1063. package/dist/promos/promo-banner/promo-banner.js +12 -0
  1064. package/dist/promos/promo-banner/promo-banner.module.css.js +3 -0
  1065. package/dist/promos/promo-banners/promo-banners.d.ts +6 -5
  1066. package/dist/promos/promo-banners/promo-banners.js +17 -0
  1067. package/dist/promos/promo-banners/promo-banners.module.css.js +3 -0
  1068. package/dist/promos/promo-card/promo-card.d.ts +1 -1
  1069. package/dist/promos/promo-card/promo-card.js +11 -0
  1070. package/dist/promos/promo-card/promo-card.module.css.js +3 -0
  1071. package/dist/shared/api/bff/hooks/cart/use-patch-cart.d.ts +11 -0
  1072. package/dist/shared/api/bff/hooks/cart/use-patch-cart.js +20 -0
  1073. package/dist/shared/api/bff/hooks/cart/use-place-order.d.ts +11 -0
  1074. package/dist/shared/api/bff/hooks/cart/use-place-order.js +21 -0
  1075. package/dist/shared/api/bff/hooks/cart/use-save-cart-for-later.d.ts +9 -0
  1076. package/dist/shared/api/bff/hooks/cart/use-save-cart-for-later.js +18 -0
  1077. package/dist/shared/api/bff/hooks/use-fetch-announcements.js +16 -0
  1078. package/dist/shared/api/bff/hooks/use-fetch-favorites.d.ts +2 -0
  1079. package/dist/shared/api/bff/hooks/use-fetch-favorites.js +30 -0
  1080. package/dist/shared/api/bff/hooks/use-fetch-navigation-links.d.ts +2 -0
  1081. package/dist/shared/api/bff/hooks/use-fetch-navigation-links.js +16 -0
  1082. package/dist/shared/api/bff/hooks/use-fetch-product-details-page-data.js +15 -0
  1083. package/dist/shared/api/bff/hooks/use-fetch-product-listing-page-data.js +15 -0
  1084. package/dist/shared/api/bff/hooks/use-fetch-products-prices.d.ts +2 -0
  1085. package/dist/shared/api/bff/hooks/use-fetch-products-prices.js +14 -0
  1086. package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.d.ts +4 -0
  1087. package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.js +16 -0
  1088. package/dist/shared/api/bff/model/bff.model.d.ts +88 -3
  1089. package/dist/shared/api/bff/model/bff.model.js +12 -0
  1090. package/dist/shared/api/bff/services/bff-service.d.ts +30 -5
  1091. package/dist/shared/api/bff/services/bff-service.js +179 -0
  1092. package/dist/shared/api/shared/hooks/use-awaitable-mutation.d.ts +31 -0
  1093. package/dist/shared/api/shared/hooks/use-awaitable-mutation.js +47 -0
  1094. package/dist/shared/api/shared/types.d.ts +6 -0
  1095. package/dist/shared/api/storefront/hooks/account/use-create-account.d.ts +3 -0
  1096. package/dist/shared/api/storefront/hooks/account/use-create-account.js +30 -0
  1097. package/dist/shared/api/storefront/hooks/account/use-create-guest-account.d.ts +2 -0
  1098. package/dist/shared/api/storefront/hooks/account/use-create-guest-account.js +38 -0
  1099. package/dist/shared/api/storefront/hooks/account/use-fetch-current-account.d.ts +3 -0
  1100. package/dist/shared/api/storefront/hooks/account/use-fetch-current-account.js +13 -0
  1101. package/dist/shared/api/storefront/hooks/account/use-patch-current-account.d.ts +11 -0
  1102. package/dist/shared/api/storefront/hooks/account/use-patch-current-account.js +20 -0
  1103. package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.d.ts +1 -1
  1104. package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.js +20 -0
  1105. package/dist/shared/api/storefront/hooks/authentication/use-invalidate-session.js +10 -0
  1106. package/dist/shared/api/storefront/hooks/authentication/use-is-authenticated.js +9 -0
  1107. package/dist/shared/api/storefront/hooks/authentication/use-patch-session.d.ts +22 -0
  1108. package/dist/shared/api/storefront/hooks/authentication/use-patch-session.js +17 -0
  1109. package/dist/shared/api/storefront/hooks/authentication/use-recover-password.d.ts +4 -0
  1110. package/dist/shared/api/storefront/hooks/authentication/use-recover-password.js +16 -0
  1111. package/dist/shared/api/storefront/hooks/authentication/use-sign-in.d.ts +1 -0
  1112. package/dist/shared/api/storefront/hooks/authentication/use-sign-in.js +33 -0
  1113. package/dist/shared/api/storefront/hooks/authentication/use-sign-out-mutation.d.ts +9 -0
  1114. package/dist/shared/api/storefront/hooks/authentication/use-sign-out-mutation.js +26 -0
  1115. package/dist/shared/api/storefront/hooks/authentication/use-sign-out.d.ts +5 -1
  1116. package/dist/shared/api/storefront/hooks/authentication/use-sign-out.js +30 -0
  1117. package/dist/shared/api/storefront/hooks/cart/use-add-bulk-products-to-current-cart.d.ts +4 -0
  1118. package/dist/shared/api/storefront/hooks/cart/use-add-bulk-products-to-current-cart.js +21 -0
  1119. package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.d.ts +1 -1
  1120. package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.js +26 -0
  1121. package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.d.ts +6 -1
  1122. package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.js +21 -0
  1123. package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.d.ts +7 -2
  1124. package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.js +19 -0
  1125. package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.d.ts +8 -0
  1126. package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.js +21 -0
  1127. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.d.ts +1 -1
  1128. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.js +16 -0
  1129. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.d.ts +1 -1
  1130. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.js +9 -0
  1131. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.d.ts +163 -0
  1132. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.js +12 -0
  1133. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.d.ts +1 -1
  1134. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.js +12 -0
  1135. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.d.ts +1 -1
  1136. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.js +16 -0
  1137. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.d.ts +1 -1
  1138. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.js +16 -0
  1139. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.d.ts +167 -0
  1140. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.js +31 -0
  1141. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.d.ts +3 -4
  1142. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.js +8 -0
  1143. package/dist/shared/api/storefront/hooks/cart/use-invalidate-current-cart.js +10 -0
  1144. package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.d.ts +6 -0
  1145. package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.js +23 -0
  1146. package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.d.ts +4 -0
  1147. package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.js +12 -0
  1148. package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.d.ts +4 -0
  1149. package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.js +14 -0
  1150. package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.d.ts +3 -0
  1151. package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.js +8 -0
  1152. package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.d.ts +3 -0
  1153. package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.js +12 -0
  1154. package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.d.ts +4 -0
  1155. package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.js +13 -0
  1156. package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.d.ts +3 -0
  1157. package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.js +13 -0
  1158. package/dist/shared/api/storefront/hooks/customer/use-fetch-paged-ship-to-addresses.d.ts +8 -0
  1159. package/dist/shared/api/storefront/hooks/customer/use-fetch-paged-ship-to-addresses.js +14 -0
  1160. package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.d.ts +5 -0
  1161. package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.js +19 -0
  1162. package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.d.ts +3 -0
  1163. package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.js +16 -0
  1164. package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.d.ts +12 -0
  1165. package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.js +18 -0
  1166. package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.d.ts +13 -0
  1167. package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.js +18 -0
  1168. package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.d.ts +17 -0
  1169. package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.js +18 -0
  1170. package/dist/shared/api/storefront/hooks/orders/use-fetch-order-by-id.d.ts +1 -0
  1171. package/dist/shared/api/storefront/hooks/orders/use-fetch-order-by-id.js +14 -0
  1172. package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.d.ts +9 -0
  1173. package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.js +14 -0
  1174. package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.d.ts +3 -0
  1175. package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.js +11 -0
  1176. package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.d.ts +1 -0
  1177. package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.js +15 -0
  1178. package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.d.ts +1 -0
  1179. package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.js +10 -0
  1180. package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.d.ts +5 -0
  1181. package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.js +17 -0
  1182. package/dist/shared/api/storefront/hooks/translation/use-fetch-translations.js +16 -0
  1183. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.d.ts +2 -2
  1184. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.js +16 -0
  1185. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.d.ts +4 -2
  1186. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.js +17 -0
  1187. package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.d.ts +3 -0
  1188. package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.js +17 -0
  1189. package/dist/shared/api/storefront/hooks/website/use-fetch-settings.d.ts +1 -1
  1190. package/dist/shared/api/storefront/hooks/website/use-fetch-settings.js +19 -0
  1191. package/dist/shared/api/storefront/hooks/website/use-update-locale.d.ts +1 -1
  1192. package/dist/shared/api/storefront/hooks/website/use-update-locale.js +12 -0
  1193. package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-current-wishlist.js +28 -0
  1194. package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-wishlist.js +30 -0
  1195. package/dist/shared/api/storefront/hooks/wishlist/use-create-wishlist.js +18 -0
  1196. package/dist/shared/api/storefront/hooks/wishlist/use-delete-wishlist-item-from-wishlist.js +19 -0
  1197. package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.d.ts +1 -1
  1198. package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.js +26 -0
  1199. package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.d.ts +1 -1
  1200. package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.js +15 -0
  1201. package/dist/shared/api/storefront/model/{shop.model.d.ts → storefront.model.d.ts} +110 -7
  1202. package/dist/shared/api/storefront/model/storefront.model.js +74 -0
  1203. package/dist/shared/api/storefront/services/account-service.d.ts +31 -0
  1204. package/dist/shared/api/storefront/services/account-service.js +87 -0
  1205. package/dist/shared/api/storefront/services/authentication-service.d.ts +37 -13
  1206. package/dist/shared/api/storefront/services/authentication-service.js +176 -0
  1207. package/dist/shared/api/storefront/services/cart-service.d.ts +26 -14
  1208. package/dist/shared/api/storefront/services/cart-service.js +168 -0
  1209. package/dist/shared/api/storefront/services/category-service.d.ts +6 -0
  1210. package/dist/shared/api/storefront/services/category-service.js +19 -0
  1211. package/dist/shared/api/storefront/services/customer-service.d.ts +49 -0
  1212. package/dist/shared/api/storefront/services/customer-service.js +112 -0
  1213. package/dist/shared/api/storefront/services/finance-service.d.ts +13 -0
  1214. package/dist/shared/api/storefront/services/finance-service.js +17 -0
  1215. package/dist/shared/api/storefront/services/order-service.d.ts +10 -0
  1216. package/dist/shared/api/storefront/services/order-service.js +40 -0
  1217. package/dist/shared/api/storefront/services/payment-service.d.ts +8 -0
  1218. package/dist/shared/api/storefront/services/payment-service.js +29 -0
  1219. package/dist/shared/api/storefront/services/product-service.d.ts +4 -0
  1220. package/dist/shared/api/storefront/services/product-service.js +10 -0
  1221. package/dist/shared/api/storefront/services/translation-service.js +21 -0
  1222. package/dist/shared/api/storefront/services/website-service.d.ts +1 -3
  1223. package/dist/shared/api/storefront/services/website-service.js +51 -0
  1224. package/dist/shared/api/storefront/services/wishlist-service.d.ts +4 -1
  1225. package/dist/shared/api/storefront/services/wishlist-service.js +87 -0
  1226. package/dist/shared/data/cart.data.d.ts +2 -0
  1227. package/dist/shared/data/cart.data.js +650 -0
  1228. package/dist/shared/data/countries-languages.data.d.ts +12 -0
  1229. package/dist/shared/data/countries-languages.data.js +74 -0
  1230. package/dist/shared/data/navigation.d.ts +2 -0
  1231. package/dist/shared/data/navigation.js +2605 -0
  1232. package/dist/shared/data/order.d.ts +2 -0
  1233. package/dist/shared/data/order.js +41 -0
  1234. package/dist/shared/error/basic-error-view.d.ts +1 -0
  1235. package/dist/shared/error/basic-error-view.js +10 -0
  1236. package/dist/shared/error/basic-error-view.module.css.js +3 -0
  1237. package/dist/shared/error/default-error-view.d.ts +2 -0
  1238. package/dist/shared/error/default-error-view.js +17 -0
  1239. package/dist/shared/error/default-error-view.module.css.js +3 -0
  1240. package/dist/shared/error/error-boundary.d.ts +16 -0
  1241. package/dist/shared/error/error-boundary.js +94 -0
  1242. package/dist/shared/error/errors.d.ts +17 -0
  1243. package/dist/shared/error/errors.js +62 -0
  1244. package/dist/shared/error/global-unhandled-error-handler.d.ts +13 -0
  1245. package/dist/shared/error/global-unhandled-error-handler.js +71 -0
  1246. package/dist/shared/error/types.d.ts +16 -0
  1247. package/dist/shared/feature-flags/use-feature-flags.d.ts +5 -3
  1248. package/dist/shared/feature-flags/use-feature-flags.js +49 -0
  1249. package/dist/shared/fetch/request.d.ts +42 -29
  1250. package/dist/shared/fetch/request.js +290 -0
  1251. package/dist/shared/ga/data-layer.d.ts +2 -0
  1252. package/dist/shared/ga/data-layer.js +12 -0
  1253. package/dist/shared/ga/google-analytics-provider.d.ts +9 -0
  1254. package/dist/shared/ga/google-analytics-provider.js +17 -0
  1255. package/dist/shared/ga/types.d.ts +38 -0
  1256. package/dist/shared/ga/types.js +8 -0
  1257. package/dist/shared/ga/use-data-layer.d.ts +54 -0
  1258. package/dist/shared/ga/use-data-layer.js +95 -0
  1259. package/dist/shared/hooks/use-breakpoint.js +25 -0
  1260. package/dist/shared/hooks/use-cookiebot.d.ts +16 -0
  1261. package/dist/shared/hooks/use-cookiebot.js +35 -0
  1262. package/dist/shared/hooks/use-css-link.d.ts +3 -0
  1263. package/dist/shared/hooks/use-css-link.js +21 -0
  1264. package/dist/shared/hooks/use-debounced-callback.d.ts +5 -1
  1265. package/dist/shared/hooks/use-debounced-callback.js +19 -0
  1266. package/dist/shared/hooks/use-disclosure.d.ts +3 -3
  1267. package/dist/shared/hooks/use-disclosure.js +25 -0
  1268. package/dist/shared/hooks/use-enable-mobile-zoom.d.ts +3 -0
  1269. package/dist/shared/hooks/use-enable-mobile-zoom.js +37 -0
  1270. package/dist/shared/hooks/use-global-disclosure.d.ts +10 -0
  1271. package/dist/shared/hooks/use-global-disclosure.js +26 -0
  1272. package/dist/shared/hooks/use-inert.d.ts +3 -0
  1273. package/dist/shared/hooks/use-inert.js +16 -0
  1274. package/dist/shared/hooks/use-intersection-observer.d.ts +16 -0
  1275. package/dist/shared/hooks/use-intersection-observer.js +69 -0
  1276. package/dist/shared/hooks/use-is-breakpoint.js +20 -0
  1277. package/dist/shared/hooks/use-is-scrolled-beyond-element.d.ts +1 -0
  1278. package/dist/shared/hooks/use-is-scrolled-beyond-element.js +27 -0
  1279. package/dist/shared/hooks/use-mutation-observer.d.ts +3 -0
  1280. package/dist/shared/hooks/use-mutation-observer.js +28 -0
  1281. package/dist/shared/hooks/use-resize-observer.d.ts +2 -2
  1282. package/dist/shared/hooks/use-resize-observer.js +38 -0
  1283. package/dist/shared/hooks/use-script.d.ts +15 -0
  1284. package/dist/shared/hooks/use-script.js +34 -0
  1285. package/dist/shared/hooks/use-scroll-lock.js +12 -0
  1286. package/dist/shared/hooks/use-watch-css-property.d.ts +1 -0
  1287. package/dist/shared/hooks/use-watch-css-property.js +37 -0
  1288. package/dist/shared/local-storage/local-storage-context.d.ts +2 -0
  1289. package/dist/shared/local-storage/local-storage-context.js +6 -0
  1290. package/dist/shared/local-storage/local-storage-provider.d.ts +5 -0
  1291. package/dist/shared/local-storage/local-storage-provider.js +14 -0
  1292. package/dist/shared/local-storage/storage-mock.d.ts +10 -0
  1293. package/dist/shared/local-storage/storage-mock.js +34 -0
  1294. package/dist/shared/local-storage/types.d.ts +4 -0
  1295. package/dist/shared/local-storage/use-local-storage.js +24 -0
  1296. package/dist/shared/local-storage/use-session-storage.js +24 -0
  1297. package/dist/shared/model/account.d.ts +19 -0
  1298. package/dist/shared/model/account.js +4 -0
  1299. package/dist/shared/model/address.d.ts +30 -0
  1300. package/dist/shared/model/address.js +7 -0
  1301. package/dist/shared/model/announcement.js +18 -0
  1302. package/dist/shared/model/category.d.ts +5 -0
  1303. package/dist/shared/model/category.js +31 -0
  1304. package/dist/shared/model/countries-languages.d.ts +4 -1
  1305. package/dist/shared/model/countries-languages.js +32 -0
  1306. package/dist/shared/model/currency.d.ts +7 -26
  1307. package/dist/shared/model/currency.js +29 -0
  1308. package/dist/shared/model/defaults.d.ts +1 -0
  1309. package/dist/shared/model/defaults.js +3 -0
  1310. package/dist/shared/model/hit.d.ts +2 -0
  1311. package/dist/shared/model/hit.js +46 -0
  1312. package/dist/shared/model/image.d.ts +6 -7
  1313. package/dist/shared/model/image.js +7 -0
  1314. package/dist/shared/model/price.d.ts +5 -2
  1315. package/dist/shared/providers/cart-provider.d.ts +1 -1
  1316. package/dist/shared/providers/cart-provider.js +13 -0
  1317. package/dist/shared/providers/favorite-provider.d.ts +4 -4
  1318. package/dist/shared/providers/favorite-provider.js +33 -0
  1319. package/dist/shared/providers/global-state-provider.js +82 -0
  1320. package/dist/shared/providers/react-query-container.d.ts +9 -3
  1321. package/dist/shared/providers/react-query-container.js +15 -0
  1322. package/dist/shared/reset.module.css.js +3 -0
  1323. package/dist/shared/routing/route-context.d.ts +2 -0
  1324. package/dist/shared/routing/route-context.js +6 -0
  1325. package/dist/shared/routing/route-provider.d.ts +13 -10
  1326. package/dist/shared/routing/route-provider.js +16 -0
  1327. package/dist/shared/routing/route-utils.d.ts +5 -0
  1328. package/dist/shared/routing/route-utils.js +17 -0
  1329. package/dist/shared/routing/types.d.ts +46 -0
  1330. package/dist/shared/routing/use-location.d.ts +9 -0
  1331. package/dist/shared/routing/use-location.js +18 -0
  1332. package/dist/shared/routing/use-navigate.d.ts +6 -0
  1333. package/dist/shared/routing/use-navigate.js +20 -0
  1334. package/dist/shared/routing/use-on-navigate.d.ts +2 -0
  1335. package/dist/shared/routing/use-on-navigate.js +19 -0
  1336. package/dist/shared/routing/use-paths.d.ts +2 -0
  1337. package/dist/shared/routing/use-paths.js +9 -0
  1338. package/dist/shared/routing/use-route-link-element.d.ts +1 -0
  1339. package/dist/shared/routing/use-route-link-element.js +10 -0
  1340. package/dist/shared/routing/use-route-link.d.ts +9 -0
  1341. package/dist/shared/routing/use-route-link.js +26 -0
  1342. package/dist/shared/routing/use-router.d.ts +1 -0
  1343. package/dist/shared/routing/use-router.js +13 -0
  1344. package/dist/shared/routing/with-routing.d.ts +4 -6
  1345. package/dist/shared/routing/with-routing.js +34 -0
  1346. package/dist/shared/utils/array.d.ts +1 -0
  1347. package/dist/shared/utils/array.js +5 -0
  1348. package/dist/shared/utils/breakpoints.js +33 -0
  1349. package/dist/shared/utils/children-to-text.d.ts +2 -0
  1350. package/dist/shared/utils/children-to-text.js +18 -0
  1351. package/dist/shared/utils/css.d.ts +1 -0
  1352. package/dist/shared/utils/css.js +24 -0
  1353. package/dist/shared/utils/date.d.ts +5 -11
  1354. package/dist/shared/utils/date.js +13 -0
  1355. package/dist/shared/utils/debug.d.ts +2 -0
  1356. package/dist/shared/utils/debug.js +21 -0
  1357. package/dist/shared/utils/environment.d.ts +3 -2
  1358. package/dist/shared/utils/environment.js +69 -0
  1359. package/dist/shared/utils/event-emitter.js +34 -0
  1360. package/dist/shared/utils/greeting.d.ts +1 -0
  1361. package/dist/shared/utils/greeting.js +15 -0
  1362. package/dist/shared/utils/merge.js +70 -0
  1363. package/dist/shared/utils/number.d.ts +2 -0
  1364. package/dist/shared/utils/number.js +10 -0
  1365. package/dist/shared/utils/price.d.ts +22 -1
  1366. package/dist/shared/utils/price.js +79 -0
  1367. package/dist/shared/utils/promise.d.ts +2 -0
  1368. package/dist/shared/utils/promise.js +9 -0
  1369. package/dist/shared/utils/query-client.d.ts +4 -0
  1370. package/dist/shared/utils/query-client.js +33 -0
  1371. package/dist/shared/utils/random.d.ts +10 -0
  1372. package/dist/shared/utils/random.js +16 -0
  1373. package/dist/shared/utils/refs.d.ts +2 -0
  1374. package/dist/shared/utils/refs.js +14 -0
  1375. package/dist/shared/{hooks/use-scroll-to.d.ts → utils/scrolling.d.ts} +1 -1
  1376. package/dist/shared/utils/scrolling.js +16 -0
  1377. package/dist/shared/utils/string.d.ts +1 -0
  1378. package/dist/shared/utils/string.js +7 -0
  1379. package/dist/shared/utils/time.js +9 -0
  1380. package/dist/shared/utils/types.d.ts +4 -0
  1381. package/dist/shared/utils/types.js +11 -0
  1382. package/dist/shared/utils/url.d.ts +5 -0
  1383. package/dist/shared/utils/url.js +20 -0
  1384. package/dist/shared/utils/url.test.d.ts +1 -0
  1385. package/dist/shared/utils/uuid.d.ts +3 -1
  1386. package/dist/shared/utils/uuid.js +18 -0
  1387. package/dist/sidebar/sidebar-provider.js +47 -0
  1388. package/dist/sidebar/sidebar-provider.module.css.js +3 -0
  1389. package/dist/sidebar/sidebar.d.ts +2 -1
  1390. package/dist/sidebar/sidebar.js +23 -0
  1391. package/dist/sidebar/sidebar.module.css.js +3 -0
  1392. package/dist/sidebar/toggle-sidebar-button.js +13 -0
  1393. package/dist/sidebar/use-sidebar.js +39 -0
  1394. package/dist/styles.css +8515 -3470
  1395. package/dist/table/data-table.d.ts +55 -0
  1396. package/dist/table/data-table.js +103 -0
  1397. package/dist/table/data-table.module.css.js +3 -0
  1398. package/dist/table/elements/col.d.ts +7 -0
  1399. package/dist/table/elements/col.js +10 -0
  1400. package/dist/table/elements/switch-sort-direction.d.ts +2 -0
  1401. package/dist/table/elements/switch-sort-direction.js +11 -0
  1402. package/dist/table/elements/table-context.d.ts +19 -0
  1403. package/dist/table/elements/table-context.js +6 -0
  1404. package/dist/table/elements/table-provider.d.ts +26 -0
  1405. package/dist/table/elements/table-provider.js +75 -0
  1406. package/dist/table/elements/table-row-context.d.ts +14 -0
  1407. package/dist/table/elements/table-row-context.js +17 -0
  1408. package/dist/table/elements/table-row-provider.d.ts +4 -0
  1409. package/dist/table/elements/table-row-provider.js +26 -0
  1410. package/dist/table/elements/table-sort-button.d.ts +12 -0
  1411. package/dist/table/elements/table-sort-button.js +19 -0
  1412. package/dist/table/elements/table.d.ts +14 -0
  1413. package/dist/table/elements/table.js +24 -0
  1414. package/dist/table/elements/table.module.css.js +3 -0
  1415. package/dist/table/elements/td.d.ts +7 -0
  1416. package/dist/table/elements/td.js +13 -0
  1417. package/dist/table/elements/th.d.ts +2 -0
  1418. package/dist/table/elements/th.js +12 -0
  1419. package/dist/table/elements/tr.d.ts +2 -0
  1420. package/dist/table/elements/tr.js +11 -0
  1421. package/dist/table/elements/types.d.ts +39 -0
  1422. package/dist/table/elements/use-table-row.d.ts +1 -0
  1423. package/dist/table/elements/use-table-row.js +9 -0
  1424. package/dist/table/elements/use-table.d.ts +2 -0
  1425. package/dist/table/elements/use-table.js +12 -0
  1426. package/dist/table/elements/use-td.d.ts +2 -0
  1427. package/dist/table/elements/use-td.js +28 -0
  1428. package/dist/table/elements/use-th.d.ts +2 -0
  1429. package/dist/table/elements/use-th.js +21 -0
  1430. package/dist/text/highlight-text/highlight-text.d.ts +10 -0
  1431. package/dist/text/highlight-text/highlight-text.js +20 -0
  1432. package/dist/text/highlight-text/highlight-text.module.css.js +3 -0
  1433. package/dist/text/status-text/status-text.d.ts +6 -0
  1434. package/dist/text/status-text/status-text.js +9 -0
  1435. package/dist/text/status-text/status-text.module.css.js +3 -0
  1436. package/dist/text/truncated/truncated.d.ts +7 -0
  1437. package/dist/text/truncated/truncated.js +12 -0
  1438. package/dist/text/truncated/truncated.module.css.js +3 -0
  1439. package/dist/toast/toast-provider.js +10 -0
  1440. package/dist/toast/toast-provider.module.css.js +3 -0
  1441. package/dist/toast/toast.js +22 -0
  1442. package/dist/toast/toast.module.css.js +3 -0
  1443. package/dist/toast/use-toast.js +21 -0
  1444. package/dist/tokens/tokens.js +8 -0
  1445. package/dist/tooltip/tooltip.d.ts +10 -0
  1446. package/dist/tooltip/tooltip.js +32 -0
  1447. package/dist/tooltip/tooltip.module.css.js +3 -0
  1448. package/dist/typography/heading/heading.d.ts +8 -2
  1449. package/dist/typography/heading/heading.js +31 -0
  1450. package/dist/typography/heading/heading.module.css.js +3 -0
  1451. package/package.json +82 -67
  1452. package/dist/display/product-price/product-price.d.ts +0 -8
  1453. package/dist/display/product-price/product-total-price.d.ts +0 -7
  1454. package/dist/forms/checkbox/checkbox.d.ts +0 -11
  1455. package/dist/forms/color-checkbox/color-checkbox.d.ts +0 -5
  1456. package/dist/forms/field-error/field-error.d.ts +0 -5
  1457. package/dist/forms/label/label.d.ts +0 -6
  1458. package/dist/forms/number-field/number-field.d.ts +0 -31
  1459. package/dist/forms/select/select.d.ts +0 -13
  1460. package/dist/forms/text-field/text-field.d.ts +0 -29
  1461. package/dist/header/cart-icon/connected-cart-icon.d.ts +0 -3
  1462. package/dist/icons/other/career-innovate-icon.d.ts +0 -1
  1463. package/dist/icons/other/career-proactive-icon.d.ts +0 -1
  1464. package/dist/icons/other/career-teamplayer-icon.d.ts +0 -1
  1465. package/dist/icons/other/fallback-icon.d.ts +0 -1
  1466. package/dist/icons/other/some-facebook-icon.d.ts +0 -1
  1467. package/dist/icons/other/some-instagram-icon.d.ts +0 -1
  1468. package/dist/icons/other/some-linkedin-icon.d.ts +0 -1
  1469. package/dist/icons/other/some-mail-icon.d.ts +0 -1
  1470. package/dist/icons/other/some-youtube-icon.d.ts +0 -1
  1471. package/dist/icons/other/usp-efficiency-icon.d.ts +0 -1
  1472. package/dist/icons/other/usp-style-icon.d.ts +0 -1
  1473. package/dist/icons/other/usp-support-icon.d.ts +0 -1
  1474. package/dist/icons/other/warranty-10y-icon.d.ts +0 -1
  1475. package/dist/icons/other/warranty-1y-icon.d.ts +0 -1
  1476. package/dist/icons/other/warranty-3y-icon.d.ts +0 -1
  1477. package/dist/icons/other/warranty-5y-icon.d.ts +0 -1
  1478. package/dist/icons/other/warranty-consumable-icon.d.ts +0 -1
  1479. package/dist/icons/other/warranty-lifetime-icon.d.ts +0 -1
  1480. package/dist/icons/solid/solid-event-icon.d.ts +0 -1
  1481. package/dist/icons/solid/solid-sale-icon.d.ts +0 -1
  1482. package/dist/icons/solid/solid-vote-thumbsdown-icon.d.ts +0 -1
  1483. package/dist/icons/solid/solid-vote-thumbsup-icon.d.ts +0 -1
  1484. package/dist/icons/stroke/stroke-collapse-icon.d.ts +0 -1
  1485. package/dist/icons/stroke/stroke-expand-icon.d.ts +0 -1
  1486. package/dist/icons/stroke/stroke-vote-thumbsdown-icon.d.ts +0 -1
  1487. package/dist/icons/stroke/stroke-vote-thumbsup-icon.d.ts +0 -1
  1488. package/dist/lists/ul/list.d.ts +0 -10
  1489. package/dist/notifications/announcements/announcement-provider.d.ts +0 -1
  1490. package/dist/notifications/announcements/connected-announcement.d.ts +0 -5
  1491. package/dist/pages/page/page.d.ts +0 -9
  1492. package/dist/pages/product-details-page/components/product-details-panel/product-details-panel.d.ts +0 -4
  1493. package/dist/pages/product-listing-page/product-listing-page-provider/use-subcategories.d.ts +0 -4
  1494. package/dist/shared/api/bff/model/announcement.model.d.ts +0 -12
  1495. package/dist/shared/api/storefront/hooks/cart/use-patch-cart.d.ts +0 -4
  1496. package/dist/shared/api/storefront/hooks/cart/use-place-order.d.ts +0 -4
  1497. package/dist/shared/api/storefront/hooks/cart/use-save-cart-for-later.d.ts +0 -4
  1498. package/dist/shared/api/storefront/hooks/cart/use-update-cart-line-by-id.d.ts +0 -6
  1499. package/dist/shared/api/storefront/hooks/website/use-fetch-countries.d.ts +0 -1
  1500. package/dist/shared/routing/route-button.d.ts +0 -1
  1501. package/dist/shared/routing/route-icon-button.d.ts +0 -1
  1502. package/dist/shared/routing/route-link.d.ts +0 -1
  1503. package/dist/shared/utils/local-storage.d.ts +0 -6
  1504. package/dist/shared/utils/wait.d.ts +0 -1
  1505. /package/dist/algolia/{algolia-intialization.d.ts → algolia-initialization.d.ts} +0 -0
  1506. /package/dist/pages/{product-details-page → product/product-details-page}/product-details-page.d.ts +0 -0
  1507. /package/dist/pages/{product-listing-page → product/product-listing-page}/no-results/no-results.d.ts +0 -0
  1508. /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-category-carousel/product-listing-page-category-carousel.d.ts +0 -0
  1509. /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-provider/product-listing-page-context.d.ts +0 -0
  1510. /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-provider/product-listing-page-provider.d.ts +0 -0
  1511. /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page.d.ts +0 -0
  1512. /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-product-overview/product-listing-product-overview.d.ts +0 -0
  1513. /package/dist/pages/{search-result-page → product/search-result-page}/search-result-product-overview/search-result-product-overview.d.ts +0 -0
  1514. /package/dist/pages/{search-result-page → product/search-result-page}/search-results-page-category-carousel/search-results-page-category-carousel.d.ts +0 -0
  1515. /package/dist/pages/{search-result-page → product/search-result-page}/search-results-page.d.ts +0 -0
  1516. /package/dist/shared/{hooks → local-storage}/use-local-storage.d.ts +0 -0
  1517. /package/dist/shared/{hooks → local-storage}/use-session-storage.d.ts +0 -0
  1518. /package/dist/shared/utils/{date.test.d.ts → string.test.d.ts} +0 -0
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ import { IconSize } from '../icon/icon';
3
+ type Variant = 'solid' | 'stroke';
4
+ export interface InfoIconTooltipProps {
5
+ children: string | ReactNode;
6
+ className?: string;
7
+ size?: IconSize;
8
+ variant?: Variant;
9
+ }
10
+ export declare function InfoIconTooltip({ children, className, size, variant, }: InfoIconTooltipProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import clsx from 'clsx';
4
+ import { IconButton } from '../buttons/icon-button/icon-button.js';
5
+ import { useFormattedMessage } from '../intl/use-formatted-message.js';
6
+ import { Tooltip } from '../tooltip/tooltip.js';
7
+ import styles from './info-icon-tooltip.module.css.js';
8
+
9
+ function Icon({ label, size, variant, ...props }) {
10
+ return (jsx(IconButton, { ...props, round: true, className: clsx(styles.trigger), icon: variant === 'stroke' ? 'Information' : 'InformationSolid', label: label, size: size }));
11
+ }
12
+ function InfoIconTooltip({ children, className, size = 'md', variant = 'solid', }) {
13
+ const t = useFormattedMessage();
14
+ const label = t('Information');
15
+ return (jsx(Tooltip, { className: clsx(className, styles['info-icon-tooltip'], styles[variant]), trigger: jsx(Icon, { label: label, size: size, variant: variant }), children: children }));
16
+ }
17
+
18
+ export { InfoIconTooltip };
@@ -0,0 +1,3 @@
1
+ var styles = {"info-icon-tooltip":"info-icon-tooltip-module-oR4nD","stroke":"info-icon-tooltip-module-5zfDr","trigger":"info-icon-tooltip-module-0lY-K"};
2
+
3
+ export { styles as default };
@@ -0,0 +1,4 @@
1
+ export declare const FormattedDate: ({ date, options, }: {
2
+ date: Date | string;
3
+ options?: Intl.DateTimeFormatOptions;
4
+ }) => string | undefined;
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import { useFormattedDate } from './use-formatted-date.js';
3
+
4
+ const FormattedDate = ({ date, options, }) => {
5
+ return useFormattedDate()(date, options);
6
+ };
7
+
8
+ export { FormattedDate };
@@ -1,3 +1,3 @@
1
- import { ComponentType } from 'react';
2
- import { FormattedMessageProps } from './types';
3
- export declare const FormattedMessage: ComponentType<FormattedMessageProps>;
1
+ import { FormattedMessagePropsWithKnownTranslationId, FormattedMessagePropsWithUnknownTranslationId } from './types';
2
+ export declare function FormattedMessage(props: FormattedMessagePropsWithUnknownTranslationId): string;
3
+ export declare function FormattedMessage(props: FormattedMessagePropsWithKnownTranslationId): string;
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ import { isFormattedMessageWithUnknownTranslationIdProps, isFormattedMessageWithTranslationIdProps } from './types.js';
3
+ import { useFormattedMessage } from './use-formatted-message.js';
4
+
5
+ function FormattedMessage(props) {
6
+ const { fallbackValue, optional, replacementValues } = props;
7
+ const t = useFormattedMessage();
8
+ if (isFormattedMessageWithUnknownTranslationIdProps(props)) {
9
+ const { id } = props;
10
+ return t(id, {
11
+ fallbackValue,
12
+ noTranslationId: true,
13
+ optional,
14
+ replacementValues,
15
+ });
16
+ }
17
+ else if (isFormattedMessageWithTranslationIdProps(props)) {
18
+ const { id } = props;
19
+ return t(id, {
20
+ fallbackValue,
21
+ optional,
22
+ replacementValues,
23
+ });
24
+ }
25
+ else {
26
+ throw new Error('Invalid props for FormattedMessage, unknown translation type');
27
+ }
28
+ }
29
+
30
+ export { FormattedMessage };
@@ -1,8 +1,16 @@
1
- import { CultureCode, FormattedMessageFunction } from './types';
2
- interface IntlContextType {
1
+ import { CountryCode, CultureCode, CurrencyCode, FormattedMessageFunction } from './types';
2
+ export type UpdateCountryCode = (countryCode: CountryCode) => void;
3
+ export type UpdateCultureCode = (cultureCode: CultureCode) => void;
4
+ export type UpdateCurrencyCode = (currencyCode: CurrencyCode) => void;
5
+ export interface IntlContextType {
6
+ countryCode: CountryCode;
3
7
  cultureCode: CultureCode;
8
+ currencyCode: CurrencyCode;
4
9
  formattedMessage: FormattedMessageFunction;
5
- updateCultureCode: (cultureCode: CultureCode) => void;
10
+ setShowSelector: (show: boolean) => void;
11
+ showSelector: boolean | null;
12
+ updateCountryCode?: UpdateCountryCode;
13
+ updateCultureCode?: UpdateCultureCode;
14
+ updateCurrencyCode?: UpdateCurrencyCode;
6
15
  }
7
- export declare const IntlContext: React.Context<IntlContextType>;
8
- export {};
16
+ export declare const IntlContext: React.Context<IntlContextType | undefined>;
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import { createContext } from 'react';
3
+
4
+ const IntlContext = createContext(undefined);
5
+
6
+ export { IntlContext };
@@ -1,8 +1,10 @@
1
- import { CultureCode, FormattedMessageFunction } from './types';
1
+ import { CountryCode, CultureCode, CurrencyCode, FormattedMessageFunction } from './types';
2
2
  interface IntlProviderProps {
3
3
  children: React.ReactNode;
4
+ countryCode: CountryCode;
4
5
  cultureCode: CultureCode;
6
+ currencyCode: CurrencyCode;
5
7
  formattedMessage: FormattedMessageFunction;
6
8
  }
7
- export declare function IntlProvider({ children, cultureCode: _cultureCode, formattedMessage, }: IntlProviderProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function IntlProvider({ children, countryCode: _countryCode, cultureCode: _cultureCode, currencyCode: _currencyCode, formattedMessage, }: IntlProviderProps): import("react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -0,0 +1,35 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { useState, useMemo } from 'react';
4
+ import { IntlContext } from './intl-context.js';
5
+
6
+ function IntlProvider({ children, countryCode: _countryCode, cultureCode: _cultureCode, currencyCode: _currencyCode, formattedMessage, }) {
7
+ const [showSelector, setShowSelector] = useState(null);
8
+ const [cultureCode, updateCultureCode] = useState();
9
+ const [currencyCode, updateCurrencyCode] = useState();
10
+ const [countryCode, updateCountryCode] = useState();
11
+ const value = useMemo(() => ({
12
+ countryCode: countryCode || _countryCode,
13
+ cultureCode: cultureCode || _cultureCode,
14
+ currencyCode: currencyCode || _currencyCode,
15
+ formattedMessage,
16
+ setShowSelector,
17
+ showSelector,
18
+ updateCountryCode,
19
+ updateCultureCode,
20
+ updateCurrencyCode,
21
+ }), [
22
+ _countryCode,
23
+ _cultureCode,
24
+ _currencyCode,
25
+ countryCode,
26
+ cultureCode,
27
+ currencyCode,
28
+ formattedMessage,
29
+ showSelector,
30
+ setShowSelector,
31
+ ]);
32
+ return jsx(IntlContext.Provider, { value: value, children: children });
33
+ }
34
+
35
+ export { IntlProvider };
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ interface MissingTranslationProviderProps {
3
+ children: ReactNode;
4
+ }
5
+ export declare function MissingTranslationProvider({ children, }: MissingTranslationProviderProps): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
6
+ export {};
@@ -0,0 +1,45 @@
1
+ "use client";
2
+ import { jsx, Fragment } from 'react/jsx-runtime';
3
+ import { useCallback, useMemo } from 'react';
4
+ import { logger } from '../logging/logger.js';
5
+ import { useFetchTranslations } from '../shared/api/storefront/hooks/translation/use-fetch-translations.js';
6
+ import { useFeatureFlags } from '../shared/feature-flags/use-feature-flags.js';
7
+ import { IntlContext } from './intl-context.js';
8
+ import { useIntl } from './use-intl.js';
9
+ import { getLanguageCodeFromCultureCode } from './utils.js';
10
+
11
+ function MissingTranslationProvider({ children, }) {
12
+ const { missing, translations: showTranslations } = useFeatureFlags();
13
+ const intlProps = useIntl();
14
+ const { data: translations, error, isLoading, } = useFetchTranslations(getLanguageCodeFromCultureCode(intlProps.cultureCode), { enabled: missing });
15
+ const formattedMessage = useCallback((id, options) => {
16
+ const message = intlProps.formattedMessage(id, options);
17
+ if (!missing && !showTranslations)
18
+ return message;
19
+ if (missing &&
20
+ !translations?.[id.toLocaleLowerCase()] &&
21
+ !options?.optional) {
22
+ return `❗️${message}❗️`;
23
+ }
24
+ return showTranslations
25
+ ? options?.optional
26
+ ? `❓${message}❓`
27
+ : `⭐️${message}⭐️`
28
+ : message;
29
+ }, [intlProps, missing, showTranslations, translations]);
30
+ const value = useMemo(() => ({
31
+ ...intlProps,
32
+ formattedMessage,
33
+ }), [intlProps, formattedMessage]);
34
+ if (!missing && !showTranslations)
35
+ return jsx(Fragment, { children: children });
36
+ if (error) {
37
+ logger.error('MissingTranslationProvider::Error fetching translations', error);
38
+ return children;
39
+ }
40
+ if (missing && (isLoading || !translations))
41
+ return null;
42
+ return jsx(IntlContext.Provider, { value: value, children: children });
43
+ }
44
+
45
+ export { MissingTranslationProvider };
@@ -1 +1 @@
1
- export type TranslationId = "'{0}' in all products" | "Try 'Search' and try to find the product you're looking for" | "Unfortnately, We found no articles for your search '{0}'" | ' to your account to manage your lists.' | 'Add to list' | 'Amount: {0}' | 'An unexpected error occured' | 'Are you looking for information about our service? Please visit our customer support page' | 'Are you sure you want to remove all items from your cart?' | 'Are you sure you want to remove this item from your cart?' | 'Cancel' | 'Chosen filters' | 'Clear filters' | 'Clear' | 'Continue' | 'Continue shopping' | 'Cost overview' | 'Country' | 'Create new list' | 'create account' | 'Delivery expected in {0} {1}' | 'Double check your spelling' | 'Downloads' | 'Excl. VAT' | 'Explore by categories' | 'Exploring our products by category' | 'Features' | 'Fulfillment method' | 'Hide filters' | 'Incl. VAT' | 'Includes' | 'Language' | 'List name already exists' | 'New list name' | 'Order number' | 'pc' | 'Please Sign In' | 'Popular searches' | 'Print' | 'Product Features' | 'Products' | 'Product' | 'Quick access' | 'Recent searches' | 'Recently viewed' | 'Remove all' | 'Searching again using more general terms' | 'See all results' | 'Select a list' | 'Shop more efficiently and quicker with a favorites list' | 'Easily add your favorite products' | 'Your favorites are available on multiple devices' | 'Save' | 'Share your favorite list with others' | 'Shipping and handling' | 'Show all' | 'Show filters' | 'Show less' | 'Show' | 'Sorry, there are no products found' | 'Sorry, we could not find matches for' | 'Sort by' | 'Specifications' | 'Submit' | 'Subtotal' | 'Suggestions' | 'The product has been added to your cart.' | 'The product has been updated in your cart.' | 'The product has been removed from your cart.' | 'Unable to add the product to your cart.' | 'Unable to update the product in your cart.' | 'Unable to remove the product from your cart.' | 'Try another search' | 'Total' | 'Use fewer keywords' | 'VAT' | 'Welcome to Sonic Equipment. Please choose your country and language below.' | 'What are you searching for?' | 'You could try checking the spelling of your search query' | 'You could try exploring our products by category' | 'You could try' | 'You must ' | 'article' | 'articles' | 'facet.categories' | 'facet.height' | 'facet.weight' | 'of' | 'sign in' | 'sort.newest' | 'sort.price_asc' | 'sort.price_desc' | 'sort.relevance' | 'tag.limited' | 'tag.new';
1
+ export type TranslationId = "'{0}' in all products" | "Try 'Search' and try to find the product you're looking for" | "Unfortnately, We found no articles for your search '{0}'" | ' to your account to manage your lists.' | 'Access denied.' | 'Account' | 'Account was activated successfully.' | 'active' | 'Add address' | 'Add order notes' | 'Add to cart' | 'Add to favorites' | 'Add to list' | 'Address 1' | 'Address 2' | 'Address 3' | 'Address 4' | 'Address not found' | 'Address' | 'Address book' | 'addressProperty.Default' | 'addressProperty.Company Name' | 'addressProperty.Address Line' | 'addressProperty.Postal Code' | 'addressProperty.City' | 'addressProperty.Country' | 'All payment methods are unavailable at this time. Please contact customer support.' | 'Amount: {0}' | 'An error occurred while changing the customer.' | 'An error occurred while fetching customers. Please try again later.' | 'An error occurred while fetching addresses. Please try again later.' | 'An error occurred while processing your payment. Please try again.' | 'An unexpected error occured' | 'An unexpected error occured. Please try again.' | 'Announcements' | 'Are you looking for information about our service? Please visit our customer support page' | 'Are you sure you want to remove all items from your cart?' | 'Are you sure you want to remove this item from your cart?' | 'article' | 'articles' | 'As soon as possible' | 'ASC' | 'Attention' | 'Availability unknown, please contact customer support for lead time or alternatives.' | 'Back' | 'Billing address' | 'Billing and shipping address' | 'Billing and shipping information' | 'Billing' | 'Cancel' | 'Cart' | 'Change customer' | 'Change password' | 'Changing password…' | 'Changing your address is currently not possible. Please contact customer support to change your address.' | 'Checkout order' | 'Choose another region if you want to see the content for your location and shop online.' | 'Choose your country or region…' | 'Chosen filters' | 'City' | 'Clear filters' | 'Create' | 'Clear' | 'Click the button below to continue shopping.' | 'Client cases' | 'Close' | 'Close and don’t show again' | 'CoC number' | 'Column 1: Item number or customer part number' | 'Column 2: Quantity (optional)' | 'Column 3: Unit of measure (optional)' | 'Company name' | 'Conceal value' | 'Confirm new password' | 'Continue shopping' | 'Continue to sign in' | 'Continue' | 'Copyright © Sonic Equipment B.V.' | 'Cost overview' | 'Country' | 'Create a row for each product. The allowed maximum is 500 rows' | 'Create account' | 'Create new list' | 'Create or modify a spreadsheet' | 'Currency Change' | 'Current page' | 'Current password' | 'Current Password is invalid' | 'Date' | 'Decrease' | 'Default shipping address' | 'Delivery date' | 'Delivery expected on {0}' | 'DESC' | 'Double check your spelling' | 'Download spreadsheet template' | 'Downloads' | 'Easily add your favorite products' | 'Edit billing address' | 'Edit shipping address' | 'Edit Sonic account' | 'Edit' | 'Email' | 'Enter your email address and we will send you an email that will allow you to recover your password.' | 'Excl. VAT' | 'Explore by categories' | 'Exploring our products by category' | 'facet.categories' | 'facet.height' | 'facet.weight' | 'Favorites' | 'Features' | 'Filter order status' | 'Finalize order' | 'Finalize payment' | 'First name' | 'Forgot password?' | 'Fulfillment method' | 'General' | 'Good day' | 'Good morning' | 'Good afternoon' | 'Good evening' | 'Goodnight' | 'Guest' | 'Hide filters' | 'Home' | 'If an account matches the email address you entered, instructions on how to recover the password will be sent to that email address shortly. If you do not receive this email, please contact Customer Support.' | 'If you want to proceed, click the continue button. If you want to change your country, close this message and select a different country.' | 'Incl. VAT' | 'Includes' | 'Increase' | 'Industry' | 'industry.AG' | 'industry.AU' | 'industry.AV' | 'industry.BC' | 'industry.MA' | 'industry.MC' | 'industry.OT' | 'industry.PP' | 'industry.TR' | 'Information' | 'Instructions' | 'Language' | 'Last name' | 'List name already exists' | 'Log out' | 'Main menu' | 'Make sure the spreadsheet has 3 columns' | 'Make this the default customer' | 'Make this the default ship to address' | 'More than {0} articles' | 'My account' | 'My Sonic' | 'My Sonic menu' | 'Name' | 'Navigate to...' | 'Navigation' | 'New list name' | 'New Password is required and must be different than Current Password' | 'New password' | 'New user?' | 'Next' | 'No' | 'No countries available. Unable to change address.' | 'No orders found.' | 'No results found. Please refine your search.' | 'No search results' | 'Number of favorites' | 'Number of products' | 'of' | 'OK' | 'Or continue as guest' | 'Order confirmation' | 'Order date' | 'Order details' | 'Order history' | 'Order number' | 'Order#' | 'Order' | 'orderProperty.Date' | 'orderProperty.Number' | 'orderProperty.PO Number' | 'orderProperty.Price' | 'orderProperty.Shipping Address' | 'orderProperty.Status' | 'Orders' | 'orderStatus.Any' | 'orderStatus.Cancelled' | 'orderStatus.ForwardToReseller' | 'orderStatus.Fulfilled' | 'orderStatus.Partially fulfilled' | 'orderStatus.Processing' | 'orderStatus.Saved' | 'orderStatus.Waiting for customer service' | 'Our products' | 'Overview' | 'Page not found.' | 'Password changed. Please sign in again.' | 'Password does not meet requirements' | 'Password' | 'Passwords do not match' | 'Pay by invoice' | 'Payment method' | 'Payment' | 'pc' | 'Phone' | 'Pick up' | 'Pickup address' | 'Please contact Customer Support if you need assistance.' | 'Please enter a valid email address' | 'Please enter a valid phone number' | 'please go back to your cart.' | 'Please Sign In' | 'PO Number' | 'Popular searches' | 'Postal Code' | 'Previous' | 'Print' | 'Private account' | 'Processing' | 'Product Features' | 'Product' | 'Products' | 'Quantity' | 'Quick access' | 'Recent searches' | 'Recently viewed' | 'Recover your password' | 'Reset' | 'Remember me' | 'Remove' | 'Remove all' | 'Remove from favorites' | 'Reorder' | 'Reordering...' | 'Requested delivery date' | 'Results' | 'Reveal value' | 'Review and payment' | 'Save order' | 'Save' | 'Save the file in XLS, XLSX or CSV format' | 'Saved' | 'Saved cart for later.' | 'Saving' | 'Search for a customer' | 'Search' | 'Searching again using more general terms' | 'Search orders' | 'Search addresses' | 'See all results' | 'Select a country' | 'Select a desired delivery date' | 'Select a language' | 'Select a list' | 'Select a region and language' | 'Select an industry' | 'Select another country or language…' | 'Select other customer' | 'Select the file to upload in the form and click Upload order' | 'Selected customer' | 'Selecting As Soon As Possible will enable us to send the products to you as they become available.' | 'Selecting this country will result in your cart to be converted to the currency {0}' | 'Share your favorite list with others' | 'Ship' | 'Shipping address' | 'Shipping and handling' | 'Shipping details' | 'Shop more efficiently and quicker with a favorites list' | 'Shopping cart' | 'Show all' | 'Show filters' | 'Show less' | 'Show' | 'Sign in or create account' | 'Sign in' | 'Sign me up for newsletters and product updates' | 'Signed in' | 'Signed out' | 'Signing in…' | 'Something went wrong' | 'Sonic account' | 'Sonic address' | 'Sonic Equipment' | 'Sorry, there are no products found' | 'Sorry, we could not find matches for' | 'Sort by' | 'sort.newest' | 'sort.price_asc' | 'sort.price_desc' | 'sort.relevance' | 'sort.ASC' | 'sort.DESC' | 'sort.NONE' | 'Specifications' | 'Start checkout' | 'Status' | 'Submenu' | 'Submit email address' | 'Submit' | 'Submitting…' | 'Subtotal' | 'Suggestions' | 'Support' | 'tag.limited' | 'tag.new' | 'The email address you entered is already associated with an existing account. Please sign in to this account or contact Customer Support.' | 'The expected delivery is an indication based on the product availability and the shipping location.' | 'The link you used for resetting your password is invalid. Please, reset your password again, or contact Customer Support.' | 'The password could not be changed. Please, reset your password again, or contact Customer Support.' | 'The product has been added to your cart.' | 'The product has been removed from your cart.' | 'The product has been updated in your cart.' | 'The option to upload an Excel file with your order is temporarily unavailable.' | 'The order has been added to your cart.' | 'The user to change the password for could not be found. Please, reset your password again, or contact Customer Support.' | 'There are more customers, please refine your search if needed.' | 'There are more addresses, please refine your search if needed.' | 'There are no products in your shopping cart.' | 'There is no information to display' | 'This email is already in use' | 'Toggle navigation menu' | 'Total amount is' | 'Total' | 'Try another search' | 'Unable to add the product to your cart.' | 'Unable to add the order to your cart.' | 'Unable to empty your cart.' | 'Unable to remove the product from your cart.' | 'Unable to save cart for later.' | 'Unable to update the product in your cart.' | 'Unknown' | 'Updating address' | 'Upload order' | 'Upload an Excel (XLS/XLSX) spreadsheet or CSV file to quickly add items to your cart.' | 'Use billing address' | 'Use default shipping address' | 'Use new address' | 'Use fewer keywords' | 'Username' | 'Validating' | 'validation.badInput' | 'validation.customError' | 'validation.invalid' | 'validation.patternMismatch' | 'validation.rangeOverflow' | 'validation.rangeUnderflow' | 'validation.stepMismatch' | 'validation.tooLong' | 'validation.tooShort' | 'validation.typeMismatch' | 'validation.valid' | 'validation.valueMissing' | 'VAT Number' | 'VAT' | 'Welcome to Sonic Equipment. Please choose your country and language below.' | 'What are you searching for?' | 'Yes' | 'You are not authorized to access this information.' | 'You are not authorized to perform this action' | 'You are not authorized to view customers. Please log in or contact support.' | 'You are not authorized to view addresses. Please log in or contact support.' | 'You are required to change your password and then sign in again, using your new credentials.' | 'You could try checking the spelling of your search query' | 'You could try exploring our products by category' | 'You could try' | 'You have no favorite products yet.' | 'You have reached the end of the results, but there may be more articles available. Adjust your filters or search to discover more!' | 'You must ' | 'You selected a country where we invoice in a different currency. This will result in your cart being converted to the new currency. If you would like to review your order, ' | 'Your account is temporarily locked. Please try again later or contact Customer Support.' | 'Your cart has been emptied.' | 'Your email and password were not recognized.' | 'Your favorites are available on multiple devices' | 'Your new Sonic Equipment account was succesfully created. You should receive an email soon with further instructions on how to activate this account. If you do not receive this email, please contact Customer Support.' | 'Your shopping cart is still empty';
@@ -2,30 +2,52 @@ import { TranslationId } from './translation-id';
2
2
  export type Translations = Record<TranslationId, string>;
3
3
  type Letter = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z';
4
4
  export type CountryCode = Uppercase<`${Letter}${Letter}`>;
5
+ export type CurrencyCode = Uppercase<`${Letter}${Letter}${Letter}`>;
5
6
  export type LanguageCode = Uppercase<`${Letter}${Letter}`>;
7
+ export type LanguageCountryCode = `${Lowercase<string>}-${Lowercase<string>}`;
6
8
  export declare function isCountryCode(value: unknown): value is CountryCode;
9
+ export declare function isCurrencyCode(value: unknown): value is CurrencyCode;
7
10
  export declare function isLanguageCode(value: unknown): value is LanguageCode;
8
11
  export type CultureCode = `${Lowercase<string>}-${Uppercase<string>}`;
9
12
  export declare function isCultureCode(value: unknown): value is CultureCode;
13
+ export type CountryLanguageCode = `${Lowercase<string>}-${Lowercase<string>}`;
14
+ export declare function isCountryLanguageCode(value: unknown): value is CountryLanguageCode;
10
15
  export interface FormattedMessageOptions {
11
16
  fallbackValue?: string;
12
17
  optional?: boolean;
13
18
  replacementValues?: Record<string, string>;
14
19
  }
15
- export interface FormattedMessageProps extends FormattedMessageOptions {
20
+ export interface FormattedMessageOptionsWithKnownTranslationId extends FormattedMessageOptions {
21
+ noTranslationId?: false;
22
+ }
23
+ export interface FormattedMessageOptionsWithUnkownTranslationId extends FormattedMessageOptions {
24
+ noTranslationId: true;
25
+ }
26
+ export interface FormattedMessagePropsWithKnownTranslationId extends FormattedMessageOptionsWithKnownTranslationId {
16
27
  id: TranslationId;
17
28
  }
29
+ export interface FormattedMessagePropsWithUnknownTranslationId extends FormattedMessageOptionsWithUnkownTranslationId {
30
+ id: string;
31
+ noTranslationId: true;
32
+ }
33
+ export type FormattedMessageProps = FormattedMessagePropsWithKnownTranslationId | FormattedMessagePropsWithUnknownTranslationId;
34
+ export interface FormattedMessageFunctionWithUnknownTranslationId {
35
+ (id: string, options: FormattedMessageOptionsWithUnkownTranslationId): string;
36
+ }
37
+ export interface FormattedMessageFunctionWithKnownTranslationId {
38
+ (id: TranslationId, options?: FormattedMessageOptionsWithKnownTranslationId): string;
39
+ }
18
40
  export interface FormattedMessageFunction {
19
- (id: TranslationId, options?: {
20
- fallbackValue?: string;
21
- optional?: boolean;
22
- replacementValues?: Record<string, string>;
23
- }): string;
24
- }
25
- export interface PluralizedFormattedMessageFunction extends FormattedMessageFunction {
26
- pluralize: {
27
- (translationId: string, count: number): string;
28
- (translationIdPrefix: string, translationId: string, count: number): string;
29
- };
41
+ (id: TranslationId, options?: FormattedMessageOptionsWithKnownTranslationId): string;
42
+ (id: string, options: FormattedMessageOptionsWithUnkownTranslationId): string;
43
+ }
44
+ export interface PluralizeFunction {
45
+ (translationId: string, count: number): string;
46
+ (translationIdPrefix: string, translationId: string, count: number): string;
47
+ }
48
+ export interface FormattedMessageFunctionWithPluralisation extends FormattedMessageFunction {
49
+ pluralize: PluralizeFunction;
30
50
  }
51
+ export declare function isFormattedMessageWithUnknownTranslationIdProps(p: FormattedMessageProps): p is FormattedMessagePropsWithUnknownTranslationId;
52
+ export declare function isFormattedMessageWithTranslationIdProps(p: FormattedMessageProps): p is FormattedMessagePropsWithKnownTranslationId;
31
53
  export {};
@@ -0,0 +1,33 @@
1
+ function isCountryCode(value) {
2
+ if (typeof value !== 'string')
3
+ return false;
4
+ return /^[A-Z]{2}$/.test(value);
5
+ }
6
+ function isCurrencyCode(value) {
7
+ if (typeof value !== 'string')
8
+ return false;
9
+ return /^[A-Z]{3}$/.test(value);
10
+ }
11
+ function isLanguageCode(value) {
12
+ if (typeof value !== 'string')
13
+ return false;
14
+ return /^[A-Z]{2}$/.test(value);
15
+ }
16
+ function isCultureCode(value) {
17
+ if (typeof value !== 'string')
18
+ return false;
19
+ return /^[a-z]{2}-[A-Z]{2}$/.test(value);
20
+ }
21
+ function isCountryLanguageCode(value) {
22
+ if (typeof value !== 'string')
23
+ return false;
24
+ return value === 'other' || /^[a-z]{2}-[a-z]{2}$/.test(value);
25
+ }
26
+ function isFormattedMessageWithUnknownTranslationIdProps(p) {
27
+ return Boolean('noTranslationId' in p && p.noTranslationId);
28
+ }
29
+ function isFormattedMessageWithTranslationIdProps(p) {
30
+ return !('noTranslationId' in p) || !p.noTranslationId;
31
+ }
32
+
33
+ export { isCountryCode, isCountryLanguageCode, isCultureCode, isCurrencyCode, isFormattedMessageWithTranslationIdProps, isFormattedMessageWithUnknownTranslationIdProps, isLanguageCode };
@@ -0,0 +1,3 @@
1
+ import { UpdateCountryCode } from './intl-context';
2
+ export declare function useCountryCode(): string;
3
+ export declare function useUpdateCountryCode(): UpdateCountryCode;
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { useIntl } from './use-intl.js';
3
+
4
+ function useCountryCode() {
5
+ const { countryCode } = useIntl();
6
+ return countryCode;
7
+ }
8
+ function useUpdateCountryCode() {
9
+ const { updateCountryCode } = useIntl();
10
+ if (!updateCountryCode)
11
+ throw new Error('updateCountryCode is not defined');
12
+ return updateCountryCode;
13
+ }
14
+
15
+ export { useCountryCode, useUpdateCountryCode };
@@ -1,3 +1,4 @@
1
+ import { UpdateCultureCode } from './intl-context';
1
2
  import { CultureCode } from './types';
2
3
  export declare function useCultureCode(): CultureCode;
3
- export declare function useUpdateCultureCode(): (cultureCode: CultureCode) => void;
4
+ export declare function useUpdateCultureCode(): UpdateCultureCode;
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { useIntl } from './use-intl.js';
3
+
4
+ function useCultureCode() {
5
+ const { cultureCode } = useIntl();
6
+ return cultureCode;
7
+ }
8
+ function useUpdateCultureCode() {
9
+ const { updateCultureCode } = useIntl();
10
+ if (!updateCultureCode)
11
+ throw new Error('updateCultureCode is not defined');
12
+ return updateCultureCode;
13
+ }
14
+
15
+ export { useCultureCode, useUpdateCultureCode };
@@ -0,0 +1,4 @@
1
+ import { UpdateCurrencyCode } from './intl-context';
2
+ import { CurrencyCode } from './types';
3
+ export declare function useCurrencyCode(): CurrencyCode;
4
+ export declare function useUpdateCurrencyCode(): UpdateCurrencyCode;
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { useIntl } from './use-intl.js';
3
+
4
+ function useCurrencyCode() {
5
+ const { currencyCode } = useIntl();
6
+ return currencyCode;
7
+ }
8
+ function useUpdateCurrencyCode() {
9
+ const { updateCurrencyCode } = useIntl();
10
+ if (!updateCurrencyCode)
11
+ throw new Error('updateCurrencyCode is not defined');
12
+ return updateCurrencyCode;
13
+ }
14
+
15
+ export { useCurrencyCode, useUpdateCurrencyCode };
@@ -0,0 +1,6 @@
1
+ export declare function useFormattedDate(): {
2
+ (date: Date, options?: Intl.DateTimeFormatOptions): string;
3
+ (date: string, options?: Intl.DateTimeFormatOptions): string | undefined;
4
+ (date: null | undefined, options?: Intl.DateTimeFormatOptions): undefined;
5
+ (date: Date | string | null | undefined, options?: Intl.DateTimeFormatOptions): string | undefined;
6
+ };
@@ -0,0 +1,20 @@
1
+ "use client";
2
+ import { useCallback } from 'react';
3
+ import { formatDate } from '../shared/utils/date.js';
4
+ import { useIntl } from './use-intl.js';
5
+
6
+ function useFormattedDate() {
7
+ const { cultureCode } = useIntl();
8
+ function format(date, options = {
9
+ day: 'numeric',
10
+ month: 'long',
11
+ weekday: 'long',
12
+ year: 'numeric',
13
+ }) {
14
+ return formatDate(date, cultureCode, options);
15
+ }
16
+ // eslint-disable-next-line react-hooks/exhaustive-deps
17
+ return useCallback(format, [cultureCode]);
18
+ }
19
+
20
+ export { useFormattedDate };
@@ -1,2 +1,2 @@
1
- import { PluralizedFormattedMessageFunction } from './types';
2
- export declare function useFormattedMessage(): PluralizedFormattedMessageFunction;
1
+ import { FormattedMessageFunctionWithPluralisation } from './types';
2
+ export declare function useFormattedMessage(): FormattedMessageFunctionWithPluralisation;
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import { useCallback } from 'react';
3
+ import { useIntl } from './use-intl.js';
4
+
5
+ function useFormattedMessage() {
6
+ const { formattedMessage } = useIntl();
7
+ const pluralize = (translationIdOrPrefix, translationIdOrCount, count) => {
8
+ return formattedMessage(typeof translationIdOrCount === 'number'
9
+ ? `${translationIdOrPrefix}.${translationIdOrCount === 1 ? 'singular' : 'plural'}`
10
+ : `${translationIdOrPrefix}.${translationIdOrCount}.${count === 1 ? 'singular' : 'plural'}`, { noTranslationId: true });
11
+ };
12
+ const formatFunction = (id, options) => formattedMessage(id, options);
13
+ formatFunction.pluralize = pluralize;
14
+ return useCallback(formatFunction, [formattedMessage]);
15
+ }
16
+
17
+ export { useFormattedMessage };
@@ -0,0 +1 @@
1
+ export declare function useIntl(): import("./intl-context").IntlContextType;
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import { useContext } from 'react';
3
+ import { IntlContext } from './intl-context.js';
4
+
5
+ function useIntl() {
6
+ const context = useContext(IntlContext);
7
+ if (!context)
8
+ throw new Error('useIntl must be used within an IntlProvider');
9
+ return context;
10
+ }
11
+
12
+ export { useIntl };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import { useIntl } from './use-intl.js';
3
+ import { getLanguageCodeFromCultureCode } from './utils.js';
4
+
5
+ function useLanguageCode() {
6
+ const { cultureCode } = useIntl();
7
+ return getLanguageCodeFromCultureCode(cultureCode);
8
+ }
9
+
10
+ export { useLanguageCode };
@@ -0,0 +1,30 @@
1
+ import { logger } from '../logging/logger.js';
2
+ import { isLanguageCode } from './types.js';
3
+
4
+ function getLanguageCodeFromCultureCode(cultureCode) {
5
+ const languageCode = cultureCode.split('-')[0]?.toUpperCase();
6
+ if (!isLanguageCode(languageCode))
7
+ throw new Error('Language code is not found');
8
+ return languageCode;
9
+ }
10
+ function spireTranslateAdapter(translate) {
11
+ return (id, { fallbackValue, optional, replacementValues, } = {}) => {
12
+ const message = translate(id, ...(replacementValues
13
+ ? Object.keys(replacementValues)
14
+ .map(Number.parseFloat)
15
+ .filter(index => !Number.isNaN(index))
16
+ .reduce((acc, index) => {
17
+ const replacementValue = replacementValues[index];
18
+ if (replacementValue === undefined)
19
+ return acc;
20
+ acc[index] = replacementValue;
21
+ return acc;
22
+ }, [])
23
+ : []));
24
+ if (optional && message === undefined)
25
+ logger.warn(`Missing translation with id: ${id}`);
26
+ return message || fallbackValue || id;
27
+ };
28
+ }
29
+
30
+ export { getLanguageCodeFromCultureCode, spireTranslateAdapter };
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export declare function PageContainer({ children, className, }: {
2
+ export declare function Center({ children, className, }: {
3
3
  children: ReactNode;
4
4
  className?: string;
5
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import clsx from 'clsx';
4
+ import styles from './center.module.css.js';
5
+
6
+ function Center({ children, className, }) {
7
+ return jsx("div", { className: clsx(styles.center, className), children: children });
8
+ }
9
+
10
+ export { Center };
@@ -0,0 +1,3 @@
1
+ var styles = {"center":"center-module-Cr7hx"};
2
+
3
+ export { styles as default };
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import { jsx, jsxs } from 'react/jsx-runtime';
3
+ import clsx from 'clsx';
4
+ import { Icon } from '../../icon/icon.js';
5
+ import styles from './download-document-list.module.css.js';
6
+
7
+ function DownloadDocumentList({ className, documents, }) {
8
+ return (jsx("ul", { className: clsx(styles['download-list'], className), children: documents.map(document => (jsx(DownloadListItem, { document: document }, document.id))) }));
9
+ }
10
+ function DownloadListItem({ document: { href, name }, }) {
11
+ return (jsx("li", { className: styles['item'], children: jsxs("a", { href: href, rel: "download noreferrer", target: "_blank", children: [jsx(Icon, { className: styles['icon'], name: "Download" }), name] }) }));
12
+ }
13
+
14
+ export { DownloadDocumentList };
@@ -0,0 +1,3 @@
1
+ var styles = {"download-list":"download-document-list-module-W8OzR","item":"download-document-list-module-RcGX9","icon":"download-document-list-module-sxHwt"};
2
+
3
+ export { styles as default };
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
+ import clsx from 'clsx';
4
+ import { Icon } from '../../icon/icon.js';
5
+ import { useFormattedMessage } from '../../intl/use-formatted-message.js';
6
+ import styles from './feature-list.module.css.js';
7
+
8
+ function FeatureKey({ label }) {
9
+ return label;
10
+ }
11
+ function FeatureValue({ value }) {
12
+ const t = useFormattedMessage();
13
+ if (typeof value === 'boolean' ||
14
+ (typeof value === 'string' &&
15
+ (value.toLowerCase() === 'true' || value.toLowerCase() === 'false'))) {
16
+ return (jsx(Fragment, { children: String(value).toLowerCase() === 'true' ? (jsx(Icon, { className: styles['icon-true'], label: t('Yes'), name: "OkaySolid" })) : (jsx(Icon, { className: styles['icon-false'], label: t('No'), name: "CloseSolid" })) }));
17
+ }
18
+ return jsx("div", { className: styles.value, children: value });
19
+ }
20
+ function FeatureList({ className, features, style }) {
21
+ return (jsx("dl", { className: clsx(styles['feature-list'], className), children: features.map(({ id, key, value }) => (jsxs("div", { className: styles.row, children: [jsx("dt", { className: clsx(styles['label'], styles[`alignment-${style?.keyAlignment || 'left'}`]), children: key && jsx(FeatureKey, { ...key }) }), jsx("dd", { className: clsx(styles['values'], styles[`alignment-${style?.valueAlignment || 'right'}`]), children: Array.isArray(value) ? (value.map((value, index) => (
22
+ // eslint-disable-next-line @eslint-react/no-array-index-key
23
+ jsx(FeatureValue, { value: value }, `${id}-${index}`)))) : (jsx(FeatureValue, { value: value })) })] }, id))) }));
24
+ }
25
+
26
+ export { FeatureList };
@@ -0,0 +1,3 @@
1
+ var styles = {"feature-list":"feature-list-module-cxc8U","row":"feature-list-module-tTJ2r","label":"feature-list-module-oTxSc","alignment-right":"feature-list-module-deI1-","values":"feature-list-module-G4eVJ","icon-true":"feature-list-module-ojZvf","icon-false":"feature-list-module-4IjrA","value":"feature-list-module-gP5DL"};
2
+
3
+ export { styles as default };