@ubnt/store.core 9.15.0-NEP-3413.0 → 9.15.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/CHANGELOG.md +118 -13
  2. package/lib/_virtual/_virtual_multi-entry.js +27 -12
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +14 -10
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/assets/efg.png +0 -0
  7. package/lib/assets/plus5.svg +9 -9
  8. package/lib/assets/plus6.svg +9 -9
  9. package/lib/assets/ucg-max.png +0 -0
  10. package/lib/components/Header/Header.styles.d.ts +7 -0
  11. package/lib/components/Header/Header.styles.js +21 -2
  12. package/lib/components/Header/Header.styles.js.map +1 -1
  13. package/lib/components/Header/Header.styles.mjs +21 -3
  14. package/lib/components/Header/Header.styles.mjs.map +1 -1
  15. package/lib/components/Header/IsolatedHeader.js +35 -37
  16. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  17. package/lib/components/Header/IsolatedHeader.mjs +37 -39
  18. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  19. package/lib/components/Header/ProHeader/ProHeader.js +1 -1
  20. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  21. package/lib/components/Header/ProHeader/ProHeader.mjs +2 -2
  22. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  23. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +3 -1
  24. package/lib/components/Header/ProHeader/ProHeader.styles.js +2 -2
  25. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  26. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +3 -3
  27. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  28. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.d.ts +1 -1
  29. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.js +3 -1
  30. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.js.map +1 -0
  31. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.mjs +3 -1
  32. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.mjs.map +1 -0
  33. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.styles.d.ts +1 -0
  34. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.styles.js +10 -7
  35. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -0
  36. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.styles.mjs +10 -7
  37. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +1 -0
  38. package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/HorizontalOptionSelect.types.d.ts +1 -0
  39. package/lib/components/LandingPagePro/LandingPagePro.d.ts +5 -2
  40. package/lib/components/LandingPagePro/LandingPagePro.js +14 -34
  41. package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
  42. package/lib/components/LandingPagePro/LandingPagePro.mjs +14 -34
  43. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
  44. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +312 -17
  45. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  46. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +310 -17
  47. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  48. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +3 -2
  49. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +2 -0
  50. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  51. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +2 -0
  52. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  53. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  54. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js.map +1 -1
  55. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  56. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs.map +1 -1
  57. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +3 -1
  58. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
  59. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs +3 -1
  60. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
  61. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
  62. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
  63. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  64. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  65. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
  66. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
  67. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
  68. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
  69. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +3 -3
  70. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
  71. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +3 -3
  72. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
  73. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  74. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  75. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +1 -2
  76. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js.map +1 -1
  77. package/lib/components/ResourceCalculatorV1/ResourceCalculator.mjs +1 -2
  78. package/lib/components/ResourceCalculatorV1/ResourceCalculator.mjs.map +1 -1
  79. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +27 -0
  80. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +1 -0
  81. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +3 -0
  82. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +1 -0
  83. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
  84. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
  85. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
  86. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
  87. package/lib/components/ResourceCalculatorV1/translations/en.json.js +2 -0
  88. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  89. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +2 -0
  90. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  91. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  92. package/lib/components/index.d.ts +1 -0
  93. package/lib/components/index.js +2 -0
  94. package/lib/components/index.js.map +1 -1
  95. package/lib/components/index.mjs +2 -0
  96. package/lib/components/index.mjs.map +1 -1
  97. package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -0
  98. package/lib/constants/proStoreCategories/mapping/index.js +15 -10
  99. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  100. package/lib/constants/proStoreCategories/mapping/index.mjs +15 -10
  101. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  102. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -1
  103. package/lib/constants/proStoreCategories/mapping/unifi.js +1 -0
  104. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  105. package/lib/constants/proStoreCategories/mapping/unifi.mjs +1 -0
  106. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  107. package/lib/constants/proStoreCategories/translations/en.json.js +3 -0
  108. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  109. package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -1
  110. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  111. package/lib/constants/proStoreCategories/translations/fr.json.js +1 -1
  112. package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -1
  113. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -1
  114. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -1
  115. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +1 -1
  116. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -1
  117. package/lib/contexts/MenuContext/context.js +51 -11
  118. package/lib/contexts/MenuContext/context.js.map +1 -1
  119. package/lib/contexts/MenuContext/context.mjs +46 -12
  120. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  121. package/lib/contexts/MenuContext/mapping.d.ts +45 -9
  122. package/lib/contexts/MenuContext/mapping.js +1365 -41
  123. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  124. package/lib/contexts/MenuContext/mapping.mjs +1353 -42
  125. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  126. package/lib/contexts/MenuContext/types.d.ts +2 -1
  127. package/lib/contexts/MenuContext/types.js.map +1 -1
  128. package/lib/contexts/MenuContext/types.mjs.map +1 -1
  129. package/lib/contexts/MenuContext/utils.d.ts +3 -1
  130. package/lib/contexts/MenuContext/utils.js +18 -1
  131. package/lib/contexts/MenuContext/utils.js.map +1 -1
  132. package/lib/contexts/MenuContext/utils.mjs +17 -2
  133. package/lib/contexts/MenuContext/utils.mjs.map +1 -1
  134. package/lib/helpers/index.d.ts +1 -0
  135. package/lib/helpers/index.js +11 -0
  136. package/lib/helpers/index.js.map +1 -1
  137. package/lib/helpers/index.mjs +1 -0
  138. package/lib/helpers/index.mjs.map +1 -1
  139. package/lib/helpers/product.d.ts +87 -0
  140. package/lib/helpers/product.js +346 -0
  141. package/lib/helpers/product.js.map +1 -0
  142. package/lib/helpers/product.mjs +335 -0
  143. package/lib/helpers/product.mjs.map +1 -0
  144. package/lib/types/index.d.ts +1 -0
  145. package/lib/types/index.js +2 -0
  146. package/lib/types/index.js.map +1 -1
  147. package/lib/types/index.mjs +1 -0
  148. package/lib/types/index.mjs.map +1 -1
  149. package/lib/types/product.d.ts +87 -0
  150. package/lib/types/product.js +14 -0
  151. package/lib/types/product.js.map +1 -0
  152. package/lib/types/product.mjs +13 -0
  153. package/lib/types/product.mjs.map +1 -0
  154. package/lib/utils/array.d.ts +4 -0
  155. package/lib/utils/array.js +10 -0
  156. package/lib/utils/array.js.map +1 -1
  157. package/lib/utils/array.mjs +10 -1
  158. package/lib/utils/array.mjs.map +1 -1
  159. package/lib/utils/money/allocators/fixedAmount.d.ts +26 -0
  160. package/lib/utils/money/allocators/fixedAmount.js +55 -0
  161. package/lib/utils/money/allocators/fixedAmount.js.map +1 -0
  162. package/lib/utils/money/allocators/fixedAmount.mjs +53 -0
  163. package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -0
  164. package/lib/utils/money/allocators/index.d.ts +2 -0
  165. package/lib/utils/money/allocators/index.js +8 -0
  166. package/lib/{components/ResourceCalculatorV1/components → utils/money/allocators}/index.js.map +1 -1
  167. package/lib/utils/money/allocators/index.mjs +4 -0
  168. package/lib/{components/ResourceCalculatorV1/components → utils/money/allocators}/index.mjs.map +1 -1
  169. package/lib/utils/money/allocators/productAmount.d.ts +13 -0
  170. package/lib/utils/money/allocators/productAmount.js +110 -0
  171. package/lib/utils/money/allocators/productAmount.js.map +1 -0
  172. package/lib/utils/money/allocators/productAmount.mjs +108 -0
  173. package/lib/utils/money/allocators/productAmount.mjs.map +1 -0
  174. package/lib/utils/money/constants.d.ts +56 -25
  175. package/lib/utils/money/constants.js +72 -7
  176. package/lib/utils/money/constants.js.map +1 -1
  177. package/lib/utils/money/constants.mjs +70 -7
  178. package/lib/utils/money/constants.mjs.map +1 -1
  179. package/lib/utils/money/exchangeRate.d.ts +31 -0
  180. package/lib/utils/money/exchangeRate.js +27 -0
  181. package/lib/utils/money/exchangeRate.js.map +1 -0
  182. package/lib/utils/money/exchangeRate.mjs +23 -0
  183. package/lib/utils/money/exchangeRate.mjs.map +1 -0
  184. package/lib/utils/money/format.d.ts +10 -5
  185. package/lib/utils/money/format.js +22 -14
  186. package/lib/utils/money/format.js.map +1 -1
  187. package/lib/utils/money/format.mjs +23 -16
  188. package/lib/utils/money/format.mjs.map +1 -1
  189. package/lib/utils/money/index.d.ts +4 -1
  190. package/lib/utils/money/index.js +26 -8
  191. package/lib/utils/money/index.js.map +1 -1
  192. package/lib/utils/money/index.mjs +8 -4
  193. package/lib/utils/money/index.mjs.map +1 -1
  194. package/lib/utils/money/misc.d.ts +68 -28
  195. package/lib/utils/money/misc.js +35 -64
  196. package/lib/utils/money/misc.js.map +1 -1
  197. package/lib/utils/money/misc.mjs +32 -43
  198. package/lib/utils/money/misc.mjs.map +1 -1
  199. package/lib/utils/money/misc.private.d.ts +23 -0
  200. package/lib/utils/money/misc.private.js +46 -0
  201. package/lib/utils/money/misc.private.js.map +1 -0
  202. package/lib/utils/money/misc.private.mjs +21 -0
  203. package/lib/utils/money/misc.private.mjs.map +1 -0
  204. package/lib/utils/money/shipping.d.ts +5 -0
  205. package/lib/utils/money/shipping.js +8 -0
  206. package/lib/utils/money/shipping.js.map +1 -0
  207. package/lib/utils/money/shipping.mjs +6 -0
  208. package/lib/utils/money/shipping.mjs.map +1 -0
  209. package/lib/utils/money/tax.d.ts +38 -2
  210. package/lib/utils/money/tax.js +46 -10
  211. package/lib/utils/money/tax.js.map +1 -1
  212. package/lib/utils/money/tax.mjs +42 -11
  213. package/lib/utils/money/tax.mjs.map +1 -1
  214. package/lib/utils/money/tax.private.d.ts +17 -0
  215. package/lib/utils/money/tax.private.js +65 -0
  216. package/lib/utils/money/tax.private.js.map +1 -0
  217. package/lib/utils/money/tax.private.mjs +60 -0
  218. package/lib/utils/money/tax.private.mjs.map +1 -0
  219. package/lib/utils/money/types.d.ts +78 -3
  220. package/lib/utils/number.d.ts +1 -1
  221. package/lib/utils/number.js +1 -1
  222. package/lib/utils/number.js.map +1 -1
  223. package/lib/utils/number.mjs +1 -1
  224. package/lib/utils/number.mjs.map +1 -1
  225. package/lib/utils/productSort.d.ts +41 -0
  226. package/lib/utils/productSort.js +66 -0
  227. package/lib/utils/productSort.js.map +1 -0
  228. package/lib/utils/productSort.mjs +59 -0
  229. package/lib/utils/productSort.mjs.map +1 -0
  230. package/package.json +1 -1
  231. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.js.map +0 -1
  232. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.mjs.map +0 -1
  233. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +0 -1
  234. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +0 -1
  235. package/lib/components/ResourceCalculatorV1/components/index.d.ts +0 -1
  236. package/lib/components/ResourceCalculatorV1/components/index.js +0 -5
  237. package/lib/components/ResourceCalculatorV1/components/index.mjs +0 -3
  238. package/lib/utils/validations.d.ts +0 -15
  239. package/lib/utils/validations.js +0 -23
  240. package/lib/utils/validations.js.map +0 -1
  241. package/lib/utils/validations.mjs +0 -21
  242. package/lib/utils/validations.mjs.map +0 -1
  243. /package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/index.d.ts +0 -0
  244. /package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/index.js +0 -0
  245. /package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/index.js.map +0 -0
  246. /package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/index.mjs +0 -0
  247. /package/lib/components/{ResourceCalculatorV1/components/HorizontalOptionSelect → HorizontalOptionSelect}/index.mjs.map +0 -0
package/CHANGELOG.md CHANGED
@@ -4,22 +4,12 @@
4
4
 
5
5
  > Place here the list of unreleased changes
6
6
 
7
- - [Feat] [NEP-3413](https://ubiquiti.atlassian.net/browse/NEP-3413) abstract isolated header layout
8
-
9
7
  ## Releases
10
8
 
11
- ### 9.15.0
12
-
13
- - [Chore] [MIC-389](https://ubiquiti.atlassian.net/browse/MIC-389) Performance improvements:
14
- - Remove unused data from Menu mapping
15
-
16
- ### 9.14.2
17
-
18
- - [Fix] [NEP-3641](https://ubiquiti.atlassian.net/browse/NEP-3641) Enable Door Access > Intercoms subcategory in TW store
19
-
20
- ### 9.14.1
9
+ ### 9.15.0-alpha.0
21
10
 
22
- - [Fix] [NEP-3518](https://ubiquiti.atlassian.net/browse/NEP-3518) Add horizontal padding to input card footer note
11
+ - Upstream master branch
12
+ - [Feat] [NEP-3641](https://ubiquiti.atlassian.net/browse/NEP-3641) Enable Door Access > Intercoms subcategory in TW store
23
13
 
24
14
  ### 9.14.0
25
15
 
@@ -29,6 +19,26 @@
29
19
 
30
20
  - [Fix] [MIC-387](https://ubiquiti.atlassian.net/browse/MIC-387) Use help.uisp.com support link in UISP menu context
31
21
 
22
+ ### 9.13.0-alpha.4
23
+
24
+ - [Fix] [MIC-387](https://ubiquiti.atlassian.net/browse/MIC-387) Use help.uisp.com support link in UISP menu context
25
+
26
+ ### 9.13.0-alpha.3
27
+
28
+ - [Feat] [NEP-3478](https://ubiquiti.atlassian.net/browse/NEP-3478) Add HorizontalOptionSelect
29
+
30
+ ### 9.13.0-alpha.2
31
+
32
+ - [Fix] [NEP-3623](https://ubiquiti.atlassian.net/browse/NEP-3623) Disable "RJ45 & Copper" category in BR store
33
+
34
+ ### 9.13.0-alpha.1
35
+
36
+ - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Add coming soon message to PowerAmp
37
+
38
+ ### 9.13.0-alpha.0
39
+
40
+ - Upstream master
41
+
32
42
  ### 9.13.0
33
43
 
34
44
  - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) `PowerAmp` release changes:
@@ -47,15 +57,64 @@
47
57
  - [Fix] [NEP-3402](https://ubiquiti.atlassian.net/browse/NEP-3402) Add forced features for consoles in resource calculator
48
58
  - [Feat] [NEP-3419](https://ubiquiti.atlassian.net/browse/NEP-3419) Update cart icon logic
49
59
 
60
+ ### 9.12.0.alpha.9
61
+
62
+ - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Add translations, update content
63
+
64
+ ### 9.12.0.alpha.8
65
+
66
+ - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Update pro store mapping with the new "Premium Audio" category and rename "Professional A/V" to "Digital Signage"
67
+
68
+ ### 9.12.0.alpha.7
69
+
70
+ - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Update Power Amp stuff
71
+
72
+ ### 9.12.0.alpha.6
73
+
74
+ - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Add "Pro A/V Support" property to switching Compare tables
75
+
76
+ ### 9.12.0.alpha.5
77
+
78
+ - [Feat] Add global site config for uwc.ui.com, remove SiteId.Experts as it is deprecated
79
+
80
+ ### 9.12.0.alpha.4
81
+
82
+ - Upstream master branch
83
+
50
84
  ### 9.11.1
51
85
 
52
86
  - [Bug] [NEP-3606](https://ubiquiti.atlassian.net/browse/NEP-3606) Disable "Max" menu items in unavailable stores
53
87
 
88
+ ### 9.12.0-alpha.3
89
+
90
+ - [Feat] [NEP-3479](https://ubiquiti.atlassian.net/browse/NEP-3479) Enable EFG and update its data values
91
+
92
+ ### 9.12.0-alpha.2
93
+
94
+ - [Feat] [NEP-3479](https://ubiquiti.atlassian.net/browse/NEP-3479)
95
+ - Add UCG Max to the Resource Calculator
96
+ - Add options for device specific storage drive sizes.
97
+
98
+ ### 9.12.0-alpha.1
99
+
100
+ - [Feat] [MIC-378](https://ubiquiti.atlassian.net/browse/MIC-378) Move product helpers from SF to SH
101
+
102
+ ### 9.12.0-alpha.0
103
+
104
+ - [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) `PowerAmp` release changes:
105
+ - Update menu mapping
106
+ - Add `PowerAmp` to ExploreProduct component
107
+ - Remove unused stuff from ExploreProduct and do a small refactor
108
+
54
109
  ### 9.11.0
55
110
 
56
111
  - [Feat] [NEP-3494](https://ubiquiti.atlassian.net/browse/NEP-3494) Split "Cables & Modules" category into two categories -> "RJ45 & Copper" and "SFP & Fiber"
57
112
  - [Feat] [NEP-3353](https://ubiquiti.atlassian.net/browse/NEP-3353) Hide menu items that are not available in India
58
113
 
114
+ ### 9.11.0-alpha.0
115
+
116
+ - Upstream master branch
117
+
59
118
  ### 9.10.1
60
119
 
61
120
  - [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix X icon and "Cookie Settings" color in dark motif
@@ -64,11 +123,57 @@
64
123
 
65
124
  - [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Revive Footer component for shared usage between projects
66
125
 
126
+ ### 9.9.0-alpha.13
127
+
128
+ - [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix layouting issues on different projects, add Downloads link at the top
129
+
130
+ ### 9.9.0-alpha.12
131
+
132
+ - [Feat] [NEP-3494](https://ubiquiti.atlassian.net/browse/NEP-3494) Update cables item order
133
+
134
+ ### 9.9.0-alpha.11
135
+
136
+ - [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix font-size and line-height issues on microsites
137
+
138
+ ### 9.9.0-alpha.10
139
+
140
+ - [Feat] [MIC-315](https://ubiquiti.atlassian.net/browse/MIC-315) Fix links
141
+
142
+ ### 9.9.0-alpha.9
143
+
144
+ - [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix font-family for email placeholder
145
+
146
+ ### 9.9.0-alpha.8
147
+
148
+ - [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix cookie button styling
149
+
150
+ ### 9.9.0-alpha.7
151
+
152
+ - [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix footer styling
153
+
154
+ ### 9.9.0-alpha.6
155
+
156
+ - [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Open Mailchimp screen in new tab
157
+
158
+ ### 9.9.0-alpha.5
159
+
160
+ - [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Revive Footer component for shared usage between projects (don't use Store BE for subscribing)
161
+
67
162
  ### 9.9.1
68
163
 
69
164
  - [Fix] [MIC-315](https://ubiquiti.atlassian.net/browse/MIC-315) Fix product links for UISP compare tables and update property icons
70
165
  - [Fix] [NEP-3353](https://ubiquiti.atlassian.net/browse/NEP-3353) Hide menu items that are not available in India
71
166
 
167
+ ### 9.9.0-alpha.4
168
+
169
+ - [Feat] [NEP-3494](https://ubiquiti.atlassian.net/browse/NEP-3494) Split "Cables & Modules" category into two categories -> "RJ45 & Copper" and "SFP & Fiber"
170
+ - [Fix] [NEP-3149](https://ubiquiti.atlassian.net/browse/NEP-3149) Fix Resource Calculator overlay and remove footer note if no content
171
+ - [Feat] [NEP-3419](https://ubiquiti.atlassian.net/browse/NEP-3419) Update cart icon logic
172
+ - [Fix] [NEP-3402](https://ubiquiti.atlassian.net/browse/NEP-3402) Add forced features for consoles in resource calculator
173
+ - [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Revive Footer component for shared usage between projects
174
+ - [NEP-3300](https://ubiquiti.atlassian.net/browse/NEP-3300) Add NAS category in pro store
175
+ - [Feat] [NEP-3353](https://ubiquiti.atlassian.net/browse/NEP-3353) Hide menu items that are not available in India
176
+
72
177
  ### 9.9.0
73
178
 
74
179
  - [Feat] [MIC-315](https://ubiquiti.atlassian.net/browse/MIC-315) Updates for UISP.com:
@@ -62,23 +62,25 @@ var index$O = require('../components/VideoPlayerNew/index.js');
62
62
  var index$P = require('../components/ResourceCalculatorV1/index.js');
63
63
  var index$Q = require('../components/CartIcon/index.js');
64
64
  var index$R = require('../components/Header/AccountMenu/index.js');
65
- var index$S = require('../contexts/MenuContext/index.js');
65
+ var index$S = require('../components/QuantityInput/index.js');
66
+ var index$T = require('../contexts/MenuContext/index.js');
66
67
  var useLockBodyScrollCustom = require('../hooks/useLockBodyScrollCustom.js');
67
68
  var useTestMediaElementVolumeSetter = require('../hooks/useTestMediaElementVolumeSetter.js');
68
69
  var useTranslation = require('../hooks/useTranslation.js');
69
70
  var useScrollToY = require('../hooks/useScrollToY.js');
70
71
  var constants = require('../types/constants.js');
71
72
  var generated = require('../types/generated.js');
73
+ var product = require('../types/product.js');
72
74
  var url = require('../utils/url.js');
73
75
  var misc = require('../utils/money/misc.js');
74
76
  var number = require('../utils/number.js');
75
77
  var string = require('../utils/string.js');
76
78
  var array = require('../utils/array.js');
77
- var index$T = require('../utils/nextjs/index.js');
79
+ var index$U = require('../utils/nextjs/index.js');
78
80
  var country = require('../utils/country.js');
79
81
  var countriesAndZones = require('../utils/countriesAndZones.js');
80
82
  var address = require('../utils/address.js');
81
- var index$U = require('../utils/tax/index.js');
83
+ var index$V = require('../utils/tax/index.js');
82
84
  var zod = require('../utils/zod.js');
83
85
  var collectionSlug = require('../utils/collectionSlug.js');
84
86
  var shipping = require('../utils/shipping.js');
@@ -86,14 +88,15 @@ var measures = require('../utils/measures.js');
86
88
  var errors = require('../utils/errors.js');
87
89
  var tags = require('../utils/tags.js');
88
90
  var wattage = require('../utils/wattage.js');
89
- var product = require('../utils/product.js');
91
+ var product$1 = require('../utils/product.js');
90
92
  var asset = require('../utils/asset.js');
91
93
  var imageOptimizer = require('../utils/imageOptimizer.js');
92
94
  var styles = require('../utils/styles.js');
93
95
  var storeId = require('../utils/storeId.js');
94
- var index$V = require('../constants/proStoreCategories/index.js');
95
- var index$W = require('../constants/proStoreFilters/index.js');
96
+ var index$W = require('../constants/proStoreCategories/index.js');
97
+ var index$X = require('../constants/proStoreFilters/index.js');
96
98
  var proStoreCategories = require('../helpers/proStoreCategories.js');
99
+ var product$2 = require('../helpers/product.js');
97
100
  var smartcat = require('../apis/smartcat.js');
98
101
  exports.Avatar = index;
99
102
  exports.Button = index$1;
@@ -149,7 +152,8 @@ exports.VideoPlayer = index$O;
149
152
  exports.ResourceCalculatorV1 = index$P;
150
153
  exports.CartIcon = index$Q;
151
154
  exports.AccountMenu = index$R;
152
- exports.MenuContext = index$S;
155
+ exports.QuantityInput = index$S;
156
+ exports.MenuContext = index$T;
153
157
  exports.useLockBodyScrollCustom = useLockBodyScrollCustom.useLockBodyScrollCustom;
154
158
  exports.useTestMediaElementVolumeSetter = useTestMediaElementVolumeSetter.useTestMediaElementVolumeSetter;
155
159
  exports.useTranslation = useTranslation.useTranslation;
@@ -167,16 +171,17 @@ exports.Unit = generated.Unit;
167
171
  exports.UnitSystem = generated.UnitSystem;
168
172
  exports.UserAssignedCountryCode = generated.UserAssignedCountryCode;
169
173
  exports.ValidateTaxStatus = generated.ValidateTaxStatus;
174
+ exports.DisplayProductStatus = product.DisplayProductStatus;
170
175
  exports.url = url;
171
176
  exports.money = misc;
172
177
  exports.number = number;
173
178
  exports.string = string;
174
179
  exports.array = array;
175
- exports.nextjs = index$T;
180
+ exports.nextjs = index$U;
176
181
  exports.country = country;
177
182
  exports.countryAndZones = countriesAndZones;
178
183
  exports.address = address;
179
- exports.tax = index$U;
184
+ exports.tax = index$V;
180
185
  exports.zod = zod;
181
186
  exports.collectionSlug = collectionSlug;
182
187
  exports.shipping = shipping;
@@ -184,13 +189,13 @@ exports.measures = measures;
184
189
  exports.errors = errors;
185
190
  exports.tags = tags;
186
191
  exports.wattage = wattage;
187
- exports.product = product;
192
+ exports.product = product$1;
188
193
  exports.asset = asset;
189
194
  exports.imageOptimizer = imageOptimizer;
190
195
  exports.styles = styles;
191
196
  exports.storeId = storeId;
192
- exports.proStoreCategories = index$V;
193
- exports.proStoreFilters = index$W;
197
+ exports.proStoreCategories = index$W;
198
+ exports.proStoreFilters = index$X;
194
199
  exports.getCategoriesBySubcategory = proStoreCategories.getCategoriesBySubcategory;
195
200
  exports.getLocalizedCategories = proStoreCategories.getLocalizedCategories;
196
201
  exports.getProductLineByCategory = proStoreCategories.getProductLineByCategory;
@@ -199,5 +204,15 @@ exports.getSubCategoryIdByCollectionSlug = proStoreCategories.getSubCategoryIdBy
199
204
  exports.isValidSubCategory = proStoreCategories.isValidSubCategory;
200
205
  exports.parseCategories = proStoreCategories.parseCategories;
201
206
  exports.useTranslatedCategories = proStoreCategories.useTranslatedCategories;
207
+ exports.COLLECTION_SECTION_OTHER_ID = product$2.COLLECTION_SECTION_OTHER_ID;
208
+ exports.HDDProductSlugs = product$2.HDDProductSlugs;
209
+ exports.MagicCollectionTags = product$2.MagicCollectionTags;
210
+ exports.ProductOptions = product$2.ProductOptions;
211
+ exports.createSectionHierarchy = product$2.createSectionHierarchy;
212
+ exports.getProStoreCategory = product$2.getProStoreCategory;
213
+ exports.getProductGroups = product$2.getProductGroups;
214
+ exports.getStoreProducts = product$2.getStoreProducts;
215
+ exports.isNonNullish = product$2.isNonNullish;
216
+ exports.removeExcludedProducts = product$2.removeExcludedProducts;
202
217
  exports.smartcat = smartcat;
203
218
  //# sourceMappingURL=_virtual_multi-entry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -114,14 +114,17 @@ import * as index$Q from '../components/CartIcon/index.mjs';
114
114
  export { index$Q as CartIcon };
115
115
  import * as index$R from '../components/Header/AccountMenu/index.mjs';
116
116
  export { index$R as AccountMenu };
117
- import * as index$S from '../contexts/MenuContext/index.mjs';
118
- export { index$S as MenuContext };
117
+ import * as index$S from '../components/QuantityInput/index.mjs';
118
+ export { index$S as QuantityInput };
119
+ import * as index$T from '../contexts/MenuContext/index.mjs';
120
+ export { index$T as MenuContext };
119
121
  export { useLockBodyScrollCustom } from '../hooks/useLockBodyScrollCustom.mjs';
120
122
  export { useTestMediaElementVolumeSetter } from '../hooks/useTestMediaElementVolumeSetter.mjs';
121
123
  export { useTranslation, useTranslationRaw } from '../hooks/useTranslation.mjs';
122
124
  export { useScrollToY } from '../hooks/useScrollToY.mjs';
123
125
  export { AddressUsageType, Language } from '../types/constants.mjs';
124
126
  export { AddressType, CountryCode, Currency, GlobalStoreId, ProductLine, StoreId, Unit, UnitSystem, UserAssignedCountryCode, ValidateTaxStatus } from '../types/generated.mjs';
127
+ export { DisplayProductStatus } from '../types/product.mjs';
125
128
  import * as url from '../utils/url.mjs';
126
129
  export { url };
127
130
  import * as misc from '../utils/money/misc.mjs';
@@ -132,16 +135,16 @@ import * as string from '../utils/string.mjs';
132
135
  export { string };
133
136
  import * as array from '../utils/array.mjs';
134
137
  export { array };
135
- import * as index$T from '../utils/nextjs/index.mjs';
136
- export { index$T as nextjs };
138
+ import * as index$U from '../utils/nextjs/index.mjs';
139
+ export { index$U as nextjs };
137
140
  import * as country from '../utils/country.mjs';
138
141
  export { country };
139
142
  import * as countriesAndZones from '../utils/countriesAndZones.mjs';
140
143
  export { countriesAndZones as countryAndZones };
141
144
  import * as address from '../utils/address.mjs';
142
145
  export { address };
143
- import * as index$U from '../utils/tax/index.mjs';
144
- export { index$U as tax };
146
+ import * as index$V from '../utils/tax/index.mjs';
147
+ export { index$V as tax };
145
148
  import * as zod from '../utils/zod.mjs';
146
149
  export { zod };
147
150
  import * as collectionSlug from '../utils/collectionSlug.mjs';
@@ -166,11 +169,12 @@ import * as styles from '../utils/styles.mjs';
166
169
  export { styles };
167
170
  import * as storeId from '../utils/storeId.mjs';
168
171
  export { storeId };
169
- import * as index$V from '../constants/proStoreCategories/index.mjs';
170
- export { index$V as proStoreCategories };
171
- import * as index$W from '../constants/proStoreFilters/index.mjs';
172
- export { index$W as proStoreFilters };
172
+ import * as index$W from '../constants/proStoreCategories/index.mjs';
173
+ export { index$W as proStoreCategories };
174
+ import * as index$X from '../constants/proStoreFilters/index.mjs';
175
+ export { index$X as proStoreFilters };
173
176
  export { getCategoriesBySubcategory, getLocalizedCategories, getProductLineByCategory, getProductLineBySubcategory, getSubCategoryIdByCollectionSlug, isValidSubCategory, parseCategories, useTranslatedCategories } from '../helpers/proStoreCategories.mjs';
177
+ export { COLLECTION_SECTION_OTHER_ID, HDDProductSlugs, MagicCollectionTags, ProductOptions, createSectionHierarchy, getProStoreCategory, getProductGroups, getStoreProducts, isNonNullish, removeExcludedProducts } from '../helpers/product.mjs';
174
178
  import * as smartcat from '../apis/smartcat.mjs';
175
179
  export { smartcat };
176
180
  //# sourceMappingURL=_virtual_multi-entry.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
Binary file
@@ -1,16 +1,16 @@
1
- <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
3
- <g clip-path="url(#clip0_658_411)">
4
- <path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
5
- <path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
1
+ <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
3
+ <g clip-path="url(#clip0_426_15903)">
4
+ <path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
5
+ <path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
6
6
  </g>
7
7
  </mask>
8
- <g mask="url(#mask0_658_411)">
9
- <rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
8
+ <g mask="url(#mask0_426_15903)">
9
+ <rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
10
10
  </g>
11
11
  <defs>
12
- <clipPath id="clip0_658_411">
13
- <rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
12
+ <clipPath id="clip0_426_15903">
13
+ <rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
14
14
  </clipPath>
15
15
  </defs>
16
16
  </svg>
@@ -1,16 +1,16 @@
1
- <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
3
- <g clip-path="url(#clip0_426_15903)">
4
- <path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
5
- <path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
1
+ <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
3
+ <g clip-path="url(#clip0_658_411)">
4
+ <path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
5
+ <path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
6
6
  </g>
7
7
  </mask>
8
- <g mask="url(#mask0_426_15903)">
9
- <rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
8
+ <g mask="url(#mask0_658_411)">
9
+ <rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
10
10
  </g>
11
11
  <defs>
12
- <clipPath id="clip0_426_15903">
13
- <rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
12
+ <clipPath id="clip0_658_411">
13
+ <rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
14
14
  </clipPath>
15
15
  </defs>
16
16
  </svg>
Binary file
@@ -60,10 +60,17 @@ export declare const Wrap: import("styled-components").StyledComponent<"div", im
60
60
  export declare const HeaderWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
61
61
  noWrapHeight?: boolean;
62
62
  }, never>;
63
+ export declare const IsolatedHeaderWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
64
+ noWrapHeight?: boolean;
65
+ } & {
66
+ sticky?: boolean;
67
+ }, never>;
63
68
  export declare const Header: import("styled-components").StyledComponent<"header", import("styled-components").DefaultTheme, {
64
69
  motif: Motif;
65
70
  sticky?: boolean;
71
+ isIsolated?: boolean;
66
72
  transparent?: boolean;
73
+ isRelative?: boolean;
67
74
  stickyPadding?: string;
68
75
  }, never>;
69
76
  export declare const AvatarWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -303,11 +303,17 @@ const HeaderWrap = styled__default["default"].div`
303
303
  noWrapHeight
304
304
  }) => noWrapHeight ? "0" : `${HEADER_HEIGHT}px`};
305
305
  `;
306
+ const IsolatedHeaderWrap = styled__default["default"](HeaderWrap)`
307
+ ${({
308
+ sticky
309
+ }) => sticky && stickyEmbedHeaderCss}
310
+ `;
306
311
  const Header = styled__default["default"].header`
307
312
  z-index: ${theme.theme.zIndex.header};
308
313
  position: ${({
309
- sticky
310
- }) => sticky ? "fixed" : "static"};
314
+ sticky,
315
+ isRelative
316
+ }) => sticky ? "fixed" : isRelative ? "relative" : "static"};
311
317
  top: 0;
312
318
  width: ${({
313
319
  stickyPadding
@@ -328,6 +334,18 @@ const Header = styled__default["default"].header`
328
334
  motif,
329
335
  transparent
330
336
  }) => transparent ? "none" : theme.theme.colors.menu.base[motif]};
337
+
338
+ ${({
339
+ isIsolated
340
+ }) => isIsolated && styled.css`
341
+ border-bottom: 1px solid rgba(33 33 36 / 0.06);
342
+ display: flex;
343
+ align-items: center;
344
+
345
+ @media screen and ${layout.BREAKPOINTS.CUSTOM_CHECKOUT_MOBILE_AND_DOWN} {
346
+ border-bottom: none;
347
+ }
348
+ `}
331
349
  `;
332
350
  const AvatarWrap = styled__default["default"].div`
333
351
  align-items: center;
@@ -371,6 +389,7 @@ exports.HeaderWrap = HeaderWrap;
371
389
  exports.IconWrap = IconWrap;
372
390
  exports.IconsWrap = IconsWrap;
373
391
  exports.InnerLeftWrap = InnerLeftWrap;
392
+ exports.IsolatedHeaderWrap = IsolatedHeaderWrap;
374
393
  exports.LeftWrap = LeftWrap;
375
394
  exports.LinkItem = LinkItem;
376
395
  exports.LogoIconWrap = LogoIconWrap;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.styles.js","sources":["../../../src/components/Header/Header.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS, CUSTOM_WIDTH } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { Button } from \"../Button\";\nimport { CartIcon as CartIconBase } from \"../CartIcon\";\nimport { Container as ContainerBase } from \"../Container\";\nimport { WrapPadding } from \"../Container/Container.styles\";\nimport { SkeletonCircleLoader as SkeletonCircleLoaderBase } from \"../SkeletonLoader\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MenuItem } from \"./MenuItem\";\n\nexport const HEADER_HEIGHT = 48;\n\nexport const HEADER_GAP_SIZE = 20;\nexport const HEADER_GAP_SIZE_NARROW = 10;\nexport const HEADER_GAP_SIZE_SMALL = 16;\nexport const HEADER_GAP_SIZE_ICONS = 15;\n\nexport const HEADER_ICON_SIZE = 20;\nexport const HEADER_ACCOUNT_ICON_SIZE = 24;\n\nexport const HEADER_BUTTON_SIZE = 32;\n\nexport const stickyEmbedHeaderCss = css`\n left: 0;\n position: sticky;\n padding-top: env(safe-area-inset-top);\n right: 0;\n top: 0;\n z-index: ${theme.zIndex.header};\n\n backdrop-filter: blur(4px);\n background-color: rgba(255 255 255 / 0.9);\n`;\n\nexport const Container = styled(ContainerBase)`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n padding: 0;\n }\n`;\n\nexport const Anchor = styled.a`\n text-decoration: none;\n`;\n\nexport const SvgIcon = styled(StyleableSvgImage)``;\n\nexport const CartIcon = styled(CartIconBase)``;\n\nexport const IconWrap = styled.div<{\n motif: Motif;\n hideOnMobile?: boolean;\n hideOnDesktop?: boolean;\n}>`\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: ${HEADER_BUTTON_SIZE}px;\n width: ${HEADER_BUTTON_SIZE}px;\n cursor: pointer;\n\n /* Enforce svg color, disabling hover color change */\n ${SvgIcon},\n ${CartIcon} {\n color: ${({ motif }) => theme.colors.menu.text[motif]};\n }\n\n :hover {\n color: ${({ motif }) => theme.colors.menu.active[motif]};\n }\n\n ${({ hideOnMobile }) =>\n hideOnMobile &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n display: none;\n }\n `}\n\n ${({ hideOnDesktop }) =>\n hideOnDesktop &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_UP} {\n display: none;\n }\n `}\n`;\n\nexport const IconsWrap = styled.div`\n display: flex;\n align-items: center;\n margin-left: -6px;\n margin-right: -5px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n`;\n\nexport const MenuItemWrap = styled.div<{\n narrow?: boolean;\n hideOnMobile?: boolean;\n}>`\n display: flex;\n flex-direction: row;\n height: ${HEADER_HEIGHT}px;\n gap: ${({ narrow }) => (narrow ? HEADER_GAP_SIZE_NARROW : HEADER_GAP_SIZE)}px;\n margin-left: ${HEADER_GAP_SIZE}px;\n\n /* HACK hardcoded breakpoint based on actual item widths and spacings */\n @media (max-width: ${CUSTOM_WIDTH.TOP_NAV_DESKTOP_COMPACT}px) {\n gap: ${HEADER_GAP_SIZE_SMALL}px;\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n\n ${({ hideOnMobile }) =>\n hideOnMobile &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n display: none;\n }\n `}\n`;\n\nexport const MenuItemLabel = styled.div`\n display: flex;\n align-items: center;\n gap: 4px;\n`;\n\nexport const LogoIconWrap = styled.div<{\n motif: Motif;\n $burger?: boolean;\n}>`\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n height: ${HEADER_HEIGHT}px;\n color: ${({ motif }) => theme.colors.menu.text[motif]};\n\n ${({ $burger }) =>\n $burger &&\n css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `}\n`;\n\nexport const SiteTitleWrap = styled.div`\n align-items: center;\n color: #212327;\n display: flex;\n font-size: 20px;\n font-weight: 700;\n height: ${HEADER_HEIGHT}px;\n line-height: 28px;\n white-space: nowrap;\n`;\n\nexport const ContinueShoppingButton = styled(Button)<{\n motif: Motif;\n}>`\n font-size: ${theme.font.size13};\n line-height: ${theme.lineHeight.header};\n display: flex;\n align-items: center;\n margin: 0 20px;\n color: ${({ motif }) => theme.colors.menu.text[motif]};\n\n /* Check for hover capability to prevent wrong UI styles of category tabs https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover */\n @media (hover: hover) {\n &:hover {\n color: ${({ motif }) => theme.colors.menu.active[motif]};\n }\n }\n`;\n\nexport const BackIconWrap = styled.div`\n margin-right: 10px;\n`;\n\nexport const MenuItemsWrap = styled.div`\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: space-between;\n\n /* Not sure why is the overflow hidden here. In one of the storybook cases it caused clipping. */\n /* overflow: hidden; */\n`;\n\nexport const LeftWrap = styled.div<{ $static?: boolean }>`\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n align-items: center;\n\n ${({ $static }) =>\n !$static &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n }\n `}\n`;\n\nexport const ModalWrap = styled(Container)`\n flex: 0;\n margin: 0 auto;\n z-index: ${theme.zIndex.header - 1};\n\n ${WrapPadding} {\n position: relative;\n }\n`;\n\nexport const ModalInnerWrap = styled.div<{\n $modal: ModalId;\n $pro?: boolean;\n $isLeft?: boolean;\n}>`\n position: absolute;\n top: 10px;\n z-index: ${theme.zIndex.modal};\n\n ${({ $modal, $pro, $isLeft }) => {\n switch ($modal) {\n case ModalId.Support:\n return css`\n right: 106px;\n `;\n\n case ModalId.Cart:\n case ModalId.Account:\n return css`\n ${$isLeft ? \"left\" : \"right\"}: ${$pro ? 0 : 32}px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n ${$isLeft ? \"left\" : \"right\"}: 10px;\n }\n `;\n\n default:\n return;\n }\n }}\n`;\n\nexport const InnerLeftWrap = styled.div<{ center: boolean }>`\n display: flex;\n flex: 1;\n justify-content: ${({ center }) => (center ? \"center\" : \"unset\")};\n`;\n\nexport const LinkItem = styled(MenuItem)`\n margin: 0 6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n display: none;\n }\n`;\n\nexport const SearchTabWrap = styled.div<{ hide: boolean }>`\n display: block;\n width: 100%;\n max-width: 680px;\n margin: 0 8px;\n\n /**\n * * hack: search tab hidden with opacity ad position, so search input can be referenced (searchInputRef)\n * * and focus can be triggered on the search input onClick\n * @see https://css-tricks.com/comparing-various-ways-to-hide-things-in-css/#aa-method-4-the-position-property\n */\n ${({ hide }) =>\n hide &&\n css`\n opacity: 0;\n position: absolute;\n top: -9999px;\n left: -9999px;\n `}\n`;\n\nexport const StorePickerModalWrap = styled.div`\n position: absolute;\n left: 64px;\n top: 50px;\n z-index: ${theme.zIndex.modal};\n`;\n\nexport const SkeletonCircleLoader = styled(SkeletonCircleLoaderBase)<{\n overrideWidth?: number;\n}>`\n margin: 0;\n\n /**\n * * This overrides width that is set by diameter prop.\n * If used and is different than set diameter, the circle might not be perfectly round.\n */\n ${({ overrideWidth }) =>\n overrideWidth &&\n css`\n width: ${overrideWidth}px;\n `}\n`;\n\nexport const Wrap = styled.div`\n position: relative;\n`;\n\nexport const HeaderWrap = styled.div<{\n noWrapHeight?: boolean;\n}>`\n position: relative;\n height: ${({ noWrapHeight }) => (noWrapHeight ? \"0\" : `${HEADER_HEIGHT}px`)};\n`;\n\nexport const Header = styled.header<{\n motif: Motif;\n sticky?: boolean;\n transparent?: boolean;\n stickyPadding?: string;\n}>`\n z-index: ${theme.zIndex.header};\n position: ${({ sticky }) => (sticky ? \"fixed\" : \"static\")};\n top: 0;\n width: ${({ stickyPadding }) =>\n stickyPadding ? `calc(100% - ${stickyPadding})` : \"100%\"};\n height: ${HEADER_HEIGHT}px;\n background-color: ${({ motif, transparent }) =>\n transparent\n ? theme.colors.menu.transparent[motif]\n : theme.colors.menu.base[motif]};\n\n backdrop-filter: ${({ transparent }) => (transparent ? \"blur(4px)\" : \"none\")};\n\n /* HACK to fix the white border glitch, quick solution */\n box-shadow: 0 0 0 1px\n ${({ motif, transparent }) =>\n transparent ? \"none\" : theme.colors.menu.base[motif]};\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"],"names":["HEADER_HEIGHT","HEADER_GAP_SIZE","HEADER_GAP_SIZE_NARROW","HEADER_GAP_SIZE_SMALL","HEADER_GAP_SIZE_ICONS","HEADER_ICON_SIZE","HEADER_ACCOUNT_ICON_SIZE","HEADER_BUTTON_SIZE","stickyEmbedHeaderCss","css","theme","zIndex","header","Container","styled","ContainerBase","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","Anchor","a","SvgIcon","StyleableSvgImage","CartIcon","CartIconBase","IconWrap","div","motif","colors","menu","text","active","hideOnMobile","hideOnDesktop","TOP_NAV_MOBILE_UP","IconsWrap","MenuItemWrap","narrow","CUSTOM_WIDTH","TOP_NAV_DESKTOP_COMPACT","MenuItemLabel","LogoIconWrap","$burger","SiteTitleWrap","ContinueShoppingButton","Button","font","size13","lineHeight","BackIconWrap","MenuItemsWrap","LeftWrap","$static","ModalWrap","WrapPadding","ModalInnerWrap","modal","$modal","$pro","$isLeft","ModalId","Support","Cart","Account","InnerLeftWrap","center","LinkItem","MenuItem","SearchTabWrap","hide","StorePickerModalWrap","SkeletonCircleLoader","SkeletonCircleLoaderBase","overrideWidth","Wrap","HeaderW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AE0B,KAAA;EAAOqD;AAAY,CAAA,KACxCA,cACIrE,KAAM,CAAAA,KAAA,CAAAiB,MAAA,CAAOC,IAAK,CAAAmD,WAAA,CAAYrD,KAAK,CACnC,GAAAhB,WAAA,CAAMiB,OAAOC,IAAK,CAAAoD,IAAA,CAAKtD,KAAK,CAAC;AAAA;AAAA,qBAEhB,CAAC;EAAEqD;AAAA,CAAmB,KAAAA,WAAA,GAAc,cAAc,MAAO;AAAA;AAAA;AAAA;AAAA,MAIxE,CAAC;EAAErD,KAAO;EAAAqD;AAAA,CACV,KAAAA,WAAA,GAAc,MAAS,GAAArE,KAAA,CAAAA,KAAA,CAAMiB,MAAO,CAAAC,IAAA,CAAKoD,IAAK,CAAAtD,KAAK,CAAC;AAAA,CAAA;AAGnD,MAAMuD,aAAanE,eAAO,CAAA,SAAA,CAAA,CAAAW,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Header.styles.js","sources":["../../../src/components/Header/Header.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS, CUSTOM_WIDTH } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { Button } from \"../Button\";\nimport { CartIcon as CartIconBase } from \"../CartIcon\";\nimport { Container as ContainerBase } from \"../Container\";\nimport { WrapPadding } from \"../Container/Container.styles\";\nimport { SkeletonCircleLoader as SkeletonCircleLoaderBase } from \"../SkeletonLoader\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MenuItem } from \"./MenuItem\";\n\nexport const HEADER_HEIGHT = 48;\n\nexport const HEADER_GAP_SIZE = 20;\nexport const HEADER_GAP_SIZE_NARROW = 10;\nexport const HEADER_GAP_SIZE_SMALL = 16;\nexport const HEADER_GAP_SIZE_ICONS = 15;\n\nexport const HEADER_ICON_SIZE = 20;\nexport const HEADER_ACCOUNT_ICON_SIZE = 24;\n\nexport const HEADER_BUTTON_SIZE = 32;\n\nexport const stickyEmbedHeaderCss = css`\n left: 0;\n position: sticky;\n padding-top: env(safe-area-inset-top);\n right: 0;\n top: 0;\n z-index: ${theme.zIndex.header};\n\n backdrop-filter: blur(4px);\n background-color: rgba(255 255 255 / 0.9);\n`;\n\nexport const Container = styled(ContainerBase)`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n padding: 0;\n }\n`;\n\nexport const Anchor = styled.a`\n text-decoration: none;\n`;\n\nexport const SvgIcon = styled(StyleableSvgImage)``;\n\nexport const CartIcon = styled(CartIconBase)``;\n\nexport const IconWrap = styled.div<{\n motif: Motif;\n hideOnMobile?: boolean;\n hideOnDesktop?: boolean;\n}>`\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: ${HEADER_BUTTON_SIZE}px;\n width: ${HEADER_BUTTON_SIZE}px;\n cursor: pointer;\n\n /* Enforce svg color, disabling hover color change */\n ${SvgIcon},\n ${CartIcon} {\n color: ${({ motif }) => theme.colors.menu.text[motif]};\n }\n\n :hover {\n color: ${({ motif }) => theme.colors.menu.active[motif]};\n }\n\n ${({ hideOnMobile }) =>\n hideOnMobile &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n display: none;\n }\n `}\n\n ${({ hideOnDesktop }) =>\n hideOnDesktop &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_UP} {\n display: none;\n }\n `}\n`;\n\nexport const IconsWrap = styled.div`\n display: flex;\n align-items: center;\n margin-left: -6px;\n margin-right: -5px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n`;\n\nexport const MenuItemWrap = styled.div<{\n narrow?: boolean;\n hideOnMobile?: boolean;\n}>`\n display: flex;\n flex-direction: row;\n height: ${HEADER_HEIGHT}px;\n gap: ${({ narrow }) => (narrow ? HEADER_GAP_SIZE_NARROW : HEADER_GAP_SIZE)}px;\n margin-left: ${HEADER_GAP_SIZE}px;\n\n /* HACK hardcoded breakpoint based on actual item widths and spacings */\n @media (max-width: ${CUSTOM_WIDTH.TOP_NAV_DESKTOP_COMPACT}px) {\n gap: ${HEADER_GAP_SIZE_SMALL}px;\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n\n ${({ hideOnMobile }) =>\n hideOnMobile &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n display: none;\n }\n `}\n`;\n\nexport const MenuItemLabel = styled.div`\n display: flex;\n align-items: center;\n gap: 4px;\n`;\n\nexport const LogoIconWrap = styled.div<{\n motif: Motif;\n $burger?: boolean;\n}>`\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n height: ${HEADER_HEIGHT}px;\n color: ${({ motif }) => theme.colors.menu.text[motif]};\n\n ${({ $burger }) =>\n $burger &&\n css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `}\n`;\n\nexport const SiteTitleWrap = styled.div`\n align-items: center;\n color: #212327;\n display: flex;\n font-size: 20px;\n font-weight: 700;\n height: ${HEADER_HEIGHT}px;\n line-height: 28px;\n white-space: nowrap;\n`;\n\nexport const ContinueShoppingButton = styled(Button)<{\n motif: Motif;\n}>`\n font-size: ${theme.font.size13};\n line-height: ${theme.lineHeight.header};\n display: flex;\n align-items: center;\n margin: 0 20px;\n color: ${({ motif }) => theme.colors.menu.text[motif]};\n\n /* Check for hover capability to prevent wrong UI styles of category tabs https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover */\n @media (hover: hover) {\n &:hover {\n color: ${({ motif }) => theme.colors.menu.active[motif]};\n }\n }\n`;\n\nexport const BackIconWrap = styled.div`\n margin-right: 10px;\n`;\n\nexport const MenuItemsWrap = styled.div`\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: space-between;\n\n /* Not sure why is the overflow hidden here. In one of the storybook cases it caused clipping. */\n /* overflow: hidden; */\n`;\n\nexport const LeftWrap = styled.div<{ $static?: boolean }>`\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n align-items: center;\n\n ${({ $static }) =>\n !$static &&\n css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n }\n `}\n`;\n\nexport const ModalWrap = styled(Container)`\n flex: 0;\n margin: 0 auto;\n z-index: ${theme.zIndex.header - 1};\n\n ${WrapPadding} {\n position: relative;\n }\n`;\n\nexport const ModalInnerWrap = styled.div<{\n $modal: ModalId;\n $pro?: boolean;\n $isLeft?: boolean;\n}>`\n position: absolute;\n top: 10px;\n z-index: ${theme.zIndex.modal};\n\n ${({ $modal, $pro, $isLeft }) => {\n switch ($modal) {\n case ModalId.Support:\n return css`\n right: 106px;\n `;\n\n case ModalId.Cart:\n case ModalId.Account:\n return css`\n ${$isLeft ? \"left\" : \"right\"}: ${$pro ? 0 : 32}px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n ${$isLeft ? \"left\" : \"right\"}: 10px;\n }\n `;\n\n default:\n return;\n }\n }}\n`;\n\nexport const InnerLeftWrap = styled.div<{ center: boolean }>`\n display: flex;\n flex: 1;\n justify-content: ${({ center }) => (center ? \"center\" : \"unset\")};\n`;\n\nexport const LinkItem = styled(MenuItem)`\n margin: 0 6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n display: none;\n }\n`;\n\nexport const SearchTabWrap = styled.div<{ hide: boolean }>`\n display: block;\n width: 100%;\n max-width: 680px;\n margin: 0 8px;\n\n /**\n * * hack: search tab hidden with opacity ad position, so search input can be referenced (searchInputRef)\n * * and focus can be triggered on the search input onClick\n * @see https://css-tricks.com/comparing-various-ways-to-hide-things-in-css/#aa-method-4-the-position-property\n */\n ${({ hide }) =>\n hide &&\n css`\n opacity: 0;\n position: absolute;\n top: -9999px;\n left: -9999px;\n `}\n`;\n\nexport const StorePickerModalWrap = styled.div`\n position: absolute;\n left: 64px;\n top: 50px;\n z-index: ${theme.zIndex.modal};\n`;\n\nexport const SkeletonCircleLoader = styled(SkeletonCircleLoaderBase)<{\n overrideWidth?: number;\n}>`\n margin: 0;\n\n /**\n * * This overrides width that is set by diameter prop.\n * If used and is different than set diameter, the circle might not be perfectly round.\n */\n ${({ overrideWidth }) =>\n overrideWidth &&\n css`\n width: ${overrideWidth}px;\n `}\n`;\n\nexport const Wrap = styled.div`\n position: relative;\n`;\n\nexport const HeaderWrap = styled.div<{\n noWrapHeight?: boolean;\n}>`\n position: relative;\n height: ${({ noWrapHeight }) => (noWrapHeight ? \"0\" : `${HEADER_HEIGHT}px`)};\n`;\n\nexport const IsolatedHeaderWrap = styled(HeaderWrap)<{\n sticky?: boolean;\n}>`\n ${({ sticky }) => sticky && stickyEmbedHeaderCss}\n`;\n\nexport const Header = styled.header<{\n motif: Motif;\n sticky?: boolean;\n isIsolated?: boolean;\n transparent?: boolean;\n isRelative?: boolean;\n stickyPadding?: string;\n}>`\n z-index: ${theme.zIndex.header};\n position: ${({ sticky, isRelative }) =>\n sticky ? \"fixed\" : isRelative ? \"relative\" : \"static\"};\n top: 0;\n width: ${({ stickyPadding }) =>\n stickyPadding ? `calc(100% - ${stickyPadding})` : \"100%\"};\n height: ${HEADER_HEIGHT}px;\n background-color: ${({ motif, transparent }) =>\n transparent\n ? theme.colors.menu.transparent[motif]\n : theme.colors.menu.base[motif]};\n\n backdrop-filter: ${({ transparent }) => (transparent ? \"blur(4px)\" : \"none\")};\n\n /* HACK to fix the white border glitch, quick solution */\n box-shadow: 0 0 0 1px\n ${({ motif, transparent }) =>\n transparent ? \"none\" : theme.colors.menu.base[motif]};\n\n ${({ isIsolated }) =>\n isIsolated &&\n css`\n border-bottom: 1px solid rgba(33 33 36 / 0.06);\n display: flex;\n align-items: center;\n\n @media screen and ${BREAKPOINTS.CUSTOM_CHECKOUT_MOBILE_AND_DOWN} {\n border-bottom: none;\n }\n `}\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"],"names":["HEADER_HEIGHT","HEADER_GAP_SIZE","HEADER_GAP_SIZE_NARROW","HEADER_GAP_SIZE_SMALL","HEADER_GAP_SIZE_ICONS","HEADER_ICON_SIZE","HEADER_ACCOUNT_ICON_SIZE","HEADER_BUTTON_SIZE","stickyEmbedHeaderCss","css","theme","zIndex","header","Container","styled","ContainerBase","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","Anchor","a","SvgIcon","StyleableSvgImage","CartIcon","CartIconBase","IconWrap","div","motif","colors","menu","text","active","hideOnMobile","hideOnDesktop","TOP_NAV_MOBILE_UP","IconsWrap","MenuItemWrap","narrow","CUSTOM_WIDTH","TOP_NAV_DESKTOP_COMPACT","MenuItemLabel","LogoIconWrap","$burger","SiteTitleWrap","ContinueShoppingButton","Button","font","size13","lineHeight","BackIconWrap","MenuItemsWrap","LeftWrap","$static","ModalWrap","WrapPadding","ModalInnerWrap","modal","$modal","$pro","$isLeft","ModalId","Support","Cart","Account","InnerLeftWrap","center","LinkItem","MenuItem","SearchTabWrap","hide","StorePickerModalWrap","SkeletonCircleLoader","SkeletonCircleLoaderBase","overrideWidth","Wrap","HeaderWrap","noWrapHeight","IsolatedHeaderWrap","sticky","Header","isRelative","stickyPadding","transparent","base","isIsolated","CUSTOM_CHECKOUT_MOBILE_AND_DOWN","AvatarWrap"],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AAQ;AAAA;AAAA,WAE9C,CAAC;EAAEC;AAAc,CAAA,KACxBA,gBAA+B,eAAAA,mBAAmB,MAAM;AAAA,YAChDhF,aAAa;AAAA,sBACH,CAAC;EAAE0B,KAAA;EAAOuD;AAAY,CAAA,KACxCA,cACIvE,KAAM,CAAAA,KAAA,CAAAiB,MAAA,CAAOC,IAAK,CAAAqD,WAAA,CAAYvD,KAAK,CACnC,GAAAhB,WAAA,CAAMiB,OAAOC,IAAK,CAAAsD,IAAA,CAAKxD,KAAK,CAAC;AAAA;AAAA,qBAEhB,CAAC;EAAEuD;AAAA,CAAmB,KAAAA,WAAA,GAAc,cAAc,MAAO;AAAA;AAAA;AAAA;AAAA,MAIxE,CAAC;EAAEvD,KAAO;EAAAuD;AAAA,CACV,KAAAA,WAAA,GAAc,MAAS,GAAAvE,KAAA,CAAAA,KAAA,CAAMiB,MAAO,CAAAC,IAAA,CAAKsD,IAAK,CAAAxD,KAAK,CAAC;AAAA;AAAA,IAEtD,CAAC;EAAEyD;CAAW,KACdA,UACA,IAAA1E,MAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAKsBO,MAAAA,CAAAA,YAAYoE,+BAA+B;AAAA;AAAA;AAAA,KAGhE;AAAA,CAAA;AAGE,MAAMC,aAAavE,eAAO,CAAA,SAAA,CAAA,CAAAW,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -295,11 +295,17 @@ const HeaderWrap = styled.div`
295
295
  noWrapHeight
296
296
  }) => noWrapHeight ? "0" : `${HEADER_HEIGHT}px`};
297
297
  `;
298
+ const IsolatedHeaderWrap = styled(HeaderWrap)`
299
+ ${({
300
+ sticky
301
+ }) => sticky && stickyEmbedHeaderCss}
302
+ `;
298
303
  const Header = styled.header`
299
304
  z-index: ${theme.zIndex.header};
300
305
  position: ${({
301
- sticky
302
- }) => sticky ? "fixed" : "static"};
306
+ sticky,
307
+ isRelative
308
+ }) => sticky ? "fixed" : isRelative ? "relative" : "static"};
303
309
  top: 0;
304
310
  width: ${({
305
311
  stickyPadding
@@ -320,6 +326,18 @@ const Header = styled.header`
320
326
  motif,
321
327
  transparent
322
328
  }) => transparent ? "none" : theme.colors.menu.base[motif]};
329
+
330
+ ${({
331
+ isIsolated
332
+ }) => isIsolated && css`
333
+ border-bottom: 1px solid rgba(33 33 36 / 0.06);
334
+ display: flex;
335
+ align-items: center;
336
+
337
+ @media screen and ${BREAKPOINTS.CUSTOM_CHECKOUT_MOBILE_AND_DOWN} {
338
+ border-bottom: none;
339
+ }
340
+ `}
323
341
  `;
324
342
  const AvatarWrap = styled.div`
325
343
  align-items: center;
@@ -344,5 +362,5 @@ const AvatarWrap = styled.div`
344
362
  object-fit: cover;
345
363
  }
346
364
  `;
347
- export { Anchor, AvatarWrap, BackIconWrap, CartIcon, Container, ContinueShoppingButton, HEADER_ACCOUNT_ICON_SIZE, HEADER_BUTTON_SIZE, HEADER_GAP_SIZE, HEADER_GAP_SIZE_ICONS, HEADER_GAP_SIZE_NARROW, HEADER_GAP_SIZE_SMALL, HEADER_HEIGHT, HEADER_ICON_SIZE, Header, HeaderWrap, IconWrap, IconsWrap, InnerLeftWrap, LeftWrap, LinkItem, LogoIconWrap, MenuItemLabel, MenuItemWrap, MenuItemsWrap, ModalInnerWrap, ModalWrap, SearchTabWrap, SiteTitleWrap, SkeletonCircleLoader, StorePickerModalWrap, SvgIcon, Wrap, stickyEmbedHeaderCss };
365
+ export { Anchor, AvatarWrap, BackIconWrap, CartIcon, Container, ContinueShoppingButton, HEADER_ACCOUNT_ICON_SIZE, HEADER_BUTTON_SIZE, HEADER_GAP_SIZE, HEADER_GAP_SIZE_ICONS, HEADER_GAP_SIZE_NARROW, HEADER_GAP_SIZE_SMALL, HEADER_HEIGHT, HEADER_ICON_SIZE, Header, HeaderWrap, IconWrap, IconsWrap, InnerLeftWrap, IsolatedHeaderWrap, LeftWrap, LinkItem, LogoIconWrap, MenuItemLabel, MenuItemWrap, MenuItemsWrap, ModalInnerWrap, ModalWrap, SearchTabWrap, SiteTitleWrap, SkeletonCircleLoader, StorePickerModalWrap, SvgIcon, Wrap, stickyEmbedHeaderCss };
348
366
  //# sourceMappingURL=Header.styles.mjs.map