@sonic-equipment/ui 1.1.8 → 2.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 (488) hide show
  1. package/dist/algolia/algolia-hits-provider.js +4 -1
  2. package/dist/algolia/algolia-insights-provider.js +3 -3
  3. package/dist/algolia/algolia-provider.d.ts +4 -1
  4. package/dist/algolia/algolia-provider.js +6 -3
  5. package/dist/algolia/algolia-search-provider.js +1 -1
  6. package/dist/algolia/algolia-searchclient-reserved-slots.d.ts +25 -0
  7. package/dist/algolia/algolia-searchclient-reserved-slots.js +67 -0
  8. package/dist/algolia/use-algolia-hits.d.ts +5 -2
  9. package/dist/algolia/use-algolia-hits.js +9 -5
  10. package/dist/algolia/use-algolia-insights.js +2 -2
  11. package/dist/algolia/use-algolia-search.js +2 -2
  12. package/dist/badges/tag/tag.d.ts +2 -1
  13. package/dist/badges/tag/tag.js +3 -2
  14. package/dist/base.css +28 -1
  15. package/dist/breadcrumbs/breadcrumb.d.ts +1 -1
  16. package/dist/breadcrumbs/breadcrumb.js +2 -2
  17. package/dist/buttons/button/button.d.ts +2 -1
  18. package/dist/buttons/button/button.js +4 -2
  19. package/dist/buttons/icon-button/icon-button.d.ts +8 -1
  20. package/dist/buttons/icon-button/icon-button.js +4 -5
  21. package/dist/cards/data-card/data-card.js +1 -1
  22. package/dist/cards/product-card/product-card.js +2 -1
  23. package/dist/cards/product-card/product-card.module.css.js +1 -1
  24. package/dist/cards/table-card/table-card.d.ts +6 -1
  25. package/dist/cards/table-card/table-card.js +3 -4
  26. package/dist/carousel/card-carousel/card-carousel.d.ts +3 -1
  27. package/dist/carousel/card-carousel/card-carousel.js +5 -3
  28. package/dist/carousel/card-carousel/card-carousel.module.css.js +1 -1
  29. package/dist/carousel/carousel-navigation-button.d.ts +3 -1
  30. package/dist/carousel/carousel-navigation-button.js +2 -3
  31. package/dist/carousel/carousel.js +1 -1
  32. package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +1 -1
  33. package/dist/carousel/usp-carousel/usp-carousel.d.ts +0 -1
  34. package/dist/cart-totals/cart-totals-summary.js +1 -1
  35. package/dist/cart-totals/cart-totals.d.ts +3 -1
  36. package/dist/cart-totals/cart-totals.js +9 -3
  37. package/dist/cart-totals/cart-totals.module.css.js +1 -1
  38. package/dist/client-case-banner/client-case-banner.d.ts +16 -0
  39. package/dist/client-case-banner/client-case-banner.js +13 -0
  40. package/dist/client-case-banner/client-case-banner.module.css.js +3 -0
  41. package/dist/collapsables/accordion/accordion-item.js +1 -1
  42. package/dist/collapsables/cascading-component/cascading-component-container-provider.js +1 -1
  43. package/dist/collapsables/cascading-component/use-cascading-component-container.js +2 -2
  44. package/dist/collapsables/collapsable/collapsable.d.ts +12 -0
  45. package/dist/collapsables/collapsable/collapsable.js +31 -0
  46. package/dist/collapsables/collapsable/collapsable.module.css.js +3 -0
  47. package/dist/collapsables/unmounter/unmounter.js +3 -3
  48. package/dist/cookies/cookie-provider.js +1 -1
  49. package/dist/cookies/use-cookie.js +2 -2
  50. package/dist/country-language-selection-list/country-language-selection-list.js +1 -1
  51. package/dist/country-language-selection-list/country-language-selection-list.module.css.js +1 -1
  52. package/dist/country-language-selector/connected-country-language-selector.d.ts +1 -2
  53. package/dist/country-language-selector/connected-country-language-selector.js +2 -2
  54. package/dist/country-language-selector/country-language-selector.d.ts +1 -2
  55. package/dist/country-language-selector/country-language-selector.js +12 -19
  56. package/dist/country-language-selector/country-language-selector.module.css.js +1 -1
  57. package/dist/country-language-selector/fixtures/fixtures.d.ts +13 -0
  58. package/dist/country-language-selector-button/country-language-selector-button.stories.d.ts +13 -0
  59. package/dist/display/details/details.d.ts +2 -1
  60. package/dist/display/details/details.js +2 -2
  61. package/dist/display/product-sku/product-sku.js +3 -1
  62. package/dist/exports.d.ts +65 -20
  63. package/dist/filters/pagination/pagination.d.ts +2 -1
  64. package/dist/filters/pagination/pagination.js +3 -2
  65. package/dist/fonts.css +58 -56
  66. package/dist/footer/fixtures/fixtures.d.ts +3 -0
  67. package/dist/footer/footer.js +3 -2
  68. package/dist/footer/footer.module.css.js +1 -1
  69. package/dist/forms/elements/input/input.js +4 -6
  70. package/dist/forms/elements/range-slider/range-slider.d.ts +18 -0
  71. package/dist/forms/elements/range-slider/range-slider.js +31 -0
  72. package/dist/forms/elements/range-slider/range-slider.module.css.js +3 -0
  73. package/dist/global-search/global-search.d.ts +6 -1
  74. package/dist/global-search/global-search.js +3 -2
  75. package/dist/global-search/search-highlight/highlight.d.ts +7 -7
  76. package/dist/global-search/search-highlight/highlight.js +9 -9
  77. package/dist/global-search/search-input/connected-search-input.js +4 -1
  78. package/dist/global-search/search-result-panel/panel-content.d.ts +3 -1
  79. package/dist/global-search/search-result-panel/panel-content.js +2 -2
  80. package/dist/global-search/search-result-panel/search-result-panel.d.ts +3 -1
  81. package/dist/global-search/search-result-panel/search-result-panel.js +2 -2
  82. package/dist/global-search/search-result-panel/sections/no-search-results.js +1 -3
  83. package/dist/global-search/search-result-panel/sections/no-search.d.ts +2 -1
  84. package/dist/global-search/search-result-panel/sections/no-search.js +7 -14
  85. package/dist/global-search/search-result-panel/sections/search-content.module.css.js +1 -1
  86. package/dist/global-search/search-result-panel/sections/section-container.js +2 -2
  87. package/dist/global-search/search-result-panel/sections/with-results.js +6 -6
  88. package/dist/header/drawers/desktop-navigation-drawer.js +2 -1
  89. package/dist/header/drawers/mobile-navigation-drawer.js +2 -1
  90. package/dist/header/drawers/search-drawer.d.ts +3 -1
  91. package/dist/header/drawers/search-drawer.js +3 -2
  92. package/dist/header/drawers/search-drawer.module.css.js +3 -0
  93. package/dist/header/fixtures/fixtures.d.ts +4 -0
  94. package/dist/header/header-layout/header-layout.d.ts +1 -1
  95. package/dist/header/header-layout/header-layout.js +2 -3
  96. package/dist/header/header-layout/header-layout.module.css.js +1 -1
  97. package/dist/header/header.d.ts +3 -2
  98. package/dist/header/header.js +3 -2
  99. package/dist/header/header.module.css.js +1 -1
  100. package/dist/hubspot-form/hubspot-form.d.ts +41 -0
  101. package/dist/hubspot-form/hubspot-form.js +125 -0
  102. package/dist/hubspot-form/hubspot-form.module.css.js +3 -0
  103. package/dist/icons/index.d.ts +86 -0
  104. package/dist/icons/index.js +86 -0
  105. package/dist/icons/other/media-captionsoff-icon.d.ts +1 -0
  106. package/dist/icons/other/media-captionsoff-icon.js +7 -0
  107. package/dist/icons/other/media-captionson-icon.d.ts +1 -0
  108. package/dist/icons/other/media-captionson-icon.js +7 -0
  109. package/dist/icons/other/media-chapters-icon.d.ts +1 -0
  110. package/dist/icons/other/media-chapters-icon.js +7 -0
  111. package/dist/icons/other/media-enterfullscreen-icon.d.ts +1 -0
  112. package/dist/icons/other/media-enterfullscreen-icon.js +7 -0
  113. package/dist/icons/other/media-exitfullscreen-icon.d.ts +1 -0
  114. package/dist/icons/other/media-exitfullscreen-icon.js +7 -0
  115. package/dist/icons/other/media-pause-icon.d.ts +1 -0
  116. package/dist/icons/other/media-pause-icon.js +7 -0
  117. package/dist/icons/other/media-play-icon.d.ts +1 -0
  118. package/dist/icons/other/media-play-icon.js +7 -0
  119. package/dist/icons/other/media-seekbackwards-icon.d.ts +1 -0
  120. package/dist/icons/other/media-seekbackwards-icon.js +7 -0
  121. package/dist/icons/other/media-seekforwards-icon.d.ts +1 -0
  122. package/dist/icons/other/media-seekforwards-icon.js +7 -0
  123. package/dist/icons/other/media-subsoff-icon.d.ts +1 -0
  124. package/dist/icons/other/media-subsoff-icon.js +7 -0
  125. package/dist/icons/other/media-subson-icon.d.ts +1 -0
  126. package/dist/icons/other/media-subson-icon.js +7 -0
  127. package/dist/icons/other/media-volumefull-icon.d.ts +1 -0
  128. package/dist/icons/other/media-volumefull-icon.js +7 -0
  129. package/dist/icons/other/media-volumelow-icon.d.ts +1 -0
  130. package/dist/icons/other/media-volumelow-icon.js +7 -0
  131. package/dist/icons/other/media-volumemedium-icon.d.ts +1 -0
  132. package/dist/icons/other/media-volumemedium-icon.js +7 -0
  133. package/dist/icons/other/media-volumemuted-icon.d.ts +1 -0
  134. package/dist/icons/other/media-volumemuted-icon.js +7 -0
  135. package/dist/icons/solid/solid-enterfullscreen-icon.d.ts +1 -0
  136. package/dist/icons/solid/solid-exitfullscreen-icon.d.ts +1 -0
  137. package/dist/icons/solid/solid-facebook-icon.js +7 -0
  138. package/dist/icons/solid/solid-instagram-icon.js +7 -0
  139. package/dist/icons/solid/solid-link-icon.js +7 -0
  140. package/dist/icons/solid/solid-linkedin-icon.js +7 -0
  141. package/dist/icons/solid/solid-tiktok-icon.js +7 -0
  142. package/dist/icons/solid/solid-youtube-icon.js +7 -0
  143. package/dist/icons/stroke/stroke-business-icon.js +7 -0
  144. package/dist/icons/stroke/stroke-captions-icon.d.ts +1 -0
  145. package/dist/icons/stroke/stroke-captions-icon.js +7 -0
  146. package/dist/icons/stroke/stroke-efficiency-icon.js +7 -0
  147. package/dist/icons/stroke/stroke-fallback-icon.js +7 -0
  148. package/dist/icons/stroke/stroke-happy-icon.js +7 -0
  149. package/dist/icons/stroke/stroke-innovate-icon.js +7 -0
  150. package/dist/icons/stroke/stroke-list-icon.d.ts +1 -0
  151. package/dist/icons/stroke/stroke-list-icon.js +7 -0
  152. package/dist/icons/stroke/stroke-modular-icon.js +7 -0
  153. package/dist/icons/stroke/stroke-okay-icon.js +7 -0
  154. package/dist/icons/stroke/stroke-package-icon.js +7 -0
  155. package/dist/icons/stroke/stroke-proactive-icon.js +7 -0
  156. package/dist/icons/stroke/stroke-productivity-icon.js +7 -0
  157. package/dist/icons/stroke/stroke-rating-icon.js +7 -0
  158. package/dist/icons/stroke/stroke-salecategory-icon.js +7 -0
  159. package/dist/icons/stroke/stroke-style-icon.js +7 -0
  160. package/dist/icons/stroke/stroke-support-icon.js +7 -0
  161. package/dist/icons/stroke/stroke-thumbsup-icon.js +7 -0
  162. package/dist/icons/stroke/stroke-warranty10y-icon.js +7 -0
  163. package/dist/icons/stroke/stroke-warranty1y-icon.js +7 -0
  164. package/dist/icons/stroke/stroke-warranty3y-icon.js +7 -0
  165. package/dist/icons/stroke/stroke-warranty5y-icon.js +7 -0
  166. package/dist/icons/stroke/stroke-warrantyconsumable-icon.js +7 -0
  167. package/dist/icons/stroke/stroke-warrantylifetime-icon.js +7 -0
  168. package/dist/image-banner/image-banner.d.ts +20 -0
  169. package/dist/image-banner/image-banner.js +15 -0
  170. package/dist/image-banner/image-banner.module.css.js +3 -0
  171. package/dist/index.js +76 -32
  172. package/dist/intl/intl-provider.js +1 -1
  173. package/dist/intl/missing-translation-provider.js +1 -1
  174. package/dist/intl/translation-id.d.ts +1 -1
  175. package/dist/intl/use-intl.js +2 -2
  176. package/dist/lists/download-document-list/download-document-list.js +2 -1
  177. package/dist/lists/menu-list/menu-list-provider.js +1 -1
  178. package/dist/lists/menu-list/use-menu-list.js +2 -2
  179. package/dist/lists/product-overview-grid/product-overview-grid.d.ts +17 -2
  180. package/dist/lists/product-overview-grid/product-overview-grid.js +20 -8
  181. package/dist/lists/product-overview-grid/product-overview-grid.module.css.js +1 -1
  182. package/dist/loading/dynamic-loading-overlay.js +1 -23
  183. package/dist/loading/dynamic-loading-overlay.module.css.js +1 -1
  184. package/dist/media/image-cdn/image-cdn-profile.d.ts +45 -0
  185. package/dist/media/image-cdn/image-cdn-profile.js +63 -0
  186. package/dist/media/image-cdn/image-cdn-profile.test.d.ts +1 -0
  187. package/dist/media/image-cdn/image-cdn-provider.d.ts +10 -0
  188. package/dist/media/image-cdn/image-cdn-provider.js +15 -0
  189. package/dist/media/image-cdn/storyblok-profile.d.ts +3 -0
  190. package/dist/media/image-cdn/storyblok-profile.js +37 -0
  191. package/dist/media/image-cdn/storyblok-profile.test.d.ts +1 -0
  192. package/dist/media/image-lightbox/image-lightbox.module.css.js +1 -1
  193. package/dist/media/media-controls/media-chapters-control/media-chapters-control.d.ts +8 -0
  194. package/dist/media/media-controls/media-chapters-control/media-chapters-control.js +63 -0
  195. package/dist/media/media-controls/media-control/media-control.d.ts +19 -0
  196. package/dist/media/media-controls/media-control/media-control.js +15 -0
  197. package/dist/media/media-controls/media-controls.d.ts +12 -0
  198. package/dist/media/media-controls/media-controls.js +17 -0
  199. package/dist/media/media-controls/media-controls.module.css.js +3 -0
  200. package/dist/media/media-controls/media-popover/media-popover.d.ts +12 -0
  201. package/dist/media/media-controls/media-popover/media-popover.js +67 -0
  202. package/dist/media/media-controls/media-progress-circle/media-progress-circle.d.ts +20 -0
  203. package/dist/media/media-controls/media-progress-circle/media-progress-circle.js +31 -0
  204. package/dist/media/media-controls/media-seek-control/media-seek-control.d.ts +6 -0
  205. package/dist/media/media-controls/media-seek-control/media-seek-control.js +30 -0
  206. package/dist/media/media-controls/media-subs-control/media-subs-control.d.ts +8 -0
  207. package/dist/media/media-controls/media-subs-control/media-subs-control.js +65 -0
  208. package/dist/media/media-controls/media-volume-control/media-volume-control.d.ts +7 -0
  209. package/dist/media/media-controls/media-volume-control/media-volume-control.js +103 -0
  210. package/dist/media/media-utils.d.ts +19 -0
  211. package/dist/media/media-utils.js +28 -0
  212. package/dist/media/responsive-image/responsive-image.d.ts +37 -0
  213. package/dist/media/responsive-image/responsive-image.js +119 -0
  214. package/dist/media/responsive-image/responsive-image.module.css.js +3 -0
  215. package/dist/media/responsive-video/responsive-video.d.ts +36 -0
  216. package/dist/media/responsive-video/responsive-video.js +365 -0
  217. package/dist/media/responsive-video/responsive-video.module.css.js +3 -0
  218. package/dist/modals/dialog/dialog.js +1 -1
  219. package/dist/navigation/panel-navigation/panel-navigation.js +1 -1
  220. package/dist/notifications/announcements/announcement-list.d.ts +10 -1
  221. package/dist/notifications/announcements/announcement-list.js +1 -13
  222. package/dist/notifications/announcements/announcement-list.module.css.js +1 -1
  223. package/dist/notifications/announcements/announcement.d.ts +13 -2
  224. package/dist/notifications/announcements/announcement.js +14 -6
  225. package/dist/notifications/announcements/fixtures/fixtures.d.ts +22 -0
  226. package/dist/page-layout/fixtures/fixtures.d.ts +15 -0
  227. package/dist/page-layout/page-layout.d.ts +2 -0
  228. package/dist/page-layout/page-layout.js +33 -0
  229. package/dist/page-layout/page-layout.module.css.js +3 -0
  230. package/dist/page-layout/types.d.ts +52 -0
  231. package/dist/pages/account/change-password-page/change-password-page.js +6 -2
  232. package/dist/pages/account/components/change-password-form/change-password-form.js +1 -5
  233. package/dist/pages/account/components/create-account-form/create-account-form.js +1 -4
  234. package/dist/pages/account/components/sign-in-form/sign-in-form.js +2 -6
  235. package/dist/pages/account/create-account-page/create-account-page.d.ts +1 -1
  236. package/dist/pages/account/create-account-page/create-account-page.js +8 -4
  237. package/dist/pages/account/sign-in-page/sign-in-page.d.ts +1 -1
  238. package/dist/pages/account/sign-in-page/sign-in-page.js +6 -4
  239. package/dist/pages/checkout/cart-page/cart-page.d.ts +1 -1
  240. package/dist/pages/checkout/cart-page/cart-page.js +35 -68
  241. package/dist/pages/checkout/components/billing-and-invoice-information.js +1 -1
  242. package/dist/pages/checkout/components/billing-and-invoice-information.module.css.js +1 -1
  243. package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-header.d.ts +1 -1
  244. package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-header.js +2 -2
  245. package/dist/pages/checkout/components/checkout-page-section.js +12 -0
  246. package/dist/pages/checkout/components/checkout-page-section.module.css.js +3 -0
  247. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +50 -63
  248. package/dist/pages/checkout/payment-page/payment-page-content.js +25 -25
  249. package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.js +2 -2
  250. package/dist/pages/checkout/shipping-page/components/readonly-address.js +3 -3
  251. package/dist/pages/checkout/shipping-page/components/readonly-address.module.css.js +1 -1
  252. package/dist/pages/checkout/shipping-page/shipping-page-content.js +12 -12
  253. package/dist/pages/components/page/page.js +1 -1
  254. package/dist/pages/countries-page/countries-page.js +7 -4
  255. package/dist/pages/error-page/error-page.js +2 -7
  256. package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.js +2 -1
  257. package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.d.ts +0 -3
  258. package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js +16 -17
  259. package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.d.ts +0 -3
  260. package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js +16 -17
  261. package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.d.ts +0 -4
  262. package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js +16 -17
  263. package/dist/pages/my-sonic/pages/favorites/favorites-page.d.ts +0 -1
  264. package/dist/pages/my-sonic/pages/favorites/favorites-page.js +31 -33
  265. package/dist/pages/my-sonic/pages/favorites/favorites-page.module.css.js +3 -0
  266. package/dist/pages/my-sonic/pages/my-account/my-account-page.d.ts +0 -1
  267. package/dist/pages/my-sonic/pages/my-account/my-account-page.js +12 -12
  268. package/dist/pages/my-sonic/pages/order-details/order-details-content.js +3 -2
  269. package/dist/pages/my-sonic/pages/order-details/order-details-content.module.css.js +1 -1
  270. package/dist/pages/my-sonic/pages/order-details/order-details-page.d.ts +0 -3
  271. package/dist/pages/my-sonic/pages/order-details/order-details-page.js +17 -28
  272. package/dist/pages/my-sonic/pages/order-history/order-history-page.d.ts +0 -1
  273. package/dist/pages/my-sonic/pages/order-history/order-history-page.js +112 -116
  274. package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.d.ts +0 -1
  275. package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.js +12 -12
  276. package/dist/pages/product/components/product-overview.d.ts +11 -3
  277. package/dist/pages/product/components/product-overview.js +11 -7
  278. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +5 -7
  279. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.module.css.js +1 -1
  280. package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.d.ts +3 -1
  281. package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js +9 -10
  282. package/dist/pages/product/product-details-page/product-details.js +18 -18
  283. package/dist/pages/product/product-details-page/product-details.module.css.js +3 -0
  284. package/dist/pages/product/product-listing-page/no-results/no-results.d.ts +3 -5
  285. package/dist/pages/product/product-listing-page/no-results/no-results.js +2 -4
  286. package/dist/pages/product/product-listing-page/no-results/no-results.module.css.js +1 -1
  287. package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.js +6 -4
  288. package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.module.css.js +3 -0
  289. package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-provider.js +3 -3
  290. package/dist/pages/product/product-listing-page/product-listing-page.js +1 -1
  291. package/dist/pages/product/product-listing-page/product-listing-page.module.css.js +1 -1
  292. package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.d.ts +2 -1
  293. package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.js +2 -2
  294. package/dist/pages/product/product-listing-page/product-listing.d.ts +8 -1
  295. package/dist/pages/product/product-listing-page/product-listing.js +23 -23
  296. package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.d.ts +2 -1
  297. package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.js +2 -2
  298. package/dist/pages/product/search-result-page/search-results-page.js +20 -19
  299. package/dist/promos/promo-banners/promo-banners.js +2 -1
  300. package/dist/responsive-banner/responsive-banner.d.ts +30 -0
  301. package/dist/responsive-banner/responsive-banner.js +23 -0
  302. package/dist/responsive-banner/responsive-banner.module.css.js +3 -0
  303. package/dist/responsive-carousel/responsive-carousel.d.ts +18 -0
  304. package/dist/responsive-carousel/responsive-carousel.js +209 -0
  305. package/dist/responsive-carousel/responsive-carousel.module.css.js +3 -0
  306. package/dist/rich-text/rich-text.d.ts +7 -0
  307. package/dist/rich-text/rich-text.js +10 -0
  308. package/dist/rich-text/rich-text.module.css.js +3 -0
  309. package/dist/rte-asset/rte-asset.d.ts +8 -0
  310. package/dist/rte-asset/rte-asset.js +10 -0
  311. package/dist/rte-asset/rte-asset.module.css.js +3 -0
  312. package/dist/rte-blockquote/rte-blockquote.d.ts +8 -0
  313. package/dist/rte-blockquote/rte-blockquote.js +10 -0
  314. package/dist/rte-blockquote/rte-blockquote.module.css.js +3 -0
  315. package/dist/rte-details/rte-details.d.ts +7 -0
  316. package/dist/rte-details/rte-details.js +10 -0
  317. package/dist/rte-details/rte-details.module.css.js +3 -0
  318. package/dist/rte-ordered-list/rte-ordered-list.d.ts +14 -0
  319. package/dist/rte-ordered-list/rte-ordered-list.js +34 -0
  320. package/dist/rte-ordered-list/rte-ordered-list.module.css.js +3 -0
  321. package/dist/sections/about-section/about-section.d.ts +13 -0
  322. package/dist/sections/about-section/about-section.js +13 -0
  323. package/dist/sections/about-section/about-section.module.css.js +3 -0
  324. package/dist/sections/about-section/media-contact.d.ts +7 -0
  325. package/dist/sections/about-section/media-contact.js +12 -0
  326. package/dist/sections/banner-section/banner-section.d.ts +13 -0
  327. package/dist/sections/banner-section/banner-section.js +12 -0
  328. package/dist/sections/banner-section/banner-section.module.css.js +3 -0
  329. package/dist/sections/banner-section/fixtures/fixtures.d.ts +5 -0
  330. package/dist/sections/case-studies-listing-section/case-studies-listing-section.constants.d.ts +10 -0
  331. package/dist/sections/case-studies-listing-section/case-studies-listing-section.constants.js +12 -0
  332. package/dist/sections/case-studies-listing-section/case-studies-listing-section.d.ts +26 -0
  333. package/dist/sections/case-studies-listing-section/case-studies-listing-section.js +30 -0
  334. package/dist/sections/case-studies-listing-section/case-studies-listing-section.module.css.js +3 -0
  335. package/dist/sections/client-cases-carousel-section/client-cases-carousel-section.d.ts +13 -0
  336. package/dist/sections/client-cases-carousel-section/client-cases-carousel-section.js +13 -0
  337. package/dist/sections/client-cases-carousel-section/client-cases-carousel-section.module.css.js +3 -0
  338. package/dist/sections/downloadable-documents-section/downloadable-documents-section.d.ts +21 -0
  339. package/dist/sections/downloadable-documents-section/downloadable-documents-section.js +16 -0
  340. package/dist/sections/downloadable-documents-section/downloadable-documents-section.module.css.js +3 -0
  341. package/dist/sections/event-info-section/event-info-section.d.ts +9 -0
  342. package/dist/sections/event-info-section/event-info-section.js +23 -0
  343. package/dist/sections/event-info-section/event-info-section.module.css.js +3 -0
  344. package/dist/sections/faq-section/faq-section.d.ts +24 -0
  345. package/dist/sections/faq-section/faq-section.js +20 -0
  346. package/dist/sections/faq-section/faq-section.module.css.js +3 -0
  347. package/dist/sections/hero-section/hero-section.d.ts +22 -0
  348. package/dist/sections/hero-section/hero-section.js +16 -0
  349. package/dist/sections/hero-section/hero-section.module.css.js +3 -0
  350. package/dist/sections/hubspot-form-section/hubspot-form-section.d.ts +18 -0
  351. package/dist/sections/hubspot-form-section/hubspot-form-section.js +18 -0
  352. package/dist/sections/hubspot-form-section/hubspot-form-section.module.css.js +3 -0
  353. package/dist/sections/image-banner-carousel-section/image-banner-carousel-section.d.ts +12 -0
  354. package/dist/sections/image-banner-carousel-section/image-banner-carousel-section.js +13 -0
  355. package/dist/sections/image-banner-carousel-section/image-banner-carousel-section.module.css.js +3 -0
  356. package/dist/sections/image-banner-section/image-banner-section.d.ts +12 -0
  357. package/dist/sections/image-banner-section/image-banner-section.js +12 -0
  358. package/dist/sections/image-banner-section/image-banner-section.module.css.js +3 -0
  359. package/dist/sections/image-hubspot-section/image-hubspot-form-section.d.ts +21 -0
  360. package/dist/sections/image-hubspot-section/image-hubspot-form-section.js +19 -0
  361. package/dist/sections/image-hubspot-section/image-hubspot-form-section.module.css.js +3 -0
  362. package/dist/sections/image-section/image-section.d.ts +25 -0
  363. package/dist/sections/image-section/image-section.js +14 -0
  364. package/dist/sections/image-section/image-section.module.css.js +3 -0
  365. package/dist/sections/image-text-section/image-text-block.d.ts +13 -0
  366. package/dist/sections/image-text-section/image-text-block.js +13 -0
  367. package/dist/sections/image-text-section/image-text-section.d.ts +15 -0
  368. package/dist/sections/image-text-section/image-text-section.js +12 -0
  369. package/dist/sections/image-text-section/image-text-section.module.css.js +3 -0
  370. package/dist/sections/legal-section/legal-section.d.ts +10 -0
  371. package/dist/sections/legal-section/legal-section.js +13 -0
  372. package/dist/sections/legal-section/legal-section.module.css.js +3 -0
  373. package/dist/sections/multi-column-section/multi-column-section.d.ts +24 -0
  374. package/dist/sections/multi-column-section/multi-column-section.js +24 -0
  375. package/dist/sections/multi-column-section/multi-column-section.module.css.js +3 -0
  376. package/dist/sections/news-list-section/news-listing-section.d.ts +17 -0
  377. package/dist/sections/news-list-section/news-listing-section.js +27 -0
  378. package/dist/sections/news-list-section/news-listing-section.module.css.js +3 -0
  379. package/dist/sections/numbers-section/numbers-section.d.ts +18 -0
  380. package/dist/sections/numbers-section/numbers-section.js +15 -0
  381. package/dist/sections/numbers-section/numbers-section.module.css.js +3 -0
  382. package/dist/sections/page-meta-section/page-meta-section.d.ts +8 -0
  383. package/dist/sections/page-meta-section/page-meta-section.js +23 -0
  384. package/dist/sections/page-meta-section/page-meta-section.module.css.js +3 -0
  385. package/dist/sections/page-section/page-section.d.ts +297 -0
  386. package/dist/sections/page-section/page-section.js +23 -0
  387. package/dist/sections/page-section/page-section.module.css.js +3 -0
  388. package/dist/sections/percentages-section/percentages-section.d.ts +21 -0
  389. package/dist/sections/percentages-section/percentages-section.js +18 -0
  390. package/dist/sections/percentages-section/percentages-section.module.css.js +3 -0
  391. package/dist/sections/product-comparison-section/product-comparison-section.d.ts +17 -0
  392. package/dist/sections/product-comparison-section/product-comparison-section.js +19 -0
  393. package/dist/sections/product-comparison-section/product-comparison-section.module.css.js +3 -0
  394. package/dist/sections/rich-text-section/rich-text-section.d.ts +11 -0
  395. package/dist/sections/rich-text-section/rich-text-section.js +12 -0
  396. package/dist/sections/rich-text-section/rich-text-section.module.css.js +3 -0
  397. package/dist/sections/social-media-section/social-media-section.d.ts +20 -0
  398. package/dist/sections/social-media-section/social-media-section.js +27 -0
  399. package/dist/sections/social-media-section/social-media-section.module.css.js +3 -0
  400. package/dist/sections/subheadline-section/subheadline-section.d.ts +7 -0
  401. package/dist/sections/subheadline-section/subheadline-section.js +12 -0
  402. package/dist/sections/subheadline-section/subheadline-section.module.css.js +3 -0
  403. package/dist/sections/usp-section/usp-section.d.ts +19 -0
  404. package/dist/sections/usp-section/usp-section.js +17 -0
  405. package/dist/sections/usp-section/usp-section.module.css.js +3 -0
  406. package/dist/sections/video-section/video-section.d.ts +30 -0
  407. package/dist/sections/video-section/video-section.js +13 -0
  408. package/dist/sections/video-section/video-section.module.css.js +3 -0
  409. package/dist/shared/error/default-error-view.d.ts +1 -1
  410. package/dist/shared/error/default-error-view.js +4 -2
  411. package/dist/shared/error/default-error-view.module.css.js +1 -1
  412. package/dist/shared/error/global-unhandled-error-handler.js +3 -3
  413. package/dist/shared/feature-flags/use-feature-flags.d.ts +1 -0
  414. package/dist/shared/feature-flags/use-feature-flags.js +3 -2
  415. package/dist/shared/hooks/use-drag-scroll.d.ts +20 -0
  416. package/dist/shared/hooks/use-drag-scroll.js +107 -0
  417. package/dist/shared/local-storage/local-storage-provider.js +1 -1
  418. package/dist/shared/local-storage/use-local-storage.js +2 -2
  419. package/dist/shared/local-storage/use-session-storage.js +2 -2
  420. package/dist/shared/model/announcement.d.ts +1 -0
  421. package/dist/shared/model/image.d.ts +5 -0
  422. package/dist/shared/providers/global-state-provider.js +3 -3
  423. package/dist/shared/routing/route-provider.js +1 -1
  424. package/dist/shared/routing/use-router.js +2 -2
  425. package/dist/shared/utils/array.d.ts +1 -0
  426. package/dist/shared/utils/array.js +9 -1
  427. package/dist/shared/utils/array.test.d.ts +1 -0
  428. package/dist/sidebar/sidebar.js +2 -2
  429. package/dist/site-layout/site-layout.d.ts +15 -0
  430. package/dist/site-layout/site-layout.js +39 -0
  431. package/dist/site-layout/site-layout.module.css.js +3 -0
  432. package/dist/styles.css +10825 -3363
  433. package/dist/table/elements/table-provider.js +1 -1
  434. package/dist/table/elements/table-row-provider.js +1 -1
  435. package/dist/table/elements/table.js +2 -2
  436. package/dist/table/elements/use-table-row.js +2 -2
  437. package/dist/table/elements/use-table.js +2 -2
  438. package/dist/toast/toast.d.ts +6 -1
  439. package/dist/toast/toast.js +2 -3
  440. package/dist/typography/heading/heading.d.ts +18 -10
  441. package/dist/typography/heading/heading.js +28 -14
  442. package/dist/typography/heading/heading.module.css.js +1 -1
  443. package/package.json +6 -5
  444. package/dist/footer/connected-footer.d.ts +0 -3
  445. package/dist/footer/connected-footer.js +0 -21
  446. package/dist/header/connected-header.d.ts +0 -3
  447. package/dist/header/connected-header.js +0 -21
  448. package/dist/notifications/announcements/connected-announcement-list.d.ts +0 -3
  449. package/dist/notifications/announcements/connected-announcement-list.js +0 -22
  450. package/dist/notifications/announcements/use-filter-announcements.d.ts +0 -2
  451. package/dist/notifications/announcements/use-filter-announcements.js +0 -35
  452. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.d.ts +0 -6
  453. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.js +0 -9
  454. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.d.ts +0 -9
  455. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js +0 -12
  456. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.module.css.js +0 -3
  457. package/dist/pages/checkout/cart-page/components/empty-cart-page.d.ts +0 -1
  458. package/dist/pages/checkout/cart-page/components/empty-cart-page.js +0 -12
  459. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.d.ts +0 -11
  460. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js +0 -34
  461. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.module.css.js +0 -3
  462. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js +0 -11
  463. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.module.css.js +0 -3
  464. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.d.ts +0 -4
  465. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.js +0 -9
  466. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.d.ts +0 -4
  467. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.js +0 -9
  468. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.d.ts +0 -4
  469. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.js +0 -9
  470. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.d.ts +0 -5
  471. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.js +0 -10
  472. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.d.ts +0 -4
  473. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.js +0 -9
  474. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.d.ts +0 -4
  475. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.js +0 -10
  476. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.d.ts +0 -5
  477. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.js +0 -10
  478. package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.module.css.js +0 -3
  479. package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.d.ts +0 -9
  480. package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +0 -10
  481. package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.module.css.js +0 -3
  482. package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.module.css.js +0 -3
  483. package/dist/pages/product/search-result-page/search-results-page.module.css.js +0 -3
  484. /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-content.d.ts +0 -0
  485. /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-content.js +0 -0
  486. /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-link.d.ts +0 -0
  487. /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-link.js +0 -0
  488. /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section.d.ts +0 -0
package/dist/index.js CHANGED
@@ -22,10 +22,11 @@ export { createQueryStringRouting } from './algolia/algolia-query-string-routing
22
22
  export { AlgoliaResultsCount } from './algolia/algolia-results-count.js';
23
23
  export { AlgoliaSearchProvider, GlobalSearchContext } from './algolia/algolia-search-provider.js';
24
24
  export { offlineSearchClient, searchClientLogger } from './algolia/algolia-searchclient-offline.js';
25
+ export { getPageCount, getSkipTake, withReservedFirstPageSlots } from './algolia/algolia-searchclient-reserved-slots.js';
25
26
  export { createSonicSearchClient } from './algolia/algolia-sonic-searchclient.js';
26
27
  export { AlgoliaSortBy } from './algolia/algolia-sort-by.js';
27
28
  export { FilterSection } from './algolia/filter-section.js';
28
- export { useAlgoliaHits, useAlgoliaHitsItems, useAlgoliaHitsLoading } from './algolia/use-algolia-hits.js';
29
+ export { useAlgoliaHits, useAlgoliaHitsItems, useAlgoliaHitsLoading, useAlgoliaHitsPage } from './algolia/use-algolia-hits.js';
29
30
  export { useAlgoliaInsights } from './algolia/use-algolia-insights.js';
30
31
  export { useAlgoliaInsightsGlobalState } from './algolia/use-algolia-insights-provider-global-state.js';
31
32
  export { useAlgoliaInstantSearchState, useAlgoliaInstantSearchStateIndex, useAlgoliaInstantSearchStateOnline, useAlgoliaInstantSearchStateQueryId, useAlgoliaInstantSearchStateStatus } from './algolia/use-algolia-instant-search-state.js';
@@ -68,6 +69,7 @@ export { ProductUsp } from './carousel/usp-carousel/product-usp-carousel-slide.j
68
69
  export { USPCarousel } from './carousel/usp-carousel/usp-carousel.js';
69
70
  export { CartTotals, formatDisplayPriceToSymbolSpaceValue } from './cart-totals/cart-totals.js';
70
71
  export { CartTotalsSummary } from './cart-totals/cart-totals-summary.js';
72
+ export { ClientCaseBanner } from './client-case-banner/client-case-banner.js';
71
73
  export { Accordion } from './collapsables/accordion/accordion.js';
72
74
  export { AccordionItem } from './collapsables/accordion/accordion-item.js';
73
75
  export { CascadingComponent, InternalCascadingComponent } from './collapsables/cascading-component/cascading-component.js';
@@ -77,6 +79,7 @@ export { CascadingComponentContainerProvider } from './collapsables/cascading-co
77
79
  export { useCascadingComponent } from './collapsables/cascading-component/use-cascading-component.js';
78
80
  export { useCascadingComponentContainer } from './collapsables/cascading-component/use-cascading-component-container.js';
79
81
  export { useHasCascadingComponentContainer } from './collapsables/cascading-component/use-has-cascading-component-container.js';
82
+ export { Collapsable } from './collapsables/collapsable/collapsable.js';
80
83
  export { ShowAll } from './collapsables/show-all/show-all.js';
81
84
  export { Unmounter, UnmounterContext, useUnmount } from './collapsables/unmounter/unmounter.js';
82
85
  export { createAddEndListener } from './collapsables/unmounter/utils.js';
@@ -171,13 +174,13 @@ export { FlagUS } from './flags/flag-us.js';
171
174
  export { FlagVN } from './flags/flag-vn.js';
172
175
  export { FlagXK } from './flags/flag-xk.js';
173
176
  export { FlagZA } from './flags/flag-za.js';
174
- export { ConnectedFooter } from './footer/connected-footer.js';
175
177
  export { Footer } from './footer/footer.js';
176
178
  export { Checkbox } from './forms/elements/checkbox/checkbox.js';
177
179
  export { ColorCheckbox } from './forms/elements/color-checkbox/color-checkbox.js';
178
180
  export { FieldError } from './forms/elements/field-error/field-error.js';
179
181
  export { Input } from './forms/elements/input/input.js';
180
182
  export { Label } from './forms/elements/label/label.js';
183
+ export { RangeSlider } from './forms/elements/range-slider/range-slider.js';
181
184
  export { Select } from './forms/elements/select/select.js';
182
185
  export { Switch } from './forms/elements/switch/switch.js';
183
186
  export { TextArea } from './forms/elements/textarea/textarea.js';
@@ -223,7 +226,6 @@ export { ConnectedCartButton } from './header/buttons/cart/connected-cart-button
223
226
  export { ConnectedFavoritesButton } from './header/buttons/favorites/connected-favorites-button.js';
224
227
  export { HamburgerButton } from './header/buttons/hamburger/hamburger-button.js';
225
228
  export { SearchButton } from './header/buttons/search/search-button.js';
226
- export { ConnectedHeader } from './header/connected-header.js';
227
229
  export { DesktopNavigationDrawer } from './header/drawers/desktop-navigation-drawer.js';
228
230
  export { MobileNavigationDrawer } from './header/drawers/mobile-navigation-drawer.js';
229
231
  export { SearchDrawer } from './header/drawers/search-drawer.js';
@@ -231,7 +233,9 @@ export { Header } from './header/header.js';
231
233
  export { HeaderLayout } from './header/header-layout/header-layout.js';
232
234
  export { NavigationLinkList } from './header/link-list/navigation-link-list.js';
233
235
  export { SonicLogo } from './header/sonic-logo/sonic-logo.js';
236
+ export { HubspotForm } from './hubspot-form/hubspot-form.js';
234
237
  export { Icon } from './icon/icon.js';
238
+ export { ImageBanner } from './image-banner/image-banner.js';
235
239
  export { InfoIconTooltip } from './info-icon-tooltip/info-icon-tooltip.js';
236
240
  export { FormattedDate } from './intl/formatted-date.js';
237
241
  export { FormattedMessage } from './intl/formatted-message.js';
@@ -259,7 +263,7 @@ export { MenuListContext, MenuListProvider } from './lists/menu-list/menu-list-p
259
263
  export { useMenuList } from './lists/menu-list/use-menu-list.js';
260
264
  export { useMenuListItem } from './lists/menu-list/use-menu-list-item.js';
261
265
  export { OrderLineList } from './lists/orderline-list/orderline-list.js';
262
- export { ProductOverviewGrid } from './lists/product-overview-grid/product-overview-grid.js';
266
+ export { ProductOverviewGrid, ProductOverviewGridItem, getReplacedItemCount } from './lists/product-overview-grid/product-overview-grid.js';
263
267
  export { Widget } from './lists/widget-grid/widget.js';
264
268
  export { WidgetGrid } from './lists/widget-grid/widget-grid.js';
265
269
  export { BlankPageSpacer } from './loading/blank-page-spacer.js';
@@ -268,9 +272,23 @@ export { LoadingOverlay } from './loading/loading-overlay.js';
268
272
  export { ProgressCircle } from './loading/progress-circle.js';
269
273
  export { consoleLogger, initLogger, logger } from './logging/logger.js';
270
274
  export { useLogError } from './logging/use-log-error.js';
275
+ export { buildImageSrcSet, findImageCdnProfile, snapAutoCropRatio } from './media/image-cdn/image-cdn-profile.js';
276
+ export { ImageCdnProvider, useImageCdnProfile } from './media/image-cdn/image-cdn-provider.js';
277
+ export { storyblokProfile } from './media/image-cdn/storyblok-profile.js';
271
278
  export { ImagesGrid } from './media/image-grid/images-grid.js';
272
279
  export { ImageLightbox } from './media/image-lightbox/image-lightbox.js';
273
280
  export { Image } from './media/image/image.js';
281
+ export { MediaChaptersControl } from './media/media-controls/media-chapters-control/media-chapters-control.js';
282
+ export { MediaControl } from './media/media-controls/media-control/media-control.js';
283
+ export { MediaControls } from './media/media-controls/media-controls.js';
284
+ export { MediaPopover } from './media/media-controls/media-popover/media-popover.js';
285
+ export { MediaProgressCircle } from './media/media-controls/media-progress-circle/media-progress-circle.js';
286
+ export { MediaSeekControl } from './media/media-controls/media-seek-control/media-seek-control.js';
287
+ export { MediaSubsControl } from './media/media-controls/media-subs-control/media-subs-control.js';
288
+ export { MediaVolumeControl } from './media/media-controls/media-volume-control/media-volume-control.js';
289
+ export { createChaptersList, createSubsTrackList } from './media/media-utils.js';
290
+ export { ResponsiveImage } from './media/responsive-image/responsive-image.js';
291
+ export { ResponsiveVideo } from './media/responsive-video/responsive-video.js';
274
292
  export { ZoomImage } from './media/zoom-image/zoom-image.js';
275
293
  export { Message } from './message/message.js';
276
294
  export { ConfirmationDialog } from './modals/confirmation/confirmation-dialog.js';
@@ -284,25 +302,20 @@ export { PanelNavigation } from './navigation/panel-navigation/panel-navigation.
284
302
  export { QuickAccessMenu } from './navigation/quick-access-menu/quick-access-menu.js';
285
303
  export { Announcement } from './notifications/announcements/announcement.js';
286
304
  export { AnnouncementList } from './notifications/announcements/announcement-list.js';
287
- export { ConnectedAnnouncementList } from './notifications/announcements/connected-announcement-list.js';
288
- export { useFilterAnnouncements } from './notifications/announcements/use-filter-announcements.js';
289
305
  export { IntersectionObserverComponent } from './observers/intersection-observer.js';
306
+ export { PageLayout } from './page-layout/page-layout.js';
290
307
  export { ChangePasswordPage } from './pages/account/change-password-page/change-password-page.js';
291
308
  export { ChangePasswordForm } from './pages/account/components/change-password-form/change-password-form.js';
292
309
  export { CreateAccountForm } from './pages/account/components/create-account-form/create-account-form.js';
293
310
  export { SignInForm } from './pages/account/components/sign-in-form/sign-in-form.js';
294
311
  export { CreateAccountPage } from './pages/account/create-account-page/create-account-page.js';
295
- export { SIGN_IN_PAGE_BACKGROUND_IMAGE } from './pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.js';
296
- export { SignInPageLayout } from './pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js';
297
312
  export { SignInPage } from './pages/account/sign-in-page/sign-in-page.js';
298
313
  export { CartPage } from './pages/checkout/cart-page/cart-page.js';
299
- export { EmptyCart } from './pages/checkout/cart-page/components/empty-cart-page.js';
300
314
  export { BillingAndInvoiceInformation } from './pages/checkout/components/billing-and-invoice-information.js';
301
- export { CheckoutPageLayout } from './pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js';
302
- export { CheckoutPageSection } from './pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js';
303
- export { CheckoutPageSectionContent } from './pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.js';
304
- export { CheckoutPageSectionHeader } from './pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.js';
305
- export { CheckoutPageSectionLink } from './pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.js';
315
+ export { CheckoutPageSection } from './pages/checkout/components/checkout-page-section.js';
316
+ export { CheckoutPageSectionContent } from './pages/checkout/components/checkout-page-section-content.js';
317
+ export { CheckoutPageSectionHeader } from './pages/checkout/components/checkout-page-section-header.js';
318
+ export { CheckoutPageSectionLink } from './pages/checkout/components/checkout-page-section-link.js';
306
319
  export { OrderConfirmationPage } from './pages/checkout/order-confirmation-page/order-confirmation-page.js';
307
320
  export { OrderConfirmationPageContent } from './pages/checkout/order-confirmation-page/order-confirmation-page-content.js';
308
321
  export { AdyenPayment, getAdyenQueryParams, removeAdyenQueryParamsFromUrl } from './pages/checkout/payment-page/components/adyen-payment.js';
@@ -346,26 +359,19 @@ export { EditVatDialog } from './pages/my-sonic/actions/edit-vat/edit-vat-dialog
346
359
  export { UploadOrder } from './pages/my-sonic/actions/upload-order/upload-order.js';
347
360
  export { UploadOrderForm } from './pages/my-sonic/actions/upload-order/upload-order-form.js';
348
361
  export { UploadOrderInstructions } from './pages/my-sonic/actions/upload-order/upload-order-instructions.js';
349
- export { MySonicLayout } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.js';
350
- export { MySonicLayoutAside } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.js';
351
- export { MySonicLayoutBreadcrumb } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.js';
352
- export { MySonicLayoutMain } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.js';
353
- export { MySonicLayoutPage } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.js';
354
- export { MySonicLayoutPreAside } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.js';
355
- export { MySonicLayoutTitle } from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.js';
356
362
  export { ConnectedMySonicNavigation } from './pages/my-sonic/navigation/connected-my-sonic-navigation.js';
357
363
  export { MySonicDesktopNavigation } from './pages/my-sonic/navigation/my-sonic-desktop-navigation.js';
358
364
  export { MySonicMobileNavigation } from './pages/my-sonic/navigation/my-sonic-mobile-navigation.js';
359
365
  export { isMySonicNavigationAction, isMySonicNavigationLink, useMySonicNavigationItems } from './pages/my-sonic/navigation/my-sonic-navigation-items.js';
360
- export { CreateShipToAddressDetailsPage, CreateShipToAddressDetailsPageBreadcrumb } from './pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js';
361
- export { EditBillToAddressDetailsPage, EditBillToAddressDetailsPageBreadcrumb } from './pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js';
362
- export { EditShipToAddressDetailsPage, EditShipToAddressDetailsPageBreadcrumb } from './pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js';
363
- export { FavoritesPage, FavoritesPageBreadcrumb } from './pages/my-sonic/pages/favorites/favorites-page.js';
364
- export { MyAccountPage, MyAccountPageBreadcrumb } from './pages/my-sonic/pages/my-account/my-account-page.js';
366
+ export { CreateShipToAddressDetailsPage } from './pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js';
367
+ export { EditBillToAddressDetailsPage } from './pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js';
368
+ export { EditShipToAddressDetailsPage } from './pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js';
369
+ export { FavoritesPage } from './pages/my-sonic/pages/favorites/favorites-page.js';
370
+ export { MyAccountPage } from './pages/my-sonic/pages/my-account/my-account-page.js';
365
371
  export { OrderDetailsContent, statusMap } from './pages/my-sonic/pages/order-details/order-details-content.js';
366
- export { OrderDetailsPage, OrderDetailsPageBreadcrumb } from './pages/my-sonic/pages/order-details/order-details-page.js';
367
- export { OrderHistoryPage, OrderHistoryPageBreadcrumb } from './pages/my-sonic/pages/order-history/order-history-page.js';
368
- export { UploadOrderPage, UploadOrderPageBreadcrumb } from './pages/my-sonic/pages/upload-order-page/upload-order-page.js';
372
+ export { OrderDetailsPage } from './pages/my-sonic/pages/order-details/order-details-page.js';
373
+ export { OrderHistoryPage } from './pages/my-sonic/pages/order-history/order-history-page.js';
374
+ export { UploadOrderPage } from './pages/my-sonic/pages/upload-order-page/upload-order-page.js';
369
375
  export { AddressDataCard } from './pages/my-sonic/widgets/components/address-data-card.js';
370
376
  export { ConnectedAddressBookWidget } from './pages/my-sonic/widgets/connected-address-book-widget.js';
371
377
  export { ConnectedBillToAddressWidget } from './pages/my-sonic/widgets/connected-bill-to-address-widget.js';
@@ -373,7 +379,6 @@ export { ConnectedCustomerInformationWidget } from './pages/my-sonic/widgets/con
373
379
  export { ConnectedShipToAddressWidget } from './pages/my-sonic/widgets/connected-ship-to-address-widget.js';
374
380
  export { ConnectedUserAccountWidget } from './pages/my-sonic/widgets/connected-user-account-widget.js';
375
381
  export { ProductOverview } from './pages/product/components/product-overview.js';
376
- export { ProductDetailsPageLayout } from './pages/product/layouts/product-details-page-layout/product-details-page-layout.js';
377
382
  export { ProductDetailImages } from './pages/product/product-details-page/components/product-details-images/product-detail-images.js';
378
383
  export { ProductDetailsPanel } from './pages/product/product-details-page/components/product-details-panel/product-details-panel.js';
379
384
  export { ProductDetailsRecentlyViewedSection } from './pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js';
@@ -392,6 +397,43 @@ export { SearchResultsPageCategoryCarousel } from './pages/product/search-result
392
397
  export { PromoBanner } from './promos/promo-banner/promo-banner.js';
393
398
  export { PromoBanners } from './promos/promo-banners/promo-banners.js';
394
399
  export { PromoCard } from './promos/promo-card/promo-card.js';
400
+ export { ResponsiveBanner } from './responsive-banner/responsive-banner.js';
401
+ export { ResponsiveCarousel } from './responsive-carousel/responsive-carousel.js';
402
+ export { RichText } from './rich-text/rich-text.js';
403
+ export { RTEAsset } from './rte-asset/rte-asset.js';
404
+ export { RTEBlockquote } from './rte-blockquote/rte-blockquote.js';
405
+ export { RTEDetails } from './rte-details/rte-details.js';
406
+ export { RTEOrderedList, RTEOrderedListItem } from './rte-ordered-list/rte-ordered-list.js';
407
+ export { AboutSection } from './sections/about-section/about-section.js';
408
+ export { MediaContact } from './sections/about-section/media-contact.js';
409
+ export { BannerSection } from './sections/banner-section/banner-section.js';
410
+ export { CaseStudiesListingSection } from './sections/case-studies-listing-section/case-studies-listing-section.js';
411
+ export { CASE_STUDIES_LISTING_ID } from './sections/case-studies-listing-section/case-studies-listing-section.constants.js';
412
+ export { ClientCasesCarouselSection } from './sections/client-cases-carousel-section/client-cases-carousel-section.js';
413
+ export { DownloadableDocumentsItem, DownloadableDocumentsSection } from './sections/downloadable-documents-section/downloadable-documents-section.js';
414
+ export { EventInfoSection } from './sections/event-info-section/event-info-section.js';
415
+ export { FAQGroup, FAQItem, FAQSection } from './sections/faq-section/faq-section.js';
416
+ export { HeroSection } from './sections/hero-section/hero-section.js';
417
+ export { HubspotFormSection } from './sections/hubspot-form-section/hubspot-form-section.js';
418
+ export { ImageBannerCarouselSection } from './sections/image-banner-carousel-section/image-banner-carousel-section.js';
419
+ export { ImageBannerSection } from './sections/image-banner-section/image-banner-section.js';
420
+ export { ImageHubspotFormSection } from './sections/image-hubspot-section/image-hubspot-form-section.js';
421
+ export { ImageSection } from './sections/image-section/image-section.js';
422
+ export { ImageTextBlock } from './sections/image-text-section/image-text-block.js';
423
+ export { ImageTextSection } from './sections/image-text-section/image-text-section.js';
424
+ export { LegalSection } from './sections/legal-section/legal-section.js';
425
+ export { MultiColumnItem, MultiColumnSection } from './sections/multi-column-section/multi-column-section.js';
426
+ export { NewsListingSection } from './sections/news-list-section/news-listing-section.js';
427
+ export { NumbersItem, NumbersSection } from './sections/numbers-section/numbers-section.js';
428
+ export { PageMetaSection } from './sections/page-meta-section/page-meta-section.js';
429
+ export { PageSection } from './sections/page-section/page-section.js';
430
+ export { PercentagesItem, PercentagesSection } from './sections/percentages-section/percentages-section.js';
431
+ export { ProductComparisonSection } from './sections/product-comparison-section/product-comparison-section.js';
432
+ export { RichTextSection } from './sections/rich-text-section/rich-text-section.js';
433
+ export { SocialMediaSection } from './sections/social-media-section/social-media-section.js';
434
+ export { SubheadlineSection } from './sections/subheadline-section/subheadline-section.js';
435
+ export { USPItem, USPSection } from './sections/usp-section/usp-section.js';
436
+ export { VideoSection } from './sections/video-section/video-section.js';
395
437
  export { usePatchCart } from './shared/api/bff/hooks/cart/use-patch-cart.js';
396
438
  export { usePlaceOrder } from './shared/api/bff/hooks/cart/use-place-order.js';
397
439
  export { useSaveCartForLater } from './shared/api/bff/hooks/cart/use-save-cart-for-later.js';
@@ -493,6 +535,7 @@ export { useCookiebot } from './shared/hooks/use-cookiebot.js';
493
535
  export { useCSSLink } from './shared/hooks/use-css-link.js';
494
536
  export { useDebouncedCallback } from './shared/hooks/use-debounced-callback.js';
495
537
  export { useDisclosure } from './shared/hooks/use-disclosure.js';
538
+ export { useDragScroll } from './shared/hooks/use-drag-scroll.js';
496
539
  export { useEnableMobileZoom } from './shared/hooks/use-enable-mobile-zoom.js';
497
540
  export { useGlobalDisclosure } from './shared/hooks/use-global-disclosure.js';
498
541
  export { useInert } from './shared/hooks/use-inert.js';
@@ -534,7 +577,7 @@ export { useRouteLink } from './shared/routing/use-route-link.js';
534
577
  export { useRouteLinkElement } from './shared/routing/use-route-link-element.js';
535
578
  export { useRouter } from './shared/routing/use-router.js';
536
579
  export { FallbackRouteLink, withRouting } from './shared/routing/with-routing.js';
537
- export { ensureArray } from './shared/utils/array.js';
580
+ export { arraysEqual, ensureArray } from './shared/utils/array.js';
538
581
  export { breakpoints, getCurrentBreakpoints } from './shared/utils/breakpoints.js';
539
582
  export { childrenToText } from './shared/utils/children-to-text.js';
540
583
  export { getCssPropertyValue } from './shared/utils/css.js';
@@ -560,6 +603,7 @@ export { Sidebar } from './sidebar/sidebar.js';
560
603
  export { SidebarDetectBreakpoint, SidebarProvider } from './sidebar/sidebar-provider.js';
561
604
  export { ToggleSidebarButton } from './sidebar/toggle-sidebar-button.js';
562
605
  export { useSidebar, useSidebarActions } from './sidebar/use-sidebar.js';
606
+ export { SiteLayout } from './site-layout/site-layout.js';
563
607
  export { DataTable, SortWrapper } from './table/data-table.js';
564
608
  export { Col } from './table/elements/col.js';
565
609
  export { switchSortDirection } from './table/elements/switch-sort-direction.js';
@@ -584,7 +628,7 @@ export { ToastProvider } from './toast/toast-provider.js';
584
628
  export { useToast } from './toast/use-toast.js';
585
629
  export { getTokenKeyValue, getTokenValue } from './tokens/tokens.js';
586
630
  export { Tooltip } from './tooltip/tooltip.js';
587
- export { Heading, SIZES, TAGS } from './typography/heading/heading.js';
631
+ export { Heading, SIZES, TAGS, sizeToTag } from './typography/heading/heading.js';
588
632
 
589
633
  // eslint-disable-next-line import/no-unused-modules
590
634
  // eslint-disable-next-line no-console
@@ -29,7 +29,7 @@ function IntlProvider({ children, countryCode: _countryCode, cultureCode: _cultu
29
29
  showSelector,
30
30
  setShowSelector,
31
31
  ]);
32
- return jsx(IntlContext.Provider, { value: value, children: children });
32
+ return jsx(IntlContext, { value: value, children: children });
33
33
  }
34
34
 
35
35
  export { IntlProvider };
@@ -39,7 +39,7 @@ function MissingTranslationProvider({ children, }) {
39
39
  }
40
40
  if (missing && (isLoading || !translations))
41
41
  return null;
42
- return jsx(IntlContext.Provider, { value: value, children: children });
42
+ return jsx(IntlContext, { value: value, children: children });
43
43
  }
44
44
 
45
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.' | '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 invoice' | 'Download spreadsheet template' | 'Downloads' | 'Easily add your favorite products' | 'Edit billing address' | 'Edit shipping address' | 'Edit Sonic account' | 'Edit VAT number' | 'Edit' | 'Editing your VAT number will empty your cart. You will need to add your products again.' | '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 enter a valid VAT number, starting with your country code, e.g. NL123456789.' | 'please go back to your cart.' | 'Please Sign In' | 'PO Number' | 'Popular searches' | 'Postal Code' | 'Previous' | '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 cannot change the default ship to address while there are items in your cart.' | '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' | 'Your VAT number has already been set. Please go to your account to change it.' | 'Your VAT number is set, so the shipping address for this order cannot be changed. Please complete or empty this order, then update your shipping address from your account.' | 'Your VAT number starts with your 2-letter country code, e.g. NL123456789. Leave this field empty if you do not have one.';
1
+ export type TranslationId = '{0} of {1}' | "'{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' | 'By' | 'Cancel' | 'Carousel' | 'carousel.slide' | 'Cart' | 'Change customer' | 'Change password' | 'Changing password…' | 'Changing your address is currently not possible. Please contact customer support to change your address.' | 'Chapters' | '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' | 'Closed captions' | '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 invoice' | 'Download spreadsheet template' | 'Downloads' | 'Easily add your favorite products' | 'Edit billing address' | 'Edit shipping address' | 'Edit Sonic account' | 'Edit VAT number' | 'Edit' | 'Editing your VAT number will empty your cart. You will need to add your products again.' | 'Email' | 'End Date' | 'Enter your email address and we will send you an email that will allow you to recover your password.' | 'eventDateSeparator' | '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' | 'Loading progress' | 'Log out' | 'Main menu' | 'Make sure the spreadsheet has 3 columns' | 'Make this the default customer' | 'Make this the default ship to address' | 'Modified on' | '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' | 'Pause' | 'Pay by invoice' | 'Payment method' | 'Payment' | 'pc' | 'Phone' | 'Pick up' | 'Pickup address' | 'Place' | 'Play' | 'Playback progress' | 'Please contact Customer Support if you need assistance.' | 'Please enter a valid email address' | 'Please enter a valid phone number' | 'Please enter a valid VAT number, starting with your country code, e.g. NL123456789.' | 'please go back to your cart.' | 'Please Sign In' | 'PO Number' | 'Popular searches' | 'Postal Code' | 'Previous' | 'Private account' | 'Processing' | 'Product Features' | 'Product SKU' | 'Product' | 'Products' | 'Published on' | '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' | 'Seek backwards' | 'Seek forwards' | '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…' | 'Skip to main content' | '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' | 'Start Date' | 'Status' | 'Submenu' | 'Submit email address' | 'Submit' | 'Submitting…' | 'Subtitles and captions' | 'Subtotal' | 'Suggestions' | 'Support' | 'tag.bestseller' | 'tag.discount' | 'tag.limited' | 'tag.new' | 'tag.onsale' | 'tag.onlineonly' | 'tag.halfprice' | '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 fullscreen' | 'Toggle mute' | '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' | 'Venue' | 'Volume level' | '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 cannot change the default ship to address while there are items in your cart.' | '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' | 'Your VAT number has already been set. Please go to your account to change it.' | 'Your VAT number is set, so the shipping address for this order cannot be changed. Please complete or empty this order, then update your shipping address from your account.' | 'Your VAT number starts with your 2-letter country code, e.g. NL123456789. Leave this field empty if you do not have one.';
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { useContext } from 'react';
2
+ import { use } from 'react';
3
3
  import { IntlContext } from './intl-context.js';
4
4
 
5
5
  function useIntl() {
6
- const context = useContext(IntlContext);
6
+ const context = use(IntlContext);
7
7
  if (!context)
8
8
  throw new Error('useIntl must be used within an IntlProvider');
9
9
  return context;
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
+ import { Link } from '../../buttons/link/link.js';
4
5
  import { Icon } from '../../icon/icon.js';
5
6
  import styles from './download-document-list.module.css.js';
6
7
 
@@ -8,7 +9,7 @@ function DownloadDocumentList({ className, documents, }) {
8
9
  return (jsx("ul", { className: clsx(styles['download-list'], className), children: documents.map(document => (jsx(DownloadListItem, { document: document }, document.id))) }));
9
10
  }
10
11
  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
+ return (jsx("li", { className: styles['item'], children: jsxs(Link, { href: href, rel: "download noreferrer", target: "_blank", children: [jsx(Icon, { className: styles['icon'], name: "Download" }), name] }) }));
12
13
  }
13
14
 
14
15
  export { DownloadDocumentList };
@@ -24,7 +24,7 @@ function MenuListProvider({ children, }) {
24
24
  registerCanCollapse,
25
25
  };
26
26
  }, [registerCanCollapse, canCollapse]);
27
- return (jsx(MenuListContext.Provider, { value: value, children: children instanceof Function ? children({ canCollapse }) : children }));
27
+ return (jsx(MenuListContext, { value: value, children: children instanceof Function ? children({ canCollapse }) : children }));
28
28
  }
29
29
 
30
30
  export { MenuListContext, MenuListProvider };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { useContext } from 'react';
2
+ import { use } from 'react';
3
3
  import { MenuListContext } from './menu-list-provider.js';
4
4
 
5
5
  function useMenuList() {
6
- const context = useContext(MenuListContext);
6
+ const context = use(MenuListContext);
7
7
  if (!context)
8
8
  throw new Error('useMenuList must be used within a MenuListProvider');
9
9
  return context;
@@ -1,6 +1,21 @@
1
1
  import { ReactNode } from 'react';
2
- export interface ProductOverviewGridProps {
2
+ export interface ProductOverviewGridProps extends React.HTMLAttributes<HTMLElement> {
3
3
  children?: ReactNode;
4
4
  isLoading?: boolean;
5
5
  }
6
- export declare function ProductOverviewGrid({ children, isLoading, }: ProductOverviewGridProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ProductOverviewGrid({ children, className, isLoading, ...rest }: ProductOverviewGridProps): import("react/jsx-runtime").JSX.Element;
7
+ /**
8
+ * How much room a grid item takes up:
9
+ * - a number: that many slots, drawn as that many columns (capped by CSS at the column count)
10
+ * - `'full'`: a whole row, whatever the column count
11
+ *
12
+ * Numbers stop at 3 because the grid has at most 4 columns, so 4 would be `'full'`
13
+ */
14
+ export type ProductOverviewGridItemSlots = 1 | 2 | 3 | 'full';
15
+ /** Number of regular items (e.g. products) an item with these slots replaces */
16
+ export declare function getReplacedItemCount(slots: ProductOverviewGridItemSlots): 1 | 2 | 0 | 3;
17
+ export interface ProductOverviewGridItemProps {
18
+ children?: ReactNode;
19
+ slots?: ProductOverviewGridItemSlots;
20
+ }
21
+ export declare function ProductOverviewGridItem({ children, slots, }: ProductOverviewGridItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,27 @@
1
1
  "use client";
2
- import { jsxs, jsx } from 'react/jsx-runtime';
3
- import { Children } from 'react';
4
- import { ProgressCircle } from '../../loading/progress-circle.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { Children, isValidElement } from 'react';
4
+ import { clsx } from 'clsx';
5
+ import { DynamicLoadingOverlay } from '../../loading/dynamic-loading-overlay.js';
5
6
  import styles from './product-overview-grid.module.css.js';
6
7
 
7
- function ProductOverviewGrid({ children, isLoading, }) {
8
- return (jsxs("div", { className: styles['product-grid'], children: [
8
+ function ProductOverviewGrid({ children, className, isLoading, ...rest }) {
9
+ return (jsx("section", { className: clsx(styles['product-grid'], className), ...rest, children: jsx(DynamicLoadingOverlay, { className: styles['grid-items'], isLoading: isLoading, children:
9
10
  // eslint-disable-next-line @eslint-react/no-children-map
10
- Children.map(children, (child, index) => (
11
+ Children.map(children, (child, index) =>
12
+ // Children that are already a grid item are rendered as the cell itself
13
+ isValidElement(child) && child.type === ProductOverviewGridItem ? (child) : (
11
14
  // eslint-disable-next-line @eslint-react/no-array-index-key
12
- jsx("div", { className: styles['grid-item'], children: child }, index))), isLoading && (jsx("div", { className: styles['loading-panel'], children: jsx(ProgressCircle, { className: styles['progress-circle'], variant: "gray" }) }))] }));
15
+ jsx(ProductOverviewGridItem, { children: child }, index))) }) }));
16
+ }
17
+ /** Number of regular items (e.g. products) an item with these slots replaces */
18
+ function getReplacedItemCount(slots) {
19
+ return slots === 'full' ? 0 : slots;
20
+ }
21
+ function ProductOverviewGridItem({ children, slots, }) {
22
+ return (jsx("div", { className: styles['grid-item'], "data-full-row": slots === 'full' || undefined, style: typeof slots === 'number'
23
+ ? { '--grid-item-slots': slots }
24
+ : undefined, children: children }));
13
25
  }
14
26
 
15
- export { ProductOverviewGrid };
27
+ export { ProductOverviewGrid, ProductOverviewGridItem, getReplacedItemCount };
@@ -1,3 +1,3 @@
1
- var styles = {"product-grid":"product-overview-grid-module-bzys-","loading-panel":"product-overview-grid-module-XikkF","progress-circle":"product-overview-grid-module-DWnnI","grid-item":"product-overview-grid-module-MlUVA"};
1
+ var styles = {"product-grid":"product-overview-grid-module-bzys-","grid-items":"product-overview-grid-module-NbCKD","grid-item":"product-overview-grid-module-MlUVA"};
2
2
 
3
3
  export { styles as default };
@@ -1,33 +1,11 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
- import { useState, useRef, useEffect } from 'react';
4
3
  import clsx from 'clsx';
5
- import { useIntersectionObserver } from '../shared/hooks/use-intersection-observer.js';
6
4
  import { ProgressCircle } from './progress-circle.js';
7
5
  import styles from './dynamic-loading-overlay.module.css.js';
8
6
 
9
- const thresholdEntries = 1000;
10
- const threshold = Array.from({ length: thresholdEntries }, (_, i) => i / thresholdEntries);
11
7
  function DynamicLoadingOverlay({ children, className, isLoading, }) {
12
- const [intersectedHeight, setIntersectedHeight] = useState(0);
13
- const container = useRef(null);
14
- useIntersectionObserver({
15
- isDisabled: !isLoading,
16
- observables: [{ ref: container }],
17
- onCallback: entries => {
18
- entries.forEach(entry => {
19
- setIntersectedHeight(entry.intersectionRect.height);
20
- });
21
- },
22
- threshold,
23
- });
24
- useEffect(() => {
25
- if (!isLoading) {
26
- // eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
27
- setIntersectedHeight(0);
28
- }
29
- }, [isLoading]);
30
- return (jsxs("div", { ref: container, className: clsx(styles['dynamic-loading-overlay'], isLoading && styles['is-loading'], className), style: { '--intersected-height': `${intersectedHeight}px` }, children: [jsx("div", { className: styles['content'], children: children }), jsx("div", { className: styles['loading-indicator'], children: jsx(ProgressCircle, { className: styles['spinner'], variant: "gray" }) })] }));
8
+ return (jsxs("div", { className: clsx(styles['dynamic-loading-overlay'], isLoading && styles['is-loading']), children: [jsx("div", { className: clsx(styles['content'], className), children: children }), jsx("div", { className: styles['spinner-container'], children: jsx(ProgressCircle, { className: styles['spinner'], variant: "gray" }) })] }));
31
9
  }
32
10
 
33
11
  export { DynamicLoadingOverlay };
@@ -1,3 +1,3 @@
1
- var styles = {"dynamic-loading-overlay":"dynamic-loading-overlay-module-CAecM","content":"dynamic-loading-overlay-module-XeFAb","loading-indicator":"dynamic-loading-overlay-module-lhL5i","spinner":"dynamic-loading-overlay-module-cpo4H","is-loading":"dynamic-loading-overlay-module-3bed-"};
1
+ var styles = {"dynamic-loading-overlay":"dynamic-loading-overlay-module-CAecM","content":"dynamic-loading-overlay-module-XeFAb","spinner-container":"dynamic-loading-overlay-module-cTWyu","spinner":"dynamic-loading-overlay-module-cpo4H","is-loading":"dynamic-loading-overlay-module-3bed-"};
2
2
 
3
3
  export { styles as default };
@@ -0,0 +1,45 @@
1
+ import { FocusPoint } from '../../shared/model/image';
2
+ export interface ImageCdnUrlOptions {
3
+ focusPoint?: FocusPoint;
4
+ format?: 'avif' | 'jpeg' | 'png' | 'webp';
5
+ /** Crops to `width` x `height` when set; scales proportionally otherwise. */
6
+ height?: number;
7
+ quality?: number;
8
+ width: number;
9
+ }
10
+ export interface ImageSize {
11
+ height: number;
12
+ width: number;
13
+ }
14
+ /** Builds resized image URLs for one asset CDN. */
15
+ export interface ImageCdnProfile {
16
+ buildUrl(src: string, options: ImageCdnUrlOptions): string;
17
+ /** Intrinsic size, for CDNs that encode it in the asset URL. */
18
+ getSize?(src: string): ImageSize | undefined;
19
+ /** Whether this profile can transform `src`. Absent means every `src`. */
20
+ matches?(src: string): boolean;
21
+ /** Widest rendition the CDN serves. */
22
+ maxWidth?: number;
23
+ }
24
+ export interface ImageSrcSetOptions {
25
+ focusPoint?: FocusPoint;
26
+ /** Narrowest shape the image is shown in; candidates are cropped to it. */
27
+ minAspectRatio?: number;
28
+ sourceHeight: number;
29
+ sourceWidth: number;
30
+ src: string;
31
+ }
32
+ /**
33
+ * Crop ratio for a measured `cover` box: the widest step that is still no
34
+ * wider than the box, so `cover` only ever trims. Undefined when the box is
35
+ * about as wide as the source, which then needs no crop.
36
+ */
37
+ export declare function snapAutoCropRatio(boxRatio: number, sourceRatio: number): number | undefined;
38
+ export declare function findImageCdnProfile(profiles: readonly ImageCdnProfile[], src: string): ImageCdnProfile | undefined;
39
+ /** Width candidates up to the source size; never upscales. */
40
+ export declare function buildImageSrcSet(profile: ImageCdnProfile, { focusPoint, minAspectRatio, sourceHeight, sourceWidth, src, }: ImageSrcSetOptions): {
41
+ height: number;
42
+ src: string;
43
+ srcSet: string;
44
+ width: number;
45
+ };