@ubnt/store.core 10.4.1 → 10.5.0-globalStoreId.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 (199) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/_virtual/_virtual_multi-entry.js +0 -1
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +1 -1
  5. package/lib/assets/attention.svg +5 -5
  6. package/lib/assets/attention2.svg +5 -5
  7. package/lib/assets/express.jpg +0 -0
  8. package/lib/assets/express2.jpg +0 -0
  9. package/lib/assets/express7.jpg +0 -0
  10. package/lib/assets/express72.jpg +0 -0
  11. package/lib/assets/minus4.svg +8 -8
  12. package/lib/assets/minus5.svg +8 -8
  13. package/lib/assets/pause.svg +3 -3
  14. package/lib/assets/pause2.svg +3 -3
  15. package/lib/assets/poe2.svg +3 -2
  16. package/lib/assets/poe3.svg +2 -3
  17. package/lib/assets/port.svg +4 -2
  18. package/lib/assets/port2.svg +2 -4
  19. package/lib/assets/ucgMax.jpg +0 -0
  20. package/lib/assets/ucgMax2.jpg +0 -0
  21. package/lib/assets/udmProMax.jpg +0 -0
  22. package/lib/assets/udmProMax2.jpg +0 -0
  23. package/lib/assets/udr2.jpg +0 -0
  24. package/lib/assets/udr3.jpg +0 -0
  25. package/lib/components/Explore/ExploreData.d.ts +3 -3
  26. package/lib/components/Explore/ExploreData.js +2 -2
  27. package/lib/components/Explore/ExploreData.js.map +1 -1
  28. package/lib/components/Explore/ExploreData.mjs +3 -3
  29. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  30. package/lib/components/Footer/Footer.js +14 -14
  31. package/lib/components/Footer/Footer.js.map +1 -1
  32. package/lib/components/Footer/Footer.mjs +15 -15
  33. package/lib/components/Footer/Footer.mjs.map +1 -1
  34. package/lib/components/Footer/hooks/useFooterContent.js +33 -33
  35. package/lib/components/Footer/hooks/useFooterContent.js.map +1 -1
  36. package/lib/components/Footer/hooks/useFooterContent.mjs +34 -34
  37. package/lib/components/Footer/hooks/useFooterContent.mjs.map +1 -1
  38. package/lib/components/Header/Header.js +1 -1
  39. package/lib/components/Header/Header.js.map +1 -1
  40. package/lib/components/Header/Header.mjs +2 -2
  41. package/lib/components/Header/Header.mjs.map +1 -1
  42. package/lib/components/Header/Header.stories.d.ts +2 -2
  43. package/lib/components/Header/Header.styles.d.ts +1 -0
  44. package/lib/components/Header/Header.styles.js +9 -1
  45. package/lib/components/Header/Header.styles.js.map +1 -1
  46. package/lib/components/Header/Header.styles.mjs +9 -2
  47. package/lib/components/Header/Header.styles.mjs.map +1 -1
  48. package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.d.ts +2 -2
  49. package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.js.map +1 -1
  50. package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.mjs.map +1 -1
  51. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
  52. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  53. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  54. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  55. package/lib/components/Microsites/Microsites.types.d.ts +2 -2
  56. package/lib/components/Microsites/Microsites.types.js.map +1 -1
  57. package/lib/components/Microsites/Microsites.types.mjs.map +1 -1
  58. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +9 -9
  59. package/lib/components/ModelCompareV3/assets/CameraSecurity/ai-pro.jpg.js +5 -5
  60. package/lib/components/ModelCompareV3/assets/CameraSecurity/g4-instant.jpg.js +5 -5
  61. package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-flex.jpg.js +5 -5
  62. package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-pro.jpg.js +5 -5
  63. package/lib/components/ModelCompareV3/assets/CameraSecurity/g6-bullet.jpg.js +5 -5
  64. package/lib/components/ModelCompareV3/assets/CameraSecurity/g6-instant.jpg.js +5 -5
  65. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
  66. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  67. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  68. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  69. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  70. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  71. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  72. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  73. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  74. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  75. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
  76. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
  77. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  78. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  79. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  80. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  81. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  82. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  83. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  84. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  85. package/lib/components/ModelCompareV3/assets/poe.svg.js +1 -1
  86. package/lib/components/ModelCompareV3/assets/poe.svg.mjs +2 -2
  87. package/lib/components/ModelCompareV3/assets/port.svg.js +1 -1
  88. package/lib/components/ModelCompareV3/assets/port.svg.mjs +2 -2
  89. package/lib/components/ModelCompareV3/data/CameraSecurity.js +13 -13
  90. package/lib/components/ModelCompareV3/data/CameraSecurity.mjs +7 -7
  91. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  92. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  93. package/lib/components/ModelCompareV3/data/products/e7Audience.js +2 -2
  94. package/lib/components/ModelCompareV3/data/products/e7Audience.js.map +1 -1
  95. package/lib/components/ModelCompareV3/data/products/e7Audience.mjs +3 -3
  96. package/lib/components/ModelCompareV3/data/products/e7Audience.mjs.map +1 -1
  97. package/lib/components/ModelCompareV3/data/products/express.js +1 -1
  98. package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
  99. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  100. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  101. package/lib/components/ModelCompareV3/data/products/g3TouchEnterprise.js +1 -1
  102. package/lib/components/ModelCompareV3/data/products/g3TouchEnterprise.js.map +1 -1
  103. package/lib/components/ModelCompareV3/data/products/g3TouchEnterprise.mjs +2 -2
  104. package/lib/components/ModelCompareV3/data/products/g3TouchEnterprise.mjs.map +1 -1
  105. package/lib/components/ModelCompareV3/data/products/g3TouchWall.js +1 -1
  106. package/lib/components/ModelCompareV3/data/products/g3TouchWall.js.map +1 -1
  107. package/lib/components/ModelCompareV3/data/products/g3TouchWall.mjs +2 -2
  108. package/lib/components/ModelCompareV3/data/products/g3TouchWall.mjs.map +1 -1
  109. package/lib/components/ModelCompareV3/data/products/u6Extender.js +1 -1
  110. package/lib/components/ModelCompareV3/data/products/u6Extender.js.map +1 -1
  111. package/lib/components/ModelCompareV3/data/products/u6Extender.mjs +2 -2
  112. package/lib/components/ModelCompareV3/data/products/u6Extender.mjs.map +1 -1
  113. package/lib/components/ModelCompareV3/data/products/u7proOutdoor.js +2 -2
  114. package/lib/components/ModelCompareV3/data/products/u7proOutdoor.js.map +1 -1
  115. package/lib/components/ModelCompareV3/data/products/u7proOutdoor.mjs +3 -3
  116. package/lib/components/ModelCompareV3/data/products/u7proOutdoor.mjs.map +1 -1
  117. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  118. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  119. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  120. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  121. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  122. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  123. package/lib/components/ModelCompareV3/data/products/umr.js +2 -2
  124. package/lib/components/ModelCompareV3/data/products/umr.js.map +1 -1
  125. package/lib/components/ModelCompareV3/data/products/umr.mjs +3 -3
  126. package/lib/components/ModelCompareV3/data/products/umr.mjs.map +1 -1
  127. package/lib/components/ModelCompareV3/data/products/umrIndustrial.js +2 -2
  128. package/lib/components/ModelCompareV3/data/products/umrIndustrial.js.map +1 -1
  129. package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs +3 -3
  130. package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs.map +1 -1
  131. package/lib/components/ModelCompareV3/data/products/umrUltra.js +1 -1
  132. package/lib/components/ModelCompareV3/data/products/umrUltra.js.map +1 -1
  133. package/lib/components/ModelCompareV3/data/products/umrUltra.mjs +2 -2
  134. package/lib/components/ModelCompareV3/data/products/umrUltra.mjs.map +1 -1
  135. package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.js +1 -1
  136. package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.mjs +1 -1
  137. package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.js +1 -1
  138. package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.mjs +1 -1
  139. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js +1 -1
  140. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +1 -1
  141. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  142. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  143. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
  144. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
  145. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  146. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  147. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  148. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  149. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  150. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  151. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  152. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  153. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
  154. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
  155. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  156. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  157. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  158. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs +2 -2
  159. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.js +1 -1
  160. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.mjs +2 -2
  161. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.js +1 -1
  162. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.mjs +2 -2
  163. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  164. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  165. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  166. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  167. package/lib/contexts/MenuContext/context.d.ts +3 -3
  168. package/lib/contexts/MenuContext/context.js.map +1 -1
  169. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  170. package/lib/contexts/MenuContext/mapping.d.ts +3 -4
  171. package/lib/contexts/MenuContext/mapping.js +1 -1
  172. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  173. package/lib/contexts/MenuContext/mapping.mjs +2 -2
  174. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  175. package/lib/contexts/MenuContext/types.d.ts +3 -3
  176. package/lib/contexts/MenuContext/types.js.map +1 -1
  177. package/lib/contexts/MenuContext/types.mjs.map +1 -1
  178. package/lib/contexts/MenuContext/utils.d.ts +3 -3
  179. package/lib/contexts/MenuContext/utils.js.map +1 -1
  180. package/lib/contexts/MenuContext/utils.mjs.map +1 -1
  181. package/lib/types/generated.d.ts +0 -35
  182. package/lib/types/generated.js +0 -18
  183. package/lib/types/generated.js.map +1 -1
  184. package/lib/types/generated.mjs +1 -18
  185. package/lib/types/generated.mjs.map +1 -1
  186. package/lib/types/index.js +0 -1
  187. package/lib/types/index.js.map +1 -1
  188. package/lib/types/index.mjs +1 -1
  189. package/lib/utils/nextjs/navigationPresets.d.ts +4 -4
  190. package/lib/utils/nextjs/navigationPresets.js +20 -20
  191. package/lib/utils/nextjs/navigationPresets.js.map +1 -1
  192. package/lib/utils/nextjs/navigationPresets.mjs +21 -21
  193. package/lib/utils/nextjs/navigationPresets.mjs.map +1 -1
  194. package/lib/utils/storeId.d.ts +1 -8
  195. package/lib/utils/storeId.js +0 -6
  196. package/lib/utils/storeId.js.map +1 -1
  197. package/lib/utils/storeId.mjs +1 -6
  198. package/lib/utils/storeId.mjs.map +1 -1
  199. package/package.json +1 -1
@@ -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 { Container as ContainerBase } from \"../Container\";\nimport { WrapPadding } from \"../Container/Container.styles\";\nimport { SkeletonCircleLoader as SkeletonCircleLoaderBase } from \"../SkeletonLoader\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { CartIcon as CartIconBase } from \"./CartIcon\";\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\n// #############################################################################\n// Mixins\n// #############################################################################\nexport const cssStickyEmbedHeader = 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\n// #############################################################################\n// Components\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 }) =>\n $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\ntype LogoIconWrapProps = {\n $motif: Motif;\n $burger?: boolean;\n};\nexport const LogoIconWrap = styled.div<LogoIconWrapProps>`\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 height: ${HEADER_HEIGHT}px;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n padding: 8px 4px;\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: 4px;\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","cssStickyEmbedHeader","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","motif","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","Header","sticky","stickyPadding","transparent","base","AvatarWrap"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,MAAMA,aAAgB,GAAA,EAAA;AAEtB,MAAMC,eAAkB,GAAA,EAAA;AACxB,MAAMC,sBAAyB,GAAA,EAAA;AAC/B,MAAMC,qBAAwB,GAAA,EAAA;AAC9B,MAAMC,qBAAwB,GAAA,EAAA;AAE9B,MAAMC,gBAAmB,GAAA,EAAA;AACzB,MAAMC,wBAA2B,GAAA,EAAA;AAEjC,MAAMC,kBAAqB,GAAA,EAAA;AAK3B,MAAMC,oBAAuB,GAAAC,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAMvBC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,MAAM;;AAAA;AAAA;AAAA,CAAA;AAUnB,MAAAC,SAAA,GAAYC,2BAAOC,qBAAa,CAAA;AAAA,WAClCC,MAAAA,CAA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KAAA,CAAAA,KAAA,CAAMC,OAAOC,MAAM;AAAA,cAClB,CAAC;EAAE+D;AAAA,CAAc,KAAAA,MAAA,GAAS,UAAU,QAAS;AAAA;AAAA,WAEhD,CAAC;EAAEC;AAAc,CAAA,KACxBA,gBAAgB,eAAeA,aAAa,MAAM,MAAM;AAAA,YAChD5E,aAAa;AAAA,sBACH,CAAC;EAAE6C,KAAA;EAAOgC;AAAY,CAAA,KACxCA,cACInE,KAAM,CAAAA,KAAA,CAAAiB,MAAA,CAAOC,IAAK,CAAAiD,WAAA,CAAYhC,KAAK,CACnC,GAAAnC,WAAA,CAAMiB,OAAOC,IAAK,CAAAkD,IAAA,CAAKjC,KAAK,CAAC;;AAAA,qBAEhB,CAAC;EAAEgC;AAAA,CAAmB,KAAAA,WAAA,GAAc,cAAc,MAAO;;AAAA;AAAA;AAAA,MAIxE,CAAC;EAAEhC,KAAO;EAAAgC;AAAA,CACV,KAAAA,WAAA,GAAc,MAAS,GAAAnE,KAAA,CAAAA,KAAA,CAAMiB,MAAO,CAAAC,IAAA,CAAKkD,IAAK,CAAAjC,KAAK,CAAC;AAAA,CAAA;AAGnD,MAAMkC,aAAajE,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,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 { Container as ContainerBase } from \"../Container\";\nimport { WrapPadding } from \"../Container/Container.styles\";\nimport { SkeletonCircleLoader as SkeletonCircleLoaderBase } from \"../SkeletonLoader\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { CartIcon as CartIconBase } from \"./CartIcon\";\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\n// #############################################################################\n// Mixins\n// #############################################################################\nexport const cssStickyEmbedHeader = 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\n// #############################################################################\n// Components\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 }) =>\n $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\ntype LogoIconWrapProps = {\n $motif: Motif;\n $burger?: boolean;\n};\nexport const LogoIconWrap = styled.div<LogoIconWrapProps>`\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: 0 ${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 height: ${HEADER_HEIGHT}px;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n padding: 8px 4px;\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: 4px;\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\nexport const HamburgerButton = styled(MenuItem)`\n width: 52px;\n\n &&:hover {\n background: none;\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","cssStickyEmbedHeader","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","motif","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","Header","sticky","stickyPadding","transparent","base","AvatarWrap","HamburgerBut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AC;AAAA,CAAA;AAGnD,MAAMkC,aAAajE,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,CAAA;AAwBpB,MAAAuD,eAAA,GAAkBlE,2BAAOkD,iBAAQ,CAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -135,7 +135,7 @@ const LogoIconWrap = styled.div`
135
135
  ${({
136
136
  $burger
137
137
  }) => $burger && css`
138
- margin-left: ${HEADER_GAP_SIZE_SMALL}px;
138
+ margin: 0 ${HEADER_GAP_SIZE_SMALL}px;
139
139
  `}
140
140
  `;
141
141
  const SiteTitleWrap = styled.div`
@@ -341,5 +341,12 @@ const AvatarWrap = styled.div`
341
341
  object-fit: cover;
342
342
  }
343
343
  `;
344
- 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, cssStickyEmbedHeader };
344
+ const HamburgerButton = styled(MenuItem)`
345
+ width: 52px;
346
+
347
+ &&:hover {
348
+ background: none;
349
+ }
350
+ `;
351
+ 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, HamburgerButton, Header, HeaderWrap, IconWrap, IconsWrap, InnerLeftWrap, LeftWrap, LinkItem, LogoIconWrap, MenuItemLabel, MenuItemWrap, MenuItemsWrap, ModalInnerWrap, ModalWrap, SearchTabWrap, SiteTitleWrap, SkeletonCircleLoader, StorePickerModalWrap, SvgIcon, Wrap, cssStickyEmbedHeader };
345
352
  //# sourceMappingURL=Header.styles.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.styles.mjs","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 { Container as ContainerBase } from \"../Container\";\nimport { WrapPadding } from \"../Container/Container.styles\";\nimport { SkeletonCircleLoader as SkeletonCircleLoaderBase } from \"../SkeletonLoader\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { CartIcon as CartIconBase } from \"./CartIcon\";\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\n// #############################################################################\n// Mixins\n// #############################################################################\nexport const cssStickyEmbedHeader = 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\n// #############################################################################\n// Components\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 }) =>\n $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\ntype LogoIconWrapProps = {\n $motif: Motif;\n $burger?: boolean;\n};\nexport const LogoIconWrap = styled.div<LogoIconWrapProps>`\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 height: ${HEADER_HEIGHT}px;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n padding: 8px 4px;\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: 4px;\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","cssStickyEmbedHeader","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","motif","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","Header","sticky","stickyPadding","transparent","base","AvatarWrap"],"mappings":";;;;;;;;;;;;;;;;;;AAcO,MAAMA,aAAgB,GAAA,EAAA;AAEtB,MAAMC,eAAkB,GAAA,EAAA;AACxB,MAAMC,sBAAyB,GAAA,EAAA;AAC/B,MAAMC,qBAAwB,GAAA,EAAA;AAC9B,MAAMC,qBAAwB,GAAA,EAAA;AAE9B,MAAMC,gBAAmB,GAAA,EAAA;AACzB,MAAMC,wBAA2B,GAAA,EAAA;AAEjC,MAAMC,kBAAqB,GAAA,EAAA;AAK3B,MAAMC,oBAAuB,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAMvBC,KAAA,CAAMC,OAAOC,MAAM;;AAAA;AAAA;AAAA,CAAA;AAUnB,MAAAC,SAAA,GAAYC,OAAOC,WAAa,CAAA;AAAA,WAClCC,YAAYC,uBAAuB;AAAA;AAAA;AAAA,CAAA;AAKvC,MAAMC,SAASJ,MAAO,CAAAK,CAAA;AAAA;AAAA,CAAA;AAIhB,MAAAC,OAAA,GAAUN,OAAOO,iBAAiB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CAAA;"}
1
+ {"version":3,"file":"Header.styles.mjs","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 { Container as ContainerBase } from \"../Container\";\nimport { WrapPadding } from \"../Container/Container.styles\";\nimport { SkeletonCircleLoader as SkeletonCircleLoaderBase } from \"../SkeletonLoader\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { CartIcon as CartIconBase } from \"./CartIcon\";\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\n// #############################################################################\n// Mixins\n// #############################################################################\nexport const cssStickyEmbedHeader = 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\n// #############################################################################\n// Components\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 }) =>\n $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\ntype LogoIconWrapProps = {\n $motif: Motif;\n $burger?: boolean;\n};\nexport const LogoIconWrap = styled.div<LogoIconWrapProps>`\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: 0 ${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 height: ${HEADER_HEIGHT}px;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n padding: 8px 4px;\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: 4px;\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\nexport const HamburgerButton = styled(MenuItem)`\n width: 52px;\n\n &&:hover {\n background: none;\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","cssStickyEmbedHeader","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","motif","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","Header","sticky","stickyPadding","transparent","base","AvatarWrap","HamburgerButton"],"mappings":";;;;;;;;;;;;;;;;;;AAcO,MAAMA,aAAgB,GAAA,EAAA;AAEtB,MAAMC,eAAkB,GAAA,EAAA;AACxB,MAAMC,sBAAyB,GAAA,EAAA;AAC/B,MAAMC,qBAAwB,GAAA,EAAA;AAC9B,MAAMC,qBAAwB,GAAA,EAAA;AAE9B,MAAMC,gBAAmB,GAAA,EAAA;AACzB,MAAMC,wBAA2B,GAAA,EAAA;AAEjC,MAAMC,kBAAqB,GAAA,EAAA;AAK3B,MAAMC,oBAAuB,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAMvBC,KAAA,CAAMC,OAAOC,MAAM;;AAAA;AAAA;AAAA,CAAA;AAUnB,MAAAC,SAAA,GAAYC,OAAOC,WAAa,CAAA;AAAA,WAClCC,YAAYC,uBAAuB;AAAA;AAAA;AAAA,CAAA;AAKvC,MAAMC,SAASJ,MAAO,CAAAK,CAAA;AAAA;AAAA,CAAA;AAIhB,MAAAC,OAAA,GAAUN,OAAOO,iBAAiB,CAAA,EAAA;AAElC,MAAAC,QAAA,GAAWR,OAAOS,UAAY,CAAA,EAAA;AAEpC,MAAMC,WAAWV,MAAO,CAAAW,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YASnBlB,kBAAkB;AAAA,WACnBA,kBAAkB;AAAA;;AAAA;AAAA,IAIzBa,OAAO;AAAA,IACPE,QAAQ;AAAA,aACC,CAAC;EAAEI;AAAO,CAAA,KAAMhB,MAAMiB,MAAO,CAA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eAAe,GAAM,GAAA,GAAGzE,aAAa,IAAK;AAAA,CAAA;AAGtE,MAAM0E,SAAS5D,MAAO,CAAAF,MAAA;AAAA,aAMhBF,KAAA,CAAMC,OAAOC,MAAM;AAAA,cAClB,CAAC;EAAE+D;AAAA,CAAc,KAAAA,MAAA,GAAS,UAAU,QAAS;AAAA;AAAA,WAEhD,CAAC;EAAEC;AAAc,CAAA,KACxBA,gBAAgB,eAAeA,aAAa,MAAM,MAAM;AAAA,YAChD5E,aAAa;AAAA,sBACH,CAAC;EAAE6C,KAAA;EAAOgC;AAAY,CAAA,KACxCA,cACInE,KAAM,CAAAiB,MAAA,CAAOC,IAAK,CAAAiD,WAAA,CAAYhC,KAAK,CACnC,GAAAnC,KAAA,CAAMiB,OAAOC,IAAK,CAAAkD,IAAA,CAAKjC,KAAK,CAAC;;AAAA,qBAEhB,CAAC;EAAEgC;AAAA,CAAmB,KAAAA,WAAA,GAAc,cAAc,MAAO;;AAAA;AAAA;AAAA,MAIxE,CAAC;EAAEhC,KAAO;EAAAgC;AAAA,CACV,KAAAA,WAAA,GAAc,MAAS,GAAAnE,KAAA,CAAMiB,MAAO,CAAAC,IAAA,CAAKkD,IAAK,CAAAjC,KAAK,CAAC;AAAA,CAAA;AAGnD,MAAMkC,aAAajE,MAAO,CAAAW,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAwBpB,MAAAuD,eAAA,GAAkBlE,OAAOkD,QAAQ,CAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;"}
@@ -1,2 +1,2 @@
1
- import type { GlobalStoreId, Language } from "../../../../types";
2
- export declare const buildLanguageLink: (contextStoreId: GlobalStoreId, languageKey: Language, href?: string) => string | undefined;
1
+ import type { Language, StoreId } from "../../../../types";
2
+ export declare const buildLanguageLink: (contextStoreId: StoreId, languageKey: Language, href?: string) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"buildLanguageLink.js","sources":["../../../../../src/components/Header/LanguageFrame/utils/buildLanguageLink.ts"],"sourcesContent":["import type { GlobalStoreId, Language } from \"../../../../types\";\nimport { isLanguage } from \"../../../../utils/language\";\nimport { isStoreId } from \"../../../../utils/storeId\";\nimport { partsToPathname, pathnameToParts } from \"../../../../utils/url\";\n\nexport const buildLanguageLink = (\n contextStoreId: GlobalStoreId,\n languageKey: Language,\n href?: string,\n) => {\n try {\n // URL constructor throws Type error if URL is invalid\n const currentURL = new URL(href || window.location.href);\n\n // Get array with parts of pathname\n const pathParts = pathnameToParts(currentURL.pathname);\n\n /**\n * Check if store id and language are in the path /:storeId/:language/\n * remove from path array if so\n */\n const partsToRemove =\n (isStoreId(pathParts[0]) ? 1 : 0) + (isLanguage(pathParts[1]) ? 1 : 0);\n\n // Get the rest of the path\n const restOfPath = pathParts.slice(partsToRemove);\n\n // Build the new path array\n const newPathParts = [\n contextStoreId, // Use the storeId from the context\n languageKey,\n ...restOfPath,\n ];\n\n currentURL.pathname = partsToPathname(newPathParts);\n\n // Add language to the search params to trigger the language cookie update in all sites\n currentURL.searchParams.set(\"l\", languageKey);\n\n // Reconstruct the path and build the new URL\n return currentURL.toString().replace(currentURL.origin, \"\");\n } catch {\n // Fail silently\n return undefined;\n }\n};\n"],"names":["buildLanguageLink","contextStoreId","languageKey","href","currentURL","URL","window","location","pathParts","pathnameToParts","pathname","partsToRemove","isStoreId","isLanguage","restOfPath","slice","newPathParts","partsToPathname","searchParams","set","toString","replace","origin"],"mappings":";;;;;;AAKO,MAAMA,iBAAoB,GAAAA,CAC/BC,cACA,EAAAC,WAAA,EACAC,IACG,KAAA;EACC,IAAA;IAEF,MAAMC,aAAa,IAAIC,GAAA,CAAIF,IAAQ,IAAAG,MAAA,CAAOC,SAASJ,IAAI,CAAA;IAGjD,MAAAK,SAAA,GAAYC,GAAAA,CAAAA,eAAgB,CAAAL,UAAA,CAAWM,QAAQ,CAAA;IAMrD,MAAMC,aACH,GAAA,CAAAC,OAAAA,CAAAA,SAAA,CAAUJ,SAAU,CAAA,CAAC,CAAC,CAAA,GAAI,CAAI,GAAA,CAAA,KAAMK,QAAAA,CAAAA,UAAW,CAAAL,SAAA,CAAU,CAAC,CAAC,IAAI,CAAI,GAAA,CAAA,CAAA;IAGhE,MAAAM,UAAA,GAAaN,SAAU,CAAAO,KAAA,CAAMJ,aAAa,CAAA;IAGhD,MAAMK,YAAe,GAAA,CACnBf,cAAA;IAAA;IACAC,WAAA,EACA,GAAGY,UAAA,CACL;IAEWV,UAAA,CAAAM,QAAA,GAAWO,oBAAgBD,YAAY,CAAA;IAGvCZ,UAAA,CAAAc,YAAA,CAAaC,GAAI,CAAA,GAAA,EAAKjB,WAAW,CAAA;IAG5C,OAAOE,WAAWgB,QAAS,CAAA,CAAA,CAAEC,OAAQ,CAAAjB,UAAA,CAAWkB,QAAQ,EAAE,CAAA;EAAA,CACpD,CAAA,MAAA;IAEC,OAAA,KAAA,CAAA;EAAA;AAEX,CAAA;"}
1
+ {"version":3,"file":"buildLanguageLink.js","sources":["../../../../../src/components/Header/LanguageFrame/utils/buildLanguageLink.ts"],"sourcesContent":["import type { Language, StoreId } from \"../../../../types\";\nimport { isLanguage } from \"../../../../utils/language\";\nimport { isStoreId } from \"../../../../utils/storeId\";\nimport { partsToPathname, pathnameToParts } from \"../../../../utils/url\";\n\nexport const buildLanguageLink = (\n contextStoreId: StoreId,\n languageKey: Language,\n href?: string,\n) => {\n try {\n // URL constructor throws Type error if URL is invalid\n const currentURL = new URL(href || window.location.href);\n\n // Get array with parts of pathname\n const pathParts = pathnameToParts(currentURL.pathname);\n\n /**\n * Check if store id and language are in the path /:storeId/:language/\n * remove from path array if so\n */\n const partsToRemove =\n (isStoreId(pathParts[0]) ? 1 : 0) + (isLanguage(pathParts[1]) ? 1 : 0);\n\n // Get the rest of the path\n const restOfPath = pathParts.slice(partsToRemove);\n\n // Build the new path array\n const newPathParts = [\n contextStoreId, // Use the storeId from the context\n languageKey,\n ...restOfPath,\n ];\n\n currentURL.pathname = partsToPathname(newPathParts);\n\n // Add language to the search params to trigger the language cookie update in all sites\n currentURL.searchParams.set(\"l\", languageKey);\n\n // Reconstruct the path and build the new URL\n return currentURL.toString().replace(currentURL.origin, \"\");\n } catch {\n // Fail silently\n return undefined;\n }\n};\n"],"names":["buildLanguageLink","contextStoreId","languageKey","href","currentURL","URL","window","location","pathParts","pathnameToParts","pathname","partsToRemove","isStoreId","isLanguage","restOfPath","slice","newPathParts","partsToPathname","searchParams","set","toString","replace","origin"],"mappings":";;;;;;AAKO,MAAMA,iBAAoB,GAAAA,CAC/BC,cACA,EAAAC,WAAA,EACAC,IACG,KAAA;EACC,IAAA;IAEF,MAAMC,aAAa,IAAIC,GAAA,CAAIF,IAAQ,IAAAG,MAAA,CAAOC,SAASJ,IAAI,CAAA;IAGjD,MAAAK,SAAA,GAAYC,GAAAA,CAAAA,eAAgB,CAAAL,UAAA,CAAWM,QAAQ,CAAA;IAMrD,MAAMC,aACH,GAAA,CAAAC,OAAAA,CAAAA,SAAA,CAAUJ,SAAU,CAAA,CAAC,CAAC,CAAA,GAAI,CAAI,GAAA,CAAA,KAAMK,QAAAA,CAAAA,UAAW,CAAAL,SAAA,CAAU,CAAC,CAAC,IAAI,CAAI,GAAA,CAAA,CAAA;IAGhE,MAAAM,UAAA,GAAaN,SAAU,CAAAO,KAAA,CAAMJ,aAAa,CAAA;IAGhD,MAAMK,YAAe,GAAA,CACnBf,cAAA;IAAA;IACAC,WAAA,EACA,GAAGY,UAAA,CACL;IAEWV,UAAA,CAAAM,QAAA,GAAWO,oBAAgBD,YAAY,CAAA;IAGvCZ,UAAA,CAAAc,YAAA,CAAaC,GAAI,CAAA,GAAA,EAAKjB,WAAW,CAAA;IAG5C,OAAOE,WAAWgB,QAAS,CAAA,CAAA,CAAEC,OAAQ,CAAAjB,UAAA,CAAWkB,QAAQ,EAAE,CAAA;EAAA,CACpD,CAAA,MAAA;IAEC,OAAA,KAAA,CAAA;EAAA;AAEX,CAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"buildLanguageLink.mjs","sources":["../../../../../src/components/Header/LanguageFrame/utils/buildLanguageLink.ts"],"sourcesContent":["import type { GlobalStoreId, Language } from \"../../../../types\";\nimport { isLanguage } from \"../../../../utils/language\";\nimport { isStoreId } from \"../../../../utils/storeId\";\nimport { partsToPathname, pathnameToParts } from \"../../../../utils/url\";\n\nexport const buildLanguageLink = (\n contextStoreId: GlobalStoreId,\n languageKey: Language,\n href?: string,\n) => {\n try {\n // URL constructor throws Type error if URL is invalid\n const currentURL = new URL(href || window.location.href);\n\n // Get array with parts of pathname\n const pathParts = pathnameToParts(currentURL.pathname);\n\n /**\n * Check if store id and language are in the path /:storeId/:language/\n * remove from path array if so\n */\n const partsToRemove =\n (isStoreId(pathParts[0]) ? 1 : 0) + (isLanguage(pathParts[1]) ? 1 : 0);\n\n // Get the rest of the path\n const restOfPath = pathParts.slice(partsToRemove);\n\n // Build the new path array\n const newPathParts = [\n contextStoreId, // Use the storeId from the context\n languageKey,\n ...restOfPath,\n ];\n\n currentURL.pathname = partsToPathname(newPathParts);\n\n // Add language to the search params to trigger the language cookie update in all sites\n currentURL.searchParams.set(\"l\", languageKey);\n\n // Reconstruct the path and build the new URL\n return currentURL.toString().replace(currentURL.origin, \"\");\n } catch {\n // Fail silently\n return undefined;\n }\n};\n"],"names":["buildLanguageLink","contextStoreId","languageKey","href","currentURL","URL","window","location","pathParts","pathnameToParts","pathname","partsToRemove","isStoreId","isLanguage","restOfPath","slice","newPathParts","partsToPathname","searchParams","set","toString","replace","origin"],"mappings":";;;;AAKO,MAAMA,iBAAoB,GAAAA,CAC/BC,cACA,EAAAC,WAAA,EACAC,IACG,KAAA;EACC,IAAA;IAEF,MAAMC,aAAa,IAAIC,GAAA,CAAIF,IAAQ,IAAAG,MAAA,CAAOC,SAASJ,IAAI,CAAA;IAGjD,MAAAK,SAAA,GAAYC,eAAgB,CAAAL,UAAA,CAAWM,QAAQ,CAAA;IAMrD,MAAMC,aACH,GAAA,CAAAC,SAAA,CAAUJ,SAAU,CAAA,CAAC,CAAC,CAAA,GAAI,CAAI,GAAA,CAAA,KAAMK,UAAW,CAAAL,SAAA,CAAU,CAAC,CAAC,IAAI,CAAI,GAAA,CAAA,CAAA;IAGhE,MAAAM,UAAA,GAAaN,SAAU,CAAAO,KAAA,CAAMJ,aAAa,CAAA;IAGhD,MAAMK,YAAe,GAAA,CACnBf,cAAA;IAAA;IACAC,WAAA,EACA,GAAGY,UAAA,CACL;IAEWV,UAAA,CAAAM,QAAA,GAAWO,gBAAgBD,YAAY,CAAA;IAGvCZ,UAAA,CAAAc,YAAA,CAAaC,GAAI,CAAA,GAAA,EAAKjB,WAAW,CAAA;IAG5C,OAAOE,WAAWgB,QAAS,CAAA,CAAA,CAAEC,OAAQ,CAAAjB,UAAA,CAAWkB,QAAQ,EAAE,CAAA;EAAA,CACpD,CAAA,MAAA;IAEC,OAAA,KAAA,CAAA;EAAA;AAEX,CAAA;"}
1
+ {"version":3,"file":"buildLanguageLink.mjs","sources":["../../../../../src/components/Header/LanguageFrame/utils/buildLanguageLink.ts"],"sourcesContent":["import type { Language, StoreId } from \"../../../../types\";\nimport { isLanguage } from \"../../../../utils/language\";\nimport { isStoreId } from \"../../../../utils/storeId\";\nimport { partsToPathname, pathnameToParts } from \"../../../../utils/url\";\n\nexport const buildLanguageLink = (\n contextStoreId: StoreId,\n languageKey: Language,\n href?: string,\n) => {\n try {\n // URL constructor throws Type error if URL is invalid\n const currentURL = new URL(href || window.location.href);\n\n // Get array with parts of pathname\n const pathParts = pathnameToParts(currentURL.pathname);\n\n /**\n * Check if store id and language are in the path /:storeId/:language/\n * remove from path array if so\n */\n const partsToRemove =\n (isStoreId(pathParts[0]) ? 1 : 0) + (isLanguage(pathParts[1]) ? 1 : 0);\n\n // Get the rest of the path\n const restOfPath = pathParts.slice(partsToRemove);\n\n // Build the new path array\n const newPathParts = [\n contextStoreId, // Use the storeId from the context\n languageKey,\n ...restOfPath,\n ];\n\n currentURL.pathname = partsToPathname(newPathParts);\n\n // Add language to the search params to trigger the language cookie update in all sites\n currentURL.searchParams.set(\"l\", languageKey);\n\n // Reconstruct the path and build the new URL\n return currentURL.toString().replace(currentURL.origin, \"\");\n } catch {\n // Fail silently\n return undefined;\n }\n};\n"],"names":["buildLanguageLink","contextStoreId","languageKey","href","currentURL","URL","window","location","pathParts","pathnameToParts","pathname","partsToRemove","isStoreId","isLanguage","restOfPath","slice","newPathParts","partsToPathname","searchParams","set","toString","replace","origin"],"mappings":";;;;AAKO,MAAMA,iBAAoB,GAAAA,CAC/BC,cACA,EAAAC,WAAA,EACAC,IACG,KAAA;EACC,IAAA;IAEF,MAAMC,aAAa,IAAIC,GAAA,CAAIF,IAAQ,IAAAG,MAAA,CAAOC,SAASJ,IAAI,CAAA;IAGjD,MAAAK,SAAA,GAAYC,eAAgB,CAAAL,UAAA,CAAWM,QAAQ,CAAA;IAMrD,MAAMC,aACH,GAAA,CAAAC,SAAA,CAAUJ,SAAU,CAAA,CAAC,CAAC,CAAA,GAAI,CAAI,GAAA,CAAA,KAAMK,UAAW,CAAAL,SAAA,CAAU,CAAC,CAAC,IAAI,CAAI,GAAA,CAAA,CAAA;IAGhE,MAAAM,UAAA,GAAaN,SAAU,CAAAO,KAAA,CAAMJ,aAAa,CAAA;IAGhD,MAAMK,YAAe,GAAA,CACnBf,cAAA;IAAA;IACAC,WAAA,EACA,GAAGY,UAAA,CACL;IAEWV,UAAA,CAAAM,QAAA,GAAWO,gBAAgBD,YAAY,CAAA;IAGvCZ,UAAA,CAAAc,YAAA,CAAaC,GAAI,CAAA,GAAA,EAAKjB,WAAW,CAAA;IAG5C,OAAOE,WAAWgB,QAAS,CAAA,CAAA,CAAEC,OAAQ,CAAAjB,UAAA,CAAWkB,QAAQ,EAAE,CAAA;EAAA,CACpD,CAAA,MAAA;IAEC,OAAA,KAAA,CAAA;EAAA;AAEX,CAAA;"}
@@ -11,7 +11,7 @@ require('./assets/play.svg.js');
11
11
  var MicrositeVideoSlideshow_styles = require('./MicrositeVideoSlideshow.styles.js');
12
12
  var MicrositeSectionWrap = require('../MicrositeSectionWrap/MicrositeSectionWrap.js');
13
13
  var PlayIcon = require("../../assets/play.svg");
14
- var PauseIcon = require("../../assets/pause.svg");
14
+ var PauseIcon = require("../../assets/pause2.svg");
15
15
  var ActiveIconBox = require("../../assets/active-icon-box.svg");
16
16
  function _interopDefault(e) {
17
17
  return e && e.__esModule ? e : {
@@ -9,7 +9,7 @@ import './assets/play.svg.mjs';
9
9
  import { VideoBlock, Video, VideoControls, VideoInnerWrap, ProgressCircle, PlayIcon, PauseIcon, SlideRow, Slide, FeatureIconWrap, FeatureIconActiveBackground, FeatureIcon, FeatureTitle, MicrositeBuyButton } from './MicrositeVideoSlideshow.styles.mjs';
10
10
  import { MicrositeSectionWrap } from '../MicrositeSectionWrap/MicrositeSectionWrap.mjs';
11
11
  import PlayIcon__default from "../../assets/play.svg";
12
- import PauseIcon__default from "../../assets/pause.svg";
12
+ import PauseIcon__default from "../../assets/pause2.svg";
13
13
  import ActiveIconBox__default from "../../assets/active-icon-box.svg";
14
14
  "use strict";
15
15
  const MicrositeVideoSlideshow = ({
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var PauseIcon = require("../../../assets/pause.svg");
6
+ var PauseIcon = require("../../../assets/pause2.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../assets/pause.svg";
2
- export { default } from "../../../assets/pause.svg";
1
+ export * from "../../../assets/pause2.svg";
2
+ export { default } from "../../../assets/pause2.svg";
3
3
  //# sourceMappingURL=pause.svg.mjs.map
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
- import type { GlobalStoreId } from "../../types";
2
+ import type { StoreId } from "../../types";
3
3
  import type { ExploreProductProps, ExploreSectionId } from "../Explore/ExploreData";
4
4
  import type { MicrositeColumnFeatureProgressBarProps } from "../MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types";
5
5
  import type { MicrositeFeatureChecklistProps } from "../MicrositeFeatureChecklist";
@@ -116,7 +116,7 @@ export type MicrositePageBlocks = HeroBlockProps | ((IntroductionBlockProps | Mi
116
116
  */
117
117
  export interface MicrositesPageProps {
118
118
  blocks: MicrositePageBlocks[];
119
- storeId?: GlobalStoreId;
119
+ storeId?: StoreId;
120
120
  className?: string;
121
121
  }
122
122
  export type MicrositesPageContextValue = {
@@ -1 +1 @@
1
- {"version":3,"file":"Microsites.types.js","sources":["../../../src/components/Microsites/Microsites.types.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nimport type { GlobalStoreId } from \"../../types\";\nimport type {\n ExploreProductProps,\n ExploreSectionId,\n} from \"../Explore/ExploreData\";\nimport type { MicrositeColumnFeatureProgressBarProps } from \"../MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types\";\nimport type { MicrositeFeatureChecklistProps } from \"../MicrositeFeatureChecklist\";\nimport type { MicrositeFeatureIconProps } from \"../MicrositeFeatureIcons/MicrositeFeatureIcons.types\";\nimport type { MicrositeFeatureListProps } from \"../MicrositeFeatureList/MicrositeFeatureList.types\";\nimport type { MicrositeHeroProps } from \"../MicrositeHero/MicrositeHero.types\";\nimport type { MicrositeIntroductionBlockProps } from \"../MicrositeIntroductionBlock/MicrositeIntroductionBlock.types\";\nimport type { MicrositeMediaGridProps } from \"../MicrositeMediaGrid/MicrositeMediaGrid.types\";\nimport type { MicrositeSubSubNavigationProps } from \"../MicrositeSubSubNavigation/MicrositeSubSubNavigation.types\";\nimport type { MicrositeVideoSlideshowProps } from \"../MicrositeVideoSlideshow/MicrositeVideoSlideshow.types\";\nimport type { ModelCompareV3SectionId } from \"../ModelCompareV3/data\";\n\nexport enum MicrositeBlockType {\n Hero = \"hero\",\n SubSubNavigation = \"sub-sub-navigation\",\n Introduction = \"introduction\",\n FeatureIcons = \"feature-icons\",\n MediaGrid = \"media-grid\",\n ColumnFeatures = \"column-features\",\n VideoSlideshow = \"video-slideshow\",\n Deployment = \"deployment\",\n Compare = \"compare\",\n CompareV3 = \"compare-v3\",\n Explore = \"explore\",\n FeatureList = \"feature-list\",\n FeatureChecklist = \"feature-checklist\",\n CustomContent = \"custom-content\",\n}\n\nexport interface HeroBlockProps {\n type: MicrositeBlockType.Hero;\n data: MicrositeHeroProps;\n wrapId?: string;\n}\n\ntype SectionWrapProps = {\n title?: ReactNode;\n subTitle?: string;\n action?: ReactNode;\n afterAction?: ReactNode;\n};\n\nexport interface IntroductionBlockProps {\n type: MicrositeBlockType.Introduction;\n data: SectionWrapProps & MicrositeIntroductionBlockProps;\n}\n\nexport interface FeatureIconsProps {\n type: MicrositeBlockType.FeatureIcons;\n data: MicrositeFeatureIconProps;\n}\n\nexport interface ColumnFeaturesProps {\n type: MicrositeBlockType.ColumnFeatures;\n data: MicrositeColumnFeatureProgressBarProps;\n}\n\nexport interface MediaGridBlockProps {\n type: MicrositeBlockType.MediaGrid;\n data: SectionWrapProps & MicrositeMediaGridProps;\n}\n\nexport interface VideoSlideshowProps {\n type: MicrositeBlockType.VideoSlideshow;\n data: MicrositeVideoSlideshowProps;\n}\n\nexport interface DeploymentSectionProps {\n type: MicrositeBlockType.Deployment;\n data: SectionWrapProps & {\n image: {\n src: string;\n width: number;\n height: number;\n };\n /** Removes max-width constrain */\n fullWidth?: boolean;\n };\n}\n\n// TODO: Remove V3 when V2 and V1 is deprecated\nexport interface CompareSectionV3Props {\n type: MicrositeBlockType.CompareV3;\n data: SectionWrapProps & {\n id: ModelCompareV3SectionId;\n };\n}\n\nexport interface ExploreSectionProps {\n type: MicrositeBlockType.Explore;\n data: SectionWrapProps &\n Pick<ExploreProductProps, \"flipped\"> & {\n exploreSectionId: ExploreSectionId;\n };\n}\n\nexport interface FeatureListProps {\n type: MicrositeBlockType.FeatureList;\n data: MicrositeFeatureListProps;\n}\n\nexport interface FeatureChecklistProps {\n type: MicrositeBlockType.FeatureChecklist;\n data: SectionWrapProps & MicrositeFeatureChecklistProps;\n}\n\nexport interface CustomContent {\n type: MicrositeBlockType.CustomContent;\n data: SectionWrapProps & { content: ReactNode };\n}\n\nexport interface MicrositeSubSubNavigation {\n type: MicrositeBlockType.SubSubNavigation;\n data: MicrositeSubSubNavigationProps;\n}\n\nexport type MicrositePageBlocks =\n | HeroBlockProps\n | ((\n | IntroductionBlockProps\n | MicrositeSubSubNavigation\n | FeatureIconsProps\n | ColumnFeaturesProps\n | FeatureListProps\n | MediaGridBlockProps\n | DeploymentSectionProps\n | CompareSectionV3Props\n | ExploreSectionProps\n | VideoSlideshowProps\n | FeatureChecklistProps\n | CustomContent\n ) & {\n /**\n * Custom class name for the blocks that uses wrap\n */\n wrapClassName?: string;\n /**\n * Custom html ID for the blocks that uses wrap.\n */\n wrapId?: string;\n });\n\n/**\n * General microsite page props interface\n * Extend on each page if modification is needed\n */\nexport interface MicrositesPageProps {\n blocks: MicrositePageBlocks[];\n storeId?: GlobalStoreId;\n className?: string;\n}\n\nexport type MicrositesPageContextValue = {\n activeFullscreenType: MicrositeBlockType | null;\n setActiveFullscreenType: (type: MicrositeBlockType | null) => void;\n};\n"],"names":["MicrositeBlockType"],"mappings":";;;AAkBY,IAAAA,kBAAA,GAAA,gBAAAA,mBAAL,IAAA;EACLA,oBAAA,MAAO,CAAA,GAAA,MAAA;EACPA,oBAAA,kBAAmB,CAAA,GAAA,oBAAA;EACnBA,oBAAA,cAAe,CAAA,GAAA,cAAA;EACfA,oBAAA,cAAe,CAAA,GAAA,eAAA;EACfA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,YAAa,CAAA,GAAA,YAAA;EACbA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,aAAc,CAAA,GAAA,cAAA;EACdA,oBAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,oBAAA,eAAgB,CAAA,GAAA,gBAAA;EAdNA,OAAAA,mBAAAA;AAAA,CAAA,EAAAA,kBAAA,IAAA,CAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"Microsites.types.js","sources":["../../../src/components/Microsites/Microsites.types.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nimport type { StoreId } from \"../../types\";\nimport type {\n ExploreProductProps,\n ExploreSectionId,\n} from \"../Explore/ExploreData\";\nimport type { MicrositeColumnFeatureProgressBarProps } from \"../MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types\";\nimport type { MicrositeFeatureChecklistProps } from \"../MicrositeFeatureChecklist\";\nimport type { MicrositeFeatureIconProps } from \"../MicrositeFeatureIcons/MicrositeFeatureIcons.types\";\nimport type { MicrositeFeatureListProps } from \"../MicrositeFeatureList/MicrositeFeatureList.types\";\nimport type { MicrositeHeroProps } from \"../MicrositeHero/MicrositeHero.types\";\nimport type { MicrositeIntroductionBlockProps } from \"../MicrositeIntroductionBlock/MicrositeIntroductionBlock.types\";\nimport type { MicrositeMediaGridProps } from \"../MicrositeMediaGrid/MicrositeMediaGrid.types\";\nimport type { MicrositeSubSubNavigationProps } from \"../MicrositeSubSubNavigation/MicrositeSubSubNavigation.types\";\nimport type { MicrositeVideoSlideshowProps } from \"../MicrositeVideoSlideshow/MicrositeVideoSlideshow.types\";\nimport type { ModelCompareV3SectionId } from \"../ModelCompareV3/data\";\n\nexport enum MicrositeBlockType {\n Hero = \"hero\",\n SubSubNavigation = \"sub-sub-navigation\",\n Introduction = \"introduction\",\n FeatureIcons = \"feature-icons\",\n MediaGrid = \"media-grid\",\n ColumnFeatures = \"column-features\",\n VideoSlideshow = \"video-slideshow\",\n Deployment = \"deployment\",\n Compare = \"compare\",\n CompareV3 = \"compare-v3\",\n Explore = \"explore\",\n FeatureList = \"feature-list\",\n FeatureChecklist = \"feature-checklist\",\n CustomContent = \"custom-content\",\n}\n\nexport interface HeroBlockProps {\n type: MicrositeBlockType.Hero;\n data: MicrositeHeroProps;\n wrapId?: string;\n}\n\ntype SectionWrapProps = {\n title?: ReactNode;\n subTitle?: string;\n action?: ReactNode;\n afterAction?: ReactNode;\n};\n\nexport interface IntroductionBlockProps {\n type: MicrositeBlockType.Introduction;\n data: SectionWrapProps & MicrositeIntroductionBlockProps;\n}\n\nexport interface FeatureIconsProps {\n type: MicrositeBlockType.FeatureIcons;\n data: MicrositeFeatureIconProps;\n}\n\nexport interface ColumnFeaturesProps {\n type: MicrositeBlockType.ColumnFeatures;\n data: MicrositeColumnFeatureProgressBarProps;\n}\n\nexport interface MediaGridBlockProps {\n type: MicrositeBlockType.MediaGrid;\n data: SectionWrapProps & MicrositeMediaGridProps;\n}\n\nexport interface VideoSlideshowProps {\n type: MicrositeBlockType.VideoSlideshow;\n data: MicrositeVideoSlideshowProps;\n}\n\nexport interface DeploymentSectionProps {\n type: MicrositeBlockType.Deployment;\n data: SectionWrapProps & {\n image: {\n src: string;\n width: number;\n height: number;\n };\n /** Removes max-width constrain */\n fullWidth?: boolean;\n };\n}\n\n// TODO: Remove V3 when V2 and V1 is deprecated\nexport interface CompareSectionV3Props {\n type: MicrositeBlockType.CompareV3;\n data: SectionWrapProps & {\n id: ModelCompareV3SectionId;\n };\n}\n\nexport interface ExploreSectionProps {\n type: MicrositeBlockType.Explore;\n data: SectionWrapProps &\n Pick<ExploreProductProps, \"flipped\"> & {\n exploreSectionId: ExploreSectionId;\n };\n}\n\nexport interface FeatureListProps {\n type: MicrositeBlockType.FeatureList;\n data: MicrositeFeatureListProps;\n}\n\nexport interface FeatureChecklistProps {\n type: MicrositeBlockType.FeatureChecklist;\n data: SectionWrapProps & MicrositeFeatureChecklistProps;\n}\n\nexport interface CustomContent {\n type: MicrositeBlockType.CustomContent;\n data: SectionWrapProps & { content: ReactNode };\n}\n\nexport interface MicrositeSubSubNavigation {\n type: MicrositeBlockType.SubSubNavigation;\n data: MicrositeSubSubNavigationProps;\n}\n\nexport type MicrositePageBlocks =\n | HeroBlockProps\n | ((\n | IntroductionBlockProps\n | MicrositeSubSubNavigation\n | FeatureIconsProps\n | ColumnFeaturesProps\n | FeatureListProps\n | MediaGridBlockProps\n | DeploymentSectionProps\n | CompareSectionV3Props\n | ExploreSectionProps\n | VideoSlideshowProps\n | FeatureChecklistProps\n | CustomContent\n ) & {\n /**\n * Custom class name for the blocks that uses wrap\n */\n wrapClassName?: string;\n /**\n * Custom html ID for the blocks that uses wrap.\n */\n wrapId?: string;\n });\n\n/**\n * General microsite page props interface\n * Extend on each page if modification is needed\n */\nexport interface MicrositesPageProps {\n blocks: MicrositePageBlocks[];\n storeId?: StoreId;\n className?: string;\n}\n\nexport type MicrositesPageContextValue = {\n activeFullscreenType: MicrositeBlockType | null;\n setActiveFullscreenType: (type: MicrositeBlockType | null) => void;\n};\n"],"names":["MicrositeBlockType"],"mappings":";;;AAkBY,IAAAA,kBAAA,GAAA,gBAAAA,mBAAL,IAAA;EACLA,oBAAA,MAAO,CAAA,GAAA,MAAA;EACPA,oBAAA,kBAAmB,CAAA,GAAA,oBAAA;EACnBA,oBAAA,cAAe,CAAA,GAAA,cAAA;EACfA,oBAAA,cAAe,CAAA,GAAA,eAAA;EACfA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,YAAa,CAAA,GAAA,YAAA;EACbA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,aAAc,CAAA,GAAA,cAAA;EACdA,oBAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,oBAAA,eAAgB,CAAA,GAAA,gBAAA;EAdNA,OAAAA,mBAAAA;AAAA,CAAA,EAAAA,kBAAA,IAAA,CAAA,CAAA,CAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Microsites.types.mjs","sources":["../../../src/components/Microsites/Microsites.types.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nimport type { GlobalStoreId } from \"../../types\";\nimport type {\n ExploreProductProps,\n ExploreSectionId,\n} from \"../Explore/ExploreData\";\nimport type { MicrositeColumnFeatureProgressBarProps } from \"../MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types\";\nimport type { MicrositeFeatureChecklistProps } from \"../MicrositeFeatureChecklist\";\nimport type { MicrositeFeatureIconProps } from \"../MicrositeFeatureIcons/MicrositeFeatureIcons.types\";\nimport type { MicrositeFeatureListProps } from \"../MicrositeFeatureList/MicrositeFeatureList.types\";\nimport type { MicrositeHeroProps } from \"../MicrositeHero/MicrositeHero.types\";\nimport type { MicrositeIntroductionBlockProps } from \"../MicrositeIntroductionBlock/MicrositeIntroductionBlock.types\";\nimport type { MicrositeMediaGridProps } from \"../MicrositeMediaGrid/MicrositeMediaGrid.types\";\nimport type { MicrositeSubSubNavigationProps } from \"../MicrositeSubSubNavigation/MicrositeSubSubNavigation.types\";\nimport type { MicrositeVideoSlideshowProps } from \"../MicrositeVideoSlideshow/MicrositeVideoSlideshow.types\";\nimport type { ModelCompareV3SectionId } from \"../ModelCompareV3/data\";\n\nexport enum MicrositeBlockType {\n Hero = \"hero\",\n SubSubNavigation = \"sub-sub-navigation\",\n Introduction = \"introduction\",\n FeatureIcons = \"feature-icons\",\n MediaGrid = \"media-grid\",\n ColumnFeatures = \"column-features\",\n VideoSlideshow = \"video-slideshow\",\n Deployment = \"deployment\",\n Compare = \"compare\",\n CompareV3 = \"compare-v3\",\n Explore = \"explore\",\n FeatureList = \"feature-list\",\n FeatureChecklist = \"feature-checklist\",\n CustomContent = \"custom-content\",\n}\n\nexport interface HeroBlockProps {\n type: MicrositeBlockType.Hero;\n data: MicrositeHeroProps;\n wrapId?: string;\n}\n\ntype SectionWrapProps = {\n title?: ReactNode;\n subTitle?: string;\n action?: ReactNode;\n afterAction?: ReactNode;\n};\n\nexport interface IntroductionBlockProps {\n type: MicrositeBlockType.Introduction;\n data: SectionWrapProps & MicrositeIntroductionBlockProps;\n}\n\nexport interface FeatureIconsProps {\n type: MicrositeBlockType.FeatureIcons;\n data: MicrositeFeatureIconProps;\n}\n\nexport interface ColumnFeaturesProps {\n type: MicrositeBlockType.ColumnFeatures;\n data: MicrositeColumnFeatureProgressBarProps;\n}\n\nexport interface MediaGridBlockProps {\n type: MicrositeBlockType.MediaGrid;\n data: SectionWrapProps & MicrositeMediaGridProps;\n}\n\nexport interface VideoSlideshowProps {\n type: MicrositeBlockType.VideoSlideshow;\n data: MicrositeVideoSlideshowProps;\n}\n\nexport interface DeploymentSectionProps {\n type: MicrositeBlockType.Deployment;\n data: SectionWrapProps & {\n image: {\n src: string;\n width: number;\n height: number;\n };\n /** Removes max-width constrain */\n fullWidth?: boolean;\n };\n}\n\n// TODO: Remove V3 when V2 and V1 is deprecated\nexport interface CompareSectionV3Props {\n type: MicrositeBlockType.CompareV3;\n data: SectionWrapProps & {\n id: ModelCompareV3SectionId;\n };\n}\n\nexport interface ExploreSectionProps {\n type: MicrositeBlockType.Explore;\n data: SectionWrapProps &\n Pick<ExploreProductProps, \"flipped\"> & {\n exploreSectionId: ExploreSectionId;\n };\n}\n\nexport interface FeatureListProps {\n type: MicrositeBlockType.FeatureList;\n data: MicrositeFeatureListProps;\n}\n\nexport interface FeatureChecklistProps {\n type: MicrositeBlockType.FeatureChecklist;\n data: SectionWrapProps & MicrositeFeatureChecklistProps;\n}\n\nexport interface CustomContent {\n type: MicrositeBlockType.CustomContent;\n data: SectionWrapProps & { content: ReactNode };\n}\n\nexport interface MicrositeSubSubNavigation {\n type: MicrositeBlockType.SubSubNavigation;\n data: MicrositeSubSubNavigationProps;\n}\n\nexport type MicrositePageBlocks =\n | HeroBlockProps\n | ((\n | IntroductionBlockProps\n | MicrositeSubSubNavigation\n | FeatureIconsProps\n | ColumnFeaturesProps\n | FeatureListProps\n | MediaGridBlockProps\n | DeploymentSectionProps\n | CompareSectionV3Props\n | ExploreSectionProps\n | VideoSlideshowProps\n | FeatureChecklistProps\n | CustomContent\n ) & {\n /**\n * Custom class name for the blocks that uses wrap\n */\n wrapClassName?: string;\n /**\n * Custom html ID for the blocks that uses wrap.\n */\n wrapId?: string;\n });\n\n/**\n * General microsite page props interface\n * Extend on each page if modification is needed\n */\nexport interface MicrositesPageProps {\n blocks: MicrositePageBlocks[];\n storeId?: GlobalStoreId;\n className?: string;\n}\n\nexport type MicrositesPageContextValue = {\n activeFullscreenType: MicrositeBlockType | null;\n setActiveFullscreenType: (type: MicrositeBlockType | null) => void;\n};\n"],"names":["MicrositeBlockType"],"mappings":";;AAkBY,IAAAA,kBAAA,GAAA,gBAAAA,mBAAL,IAAA;EACLA,oBAAA,MAAO,CAAA,GAAA,MAAA;EACPA,oBAAA,kBAAmB,CAAA,GAAA,oBAAA;EACnBA,oBAAA,cAAe,CAAA,GAAA,cAAA;EACfA,oBAAA,cAAe,CAAA,GAAA,eAAA;EACfA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,YAAa,CAAA,GAAA,YAAA;EACbA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,aAAc,CAAA,GAAA,cAAA;EACdA,oBAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,oBAAA,eAAgB,CAAA,GAAA,gBAAA;EAdNA,OAAAA,mBAAAA;AAAA,CAAA,EAAAA,kBAAA,IAAA,CAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"Microsites.types.mjs","sources":["../../../src/components/Microsites/Microsites.types.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nimport type { StoreId } from \"../../types\";\nimport type {\n ExploreProductProps,\n ExploreSectionId,\n} from \"../Explore/ExploreData\";\nimport type { MicrositeColumnFeatureProgressBarProps } from \"../MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types\";\nimport type { MicrositeFeatureChecklistProps } from \"../MicrositeFeatureChecklist\";\nimport type { MicrositeFeatureIconProps } from \"../MicrositeFeatureIcons/MicrositeFeatureIcons.types\";\nimport type { MicrositeFeatureListProps } from \"../MicrositeFeatureList/MicrositeFeatureList.types\";\nimport type { MicrositeHeroProps } from \"../MicrositeHero/MicrositeHero.types\";\nimport type { MicrositeIntroductionBlockProps } from \"../MicrositeIntroductionBlock/MicrositeIntroductionBlock.types\";\nimport type { MicrositeMediaGridProps } from \"../MicrositeMediaGrid/MicrositeMediaGrid.types\";\nimport type { MicrositeSubSubNavigationProps } from \"../MicrositeSubSubNavigation/MicrositeSubSubNavigation.types\";\nimport type { MicrositeVideoSlideshowProps } from \"../MicrositeVideoSlideshow/MicrositeVideoSlideshow.types\";\nimport type { ModelCompareV3SectionId } from \"../ModelCompareV3/data\";\n\nexport enum MicrositeBlockType {\n Hero = \"hero\",\n SubSubNavigation = \"sub-sub-navigation\",\n Introduction = \"introduction\",\n FeatureIcons = \"feature-icons\",\n MediaGrid = \"media-grid\",\n ColumnFeatures = \"column-features\",\n VideoSlideshow = \"video-slideshow\",\n Deployment = \"deployment\",\n Compare = \"compare\",\n CompareV3 = \"compare-v3\",\n Explore = \"explore\",\n FeatureList = \"feature-list\",\n FeatureChecklist = \"feature-checklist\",\n CustomContent = \"custom-content\",\n}\n\nexport interface HeroBlockProps {\n type: MicrositeBlockType.Hero;\n data: MicrositeHeroProps;\n wrapId?: string;\n}\n\ntype SectionWrapProps = {\n title?: ReactNode;\n subTitle?: string;\n action?: ReactNode;\n afterAction?: ReactNode;\n};\n\nexport interface IntroductionBlockProps {\n type: MicrositeBlockType.Introduction;\n data: SectionWrapProps & MicrositeIntroductionBlockProps;\n}\n\nexport interface FeatureIconsProps {\n type: MicrositeBlockType.FeatureIcons;\n data: MicrositeFeatureIconProps;\n}\n\nexport interface ColumnFeaturesProps {\n type: MicrositeBlockType.ColumnFeatures;\n data: MicrositeColumnFeatureProgressBarProps;\n}\n\nexport interface MediaGridBlockProps {\n type: MicrositeBlockType.MediaGrid;\n data: SectionWrapProps & MicrositeMediaGridProps;\n}\n\nexport interface VideoSlideshowProps {\n type: MicrositeBlockType.VideoSlideshow;\n data: MicrositeVideoSlideshowProps;\n}\n\nexport interface DeploymentSectionProps {\n type: MicrositeBlockType.Deployment;\n data: SectionWrapProps & {\n image: {\n src: string;\n width: number;\n height: number;\n };\n /** Removes max-width constrain */\n fullWidth?: boolean;\n };\n}\n\n// TODO: Remove V3 when V2 and V1 is deprecated\nexport interface CompareSectionV3Props {\n type: MicrositeBlockType.CompareV3;\n data: SectionWrapProps & {\n id: ModelCompareV3SectionId;\n };\n}\n\nexport interface ExploreSectionProps {\n type: MicrositeBlockType.Explore;\n data: SectionWrapProps &\n Pick<ExploreProductProps, \"flipped\"> & {\n exploreSectionId: ExploreSectionId;\n };\n}\n\nexport interface FeatureListProps {\n type: MicrositeBlockType.FeatureList;\n data: MicrositeFeatureListProps;\n}\n\nexport interface FeatureChecklistProps {\n type: MicrositeBlockType.FeatureChecklist;\n data: SectionWrapProps & MicrositeFeatureChecklistProps;\n}\n\nexport interface CustomContent {\n type: MicrositeBlockType.CustomContent;\n data: SectionWrapProps & { content: ReactNode };\n}\n\nexport interface MicrositeSubSubNavigation {\n type: MicrositeBlockType.SubSubNavigation;\n data: MicrositeSubSubNavigationProps;\n}\n\nexport type MicrositePageBlocks =\n | HeroBlockProps\n | ((\n | IntroductionBlockProps\n | MicrositeSubSubNavigation\n | FeatureIconsProps\n | ColumnFeaturesProps\n | FeatureListProps\n | MediaGridBlockProps\n | DeploymentSectionProps\n | CompareSectionV3Props\n | ExploreSectionProps\n | VideoSlideshowProps\n | FeatureChecklistProps\n | CustomContent\n ) & {\n /**\n * Custom class name for the blocks that uses wrap\n */\n wrapClassName?: string;\n /**\n * Custom html ID for the blocks that uses wrap.\n */\n wrapId?: string;\n });\n\n/**\n * General microsite page props interface\n * Extend on each page if modification is needed\n */\nexport interface MicrositesPageProps {\n blocks: MicrositePageBlocks[];\n storeId?: StoreId;\n className?: string;\n}\n\nexport type MicrositesPageContextValue = {\n activeFullscreenType: MicrositeBlockType | null;\n setActiveFullscreenType: (type: MicrositeBlockType | null) => void;\n};\n"],"names":["MicrositeBlockType"],"mappings":";;AAkBY,IAAAA,kBAAA,GAAA,gBAAAA,mBAAL,IAAA;EACLA,oBAAA,MAAO,CAAA,GAAA,MAAA;EACPA,oBAAA,kBAAmB,CAAA,GAAA,oBAAA;EACnBA,oBAAA,cAAe,CAAA,GAAA,cAAA;EACfA,oBAAA,cAAe,CAAA,GAAA,eAAA;EACfA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,oBAAA,YAAa,CAAA,GAAA,YAAA;EACbA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,oBAAA,SAAU,CAAA,GAAA,SAAA;EACVA,oBAAA,aAAc,CAAA,GAAA,cAAA;EACdA,oBAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,oBAAA,eAAgB,CAAA,GAAA,gBAAA;EAdNA,OAAAA,mBAAAA;AAAA,CAAA,EAAAA,kBAAA,IAAA,CAAA,CAAA,CAAA;"}
@@ -1,7 +1,7 @@
1
1
  import type { StaticImageData } from "next/image";
2
2
  import type { ReactNode } from "react";
3
3
  import type { SiteUrl } from "../../contexts/MenuContext/mapping";
4
- import type { GlobalStoreId } from "../../types";
4
+ import type { StoreId } from "../../types";
5
5
  import type { BadgeVariants } from "../Badge/Badge.types";
6
6
  import type { en as EN_TRANSLATION } from "./translations";
7
7
  export type TranslationKey = keyof typeof EN_TRANSLATION;
@@ -511,19 +511,19 @@ export declare enum ProductGroupId {
511
511
  }
512
512
  type TranslationValue = {
513
513
  type: "translation";
514
- value: ((storeId: GlobalStoreId) => TranslationKey) | TranslationKey;
514
+ value: ((storeId: StoreId) => TranslationKey) | TranslationKey;
515
515
  };
516
516
  type StringValue = {
517
517
  type: "string";
518
- value: ((storeId: GlobalStoreId) => string) | string;
518
+ value: ((storeId: StoreId) => string) | string;
519
519
  };
520
520
  type BooleanValue = {
521
521
  type: "boolean";
522
- value: ((storeId: GlobalStoreId) => boolean) | boolean;
522
+ value: ((storeId: StoreId) => boolean) | boolean;
523
523
  };
524
524
  type CustomValue = {
525
525
  type: "custom";
526
- value: ((storeId: GlobalStoreId) => ReactNode) | ReactNode;
526
+ value: ((storeId: StoreId) => ReactNode) | ReactNode;
527
527
  };
528
528
  export type PropertyValue = {
529
529
  /**
@@ -564,7 +564,7 @@ export type Product = {
564
564
  /**
565
565
  * Renders "Buy Now" button
566
566
  */
567
- storePathParts?: StorePathParts | ((storeId: GlobalStoreId) => StorePathParts | undefined);
567
+ storePathParts?: StorePathParts | ((storeId: StoreId) => StorePathParts | undefined);
568
568
  /**
569
569
  * By sku (name) we can find product in the store
570
570
  */
@@ -580,8 +580,8 @@ export type Product = {
580
580
  *
581
581
  * Can be list of store IDs to show badge only for specific stores or `true` to show for all stores
582
582
  */
583
- isComingSoon?: GlobalStoreId[] | boolean;
584
- comingSoonButtonText?: TranslationKey | ((storeId: GlobalStoreId) => TranslationKey | undefined);
583
+ isComingSoon?: StoreId[] | boolean;
584
+ comingSoonButtonText?: TranslationKey | ((storeId: StoreId) => TranslationKey | undefined);
585
585
  /** Add "New" badge */
586
586
  isNew?: boolean;
587
587
  /**
@@ -602,7 +602,7 @@ export type Product = {
602
602
  /**
603
603
  * Footnotes
604
604
  */
605
- footnotes?: (TranslationKey | ((storeId: GlobalStoreId) => TranslationKey | undefined))[];
605
+ footnotes?: (TranslationKey | ((storeId: StoreId) => TranslationKey | undefined))[];
606
606
  productNote?: TranslationKey;
607
607
  };
608
608
  export type MutatedProduct = Omit<Product, "propertyValues" | "footnotes"> & {
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_C67ZjbP3 = require("../../../../assets/ai-pro.jpg");
6
+ var _externalAssets_DE_KEpbN = require("../../../../assets/ai-pro.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_C67ZjbP3__default = /*#__PURE__*/_interopDefault(_externalAssets_C67ZjbP3);
12
+ var _externalAssets_DE_KEpbN__default = /*#__PURE__*/_interopDefault(_externalAssets_DE_KEpbN);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_C67ZjbP3__default["default"];
16
+ return _externalAssets_DE_KEpbN__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_C67ZjbP3).forEach(function (k) {
19
+ Object.keys(_externalAssets_DE_KEpbN).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_C67ZjbP3[k];
23
+ return _externalAssets_DE_KEpbN[k];
24
24
  }
25
25
  });
26
26
  });
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_OxyhFnsm = require("../../../../assets/g4-instant.jpg");
6
+ var _externalAssets_CLe_B3fJ = require("../../../../assets/g4-instant.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_OxyhFnsm__default = /*#__PURE__*/_interopDefault(_externalAssets_OxyhFnsm);
12
+ var _externalAssets_CLe_B3fJ__default = /*#__PURE__*/_interopDefault(_externalAssets_CLe_B3fJ);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_OxyhFnsm__default["default"];
16
+ return _externalAssets_CLe_B3fJ__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_OxyhFnsm).forEach(function (k) {
19
+ Object.keys(_externalAssets_CLe_B3fJ).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_OxyhFnsm[k];
23
+ return _externalAssets_CLe_B3fJ[k];
24
24
  }
25
25
  });
26
26
  });
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_DMd7EED0 = require("../../../../assets/g5-flex.jpg");
6
+ var _externalAssets_C_X1M7Gx = require("../../../../assets/g5-flex.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_DMd7EED0__default = /*#__PURE__*/_interopDefault(_externalAssets_DMd7EED0);
12
+ var _externalAssets_C_X1M7Gx__default = /*#__PURE__*/_interopDefault(_externalAssets_C_X1M7Gx);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_DMd7EED0__default["default"];
16
+ return _externalAssets_C_X1M7Gx__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_DMd7EED0).forEach(function (k) {
19
+ Object.keys(_externalAssets_C_X1M7Gx).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_DMd7EED0[k];
23
+ return _externalAssets_C_X1M7Gx[k];
24
24
  }
25
25
  });
26
26
  });
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_Bj5Sy_P0 = require("../../../../assets/g5-pro.jpg");
6
+ var _externalAssets_Bhte2WyU = require("../../../../assets/g5-pro.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_Bj5Sy_P0__default = /*#__PURE__*/_interopDefault(_externalAssets_Bj5Sy_P0);
12
+ var _externalAssets_Bhte2WyU__default = /*#__PURE__*/_interopDefault(_externalAssets_Bhte2WyU);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_Bj5Sy_P0__default["default"];
16
+ return _externalAssets_Bhte2WyU__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_Bj5Sy_P0).forEach(function (k) {
19
+ Object.keys(_externalAssets_Bhte2WyU).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_Bj5Sy_P0[k];
23
+ return _externalAssets_Bhte2WyU[k];
24
24
  }
25
25
  });
26
26
  });
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_DTQDrfup = require("../../../../assets/g6-bullet.jpg");
6
+ var _externalAssets_BdQPOcOt = require("../../../../assets/g6-bullet.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_DTQDrfup__default = /*#__PURE__*/_interopDefault(_externalAssets_DTQDrfup);
12
+ var _externalAssets_BdQPOcOt__default = /*#__PURE__*/_interopDefault(_externalAssets_BdQPOcOt);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_DTQDrfup__default["default"];
16
+ return _externalAssets_BdQPOcOt__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_DTQDrfup).forEach(function (k) {
19
+ Object.keys(_externalAssets_BdQPOcOt).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_DTQDrfup[k];
23
+ return _externalAssets_BdQPOcOt[k];
24
24
  }
25
25
  });
26
26
  });
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_Bj4hTFEI = require("../../../../assets/g6-instant.jpg");
6
+ var _externalAssets_Bh9kXy6H = require("../../../../assets/g6-instant.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_Bj4hTFEI__default = /*#__PURE__*/_interopDefault(_externalAssets_Bj4hTFEI);
12
+ var _externalAssets_Bh9kXy6H__default = /*#__PURE__*/_interopDefault(_externalAssets_Bh9kXy6H);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_Bj4hTFEI__default["default"];
16
+ return _externalAssets_Bh9kXy6H__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_Bj4hTFEI).forEach(function (k) {
19
+ Object.keys(_externalAssets_Bh9kXy6H).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_Bj4hTFEI[k];
23
+ return _externalAssets_Bh9kXy6H[k];
24
24
  }
25
25
  });
26
26
  });