@ubnt/store.core 9.71.0-beta.5 → 10.0.0-beta.1

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 (1521) hide show
  1. package/CHANGELOG.md +103 -5063
  2. package/lib/_virtual/_virtual_multi-entry.js +110 -126
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.js +124 -133
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +124 -133
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/box.svg +3 -4
  11. package/lib/assets/close2.svg +2 -3
  12. package/lib/assets/hand.svg +5 -4
  13. package/lib/assets/icons/wizard/index.d.ts +0 -4
  14. package/lib/assets/icons/wizard/index.js +0 -4
  15. package/lib/assets/icons/wizard/index.js.map +1 -1
  16. package/lib/assets/icons/wizard/index.mjs +0 -4
  17. package/lib/assets/icons/wizard/index.mjs.map +1 -1
  18. package/lib/assets/icons/wizard/minus.svg.js +1 -1
  19. package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
  20. package/lib/assets/icons/wizard/plus.svg.js +1 -1
  21. package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
  22. package/lib/assets/keyFeatures/box.svg.js +1 -1
  23. package/lib/assets/keyFeatures/box.svg.mjs +2 -2
  24. package/lib/assets/keyFeatures/reload.svg.js +1 -1
  25. package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
  26. package/lib/assets/minus.svg +1 -14
  27. package/lib/assets/minus2.svg +3 -1
  28. package/lib/assets/minus3.svg +13 -2
  29. package/lib/assets/minus4.svg +8 -8
  30. package/lib/assets/minus5.svg +8 -8
  31. package/lib/assets/payment-card.svg +4 -11
  32. package/lib/assets/plus.svg +1 -22
  33. package/lib/assets/plus2.svg +22 -4
  34. package/lib/assets/plus3.svg +16 -1
  35. package/lib/assets/plus4.svg +15 -2
  36. package/lib/assets/reload.svg +2 -2
  37. package/lib/assets/reload2.svg +2 -2
  38. package/lib/assets/ucgFiber.jpg +0 -0
  39. package/lib/assets/ucgFiber2.jpg +0 -0
  40. package/lib/assets/ucgMax.jpg +0 -0
  41. package/lib/assets/ucgMax2.jpg +0 -0
  42. package/lib/assets/ucgUltra.jpg +0 -0
  43. package/lib/assets/ucgUltra2.jpg +0 -0
  44. package/lib/assets/udmProMax.jpg +0 -0
  45. package/lib/assets/udmProMax2.jpg +0 -0
  46. package/lib/assets/udmProSpecial.jpg +0 -0
  47. package/lib/assets/udmProSpecial2.jpg +0 -0
  48. package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
  49. package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
  50. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
  51. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
  52. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
  53. package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
  54. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
  55. package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
  56. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
  57. package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
  58. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
  59. package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
  60. package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
  61. package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
  62. package/lib/components/Header/Header.js +0 -4
  63. package/lib/components/Header/Header.js.map +1 -1
  64. package/lib/components/Header/Header.mjs +0 -4
  65. package/lib/components/Header/Header.mjs.map +1 -1
  66. package/lib/components/Header/Header.stories.d.ts +2 -3
  67. package/lib/components/Header/Header.styles.d.ts +1 -1
  68. package/lib/components/Header/Header.styles.js +2 -2
  69. package/lib/components/Header/Header.styles.js.map +1 -1
  70. package/lib/components/Header/Header.styles.mjs +2 -2
  71. package/lib/components/Header/Header.styles.mjs.map +1 -1
  72. package/lib/components/Header/Header.types.d.ts +0 -2
  73. package/lib/components/Header/Header.types.js.map +1 -1
  74. package/lib/components/Header/Header.types.mjs.map +1 -1
  75. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
  76. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
  77. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  78. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
  79. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  80. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
  81. package/lib/components/Header/ProHeader/ProHeader.d.ts +1 -1
  82. package/lib/components/Header/ProHeader/ProHeader.styles.js +4 -0
  83. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  84. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +4 -0
  85. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  86. package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
  87. package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
  88. package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
  89. package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
  90. package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
  91. package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
  92. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
  93. package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
  94. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
  95. package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
  96. package/lib/components/MicrositeBanner/index.d.ts +1 -0
  97. package/lib/components/MicrositeBanner/index.js +6 -0
  98. package/lib/components/MicrositeBanner/index.mjs +3 -0
  99. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
  100. package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
  101. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
  102. package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
  103. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
  104. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
  105. package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
  106. package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
  107. package/lib/components/MicrositeProgressCircle/index.js +6 -0
  108. package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
  109. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
  110. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
  111. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
  112. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
  113. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
  114. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
  115. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
  116. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgFiber.jpg.js +5 -5
  117. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgFiber.jpg.mjs +2 -2
  118. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  119. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  120. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  121. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  122. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  123. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  124. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  125. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  126. package/lib/components/ModelCompareV3/assets/Consoles/ucgFiber.jpg.js +1 -1
  127. package/lib/components/ModelCompareV3/assets/Consoles/ucgFiber.jpg.mjs +2 -2
  128. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  129. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  130. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  131. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  132. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  133. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  134. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  135. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  136. package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
  137. package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
  138. package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
  139. package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
  140. package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
  141. package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
  142. package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
  143. package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
  144. package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
  145. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
  146. package/lib/components/ModelCompareV3/data/products/ucgFiber.js +1 -1
  147. package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
  148. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  149. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  150. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  151. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  152. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  153. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  154. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  155. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  156. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
  157. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
  158. package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
  159. package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
  160. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
  161. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
  162. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  163. package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
  164. package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
  165. package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
  166. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
  167. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
  168. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
  169. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
  170. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  171. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
  172. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  173. package/lib/components/ProductTechSpecs/index.js +8 -0
  174. package/lib/components/ProductTechSpecs/index.mjs +4 -0
  175. package/lib/components/QuantityInput/QuantityInput.js +2 -2
  176. package/lib/components/QuantityInput/QuantityInput.mjs +2 -2
  177. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  178. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  179. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  180. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  181. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  182. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  183. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
  184. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  185. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  186. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  187. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  188. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  189. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  190. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  191. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  192. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  193. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  194. package/lib/components/index.d.ts +32 -38
  195. package/lib/components/index.js +98 -110
  196. package/lib/components/index.js.map +1 -1
  197. package/lib/components/index.mjs +98 -110
  198. package/lib/components/index.mjs.map +1 -1
  199. package/lib/constants/icons/generic/index.js +6 -6
  200. package/lib/constants/icons/generic/index.mjs +2 -2
  201. package/lib/constants/icons/generic/minus.svg.js +5 -5
  202. package/lib/constants/icons/generic/minus.svg.mjs +2 -2
  203. package/lib/constants/icons/generic/plus.svg.js +5 -5
  204. package/lib/constants/icons/generic/plus.svg.mjs +2 -2
  205. package/lib/constants/icons/index.d.ts +0 -1
  206. package/lib/constants/icons/index.js +0 -2
  207. package/lib/constants/icons/index.js.map +1 -1
  208. package/lib/constants/icons/index.mjs +0 -2
  209. package/lib/constants/icons/index.mjs.map +1 -1
  210. package/lib/constants/mixin.d.ts +0 -1
  211. package/lib/constants/mixin.js +0 -6
  212. package/lib/constants/mixin.js.map +1 -1
  213. package/lib/constants/mixin.mjs +1 -6
  214. package/lib/constants/mixin.mjs.map +1 -1
  215. package/lib/constants/shopify/keyFeatureIcons.js +2 -2
  216. package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
  217. package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
  218. package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
  219. package/lib/helpers/shopify/iconParsing.js.map +1 -1
  220. package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
  221. package/lib/utils/index.d.ts +1 -3
  222. package/lib/utils/index.js +6 -10
  223. package/lib/utils/index.js.map +1 -1
  224. package/lib/utils/index.mjs +6 -10
  225. package/lib/utils/index.mjs.map +1 -1
  226. package/lib/utils/money/allocators/fixedAmount.js +9 -17
  227. package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
  228. package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
  229. package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
  230. package/lib/utils/money/allocators/productAmount.js +38 -61
  231. package/lib/utils/money/allocators/productAmount.js.map +1 -1
  232. package/lib/utils/money/allocators/productAmount.mjs +38 -61
  233. package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
  234. package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
  235. package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
  236. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
  237. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
  238. package/package.json +1 -1
  239. package/lib/assets/accessApplication.svg +0 -394
  240. package/lib/assets/addToCart.svg +0 -3
  241. package/lib/assets/arrowRightMicro.svg +0 -3
  242. package/lib/assets/black.svg +0 -14
  243. package/lib/assets/blackFabric.png +0 -0
  244. package/lib/assets/blue.svg +0 -14
  245. package/lib/assets/box2.svg +0 -3
  246. package/lib/assets/camo.png +0 -0
  247. package/lib/assets/check3.svg +0 -3
  248. package/lib/assets/close3.svg +0 -3
  249. package/lib/assets/compare/fov-bullet.png.js +0 -27
  250. package/lib/assets/compare/fov-bullet.png.js.map +0 -1
  251. package/lib/assets/compare/fov-bullet.png.mjs +0 -3
  252. package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
  253. package/lib/assets/concrete.png +0 -0
  254. package/lib/assets/darkGrey.svg +0 -14
  255. package/lib/assets/design-uisp-mobile.png +0 -0
  256. package/lib/assets/design-uisp.png +0 -0
  257. package/lib/assets/design-unifi-mobile.png +0 -0
  258. package/lib/assets/design-unifi.png +0 -0
  259. package/lib/assets/fov-bullet.png +0 -0
  260. package/lib/assets/grey.svg +0 -13
  261. package/lib/assets/hand2.svg +0 -5
  262. package/lib/assets/icons/accessApplication.svg.js +0 -27
  263. package/lib/assets/icons/accessApplication.svg.js.map +0 -1
  264. package/lib/assets/icons/accessApplication.svg.mjs +0 -3
  265. package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
  266. package/lib/assets/icons/addToCart.svg.js +0 -27
  267. package/lib/assets/icons/addToCart.svg.js.map +0 -1
  268. package/lib/assets/icons/addToCart.svg.mjs +0 -3
  269. package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
  270. package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
  271. package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
  272. package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
  273. package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
  274. package/lib/assets/icons/link.svg.js +0 -27
  275. package/lib/assets/icons/link.svg.js.map +0 -1
  276. package/lib/assets/icons/link.svg.mjs +0 -3
  277. package/lib/assets/icons/link.svg.mjs.map +0 -1
  278. package/lib/assets/icons/networkApplication.svg.js +0 -27
  279. package/lib/assets/icons/networkApplication.svg.js.map +0 -1
  280. package/lib/assets/icons/networkApplication.svg.mjs +0 -3
  281. package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
  282. package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
  283. package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
  284. package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
  285. package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
  286. package/lib/assets/icons/payment-card.svg.js +0 -27
  287. package/lib/assets/icons/payment-card.svg.js.map +0 -1
  288. package/lib/assets/icons/payment-card.svg.mjs +0 -3
  289. package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
  290. package/lib/assets/icons/payment-google-pay.svg.js +0 -27
  291. package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
  292. package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
  293. package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
  294. package/lib/assets/icons/play-big.svg.js +0 -27
  295. package/lib/assets/icons/play-big.svg.js.map +0 -1
  296. package/lib/assets/icons/play-big.svg.mjs +0 -3
  297. package/lib/assets/icons/play-big.svg.mjs.map +0 -1
  298. package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
  299. package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
  300. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
  301. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
  302. package/lib/assets/icons/protectApplication.svg.js +0 -27
  303. package/lib/assets/icons/protectApplication.svg.js.map +0 -1
  304. package/lib/assets/icons/protectApplication.svg.mjs +0 -3
  305. package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
  306. package/lib/assets/icons/reload.svg.js +0 -27
  307. package/lib/assets/icons/reload.svg.js.map +0 -1
  308. package/lib/assets/icons/reload.svg.mjs +0 -3
  309. package/lib/assets/icons/reload.svg.mjs.map +0 -1
  310. package/lib/assets/icons/sliderThumb.svg.js +0 -27
  311. package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
  312. package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
  313. package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
  314. package/lib/assets/icons/talkApplication.svg.js +0 -27
  315. package/lib/assets/icons/talkApplication.svg.js.map +0 -1
  316. package/lib/assets/icons/talkApplication.svg.mjs +0 -3
  317. package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
  318. package/lib/assets/icons/wizard/box.svg.js +0 -27
  319. package/lib/assets/icons/wizard/box.svg.js.map +0 -1
  320. package/lib/assets/icons/wizard/box.svg.mjs +0 -3
  321. package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
  322. package/lib/assets/icons/wizard/hand.svg.js +0 -27
  323. package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
  324. package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
  325. package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
  326. package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
  327. package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
  328. package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
  329. package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
  330. package/lib/assets/icons/wizard/warranty.svg.js +0 -27
  331. package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
  332. package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
  333. package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
  334. package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
  335. package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
  336. package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
  337. package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
  338. package/lib/assets/landingPage/design-uisp.png.js +0 -27
  339. package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
  340. package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
  341. package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
  342. package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
  343. package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
  344. package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
  345. package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
  346. package/lib/assets/landingPage/design-unifi.png.js +0 -27
  347. package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
  348. package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
  349. package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
  350. package/lib/assets/landingPage/support-expert.png.js +0 -27
  351. package/lib/assets/landingPage/support-expert.png.js.map +0 -1
  352. package/lib/assets/landingPage/support-expert.png.mjs +0 -3
  353. package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
  354. package/lib/assets/landingPage/support-help.png.js +0 -27
  355. package/lib/assets/landingPage/support-help.png.js.map +0 -1
  356. package/lib/assets/landingPage/support-help.png.mjs +0 -3
  357. package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
  358. package/lib/assets/lightGrey.svg +0 -13
  359. package/lib/assets/link.svg +0 -3
  360. package/lib/assets/marble.png +0 -0
  361. package/lib/assets/networkApplication.svg +0 -21
  362. package/lib/assets/payment-apple-pay.svg +0 -12
  363. package/lib/assets/payment-card2.svg +0 -5
  364. package/lib/assets/payment-google-pay.svg +0 -1
  365. package/lib/assets/play-big.svg +0 -4
  366. package/lib/assets/plus5.svg +0 -16
  367. package/lib/assets/plus6.svg +0 -16
  368. package/lib/assets/popoverPointer.svg +0 -12
  369. package/lib/assets/previouslyPurchasedStar.svg +0 -3
  370. package/lib/assets/protectApplication.svg +0 -418
  371. package/lib/assets/reload3.svg +0 -3
  372. package/lib/assets/sliderThumb.svg +0 -5
  373. package/lib/assets/support-expert.png +0 -0
  374. package/lib/assets/support-help.png +0 -0
  375. package/lib/assets/talkApplication.svg +0 -45
  376. package/lib/assets/warranty.svg +0 -2
  377. package/lib/assets/white.svg +0 -13
  378. package/lib/assets/wood.png +0 -0
  379. package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
  380. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
  381. package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
  382. package/lib/components/AppDownloadBanner/index.d.ts +0 -1
  383. package/lib/components/Banner/Banner.d.ts +0 -2
  384. package/lib/components/Banner/Banner.js.map +0 -1
  385. package/lib/components/Banner/Banner.mjs.map +0 -1
  386. package/lib/components/Banner/Banner.styles.js.map +0 -1
  387. package/lib/components/Banner/Banner.styles.mjs.map +0 -1
  388. package/lib/components/Banner/index.d.ts +0 -1
  389. package/lib/components/Banner/index.js +0 -6
  390. package/lib/components/Banner/index.mjs +0 -3
  391. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  392. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  393. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
  394. package/lib/components/Breadcrumbs/index.d.ts +0 -1
  395. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
  396. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
  397. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
  398. package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
  399. package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
  400. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
  401. package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
  402. package/lib/components/CarouselGallery/index.d.ts +0 -1
  403. package/lib/components/CartIcon/CartIcon.js.map +0 -1
  404. package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
  405. package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
  406. package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
  407. package/lib/components/CartSummary/CartSummary.d.ts +0 -2
  408. package/lib/components/CartSummary/CartSummary.js +0 -58
  409. package/lib/components/CartSummary/CartSummary.js.map +0 -1
  410. package/lib/components/CartSummary/CartSummary.mjs +0 -56
  411. package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
  412. package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
  413. package/lib/components/CartSummary/CartSummary.styles.js +0 -133
  414. package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
  415. package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
  416. package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
  417. package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
  418. package/lib/components/CartSummary/index.d.ts +0 -1
  419. package/lib/components/CartSummary/index.js +0 -6
  420. package/lib/components/CartSummary/index.mjs +0 -3
  421. package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
  422. package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
  423. package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
  424. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
  425. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
  426. package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
  427. package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
  428. package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
  429. package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
  430. package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
  431. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
  432. package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
  433. package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
  434. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
  435. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
  436. package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
  437. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
  438. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
  439. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
  440. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
  441. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
  442. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
  443. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
  444. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
  445. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
  446. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
  447. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
  448. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
  449. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
  450. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
  451. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
  452. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
  453. package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
  454. package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
  455. package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
  456. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
  457. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
  458. package/lib/components/CloserLookSection/index.d.ts +0 -1
  459. package/lib/components/CloserLookSection/index.js +0 -7
  460. package/lib/components/CloserLookSection/index.js.map +0 -1
  461. package/lib/components/CloserLookSection/index.mjs +0 -3
  462. package/lib/components/CloserLookSection/index.mjs.map +0 -1
  463. package/lib/components/Compare/Compare.d.ts +0 -2
  464. package/lib/components/Compare/Compare.styles.d.ts +0 -38
  465. package/lib/components/Compare/Compare.types.d.ts +0 -34
  466. package/lib/components/Compare/CompareData.d.ts +0 -22
  467. package/lib/components/Compare/ProductTable.d.ts +0 -6
  468. package/lib/components/Compare/index.d.ts +0 -2
  469. package/lib/components/CompareChart/CompareChart.d.ts +0 -2
  470. package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
  471. package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
  472. package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
  473. package/lib/components/CompareChart/index.d.ts +0 -2
  474. package/lib/components/CompareSection/CompareSection.d.ts +0 -5
  475. package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
  476. package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
  477. package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
  478. package/lib/components/CompareSection/index.d.ts +0 -1
  479. package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
  480. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
  481. package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
  482. package/lib/components/DeploymentGallery/index.d.ts +0 -1
  483. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
  484. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
  485. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
  486. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
  487. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
  488. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
  489. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
  490. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
  491. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
  492. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
  493. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
  494. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
  495. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
  496. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
  497. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
  498. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
  499. package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
  500. package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
  501. package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
  502. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
  503. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
  504. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
  505. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
  506. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
  507. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
  508. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
  509. package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
  510. package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
  511. package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
  512. package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
  513. package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
  514. package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
  515. package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
  516. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
  517. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
  518. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
  519. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
  520. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
  521. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
  522. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
  523. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
  524. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
  525. package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
  526. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
  527. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
  528. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
  529. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
  530. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
  531. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
  532. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
  533. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
  534. package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
  535. package/lib/components/FeaturesSection_deprecated/index.js +0 -7
  536. package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
  537. package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
  538. package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
  539. package/lib/components/Gallery/Gallery.context.js +0 -141
  540. package/lib/components/Gallery/Gallery.context.js.map +0 -1
  541. package/lib/components/Gallery/Gallery.context.mjs +0 -138
  542. package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
  543. package/lib/components/Gallery/Gallery.js +0 -123
  544. package/lib/components/Gallery/Gallery.js.map +0 -1
  545. package/lib/components/Gallery/Gallery.mjs +0 -120
  546. package/lib/components/Gallery/Gallery.mjs.map +0 -1
  547. package/lib/components/Gallery/Gallery.styles.js +0 -86
  548. package/lib/components/Gallery/Gallery.styles.js.map +0 -1
  549. package/lib/components/Gallery/Gallery.styles.mjs +0 -73
  550. package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
  551. package/lib/components/Gallery/Gallery.types.js +0 -11
  552. package/lib/components/Gallery/Gallery.types.js.map +0 -1
  553. package/lib/components/Gallery/Gallery.types.mjs +0 -10
  554. package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
  555. package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
  556. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
  557. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
  558. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
  559. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
  560. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
  561. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
  562. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
  563. package/lib/components/Gallery/GalleryControls/index.js +0 -9
  564. package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
  565. package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
  566. package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
  567. package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
  568. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
  569. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
  570. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
  571. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
  572. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
  573. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
  574. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
  575. package/lib/components/Gallery/GalleryItem/index.js +0 -6
  576. package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
  577. package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
  578. package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
  579. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
  580. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
  581. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
  582. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
  583. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
  584. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
  585. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
  586. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
  587. package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
  588. package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
  589. package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
  590. package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
  591. package/lib/components/Gallery/index.js +0 -8
  592. package/lib/components/Gallery/index.mjs +0 -4
  593. package/lib/components/Gallery/utils.js +0 -9
  594. package/lib/components/Gallery/utils.js.map +0 -1
  595. package/lib/components/Gallery/utils.mjs +0 -8
  596. package/lib/components/Gallery/utils.mjs.map +0 -1
  597. package/lib/components/GridGallery/GridGallery.js +0 -197
  598. package/lib/components/GridGallery/GridGallery.js.map +0 -1
  599. package/lib/components/GridGallery/GridGallery.mjs +0 -189
  600. package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
  601. package/lib/components/GridGallery/GridGallery.styles.js +0 -132
  602. package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
  603. package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
  604. package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
  605. package/lib/components/GridGallery/GridGallery.types.js +0 -12
  606. package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
  607. package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
  608. package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
  609. package/lib/components/GridGallery/index.js +0 -6
  610. package/lib/components/GridGallery/index.js.map +0 -1
  611. package/lib/components/GridGallery/index.mjs +0 -3
  612. package/lib/components/GridGallery/index.mjs.map +0 -1
  613. package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
  614. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
  615. package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
  616. package/lib/components/Header/SearchTab/index.d.ts +0 -1
  617. package/lib/components/Hero/Hero.d.ts +0 -2
  618. package/lib/components/Hero/Hero.js +0 -158
  619. package/lib/components/Hero/Hero.js.map +0 -1
  620. package/lib/components/Hero/Hero.mjs +0 -146
  621. package/lib/components/Hero/Hero.mjs.map +0 -1
  622. package/lib/components/Hero/Hero.styles.d.ts +0 -44
  623. package/lib/components/Hero/Hero.styles.js +0 -349
  624. package/lib/components/Hero/Hero.styles.js.map +0 -1
  625. package/lib/components/Hero/Hero.styles.mjs +0 -320
  626. package/lib/components/Hero/Hero.styles.mjs.map +0 -1
  627. package/lib/components/Hero/Hero.types.d.ts +0 -31
  628. package/lib/components/Hero/Hero.types.js +0 -12
  629. package/lib/components/Hero/Hero.types.js.map +0 -1
  630. package/lib/components/Hero/Hero.types.mjs +0 -11
  631. package/lib/components/Hero/Hero.types.mjs.map +0 -1
  632. package/lib/components/Hero/index.d.ts +0 -1
  633. package/lib/components/Hero/index.js +0 -6
  634. package/lib/components/Hero/index.js.map +0 -1
  635. package/lib/components/Hero/index.mjs +0 -3
  636. package/lib/components/Hero/index.mjs.map +0 -1
  637. package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
  638. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
  639. package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
  640. package/lib/components/HeroFadeGallery/index.d.ts +0 -1
  641. package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
  642. package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
  643. package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
  644. package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
  645. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
  646. package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
  647. package/lib/components/HowToUseSection/index.d.ts +0 -1
  648. package/lib/components/ImageModal/ImageModal.d.ts +0 -2
  649. package/lib/components/ImageModal/ImageModal.js +0 -42
  650. package/lib/components/ImageModal/ImageModal.js.map +0 -1
  651. package/lib/components/ImageModal/ImageModal.mjs +0 -40
  652. package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
  653. package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
  654. package/lib/components/ImageModal/ImageModal.styles.js +0 -64
  655. package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
  656. package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
  657. package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
  658. package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
  659. package/lib/components/ImageModal/index.d.ts +0 -1
  660. package/lib/components/ImageModal/index.js +0 -6
  661. package/lib/components/ImageModal/index.js.map +0 -1
  662. package/lib/components/ImageModal/index.mjs +0 -3
  663. package/lib/components/ImageModal/index.mjs.map +0 -1
  664. package/lib/components/LandingPage/Block/Block.d.ts +0 -2
  665. package/lib/components/LandingPage/Block/Block.js +0 -38
  666. package/lib/components/LandingPage/Block/Block.js.map +0 -1
  667. package/lib/components/LandingPage/Block/Block.mjs +0 -36
  668. package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
  669. package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
  670. package/lib/components/LandingPage/Block/Block.styles.js +0 -37
  671. package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
  672. package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
  673. package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
  674. package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
  675. package/lib/components/LandingPage/Block/index.d.ts +0 -1
  676. package/lib/components/LandingPage/Block/index.js +0 -6
  677. package/lib/components/LandingPage/Block/index.js.map +0 -1
  678. package/lib/components/LandingPage/Block/index.mjs +0 -3
  679. package/lib/components/LandingPage/Block/index.mjs.map +0 -1
  680. package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
  681. package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
  682. package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
  683. package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
  684. package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
  685. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
  686. package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
  687. package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
  688. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
  689. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
  690. package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
  691. package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
  692. package/lib/components/LandingPage/Cards/Card/index.js +0 -6
  693. package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
  694. package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
  695. package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
  696. package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
  697. package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
  698. package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
  699. package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
  700. package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
  701. package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
  702. package/lib/components/LandingPage/Cards/Cards.js +0 -127
  703. package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
  704. package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
  705. package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
  706. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
  707. package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
  708. package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
  709. package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
  710. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
  711. package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
  712. package/lib/components/LandingPage/Cards/index.d.ts +0 -2
  713. package/lib/components/LandingPage/Cards/index.js +0 -8
  714. package/lib/components/LandingPage/Cards/index.js.map +0 -1
  715. package/lib/components/LandingPage/Cards/index.mjs +0 -4
  716. package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
  717. package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
  718. package/lib/components/LandingPage/LandingPage.constants.js +0 -40
  719. package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
  720. package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
  721. package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
  722. package/lib/components/LandingPage/LandingPage.d.ts +0 -2
  723. package/lib/components/LandingPage/LandingPage.js +0 -116
  724. package/lib/components/LandingPage/LandingPage.js.map +0 -1
  725. package/lib/components/LandingPage/LandingPage.mjs +0 -102
  726. package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
  727. package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
  728. package/lib/components/LandingPage/LandingPage.styles.js +0 -66
  729. package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
  730. package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
  731. package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
  732. package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
  733. package/lib/components/LandingPage/index.d.ts +0 -1
  734. package/lib/components/LandingPage/index.js +0 -6
  735. package/lib/components/LandingPage/index.js.map +0 -1
  736. package/lib/components/LandingPage/index.mjs +0 -3
  737. package/lib/components/LandingPage/index.mjs.map +0 -1
  738. package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
  739. package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
  740. package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
  741. package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
  742. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
  743. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
  744. package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
  745. package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
  746. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
  747. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
  748. package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
  749. package/lib/components/LandingPagePro/index.d.ts +0 -1
  750. package/lib/components/LandingPagePro/index.js +0 -6
  751. package/lib/components/LandingPagePro/index.js.map +0 -1
  752. package/lib/components/LandingPagePro/index.mjs +0 -3
  753. package/lib/components/LandingPagePro/index.mjs.map +0 -1
  754. package/lib/components/LandingPagePro/utils.d.ts +0 -12
  755. package/lib/components/LandingPagePro/utils.js +0 -26
  756. package/lib/components/LandingPagePro/utils.js.map +0 -1
  757. package/lib/components/LandingPagePro/utils.mjs +0 -24
  758. package/lib/components/LandingPagePro/utils.mjs.map +0 -1
  759. package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
  760. package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
  761. package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
  762. package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
  763. package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
  764. package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
  765. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
  766. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
  767. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
  768. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
  769. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
  770. package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
  771. package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
  772. package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
  773. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
  774. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
  775. package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
  776. package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
  777. package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
  778. package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
  779. package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
  780. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
  781. package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
  782. package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
  783. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
  784. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
  785. package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
  786. package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
  787. package/lib/components/LandingPageSearch/Modal/index.js +0 -6
  788. package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
  789. package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
  790. package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
  791. package/lib/components/LandingPageSearch/index.d.ts +0 -1
  792. package/lib/components/LandingPageSearch/index.js +0 -6
  793. package/lib/components/LandingPageSearch/index.js.map +0 -1
  794. package/lib/components/LandingPageSearch/index.mjs +0 -3
  795. package/lib/components/LandingPageSearch/index.mjs.map +0 -1
  796. package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
  797. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
  798. package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
  799. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
  800. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
  801. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
  802. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
  803. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
  804. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
  805. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
  806. package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
  807. package/lib/components/LandingPageSidebar/index.d.ts +0 -1
  808. package/lib/components/LandingPageSidebar/index.js +0 -6
  809. package/lib/components/LandingPageSidebar/index.js.map +0 -1
  810. package/lib/components/LandingPageSidebar/index.mjs +0 -3
  811. package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
  812. package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
  813. package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
  814. package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
  815. package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
  816. package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
  817. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
  818. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
  819. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
  820. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
  821. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
  822. package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
  823. package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
  824. package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
  825. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
  826. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
  827. package/lib/components/LayoutRenderer/index.d.ts +0 -2
  828. package/lib/components/LayoutRenderer/index.js +0 -6
  829. package/lib/components/LayoutRenderer/index.js.map +0 -1
  830. package/lib/components/LayoutRenderer/index.mjs +0 -3
  831. package/lib/components/LayoutRenderer/index.mjs.map +0 -1
  832. package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
  833. package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
  834. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
  835. package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
  836. package/lib/components/LayoutRendererV1/index.d.ts +0 -1
  837. package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
  838. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
  839. package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
  840. package/lib/components/LayoutRendererV2/index.d.ts +0 -1
  841. package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
  842. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
  843. package/lib/components/NewToUnifiBox/index.d.ts +0 -1
  844. package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
  845. package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
  846. package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
  847. package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
  848. package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
  849. package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
  850. package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
  851. package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
  852. package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
  853. package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
  854. package/lib/components/NormalisedImage/index.d.ts +0 -2
  855. package/lib/components/NormalisedImage/index.js +0 -7
  856. package/lib/components/NormalisedImage/index.js.map +0 -1
  857. package/lib/components/NormalisedImage/index.mjs +0 -4
  858. package/lib/components/NormalisedImage/index.mjs.map +0 -1
  859. package/lib/components/Pagination/Pagination.d.ts +0 -2
  860. package/lib/components/Pagination/Pagination.js +0 -71
  861. package/lib/components/Pagination/Pagination.js.map +0 -1
  862. package/lib/components/Pagination/Pagination.mjs +0 -69
  863. package/lib/components/Pagination/Pagination.mjs.map +0 -1
  864. package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
  865. package/lib/components/Pagination/Pagination.styles.js +0 -51
  866. package/lib/components/Pagination/Pagination.styles.js.map +0 -1
  867. package/lib/components/Pagination/Pagination.styles.mjs +0 -41
  868. package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
  869. package/lib/components/Pagination/Pagination.types.d.ts +0 -5
  870. package/lib/components/Pagination/index.d.ts +0 -2
  871. package/lib/components/Pagination/index.js +0 -6
  872. package/lib/components/Pagination/index.js.map +0 -1
  873. package/lib/components/Pagination/index.mjs +0 -3
  874. package/lib/components/Pagination/index.mjs.map +0 -1
  875. package/lib/components/Popover/Popover.d.ts +0 -20
  876. package/lib/components/Popover/Popover.js +0 -37
  877. package/lib/components/Popover/Popover.js.map +0 -1
  878. package/lib/components/Popover/Popover.mjs +0 -29
  879. package/lib/components/Popover/Popover.mjs.map +0 -1
  880. package/lib/components/Popover/Popover.styles.d.ts +0 -15
  881. package/lib/components/Popover/Popover.styles.js +0 -122
  882. package/lib/components/Popover/Popover.styles.js.map +0 -1
  883. package/lib/components/Popover/Popover.styles.mjs +0 -111
  884. package/lib/components/Popover/Popover.styles.mjs.map +0 -1
  885. package/lib/components/Popover/Popover.types.d.ts +0 -8
  886. package/lib/components/Popover/index.d.ts +0 -1
  887. package/lib/components/Popover/index.js +0 -6
  888. package/lib/components/Popover/index.js.map +0 -1
  889. package/lib/components/Popover/index.mjs +0 -3
  890. package/lib/components/Popover/index.mjs.map +0 -1
  891. package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
  892. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
  893. package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
  894. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
  895. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
  896. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
  897. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
  898. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
  899. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
  900. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
  901. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
  902. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
  903. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
  904. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
  905. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
  906. package/lib/components/PriceRangeSlider/index.d.ts +0 -1
  907. package/lib/components/PriceRangeSlider/index.js +0 -6
  908. package/lib/components/PriceRangeSlider/index.js.map +0 -1
  909. package/lib/components/PriceRangeSlider/index.mjs +0 -3
  910. package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
  911. package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
  912. package/lib/components/ProductCard/ProductCard.constants.js +0 -18
  913. package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
  914. package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
  915. package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
  916. package/lib/components/ProductCard/ProductCard.d.ts +0 -2
  917. package/lib/components/ProductCard/ProductCard.js +0 -139
  918. package/lib/components/ProductCard/ProductCard.js.map +0 -1
  919. package/lib/components/ProductCard/ProductCard.mjs +0 -130
  920. package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
  921. package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
  922. package/lib/components/ProductCard/ProductCard.styles.js +0 -178
  923. package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
  924. package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
  925. package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
  926. package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
  927. package/lib/components/ProductCard/index.d.ts +0 -1
  928. package/lib/components/ProductCard/index.js +0 -6
  929. package/lib/components/ProductCard/index.js.map +0 -1
  930. package/lib/components/ProductCard/index.mjs +0 -3
  931. package/lib/components/ProductCard/index.mjs.map +0 -1
  932. package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
  933. package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
  934. package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
  935. package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
  936. package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
  937. package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
  938. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
  939. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
  940. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
  941. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
  942. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
  943. package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
  944. package/lib/components/ProductCardPopup/index.d.ts +0 -1
  945. package/lib/components/ProductCardPopup/index.js +0 -6
  946. package/lib/components/ProductCardPopup/index.js.map +0 -1
  947. package/lib/components/ProductCardPopup/index.mjs +0 -3
  948. package/lib/components/ProductCardPopup/index.mjs.map +0 -1
  949. package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
  950. package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
  951. package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
  952. package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
  953. package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
  954. package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
  955. package/lib/components/ProductCompare/ProductCompare.js +0 -158
  956. package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
  957. package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
  958. package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
  959. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
  960. package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
  961. package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
  962. package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
  963. package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
  964. package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
  965. package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
  966. package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
  967. package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
  968. package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
  969. package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
  970. package/lib/components/ProductCompare/index.d.ts +0 -1
  971. package/lib/components/ProductCompare/index.js +0 -6
  972. package/lib/components/ProductCompare/index.js.map +0 -1
  973. package/lib/components/ProductCompare/index.mjs +0 -3
  974. package/lib/components/ProductCompare/index.mjs.map +0 -1
  975. package/lib/components/ProductCompare/mapping.d.ts +0 -62
  976. package/lib/components/ProductCompare/mapping.js +0 -1107
  977. package/lib/components/ProductCompare/mapping.js.map +0 -1
  978. package/lib/components/ProductCompare/mapping.mjs +0 -1098
  979. package/lib/components/ProductCompare/mapping.mjs.map +0 -1
  980. package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
  981. package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
  982. package/lib/components/ProductDetails/ProductDetails.js +0 -53
  983. package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
  984. package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
  985. package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
  986. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
  987. package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
  988. package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
  989. package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
  990. package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
  991. package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
  992. package/lib/components/ProductDetails/index.d.ts +0 -2
  993. package/lib/components/ProductDetails/index.js +0 -8
  994. package/lib/components/ProductDetails/index.js.map +0 -1
  995. package/lib/components/ProductDetails/index.mjs +0 -4
  996. package/lib/components/ProductDetails/index.mjs.map +0 -1
  997. package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
  998. package/lib/components/ProductGrid/ProductGrid.js +0 -168
  999. package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
  1000. package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
  1001. package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
  1002. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
  1003. package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
  1004. package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
  1005. package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
  1006. package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
  1007. package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
  1008. package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
  1009. package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
  1010. package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
  1011. package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
  1012. package/lib/components/ProductGrid/index.d.ts +0 -1
  1013. package/lib/components/ProductGrid/index.js +0 -6
  1014. package/lib/components/ProductGrid/index.js.map +0 -1
  1015. package/lib/components/ProductGrid/index.mjs +0 -3
  1016. package/lib/components/ProductGrid/index.mjs.map +0 -1
  1017. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
  1018. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
  1019. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
  1020. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
  1021. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
  1022. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
  1023. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
  1024. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
  1025. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
  1026. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
  1027. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
  1028. package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
  1029. package/lib/components/ProductKeyFeatures/index.js +0 -6
  1030. package/lib/components/ProductKeyFeatures/index.js.map +0 -1
  1031. package/lib/components/ProductKeyFeatures/index.mjs +0 -3
  1032. package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
  1033. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
  1034. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
  1035. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
  1036. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
  1037. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
  1038. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
  1039. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
  1040. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
  1041. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
  1042. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
  1043. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
  1044. package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
  1045. package/lib/components/ProductRecommendedAccessories/index.js +0 -6
  1046. package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
  1047. package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
  1048. package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
  1049. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
  1050. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
  1051. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
  1052. package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
  1053. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
  1054. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
  1055. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
  1056. package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
  1057. package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
  1058. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
  1059. package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
  1060. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
  1061. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
  1062. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
  1063. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
  1064. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
  1065. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
  1066. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
  1067. package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
  1068. package/lib/components/ProductSectionTabs/index.d.ts +0 -2
  1069. package/lib/components/ProductSectionTabs/index.js +0 -6
  1070. package/lib/components/ProductSectionTabs/index.js.map +0 -1
  1071. package/lib/components/ProductSectionTabs/index.mjs +0 -3
  1072. package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
  1073. package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
  1074. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
  1075. package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
  1076. package/lib/components/ProductUpsell/index.d.ts +0 -1
  1077. package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
  1078. package/lib/components/ProductWizard/Options/Options.js +0 -77
  1079. package/lib/components/ProductWizard/Options/Options.js.map +0 -1
  1080. package/lib/components/ProductWizard/Options/Options.mjs +0 -75
  1081. package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
  1082. package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
  1083. package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
  1084. package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
  1085. package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
  1086. package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
  1087. package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
  1088. package/lib/components/ProductWizard/Options/index.d.ts +0 -1
  1089. package/lib/components/ProductWizard/Options/index.js +0 -6
  1090. package/lib/components/ProductWizard/Options/index.js.map +0 -1
  1091. package/lib/components/ProductWizard/Options/index.mjs +0 -3
  1092. package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
  1093. package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
  1094. package/lib/components/ProductWizard/ProductWizard.js +0 -114
  1095. package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
  1096. package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
  1097. package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
  1098. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
  1099. package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
  1100. package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
  1101. package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
  1102. package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
  1103. package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
  1104. package/lib/components/ProductWizard/index.d.ts +0 -1
  1105. package/lib/components/ProductWizard/index.js +0 -6
  1106. package/lib/components/ProductWizard/index.js.map +0 -1
  1107. package/lib/components/ProductWizard/index.mjs +0 -3
  1108. package/lib/components/ProductWizard/index.mjs.map +0 -1
  1109. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
  1110. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
  1111. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
  1112. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
  1113. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
  1114. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
  1115. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
  1116. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
  1117. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
  1118. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
  1119. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
  1120. package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
  1121. package/lib/components/ProductWizardFootnotes/index.js +0 -6
  1122. package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
  1123. package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
  1124. package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
  1125. package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
  1126. package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
  1127. package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
  1128. package/lib/components/ProgressCircle/index.d.ts +0 -1
  1129. package/lib/components/ProgressCircle/index.js +0 -6
  1130. package/lib/components/ProgressCircle/index.js.map +0 -1
  1131. package/lib/components/ProgressCircle/index.mjs +0 -3
  1132. package/lib/components/ProgressCircle/index.mjs.map +0 -1
  1133. package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
  1134. package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
  1135. package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
  1136. package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
  1137. package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
  1138. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
  1139. package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
  1140. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
  1141. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
  1142. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
  1143. package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
  1144. package/lib/components/RelatedProducts/index.d.ts +0 -1
  1145. package/lib/components/RelatedProducts/index.js +0 -6
  1146. package/lib/components/RelatedProducts/index.js.map +0 -1
  1147. package/lib/components/RelatedProducts/index.mjs +0 -3
  1148. package/lib/components/RelatedProducts/index.mjs.map +0 -1
  1149. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
  1150. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
  1151. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
  1152. package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
  1153. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
  1154. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
  1155. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
  1156. package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
  1157. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
  1158. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
  1159. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
  1160. package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
  1161. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
  1162. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1163. package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
  1164. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
  1165. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
  1166. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1167. package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
  1168. package/lib/components/SearchInput/Input.styles.d.ts +0 -20
  1169. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
  1170. package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
  1171. package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
  1172. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
  1173. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
  1174. package/lib/components/SkeletonFootnote/index.d.ts +0 -1
  1175. package/lib/components/SkeletonFootnote/index.js +0 -6
  1176. package/lib/components/SkeletonFootnote/index.js.map +0 -1
  1177. package/lib/components/SkeletonFootnote/index.mjs +0 -3
  1178. package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
  1179. package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
  1180. package/lib/components/StorageSliders/Slider/Slider.js +0 -41
  1181. package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
  1182. package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
  1183. package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
  1184. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
  1185. package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
  1186. package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
  1187. package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
  1188. package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
  1189. package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
  1190. package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
  1191. package/lib/components/StorageSliders/Slider/index.js +0 -6
  1192. package/lib/components/StorageSliders/Slider/index.js.map +0 -1
  1193. package/lib/components/StorageSliders/Slider/index.mjs +0 -3
  1194. package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
  1195. package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
  1196. package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
  1197. package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
  1198. package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
  1199. package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
  1200. package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
  1201. package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
  1202. package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
  1203. package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
  1204. package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
  1205. package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
  1206. package/lib/components/StorageSliders/StorageSliders.js +0 -102
  1207. package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
  1208. package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
  1209. package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
  1210. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
  1211. package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
  1212. package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
  1213. package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
  1214. package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
  1215. package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
  1216. package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
  1217. package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
  1218. package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
  1219. package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
  1220. package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
  1221. package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
  1222. package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
  1223. package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
  1224. package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
  1225. package/lib/components/StorageSliders/index.d.ts +0 -1
  1226. package/lib/components/StorageSliders/index.js +0 -6
  1227. package/lib/components/StorageSliders/index.js.map +0 -1
  1228. package/lib/components/StorageSliders/index.mjs +0 -3
  1229. package/lib/components/StorageSliders/index.mjs.map +0 -1
  1230. package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
  1231. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
  1232. package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
  1233. package/lib/components/TabinationButtons/index.d.ts +0 -1
  1234. package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
  1235. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
  1236. package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
  1237. package/lib/components/TopologyScheme/index.d.ts +0 -2
  1238. package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
  1239. package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
  1240. package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
  1241. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
  1242. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
  1243. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
  1244. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
  1245. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
  1246. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
  1247. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
  1248. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
  1249. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
  1250. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
  1251. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
  1252. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
  1253. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
  1254. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
  1255. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
  1256. package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
  1257. package/lib/components/VariantSelector/CheckBox/index.js +0 -6
  1258. package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
  1259. package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
  1260. package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
  1261. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
  1262. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
  1263. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
  1264. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
  1265. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
  1266. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
  1267. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
  1268. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
  1269. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
  1270. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
  1271. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
  1272. package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
  1273. package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
  1274. package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
  1275. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
  1276. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
  1277. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
  1278. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
  1279. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
  1280. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
  1281. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
  1282. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
  1283. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
  1284. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
  1285. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
  1286. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
  1287. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
  1288. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
  1289. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
  1290. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
  1291. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
  1292. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
  1293. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
  1294. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
  1295. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
  1296. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
  1297. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
  1298. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
  1299. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
  1300. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
  1301. package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
  1302. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
  1303. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
  1304. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
  1305. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
  1306. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
  1307. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
  1308. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
  1309. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
  1310. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
  1311. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
  1312. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
  1313. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
  1314. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
  1315. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
  1316. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
  1317. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
  1318. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
  1319. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
  1320. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
  1321. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
  1322. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
  1323. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
  1324. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
  1325. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
  1326. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
  1327. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
  1328. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
  1329. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
  1330. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
  1331. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
  1332. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
  1333. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
  1334. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
  1335. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
  1336. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
  1337. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
  1338. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
  1339. package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
  1340. package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
  1341. package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
  1342. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
  1343. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
  1344. package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
  1345. package/lib/components/VariantSelector/Variant/Variant.js +0 -699
  1346. package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
  1347. package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
  1348. package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
  1349. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
  1350. package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
  1351. package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
  1352. package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
  1353. package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
  1354. package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
  1355. package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
  1356. package/lib/components/VariantSelector/Variant/index.js +0 -6
  1357. package/lib/components/VariantSelector/Variant/index.js.map +0 -1
  1358. package/lib/components/VariantSelector/Variant/index.mjs +0 -3
  1359. package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
  1360. package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
  1361. package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
  1362. package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
  1363. package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
  1364. package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
  1365. package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
  1366. package/lib/components/VariantSelector/VariantSelector.js +0 -162
  1367. package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
  1368. package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
  1369. package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
  1370. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
  1371. package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
  1372. package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
  1373. package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
  1374. package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
  1375. package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
  1376. package/lib/components/VariantSelector/index.d.ts +0 -1
  1377. package/lib/components/VariantSelector/index.js +0 -6
  1378. package/lib/components/VariantSelector/index.js.map +0 -1
  1379. package/lib/components/VariantSelector/index.mjs +0 -3
  1380. package/lib/components/VariantSelector/index.mjs.map +0 -1
  1381. package/lib/components/VariantSelector/utils.d.ts +0 -11
  1382. package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
  1383. package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
  1384. package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
  1385. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
  1386. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
  1387. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
  1388. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
  1389. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
  1390. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
  1391. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
  1392. package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
  1393. package/lib/components/VariantSelectorItem/index.d.ts +0 -1
  1394. package/lib/components/VariantSelectorItem/index.js +0 -6
  1395. package/lib/components/VariantSelectorItem/index.js.map +0 -1
  1396. package/lib/components/VariantSelectorItem/index.mjs +0 -3
  1397. package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
  1398. package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
  1399. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
  1400. package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
  1401. package/lib/components/VariantSelectorV1/index.d.ts +0 -1
  1402. package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
  1403. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
  1404. package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
  1405. package/lib/components/VariantSelectorV2/index.d.ts +0 -1
  1406. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
  1407. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
  1408. package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
  1409. package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
  1410. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
  1411. package/lib/components/VideoPlayer/index.d.ts +0 -1
  1412. package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
  1413. package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
  1414. package/lib/components/YouTubePlayer/index.d.ts +0 -1
  1415. package/lib/constants/icons/options/colors/black.svg.js +0 -27
  1416. package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
  1417. package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
  1418. package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
  1419. package/lib/constants/icons/options/colors/blue.svg.js +0 -27
  1420. package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
  1421. package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
  1422. package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
  1423. package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
  1424. package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
  1425. package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
  1426. package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
  1427. package/lib/constants/icons/options/colors/grey.svg.js +0 -27
  1428. package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
  1429. package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
  1430. package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
  1431. package/lib/constants/icons/options/colors/index.d.ts +0 -6
  1432. package/lib/constants/icons/options/colors/index.js +0 -63
  1433. package/lib/constants/icons/options/colors/index.js.map +0 -1
  1434. package/lib/constants/icons/options/colors/index.mjs +0 -14
  1435. package/lib/constants/icons/options/colors/index.mjs.map +0 -1
  1436. package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
  1437. package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
  1438. package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
  1439. package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
  1440. package/lib/constants/icons/options/colors/white.svg.js +0 -27
  1441. package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
  1442. package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
  1443. package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
  1444. package/lib/constants/icons/options/index.d.ts +0 -2
  1445. package/lib/constants/icons/options/index.js +0 -8
  1446. package/lib/constants/icons/options/index.js.map +0 -1
  1447. package/lib/constants/icons/options/index.mjs +0 -6
  1448. package/lib/constants/icons/options/index.mjs.map +0 -1
  1449. package/lib/constants/icons/options/styles/black.svg.js +0 -27
  1450. package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
  1451. package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
  1452. package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
  1453. package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
  1454. package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
  1455. package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
  1456. package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
  1457. package/lib/constants/icons/options/styles/camo.png.js +0 -27
  1458. package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
  1459. package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
  1460. package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
  1461. package/lib/constants/icons/options/styles/concrete.png.js +0 -27
  1462. package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
  1463. package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
  1464. package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
  1465. package/lib/constants/icons/options/styles/index.d.ts +0 -6
  1466. package/lib/constants/icons/options/styles/index.js +0 -63
  1467. package/lib/constants/icons/options/styles/index.js.map +0 -1
  1468. package/lib/constants/icons/options/styles/index.mjs +0 -14
  1469. package/lib/constants/icons/options/styles/index.mjs.map +0 -1
  1470. package/lib/constants/icons/options/styles/marble.png.js +0 -27
  1471. package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
  1472. package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
  1473. package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
  1474. package/lib/constants/icons/options/styles/wood.png.js +0 -27
  1475. package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
  1476. package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
  1477. package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
  1478. package/lib/constants/optionIcons.d.ts +0 -23
  1479. package/lib/constants/optionIcons.js +0 -97
  1480. package/lib/constants/optionIcons.js.map +0 -1
  1481. package/lib/constants/optionIcons.mjs +0 -76
  1482. package/lib/constants/optionIcons.mjs.map +0 -1
  1483. package/lib/helpers/shopify/product.d.ts +0 -5
  1484. package/lib/helpers/shopify/product.js +0 -52
  1485. package/lib/helpers/shopify/product.js.map +0 -1
  1486. package/lib/helpers/shopify/product.mjs +0 -50
  1487. package/lib/helpers/shopify/product.mjs.map +0 -1
  1488. package/lib/utils/cdn.d.ts +0 -5
  1489. package/lib/utils/collectionSlug.d.ts +0 -5
  1490. package/lib/utils/collectionSlug.js +0 -13
  1491. package/lib/utils/collectionSlug.js.map +0 -1
  1492. package/lib/utils/collectionSlug.mjs +0 -12
  1493. package/lib/utils/collectionSlug.mjs.map +0 -1
  1494. package/lib/utils/collectionSlug.test.d.ts +0 -1
  1495. package/lib/utils/variant.d.ts +0 -8
  1496. package/lib/utils/variant.js +0 -20
  1497. package/lib/utils/variant.js.map +0 -1
  1498. package/lib/utils/variant.mjs +0 -18
  1499. package/lib/utils/variant.mjs.map +0 -1
  1500. package/lib/utils/variant.test.d.ts +0 -1
  1501. package/lib/utils/wattage.d.ts +0 -11
  1502. package/lib/utils/wattage.js +0 -20
  1503. package/lib/utils/wattage.js.map +0 -1
  1504. package/lib/utils/wattage.mjs +0 -18
  1505. package/lib/utils/wattage.mjs.map +0 -1
  1506. package/lib/utils/wattage.test.d.ts +0 -1
  1507. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
  1508. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
  1509. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
  1510. /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
  1511. /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
  1512. /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
  1513. /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
  1514. /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
  1515. /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
  1516. /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
  1517. /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
  1518. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
  1519. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
  1520. /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
  1521. /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Header.types.mjs","sources":["../../../src/components/Header/Header.types.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport type { ReactNode } from \"react\";\n\nimport type { Language } from \"../../contexts/MenuContext/mapping\";\nimport type {\n ModalId,\n ParsedNavigationItem,\n ParsedNavigationSubItem,\n ParsedNavigationSubSubItem,\n} from \"../../contexts/MenuContext/types\";\nimport type { Nullish, ProductLine } from \"../../types\";\nimport type {\n CustomImageAsset,\n RenderImageFn,\n} from \"../CustomImage/CustomImage.types\";\nimport type { NavigationMicrositeMenuProps } from \"./Navigation/MicrositeMenu/MicrositeMenu.types\";\nimport type { ProMobileMenuSectionItem } from \"./Navigation/ProMobileMenu/ProMobileMenu.types\";\n\nexport const defaultHeaderTranslations = {\n new: \"New\",\n support: \"Support\",\n purchasedProductHistory: \"Purchased Product History\",\n orderHistory: \"Order History\",\n earlyAccess: \"Early Access\",\n store: \"Store\",\n links: \"Links\",\n company: \"Company\",\n social: \"Social\",\n tools: \"Tools\",\n training: \"Training\",\n continueShopping: \"Continue Shopping\",\n search: {\n placeholder: \"Search...\",\n noMatchesFound: \"Sorry, we couldn't find any matches.\",\n seeAllResults: \"See all results\",\n searchUniFiProducts: \"Search UniFi products\",\n searchUISPProducts: \"Search UISP products\",\n searchAmpliFiProducts: \"Search AmpliFi products\",\n },\n account: {\n login: \"Log In\",\n signUp: \"Sign Up\",\n signOut: \"Sign Out\",\n uiAccount: \"UI Account\",\n unifiSiteManager: \"UniFi Site Manager\",\n manageAccount: \"Manage Account\",\n orderHistory: \"Orders & Addresses\",\n },\n cart: {\n VATincluded: \"VAT Incl.\",\n includesVat: \"Includes VAT of\",\n discount: \"Discount\",\n empty: \"Your cart is empty\",\n review: \"Checkout\",\n shipping: \"Shipping\",\n subtotal: \"Subtotal\",\n total: \"Total price:\",\n itemsTitle: \"Your Cart\",\n upsellTitle: \"Usually bought together\",\n },\n language: {},\n region: \"Region\",\n};\n\nexport interface HeaderAccountCustomer {\n id: string;\n email: string;\n displayName: string;\n picture?: string | null;\n hasPreviousUispPurchases?: boolean;\n}\n\nexport interface HeaderAccount {\n loading?: boolean;\n customer?: Nullish<HeaderAccountCustomer>;\n handleLogin?: () => void;\n handleLogout?: () => void;\n handleRegister?: () => void;\n handleManageAccount?: () => void;\n handleOrderHistory?: () => void;\n renderStorePicker?: (onClose: () => void) => JSX.Element;\n}\n\nexport interface HeaderSearch {\n /** Trigger search */\n onSearch: (formattedQuerySearchTerm: string) => void;\n loading?: boolean;\n totalItemsCount: number;\n items: Array<{\n id: string;\n url: string;\n image?: CustomImageAsset | null;\n title: string;\n family?: string | null;\n }>;\n}\n\nexport interface HeaderCartItemControls {\n loading?: boolean;\n quantityMax?: number;\n onQuantityChange: (newQuantity: number) => void;\n}\n\nexport interface HeaderCartItem {\n id: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n quantity: number;\n title: string;\n controls: HeaderCartItemControls;\n price: string;\n priceIncludingVAT?: string;\n}\n\nexport interface HeaderCart {\n onReview: () => void;\n loading?: boolean;\n items: HeaderCartItem[];\n upsellItems?: HeaderCartItem[];\n totals: Nullish<{\n shipping: Nullish<string>;\n discount: Nullish<string>;\n finalTax: Nullish<string>;\n total: string;\n totalIncludingVAT?: string;\n }>;\n}\n\nexport interface HeaderLogo {\n url?: string;\n hide?: boolean;\n productLine?: ProductLine;\n onClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n currentStore?: { flag: ReactNode; name: string };\n}\n\nexport type HeaderTranslations = typeof defaultHeaderTranslations;\n\nexport type HeaderEmbedConfig = {\n /**\n * Allows to configure custom callback on home link click\n */\n homeLinkClickHandler?: () => void;\n\n /**\n * Allows to render custom extra section items in Pro Mobile Menu\n */\n mobileMenuExtraSectionItems?: Array<ProMobileMenuSectionItem>;\n\n /**\n * Moves Avatar icon to the left side of the header\n */\n moveAvatarIconToLeft?: boolean;\n\n /**\n * Allows to display avatar as image instead of icon\n */\n displayAvatarAsImage?: boolean;\n\n /**\n * Allows to configure custom callback on avatar click\n */\n avatarClickHandler?: () => void;\n\n /**\n * Allows to hide logo / site title\n */\n hideLogo?: boolean;\n\n /**\n * Allows to hide Avatar icon from the header\n */\n hideAvatarIcon?: boolean;\n\n /**\n * Hide language picker\n */\n hideLanguagePicker?: boolean;\n\n fullWidthHeader?: boolean;\n\n /**\n * Renders site title instead of UI logo\n */\n siteTitle?: string;\n\n /**\n * Blurs search input and dismissed virtual keyboard on touchmove\n * @deprecated Use blurSearchOnTouchmove\n */\n hideSearchOnTouchmove?: boolean;\n blurSearchOnTouchmove?: boolean;\n};\n\nexport interface HeaderProps {\n className?: string;\n motif: Motif;\n /**\n * Main header bar becomes fixed position at the top\n */\n sticky?: boolean;\n /**\n * Navigation carousel becomes fixed position at the top\n */\n stickyCarousel?: boolean;\n translations?: HeaderTranslations;\n renderImage: RenderImageFn;\n showLineLoader?: boolean;\n onModalOpen?: () => void;\n onMenuItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationItem,\n ) => void;\n onMenuSubItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationSubItem | ParsedNavigationSubSubItem,\n ) => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Account\n account?: HeaderAccount;\n\n // Search\n onSearchResultsAction?: (searchTerm: string) => void;\n search?: HeaderSearch;\n\n // Cart\n onCartClick?: () => void;\n cart?: HeaderCart;\n\n // Set specific modal to be open initially\n initialActiveModal?: Nullish<ModalId>;\n /**\n * Triggers on active modal change\n */\n onActiveModal?: (id: ModalId | null, prevModalId: ModalId | null) => void;\n\n /**\n * Will be called before navigating to store search, the tracking request in this callback will only\n * finish if called from store side as microsites are not using next router.\n */\n trackStoreSearchClick?: () => void;\n\n transparentHeader?: boolean;\n\n /**\n * Sub-menu used for microsites\n */\n micrositeMenu?: NavigationMicrositeMenuProps;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n accountMenu?: React.ReactNode;\n}\n\nexport type IsolatedHeaderProps = {\n className?: string;\n motif: Motif;\n translations?: HeaderTranslations;\n handleContinueShopping: () => void;\n showLineLoader?: boolean;\n account?: {\n loading?: HeaderAccount[\"loading\"];\n customer?: { picture?: HeaderAccountCustomer[\"picture\"] };\n };\n\n // Logo overrides\n logo?: HeaderLogo;\n} & Pick<HeaderProps, \"embedConfig\">;\n\nexport interface ProHeaderEarlyAccess {\n loading?: boolean;\n onClick: () => void;\n}\n\nexport interface HeaderProductLineOption {\n value: ProductLine;\n label: string;\n}\n\nexport interface ProHeaderCategories {\n items: ProMobileMenuSectionItem[];\n activeIndex: number;\n}\n\nexport type ProHeaderProps = Pick<\n HeaderProps,\n | \"className\"\n | \"motif\"\n | \"cart\"\n | \"account\"\n | \"translations\"\n | \"onModalOpen\"\n | \"onCartClick\"\n | \"showLineLoader\"\n | \"accountMenu\"\n> & {\n cartPreview?: React.ReactNode;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n // Country picker\n handleStorePickerClick?: () => void;\n /** @deprecated Not used in favour of `logo.currentStore.name` */\n currentCountryName?: string;\n\n // Early access button\n earlyAccess?: ProHeaderEarlyAccess;\n\n // Purchase History button\n handlePurchaseHistoryClick?: () => void;\n\n // Order button\n handleOrderHistoryClick?: () => void;\n\n // Product line picker\n productLineOptions?: HeaderProductLineOption[];\n productLineValue?: ProductLine;\n handleProductLineChange?: (type: ProductLine) => void;\n\n // Mobile menu aka \"hamburger\" button click\n handleMobileMenuClick?: () => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Search\n searchValue?: string;\n onSearch?: (searchTerm: string) => void;\n searchInputWidth?: number;\n searchInputChildren?: ReactNode;\n\n onSearchFocus?: () => void;\n onSearchBlur?: () => void;\n onSearchClick?: () => void;\n\n // Categories used for menu\n categories: ProHeaderCategories;\n hideInlineCategories?: boolean;\n\n // Logo overrides\n logo?: HeaderLogo;\n};\n"],"names":["defaultHeaderTranslations","new","support","purchasedProductHistory","orderHistory","earlyAccess","store","links","company","social","tools","training","continueShopping","search","placeholder","noMatchesFound","seeAllResults","searchUniFiProducts","searchUISPProducts","searchAmpliFiProducts","account","login","signUp","signOut","uiAccount","unifiSiteManager","manageAccount","cart","VATincluded","includesVat","discount","empty","review","shipping","subtotal","total","itemsTitle","upsellTitle","language","region"],"mappings":";;AAkBO,MAAMA,yBAA4B,GAAA;EACvCC,GAAK,EAAA,KAAA;EACLC,OAAS,EAAA,SAAA;EACTC,uBAAyB,EAAA,2BAAA;EACzBC,YAAc,EAAA,eAAA;EACdC,WAAa,EAAA,cAAA;EACbC,KAAO,EAAA,OAAA;EACPC,KAAO,EAAA,OAAA;EACPC,OAAS,EAAA,SAAA;EACTC,MAAQ,EAAA,QAAA;EACRC,KAAO,EAAA,OAAA;EACPC,QAAU,EAAA,UAAA;EACVC,gBAAkB,EAAA,mBAAA;EAClBC,MAAQ,EAAA;IACNC,WAAa,EAAA,WAAA;IACbC,cAAgB,EAAA,sCAAA;IAChBC,aAAe,EAAA,iBAAA;IACfC,mBAAqB,EAAA,uBAAA;IACrBC,kBAAoB,EAAA,sBAAA;IACpBC,qBAAuB,EAAA;EACzB,CAAA;EACAC,OAAS,EAAA;IACPC,KAAO,EAAA,QAAA;IACPC,MAAQ,EAAA,SAAA;IACRC,OAAS,EAAA,UAAA;IACTC,SAAW,EAAA,YAAA;IACXC,gBAAkB,EAAA,oBAAA;IAClBC,aAAe,EAAA,gBAAA;IACftB,YAAc,EAAA;EAChB,CAAA;EACAuB,IAAM,EAAA;IACJC,WAAa,EAAA,WAAA;IACbC,WAAa,EAAA,iBAAA;IACbC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,oBAAA;IACPC,MAAQ,EAAA,UAAA;IACRC,QAAU,EAAA,UAAA;IACVC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,cAAA;IACPC,UAAY,EAAA,WAAA;IACZC,WAAa,EAAA;EACf,CAAA;EACAC,UAAU,CAAC,CAAA;EACXC,MAAQ,EAAA;AACV,CAAA;"}
1
+ {"version":3,"file":"Header.types.mjs","sources":["../../../src/components/Header/Header.types.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport type { ReactNode } from \"react\";\n\nimport type { Language } from \"../../contexts/MenuContext/mapping\";\nimport type {\n ModalId,\n ParsedNavigationItem,\n ParsedNavigationSubItem,\n ParsedNavigationSubSubItem,\n} from \"../../contexts/MenuContext/types\";\nimport type { Nullish, ProductLine } from \"../../types\";\nimport type {\n CustomImageAsset,\n RenderImageFn,\n} from \"../CustomImage/CustomImage.types\";\nimport type { NavigationMicrositeMenuProps } from \"./Navigation/MicrositeMenu/MicrositeMenu.types\";\nimport type { ProMobileMenuSectionItem } from \"./Navigation/ProMobileMenu/ProMobileMenu.types\";\n\nexport const defaultHeaderTranslations = {\n new: \"New\",\n support: \"Support\",\n purchasedProductHistory: \"Purchased Product History\",\n orderHistory: \"Order History\",\n earlyAccess: \"Early Access\",\n store: \"Store\",\n links: \"Links\",\n company: \"Company\",\n social: \"Social\",\n tools: \"Tools\",\n training: \"Training\",\n continueShopping: \"Continue Shopping\",\n search: {\n placeholder: \"Search...\",\n noMatchesFound: \"Sorry, we couldn't find any matches.\",\n seeAllResults: \"See all results\",\n searchUniFiProducts: \"Search UniFi products\",\n searchUISPProducts: \"Search UISP products\",\n searchAmpliFiProducts: \"Search AmpliFi products\",\n },\n account: {\n login: \"Log In\",\n signUp: \"Sign Up\",\n signOut: \"Sign Out\",\n uiAccount: \"UI Account\",\n unifiSiteManager: \"UniFi Site Manager\",\n manageAccount: \"Manage Account\",\n orderHistory: \"Orders & Addresses\",\n },\n cart: {\n VATincluded: \"VAT Incl.\",\n includesVat: \"Includes VAT of\",\n discount: \"Discount\",\n empty: \"Your cart is empty\",\n review: \"Checkout\",\n shipping: \"Shipping\",\n subtotal: \"Subtotal\",\n total: \"Total price:\",\n itemsTitle: \"Your Cart\",\n upsellTitle: \"Usually bought together\",\n },\n language: {},\n region: \"Region\",\n};\n\nexport interface HeaderAccountCustomer {\n id: string;\n email: string;\n displayName: string;\n picture?: string | null;\n hasPreviousUispPurchases?: boolean;\n}\n\nexport interface HeaderAccount {\n loading?: boolean;\n customer?: Nullish<HeaderAccountCustomer>;\n handleLogin?: () => void;\n handleLogout?: () => void;\n handleRegister?: () => void;\n handleManageAccount?: () => void;\n handleOrderHistory?: () => void;\n renderStorePicker?: (onClose: () => void) => JSX.Element;\n}\n\nexport interface HeaderSearch {\n /** Trigger search */\n onSearch: (formattedQuerySearchTerm: string) => void;\n loading?: boolean;\n totalItemsCount: number;\n items: Array<{\n id: string;\n url: string;\n image?: CustomImageAsset | null;\n title: string;\n family?: string | null;\n }>;\n}\n\nexport interface HeaderCartItemControls {\n loading?: boolean;\n quantityMax?: number;\n onQuantityChange: (newQuantity: number) => void;\n}\n\nexport interface HeaderCartItem {\n id: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n quantity: number;\n title: string;\n controls: HeaderCartItemControls;\n price: string;\n priceIncludingVAT?: string;\n}\n\nexport interface HeaderCart {\n onReview: () => void;\n loading?: boolean;\n items: HeaderCartItem[];\n upsellItems?: HeaderCartItem[];\n totals: Nullish<{\n shipping: Nullish<string>;\n discount: Nullish<string>;\n finalTax: Nullish<string>;\n total: string;\n totalIncludingVAT?: string;\n }>;\n}\n\nexport interface HeaderLogo {\n url?: string;\n hide?: boolean;\n productLine?: ProductLine;\n onClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n currentStore?: { flag: ReactNode; name: string };\n}\n\nexport type HeaderTranslations = typeof defaultHeaderTranslations;\n\nexport type HeaderEmbedConfig = {\n /**\n * Allows to configure custom callback on home link click\n */\n homeLinkClickHandler?: () => void;\n\n /**\n * Allows to render custom extra section items in Pro Mobile Menu\n */\n mobileMenuExtraSectionItems?: Array<ProMobileMenuSectionItem>;\n\n /**\n * Moves Avatar icon to the left side of the header\n */\n moveAvatarIconToLeft?: boolean;\n\n /**\n * Allows to display avatar as image instead of icon\n */\n displayAvatarAsImage?: boolean;\n\n /**\n * Allows to configure custom callback on avatar click\n */\n avatarClickHandler?: () => void;\n\n /**\n * Allows to hide logo / site title\n */\n hideLogo?: boolean;\n\n /**\n * Allows to hide Avatar icon from the header\n */\n hideAvatarIcon?: boolean;\n\n /**\n * Hide language picker\n */\n hideLanguagePicker?: boolean;\n\n fullWidthHeader?: boolean;\n\n /**\n * Renders site title instead of UI logo\n */\n siteTitle?: string;\n\n /**\n * Blurs search input and dismissed virtual keyboard on touchmove\n * @deprecated Use blurSearchOnTouchmove\n */\n hideSearchOnTouchmove?: boolean;\n blurSearchOnTouchmove?: boolean;\n};\n\nexport interface HeaderProps {\n className?: string;\n motif: Motif;\n /**\n * Main header bar becomes fixed position at the top\n */\n sticky?: boolean;\n /**\n * Navigation carousel becomes fixed position at the top\n */\n stickyCarousel?: boolean;\n translations?: HeaderTranslations;\n renderImage: RenderImageFn;\n showLineLoader?: boolean;\n onModalOpen?: () => void;\n onMenuItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationItem,\n ) => void;\n onMenuSubItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationSubItem | ParsedNavigationSubSubItem,\n ) => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Account\n account?: HeaderAccount;\n\n // Cart\n onCartClick?: () => void;\n cart?: HeaderCart;\n\n // Set specific modal to be open initially\n initialActiveModal?: Nullish<ModalId>;\n /**\n * Triggers on active modal change\n */\n onActiveModal?: (id: ModalId | null, prevModalId: ModalId | null) => void;\n\n /**\n * Will be called before navigating to store search, the tracking request in this callback will only\n * finish if called from store side as microsites are not using next router.\n */\n trackStoreSearchClick?: () => void;\n\n transparentHeader?: boolean;\n\n /**\n * Sub-menu used for microsites\n */\n micrositeMenu?: NavigationMicrositeMenuProps;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n accountMenu?: React.ReactNode;\n}\n\nexport type IsolatedHeaderProps = {\n className?: string;\n motif: Motif;\n translations?: HeaderTranslations;\n handleContinueShopping: () => void;\n showLineLoader?: boolean;\n account?: {\n loading?: HeaderAccount[\"loading\"];\n customer?: { picture?: HeaderAccountCustomer[\"picture\"] };\n };\n\n // Logo overrides\n logo?: HeaderLogo;\n} & Pick<HeaderProps, \"embedConfig\">;\n\nexport interface ProHeaderEarlyAccess {\n loading?: boolean;\n onClick: () => void;\n}\n\nexport interface HeaderProductLineOption {\n value: ProductLine;\n label: string;\n}\n\nexport interface ProHeaderCategories {\n items: ProMobileMenuSectionItem[];\n activeIndex: number;\n}\n\nexport type ProHeaderProps = Pick<\n HeaderProps,\n | \"className\"\n | \"motif\"\n | \"cart\"\n | \"account\"\n | \"translations\"\n | \"onModalOpen\"\n | \"onCartClick\"\n | \"showLineLoader\"\n | \"accountMenu\"\n> & {\n cartPreview?: React.ReactNode;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n // Country picker\n handleStorePickerClick?: () => void;\n /** @deprecated Not used in favour of `logo.currentStore.name` */\n currentCountryName?: string;\n\n // Early access button\n earlyAccess?: ProHeaderEarlyAccess;\n\n // Purchase History button\n handlePurchaseHistoryClick?: () => void;\n\n // Order button\n handleOrderHistoryClick?: () => void;\n\n // Product line picker\n productLineOptions?: HeaderProductLineOption[];\n productLineValue?: ProductLine;\n handleProductLineChange?: (type: ProductLine) => void;\n\n // Mobile menu aka \"hamburger\" button click\n handleMobileMenuClick?: () => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Search\n searchValue?: string;\n onSearch?: (searchTerm: string) => void;\n searchInputWidth?: number;\n searchInputChildren?: ReactNode;\n\n onSearchFocus?: () => void;\n onSearchBlur?: () => void;\n onSearchClick?: () => void;\n\n // Categories used for menu\n categories: ProHeaderCategories;\n hideInlineCategories?: boolean;\n\n // Logo overrides\n logo?: HeaderLogo;\n};\n"],"names":["defaultHeaderTranslations","new","support","purchasedProductHistory","orderHistory","earlyAccess","store","links","company","social","tools","training","continueShopping","search","placeholder","noMatchesFound","seeAllResults","searchUniFiProducts","searchUISPProducts","searchAmpliFiProducts","account","login","signUp","signOut","uiAccount","unifiSiteManager","manageAccount","cart","VATincluded","includesVat","discount","empty","review","shipping","subtotal","total","itemsTitle","upsellTitle","language","region"],"mappings":";;AAkBO,MAAMA,yBAA4B,GAAA;EACvCC,GAAK,EAAA,KAAA;EACLC,OAAS,EAAA,SAAA;EACTC,uBAAyB,EAAA,2BAAA;EACzBC,YAAc,EAAA,eAAA;EACdC,WAAa,EAAA,cAAA;EACbC,KAAO,EAAA,OAAA;EACPC,KAAO,EAAA,OAAA;EACPC,OAAS,EAAA,SAAA;EACTC,MAAQ,EAAA,QAAA;EACRC,KAAO,EAAA,OAAA;EACPC,QAAU,EAAA,UAAA;EACVC,gBAAkB,EAAA,mBAAA;EAClBC,MAAQ,EAAA;IACNC,WAAa,EAAA,WAAA;IACbC,cAAgB,EAAA,sCAAA;IAChBC,aAAe,EAAA,iBAAA;IACfC,mBAAqB,EAAA,uBAAA;IACrBC,kBAAoB,EAAA,sBAAA;IACpBC,qBAAuB,EAAA;EACzB,CAAA;EACAC,OAAS,EAAA;IACPC,KAAO,EAAA,QAAA;IACPC,MAAQ,EAAA,SAAA;IACRC,OAAS,EAAA,UAAA;IACTC,SAAW,EAAA,YAAA;IACXC,gBAAkB,EAAA,oBAAA;IAClBC,aAAe,EAAA,gBAAA;IACftB,YAAc,EAAA;EAChB,CAAA;EACAuB,IAAM,EAAA;IACJC,WAAa,EAAA,WAAA;IACbC,WAAa,EAAA,iBAAA;IACbC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,oBAAA;IACPC,MAAQ,EAAA,UAAA;IACRC,QAAU,EAAA,UAAA;IACVC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,cAAA;IACPC,UAAY,EAAA,WAAA;IACZC,WAAa,EAAA;EACf,CAAA;EACAC,UAAU,CAAC,CAAA;EACXC,MAAQ,EAAA;AACV,CAAA;"}
@@ -1,3 +1,2 @@
1
1
  import type { NavigationMobileMenuProps } from "./MobileMenu.types";
2
- /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */
3
2
  export declare const NavigationMobileMenu: ({ translations, onClose, storeLink, hasMicrositeMenu, }: NavigationMobileMenuProps) => JSX.Element;
@@ -184,14 +184,13 @@ const NavigationMobileMenu = function NavigationMobileMenu2({
184
184
  }))]
185
185
  }];
186
186
  }, [micrositeSection, activeNavigationSection.items, hasMicrositeMenu, inactiveNavigationSection.label, inactiveNavigationSection.items, translations.support, translations.store, translations.social, translations.company, translations.training, translations.tools, context$1, storeLink, micrositeLinks, socialContent.items, formatMessage, footerContent]);
187
- const showSearch = false;
188
187
  return /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Wrap, {
189
188
  $motif: motif,
190
189
  children: /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Container, {
191
190
  size: "mobile",
192
191
  noVerticalMargin: true,
193
192
  children: /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.InnerWrap, {
194
- children: !showSearch && sections.map(section => /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Section, {
193
+ children: sections.map(section => /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Section, {
195
194
  $motif: motif,
196
195
  children: section.items.map(item => /* @__PURE__ */jsxRuntime.jsxs(MobileMenu_styles.SectionItemsGroup, {
197
196
  $motif: motif,
@@ -1 +1 @@
1
- {"version":3,"file":"MobileMenu.js","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\n/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n// const MAX_SEARCH_RESULTS = 5;\n// const SEARCH_INPUT_DEBOUNCE_DURATION = 250;\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"../../translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"../../translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"../../translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"../../translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"../../translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"../../translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"../../translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"../../translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"../../translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"../../translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n const showSearch = false;\n // // #############################################################################\n // // Search\n // // #############################################################################\n // const [searchInputValue, setSearchInputValue] = useState(\"\");\n // const [querySearchTerm, setQuerySearchTerm] = useState(\"\");\n // const [showSearch, setShowSearch] = useState(false);\n // const [searchShowNoResults, setSearchShowNoResults] = useState(false);\n\n // // const handleSearchValueChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n // // setSearchInputValue(e.target.value);\n // // };\n\n // const closeSearch = useCallback(() => {\n // setShowSearch(false);\n // setSearchInputValue(\"\");\n // }, []);\n\n // const handleSearchCancel = useCallback(\n // (e?: React.MouseEvent) => {\n // /**\n // * Keep the search popup open if user holds cmd or ctrl buttons.\n // * These keys + mouse click on a link open that link in a new window or tab.\n // */\n // if (e?.ctrlKey || e?.metaKey) {\n // return;\n // }\n // closeSearch();\n // },\n // [closeSearch]\n // );\n\n // const handleSearch = useCallback(async () => {\n // // No need to search if prevSearch term same as search input value\n // if (searchInputValue === querySearchTerm) {\n // return;\n // }\n\n // setQuerySearchTerm(searchInputValue);\n // }, [querySearchTerm, searchInputValue]);\n\n // useDebounce(handleSearch, SEARCH_INPUT_DEBOUNCE_DURATION, [searchInputValue]);\n\n // const handleRedirectToSearchPage = useCallback(async () => {\n // // Don't trigger when search not active\n // if (!showSearch) {\n // return;\n // }\n\n // onClose();\n // onSearchResultsAction(searchInputValue);\n // }, [onClose, onSearchResultsAction, searchInputValue, showSearch]);\n\n // const formattedQuerySearchTerm = useMemo(() => {\n // return prepareSearchTerm(querySearchTerm);\n // }, [querySearchTerm]);\n\n // const showSearchResultsLink = useMemo(\n // (): boolean => !search || search.totalItemsCount > MAX_SEARCH_RESULTS,\n // [search]\n // );\n\n // // Call on search action\n // useEffect(() => {\n // formattedQuerySearchTerm && search?.onSearch(formattedQuerySearchTerm);\n // }, [formattedQuerySearchTerm, search]);\n\n // // Show no results when it's updated\n // useEffect(() => {\n // setSearchShowNoResults(\n // !!search &&\n // formattedQuerySearchTerm.length > 0 &&\n // !search.loading &&\n // search.items.length === 0\n // );\n // }, [formattedQuerySearchTerm.length, search]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Search */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchSection motif={motif}>\n <SearchInput\n value={searchInputValue}\n onValueChange={handleSearchValueChange}\n onCancelClick={showSearch ? handleSearchCancel : undefined}\n height={S.SECTION_ITEM_HEIGHT}\n placeholder={translations.search.placeholder}\n showCancel\n onFocus={() => setShowSearch(true)}\n motif={motif}\n loading={search?.loading}\n transparent\n />\n </S.SearchSection> */}\n\n {/* Search results */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* showSearch && (\n <>\n {searchShowNoResults && (\n <S.SearchNoResultsText motif={motif}>\n {translations.search.noMatchesFound}\n </S.SearchNoResultsText>\n )}\n <S.Section motif={motif}>\n <S.SectionItemsGroup motif={motif}>\n {search &&\n search.items.slice(0, MAX_SEARCH_RESULTS).map((item) => (\n <S.SectionSearchResultsItem\n key={item.id}\n $height={S.SECTION_ITEM_IMAGE_SIZE}\n >\n <S.SectionItemButton\n motif={motif}\n as=\"a\"\n href={item.url}\n onClick={onClose}\n >\n <S.SectionItemImageWrap>\n <CustomImage\n renderImage={renderImage}\n asset={item.image ?? undefined}\n sizes={`${S.SECTION_ITEM_IMAGE_SIZE}px`}\n margin={S.SECTION_ITEM_IMAGE_MARGIN}\n motif=\"dark\"\n />\n </S.SectionItemImageWrap>\n <S.SearchTextWrap>\n <S.SearchText>{item.title}</S.SearchText>\n <S.SearchText $small>\n {item.family}\n </S.SearchText>\n </S.SearchTextWrap>\n </S.SectionItemButton>\n </S.SectionSearchResultsItem>\n ))}\n {showSearchResultsLink && (\n <S.SectionItem>\n <S.SectionItemButton\n motif={motif}\n onClick={handleRedirectToSearchPage}\n data-test-id=\"all-search-results\"\n $link\n >\n {translations.search.seeAllResults} (\n {!!search && search.items.length})\n </S.SectionItemButton>\n </S.SectionItem>\n )}\n </S.SectionItemsGroup>\n </S.Section>\n </>\n ) */}\n\n {/* Sections */}\n {!showSearch &&\n sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem\n key={subItem.id}\n $motif=\"dark\"\n $secondary\n >\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","showSearch","jsx","S.Wrap","$motif","children","S.Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","SectionItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAA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A,CAAA;gBAExCU,QAAA,EAAA,CAAQ0B,OAAA,CAAArD,KAAA,EACRqD,QAAQG,KACP,IAAA,eAAAhC,cAAA,CAACiC,iBAAAA,CAAAA,QAAA,EAAA;kBAAY9B,uBAAa+B;gBAAI,CAAA,CAAA;cAAA,CAAA;YAElC,CAAA,EAdKL,OAAQ,CAAA3D,EAgBhB,CAAA,CAAA;UAAA,CAAA,EA7DEK,IAAK,CAAAL,EAAA,CA+Db;QAnE4B,CAAA,EAAAsC,OAAA,CAAQtC,EAoEvC,CACD;MACL,CAAA;IACF,CAAA;GACF,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"MobileMenu.js","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"../../translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"../../translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"../../translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"../../translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"../../translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"../../translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"../../translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"../../translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"../../translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"../../translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Sections */}\n {sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem key={subItem.id} $motif=\"dark\" $secondary>\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","jsx","S.Wrap","$motif","children","S.Container","Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAAA;IACAC,yBAAA;IACAC,aAAA;IACAC,OAAAA,EAAAA;MACEC,eAAQ,CAAA,CAAA;EAEZ,MAAM;IAAEC,aAAA;IAAeC;EAAc,CAAA,GAAIC,iCAAiB,CAAA,CAAA;EAEpD,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAA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13 @@ const NavigationMobileMenu = function NavigationMobileMenu2({
156
156
  }))]
157
157
  }];
158
158
  }, [micrositeSection, activeNavigationSection.items, hasMicrositeMenu, inactiveNavigationSection.label, inactiveNavigationSection.items, translations.support, translations.store, translations.social, translations.company, translations.training, translations.tools, context, storeLink, micrositeLinks, socialContent.items, formatMessage, footerContent]);
159
- const showSearch = false;
160
159
  return /* @__PURE__ */jsx(Wrap, {
161
160
  $motif: motif,
162
161
  children: /* @__PURE__ */jsx(Container, {
163
162
  size: "mobile",
164
163
  noVerticalMargin: true,
165
164
  children: /* @__PURE__ */jsx(InnerWrap, {
166
- children: !showSearch && sections.map(section => /* @__PURE__ */jsx(Section, {
165
+ children: sections.map(section => /* @__PURE__ */jsx(Section, {
167
166
  $motif: motif,
168
167
  children: section.items.map(item => /* @__PURE__ */jsxs(SectionItemsGroup, {
169
168
  $motif: motif,
@@ -1 +1 @@
1
- {"version":3,"file":"MobileMenu.mjs","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\n/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n// const MAX_SEARCH_RESULTS = 5;\n// const SEARCH_INPUT_DEBOUNCE_DURATION = 250;\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"../../translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"../../translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"../../translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"../../translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"../../translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"../../translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"../../translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"../../translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"../../translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"../../translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n const showSearch = false;\n // // #############################################################################\n // // Search\n // // #############################################################################\n // const [searchInputValue, setSearchInputValue] = useState(\"\");\n // const [querySearchTerm, setQuerySearchTerm] = useState(\"\");\n // const [showSearch, setShowSearch] = useState(false);\n // const [searchShowNoResults, setSearchShowNoResults] = useState(false);\n\n // // const handleSearchValueChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n // // setSearchInputValue(e.target.value);\n // // };\n\n // const closeSearch = useCallback(() => {\n // setShowSearch(false);\n // setSearchInputValue(\"\");\n // }, []);\n\n // const handleSearchCancel = useCallback(\n // (e?: React.MouseEvent) => {\n // /**\n // * Keep the search popup open if user holds cmd or ctrl buttons.\n // * These keys + mouse click on a link open that link in a new window or tab.\n // */\n // if (e?.ctrlKey || e?.metaKey) {\n // return;\n // }\n // closeSearch();\n // },\n // [closeSearch]\n // );\n\n // const handleSearch = useCallback(async () => {\n // // No need to search if prevSearch term same as search input value\n // if (searchInputValue === querySearchTerm) {\n // return;\n // }\n\n // setQuerySearchTerm(searchInputValue);\n // }, [querySearchTerm, searchInputValue]);\n\n // useDebounce(handleSearch, SEARCH_INPUT_DEBOUNCE_DURATION, [searchInputValue]);\n\n // const handleRedirectToSearchPage = useCallback(async () => {\n // // Don't trigger when search not active\n // if (!showSearch) {\n // return;\n // }\n\n // onClose();\n // onSearchResultsAction(searchInputValue);\n // }, [onClose, onSearchResultsAction, searchInputValue, showSearch]);\n\n // const formattedQuerySearchTerm = useMemo(() => {\n // return prepareSearchTerm(querySearchTerm);\n // }, [querySearchTerm]);\n\n // const showSearchResultsLink = useMemo(\n // (): boolean => !search || search.totalItemsCount > MAX_SEARCH_RESULTS,\n // [search]\n // );\n\n // // Call on search action\n // useEffect(() => {\n // formattedQuerySearchTerm && search?.onSearch(formattedQuerySearchTerm);\n // }, [formattedQuerySearchTerm, search]);\n\n // // Show no results when it's updated\n // useEffect(() => {\n // setSearchShowNoResults(\n // !!search &&\n // formattedQuerySearchTerm.length > 0 &&\n // !search.loading &&\n // search.items.length === 0\n // );\n // }, [formattedQuerySearchTerm.length, search]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Search */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchSection motif={motif}>\n <SearchInput\n value={searchInputValue}\n onValueChange={handleSearchValueChange}\n onCancelClick={showSearch ? handleSearchCancel : undefined}\n height={S.SECTION_ITEM_HEIGHT}\n placeholder={translations.search.placeholder}\n showCancel\n onFocus={() => setShowSearch(true)}\n motif={motif}\n loading={search?.loading}\n transparent\n />\n </S.SearchSection> */}\n\n {/* Search results */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* showSearch && (\n <>\n {searchShowNoResults && (\n <S.SearchNoResultsText motif={motif}>\n {translations.search.noMatchesFound}\n </S.SearchNoResultsText>\n )}\n <S.Section motif={motif}>\n <S.SectionItemsGroup motif={motif}>\n {search &&\n search.items.slice(0, MAX_SEARCH_RESULTS).map((item) => (\n <S.SectionSearchResultsItem\n key={item.id}\n $height={S.SECTION_ITEM_IMAGE_SIZE}\n >\n <S.SectionItemButton\n motif={motif}\n as=\"a\"\n href={item.url}\n onClick={onClose}\n >\n <S.SectionItemImageWrap>\n <CustomImage\n renderImage={renderImage}\n asset={item.image ?? undefined}\n sizes={`${S.SECTION_ITEM_IMAGE_SIZE}px`}\n margin={S.SECTION_ITEM_IMAGE_MARGIN}\n motif=\"dark\"\n />\n </S.SectionItemImageWrap>\n <S.SearchTextWrap>\n <S.SearchText>{item.title}</S.SearchText>\n <S.SearchText $small>\n {item.family}\n </S.SearchText>\n </S.SearchTextWrap>\n </S.SectionItemButton>\n </S.SectionSearchResultsItem>\n ))}\n {showSearchResultsLink && (\n <S.SectionItem>\n <S.SectionItemButton\n motif={motif}\n onClick={handleRedirectToSearchPage}\n data-test-id=\"all-search-results\"\n $link\n >\n {translations.search.seeAllResults} (\n {!!search && search.items.length})\n </S.SectionItemButton>\n </S.SectionItem>\n )}\n </S.SectionItemsGroup>\n </S.Section>\n </>\n ) */}\n\n {/* Sections */}\n {!showSearch &&\n sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem\n key={subItem.id}\n $motif=\"dark\"\n $secondary\n >\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","showSearch","jsx","S.Wrap","$motif","children","S.Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAA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AF;cAECX,MAAO,EAAA,MAAA;cACPyB,UAAU,EAAA,IAAA;cAEVxB,QAAA,iBAAAO,IAAA,CAACI,iBAAE,EAAF;gBACCZ,MAAQ,EAAAzC,KAAA;gBACRuD,EAAG,EAAA,GAAA;gBACHC,MAAMS,OAAQ,CAAAhD,GAAA;gBACdgB,MAAA,EAAQgC,OAAQ,CAAAjC,WAAA,GAAc,QAAW,GAAA,KAAA,CAAA;gBAExCU,QAAA,EAAA,CAAQuB,OAAA,CAAAlD,KAAA,EACRkD,QAAQE,KACP,IAAA,eAAA5B,GAAA,CAAC6B,QAAA,EAAA;kBAAY1B,uBAAa2B;gBAAI,CAAA,CAAA;cAAA,CAAA;YAElC,CAAA,EAdKJ,OAAQ,CAAAxD,EAgBhB,CAAA,CAAA;UAAA,CAAA,EA7DEK,IAAK,CAAAL,EAAA,CA+Db;QAnE4B,CAAA,EAAAsC,OAAA,CAAQtC,EAoEvC,CACD;MACL,CAAA;IACF,CAAA;GACF,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"MobileMenu.mjs","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"../../translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"../../translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"../../translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"../../translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"../../translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"../../translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"../../translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"../../translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"../../translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"../../translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Sections */}\n {sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem key={subItem.id} $motif=\"dark\" $secondary>\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","jsx","S.Wrap","$motif","children","S.Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;AAqCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAAA;IACAC,yBAAA;IACAC,aAAA;IACAC;MACEC,OAAQ,CAAA,CAAA;EAEZ,MAAM;IAAEC,aAAA;IAAeC;EA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AMS,OAAQ,CAAA/C,GAAA;gBACdgB,MAAA,EAAQ+B,OAAQ,CAAAhC,WAAA,GAAc,QAAW,GAAA,KAAA,CAAA;gBAExCS,QAAA,EAAA,CAAQuB,OAAA,CAAAjD,KAAA,EACRiD,QAAQE,KACP,IAAA,eAAA5B,GAAA,CAAC6B,QAAA,EAAA;kBAAY1B,uBAAa2B;gBAAI,CAAA,CAAA;cAAA,CAAA;YAElC,CAAA,EAXkBJ,OAAQ,CAAAvD,EAY5B,CACD,CAAA;UAAA,CAAA,EAzDEK,IAAK,CAAAL,EAAA,CA2Db;QA/D4B,CAAA,EAAAqC,OAAA,CAAQrC,EAgEvC,CACD;MACH,CAAA;IACF,CAAA;GACF,CAAA;AAEJ,CAAA;"}
@@ -1,10 +1,8 @@
1
1
  import type { RenderImageProps } from "../../../CustomImage/CustomImage.types";
2
- import type { HeaderSearch, HeaderTranslations } from "../../Header.types";
2
+ import type { HeaderTranslations } from "../../Header.types";
3
3
  export interface NavigationMobileMenuProps {
4
4
  translations: HeaderTranslations;
5
5
  onClose: () => void;
6
- search?: HeaderSearch;
7
- onSearchResultsAction?: (searchTerm: string) => void;
8
6
  renderImage: (imageProps: RenderImageProps) => React.ReactNode;
9
7
  storeLink: string;
10
8
  hasMicrositeMenu?: boolean;
@@ -2,7 +2,7 @@ import { Language, ProductLine } from "../../../types";
2
2
  export declare const PRO_HEADER_MOBILE_UP: `(min-width: ${number}px)`;
3
3
  export declare const PRO_HEADER_MOBILE_AND_DOWN: `(max-width: ${number}px)`;
4
4
  export declare const UISP_LABEL = "UISP";
5
- export declare const ProHeader: import("react").NamedExoticComponent<Pick<import("../Header.types").HeaderProps, "className" | "motif" | "cart" | "account" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
5
+ export declare const ProHeader: import("react").NamedExoticComponent<Pick<import("../Header.types").HeaderProps, "className" | "account" | "cart" | "motif" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
6
6
  cartPreview?: React.ReactNode;
7
7
  embedConfig?: import("../Header.types").HeaderEmbedConfig;
8
8
  handleStorePickerClick?: () => void;
@@ -45,6 +45,10 @@ const UispLabel = styled__default["default"].div`
45
45
  font-size: 16px;
46
46
  font-weight: 400;
47
47
  line-height: 24px;
48
+
49
+ &&:hover {
50
+ color: #006fff;
51
+ }
48
52
  `;
49
53
  const LeftWrap = styled__default["default"].div`
50
54
  position: relative;
@@ -1 +1 @@
1
- {"version":3,"file":"ProHeader.styles.js","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispLabel = styled.div`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispLabel","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","$active","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage"],"mappings":";;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,MAAA,CAAAA,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,MAAA,CAAAA,GAAA;AAAA,eAC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ProHeader.styles.js","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispLabel = styled.div`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n\n &&:hover {\n color: #006fff;\n }\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispLabel","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","$active","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage"],"mappings":";;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,MAAA,CAAAA,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,MAAA,CAAAA,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,2BAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,YAAYH,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;A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AA;AAAA;AAAA;AAAA;AAAA,CAAA;AAa9C,MAAMC,0BAA0B/D,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,IAC1CL,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,WAWXW,MAAAA,CAAAA,YAAYC,uBAAuB;AAAA;;AAAA,MAGxCqD,uBAAuB;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOtB,MAAMG,4BAA4BhE,eAAO,CAAA,SAAA,CAAA,CAAAiC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eASjC,CAAC;EAAEa;AAAA,CAAe,KAAAA,OAAA,GAAU,mBAAmB,cAAe;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;AAUtE,MAAMmB,8BAA8BjE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,WACvC,CAAC;EAAE6C;AAAA,CAAe,KAAAA,OAAA,GAAU,YAAY,SAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAO5C,CAAC;EAAEA;AAAA,CAAe,KAAAA,OAAA,GAAU,QAAQ,KAAM;;AAAA;AAAA,MAGrD,CAAC;EAAEA;MAAe,CAACA,OAAA,GAAU,mBAAmB,EAAG;AAAA;AAAA,CAAA;AAI5C,MAAAoB,qBAAA,GAAwBlE,2BAAOmE,mCAAiB,CAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -37,6 +37,10 @@ const UispLabel = styled.div`
37
37
  font-size: 16px;
38
38
  font-weight: 400;
39
39
  line-height: 24px;
40
+
41
+ &&:hover {
42
+ color: #006fff;
43
+ }
40
44
  `;
41
45
  const LeftWrap = styled.div`
42
46
  position: relative;
@@ -1 +1 @@
1
- {"version":3,"file":"ProHeader.styles.mjs","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispLabel = styled.div`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispLabel","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","$active","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage"],"mappings":";;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,aAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,YAAYH,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOzB,MAAMG,WAAWJ,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,IAQ3BL,kBAAkB;;AAAA,IAElB,CAAC;EAAES;CAAmB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eader.styles.mjs","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispLabel = styled.div`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n\n &&:hover {\n color: #006fff;\n }\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispLabel","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","$active","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage"],"mappings":";;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,aAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,YAAYH,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;AAWzB,MAAMG,WAAWJ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AAA;AAAA,CAAA;AAI5C,MAAAoB,qBAAA,GAAwBlE,OAAOmE,iBAAiB,CAAA;AAAA;AAAA,CAAA;"}
@@ -0,0 +1,2 @@
1
+ import type { MicrositeBannerProps } from "./MicrositeBanner.types";
2
+ export declare const MicrositeBanner: ({ sectionTitle, title, link, description, backgroundColor, backgroundImage, onLinkClick, image, className, detailsClassName, motif, }: MicrositeBannerProps) => JSX.Element;