@ubnt/store.core 11.20.0-test.0 → 11.20.0-test.2

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 (655) hide show
  1. package/lib/assets/ai-turret.jpg +0 -0
  2. package/lib/assets/ai-turret2.jpg +0 -0
  3. package/lib/assets/door-hub-mini.jpg +0 -0
  4. package/lib/assets/door-hub-mini2.jpg +0 -0
  5. package/lib/assets/door-hub.jpg +0 -0
  6. package/lib/assets/door-hub2.jpg +0 -0
  7. package/lib/assets/g2-reader-pro.jpg +0 -0
  8. package/lib/assets/g2-reader-pro2.jpg +0 -0
  9. package/lib/assets/g3-reader-flex.jpg +0 -0
  10. package/lib/assets/g3-reader-flex2.jpg +0 -0
  11. package/lib/assets/g3-reader.jpg +0 -0
  12. package/lib/assets/g3-reader2.jpg +0 -0
  13. package/lib/assets/g3-starter-kit.jpg +0 -0
  14. package/lib/assets/g3-starter-kit2.jpg +0 -0
  15. package/lib/assets/g5-bullet.jpg +0 -0
  16. package/lib/assets/g5-bullet2.jpg +0 -0
  17. package/lib/assets/g5-flex.jpg +0 -0
  18. package/lib/assets/g5-flex2.jpg +0 -0
  19. package/lib/assets/g5-ptz.jpg +0 -0
  20. package/lib/assets/g5-ptz2.jpg +0 -0
  21. package/lib/assets/intercom.jpg +0 -0
  22. package/lib/assets/intercom2.jpg +0 -0
  23. package/lib/assets/interior-design.svg +1 -1
  24. package/lib/assets/interior-design2.svg +1 -1
  25. package/lib/assets/minus.svg +1 -1
  26. package/lib/assets/minus2.svg +1 -1
  27. package/lib/assets/plus4.svg +1 -1
  28. package/lib/assets/plus5.svg +1 -1
  29. package/lib/components/Accordion/Accordion.styles.js +11 -5
  30. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  31. package/lib/components/Accordion/Accordion.styles.mjs +1 -1
  32. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  33. package/lib/components/Avatar/Avatar.styles.js +7 -1
  34. package/lib/components/Avatar/Avatar.styles.js.map +1 -1
  35. package/lib/components/Avatar/Avatar.styles.mjs +1 -1
  36. package/lib/components/Avatar/Avatar.styles.mjs.map +1 -1
  37. package/lib/components/BackInStock/BackInStock.styles.js +12 -6
  38. package/lib/components/BackInStock/BackInStock.styles.js.map +1 -1
  39. package/lib/components/BackInStock/BackInStock.styles.mjs +1 -1
  40. package/lib/components/BackInStock/BackInStock.styles.mjs.map +1 -1
  41. package/lib/components/Badge/Badge.styles.js +7 -1
  42. package/lib/components/Badge/Badge.styles.js.map +1 -1
  43. package/lib/components/Badge/Badge.styles.mjs +1 -1
  44. package/lib/components/Badge/Badge.styles.mjs.map +1 -1
  45. package/lib/components/Button/Button.styles.js +9 -3
  46. package/lib/components/Button/Button.styles.js.map +1 -1
  47. package/lib/components/Button/Button.styles.mjs +1 -1
  48. package/lib/components/Button/Button.styles.mjs.map +1 -1
  49. package/lib/components/Button/CartButton.styles.js +12 -6
  50. package/lib/components/Button/CartButton.styles.js.map +1 -1
  51. package/lib/components/Button/CartButton.styles.mjs +1 -1
  52. package/lib/components/Button/CartButton.styles.mjs.map +1 -1
  53. package/lib/components/ButtonGroup/ButtonGroup.styles.js +12 -6
  54. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  55. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +1 -1
  56. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  57. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +9 -3
  58. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  59. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +1 -1
  60. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  61. package/lib/components/CardSection/Card/Card.styles.js +14 -8
  62. package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
  63. package/lib/components/CardSection/Card/Card.styles.mjs +1 -1
  64. package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
  65. package/lib/components/CardSection/CardSection.styles.js +10 -4
  66. package/lib/components/CardSection/CardSection.styles.js.map +1 -1
  67. package/lib/components/CardSection/CardSection.styles.mjs +1 -1
  68. package/lib/components/CardSection/CardSection.styles.mjs.map +1 -1
  69. package/lib/components/CategoryTabs/CategoryTabs.styles.js +12 -6
  70. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  71. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +1 -1
  72. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  73. package/lib/components/Checkbox/Checkbox.styles.js +9 -3
  74. package/lib/components/Checkbox/Checkbox.styles.js.map +1 -1
  75. package/lib/components/Checkbox/Checkbox.styles.mjs +1 -1
  76. package/lib/components/Checkbox/Checkbox.styles.mjs.map +1 -1
  77. package/lib/components/Container/Container.styles.js +8 -2
  78. package/lib/components/Container/Container.styles.js.map +1 -1
  79. package/lib/components/Container/Container.styles.mjs +1 -1
  80. package/lib/components/Container/Container.styles.mjs.map +1 -1
  81. package/lib/components/CustomImage/CustomImage.styles.js +14 -8
  82. package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
  83. package/lib/components/CustomImage/CustomImage.styles.mjs +1 -1
  84. package/lib/components/CustomImage/CustomImage.styles.mjs.map +1 -1
  85. package/lib/components/Explore/Explore.styles.js +27 -21
  86. package/lib/components/Explore/Explore.styles.js.map +1 -1
  87. package/lib/components/Explore/Explore.styles.mjs +1 -1
  88. package/lib/components/Explore/Explore.styles.mjs.map +1 -1
  89. package/lib/components/Footer/Footer.styles.js +34 -28
  90. package/lib/components/Footer/Footer.styles.js.map +1 -1
  91. package/lib/components/Footer/Footer.styles.mjs +1 -1
  92. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  93. package/lib/components/GradientButton/GradientButton.styles.js +8 -2
  94. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  95. package/lib/components/GradientButton/GradientButton.styles.mjs +1 -1
  96. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  97. package/lib/components/GridGallery/GridModal/GridModal.styles.js +10 -4
  98. package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
  99. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +1 -1
  100. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
  101. package/lib/components/Header/AccountFrame/AccountFrame.styles.js +16 -10
  102. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  103. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +1 -1
  104. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  105. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js +9 -3
  106. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js.map +1 -1
  107. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.mjs +1 -1
  108. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.mjs.map +1 -1
  109. package/lib/components/Header/AccountMenu/AccountMenu.styles.js +13 -7
  110. package/lib/components/Header/AccountMenu/AccountMenu.styles.js.map +1 -1
  111. package/lib/components/Header/AccountMenu/AccountMenu.styles.mjs +1 -1
  112. package/lib/components/Header/AccountMenu/AccountMenu.styles.mjs.map +1 -1
  113. package/lib/components/Header/CartIcon/CartIcon.styles.js +8 -2
  114. package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -1
  115. package/lib/components/Header/CartIcon/CartIcon.styles.mjs +1 -1
  116. package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -1
  117. package/lib/components/Header/CartModal/Empty/Empty.styles.js +7 -1
  118. package/lib/components/Header/CartModal/Empty/Empty.styles.js.map +1 -1
  119. package/lib/components/Header/CartModal/Empty/Empty.styles.mjs +1 -1
  120. package/lib/components/Header/CartModal/Empty/Empty.styles.mjs.map +1 -1
  121. package/lib/components/Header/CartModalV2/CartModal.styles.js +23 -17
  122. package/lib/components/Header/CartModalV2/CartModal.styles.js.map +1 -1
  123. package/lib/components/Header/CartModalV2/CartModal.styles.mjs +1 -1
  124. package/lib/components/Header/CartModalV2/CartModal.styles.mjs.map +1 -1
  125. package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
  126. package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
  127. package/lib/components/Header/CartModalV2/Item/Item.styles.js +18 -12
  128. package/lib/components/Header/CartModalV2/Item/Item.styles.js.map +1 -1
  129. package/lib/components/Header/CartModalV2/Item/Item.styles.mjs +1 -1
  130. package/lib/components/Header/CartModalV2/Item/Item.styles.mjs.map +1 -1
  131. package/lib/components/Header/Header.styles.js +33 -27
  132. package/lib/components/Header/Header.styles.js.map +1 -1
  133. package/lib/components/Header/Header.styles.mjs +1 -1
  134. package/lib/components/Header/Header.styles.mjs.map +1 -1
  135. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +13 -7
  136. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  137. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +1 -1
  138. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  139. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js +9 -3
  140. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js.map +1 -1
  141. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.mjs +1 -1
  142. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.mjs.map +1 -1
  143. package/lib/components/Header/MenuItem/MenuItem.styles.js +13 -7
  144. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  145. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +1 -1
  146. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  147. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js +16 -10
  148. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js.map +1 -1
  149. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.mjs +1 -1
  150. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.mjs.map +1 -1
  151. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +15 -9
  152. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
  153. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +1 -1
  154. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
  155. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +18 -12
  156. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  157. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +1 -1
  158. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  159. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +23 -17
  160. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  161. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +1 -1
  162. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  163. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +12 -6
  164. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  165. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +1 -1
  166. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  167. package/lib/components/Header/Overlay/Overlay.styles.js +7 -1
  168. package/lib/components/Header/Overlay/Overlay.styles.js.map +1 -1
  169. package/lib/components/Header/Overlay/Overlay.styles.mjs +1 -1
  170. package/lib/components/Header/Overlay/Overlay.styles.mjs.map +1 -1
  171. package/lib/components/Header/ProHeader/ProHeader.styles.js +36 -30
  172. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  173. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
  174. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  175. package/lib/components/HeroVideo/HeroVideo.styles.js +11 -5
  176. package/lib/components/HeroVideo/HeroVideo.styles.js.map +1 -1
  177. package/lib/components/HeroVideo/HeroVideo.styles.mjs +1 -1
  178. package/lib/components/HeroVideo/HeroVideo.styles.mjs.map +1 -1
  179. package/lib/components/ImageCarousel/ImageCarousel.styles.js +30 -24
  180. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  181. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +1 -1
  182. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  183. package/lib/components/ImageSequence/ImageSequence.styles.js +14 -8
  184. package/lib/components/ImageSequence/ImageSequence.styles.js.map +1 -1
  185. package/lib/components/ImageSequence/ImageSequence.styles.mjs +1 -1
  186. package/lib/components/ImageSequence/ImageSequence.styles.mjs.map +1 -1
  187. package/lib/components/InputSelect/InputSelect.styles.js +9 -3
  188. package/lib/components/InputSelect/InputSelect.styles.js.map +1 -1
  189. package/lib/components/InputSelect/InputSelect.styles.mjs +1 -1
  190. package/lib/components/InputSelect/InputSelect.styles.mjs.map +1 -1
  191. package/lib/components/LearnMoreLink/LearnMoreLink.styles.js +7 -1
  192. package/lib/components/LearnMoreLink/LearnMoreLink.styles.js.map +1 -1
  193. package/lib/components/LearnMoreLink/LearnMoreLink.styles.mjs +1 -1
  194. package/lib/components/LearnMoreLink/LearnMoreLink.styles.mjs.map +1 -1
  195. package/lib/components/LoaderDots/LoaderDots.styles.js +7 -1
  196. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  197. package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -1
  198. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  199. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js +12 -6
  200. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js.map +1 -1
  201. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.mjs +1 -1
  202. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.mjs.map +1 -1
  203. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js +25 -19
  204. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js.map +1 -1
  205. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.mjs +1 -1
  206. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.mjs.map +1 -1
  207. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js +14 -8
  208. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -1
  209. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs +1 -1
  210. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -1
  211. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +8 -2
  212. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
  213. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +1 -1
  214. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
  215. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js +11 -5
  216. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js.map +1 -1
  217. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.mjs +1 -1
  218. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.mjs.map +1 -1
  219. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js +13 -7
  220. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
  221. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs +1 -1
  222. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs.map +1 -1
  223. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +18 -12
  224. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
  225. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +1 -1
  226. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
  227. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js +14 -8
  228. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js.map +1 -1
  229. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.mjs +1 -1
  230. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.mjs.map +1 -1
  231. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js +18 -12
  232. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
  233. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs +1 -1
  234. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs.map +1 -1
  235. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +19 -13
  236. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
  237. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +1 -1
  238. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
  239. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +20 -14
  240. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +1 -1
  241. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs +1 -1
  242. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs.map +1 -1
  243. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js +19 -13
  244. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
  245. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs +1 -1
  246. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
  247. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js +24 -18
  248. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js.map +1 -1
  249. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.mjs +1 -1
  250. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.mjs.map +1 -1
  251. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js +21 -15
  252. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js.map +1 -1
  253. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.mjs +1 -1
  254. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.mjs.map +1 -1
  255. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +3 -3
  256. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.mjs +2 -2
  257. package/lib/components/MicrositeHero/MicrositeHero.styles.js +37 -31
  258. package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
  259. package/lib/components/MicrositeHero/MicrositeHero.styles.mjs +1 -1
  260. package/lib/components/MicrositeHero/MicrositeHero.styles.mjs.map +1 -1
  261. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js +11 -5
  262. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js.map +1 -1
  263. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.mjs +1 -1
  264. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.mjs.map +1 -1
  265. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +17 -11
  266. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
  267. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +1 -1
  268. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
  269. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js +17 -11
  270. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
  271. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs +1 -1
  272. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs.map +1 -1
  273. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +16 -10
  274. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
  275. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +1 -1
  276. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
  277. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js +12 -6
  278. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js.map +1 -1
  279. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.mjs +1 -1
  280. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.mjs.map +1 -1
  281. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js +7 -1
  282. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js.map +1 -1
  283. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.mjs +1 -1
  284. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.mjs.map +1 -1
  285. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +20 -14
  286. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
  287. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +1 -1
  288. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
  289. package/lib/components/Microsites/MicrositeProductPage.styles.js +13 -7
  290. package/lib/components/Microsites/MicrositeProductPage.styles.js.map +1 -1
  291. package/lib/components/Microsites/MicrositeProductPage.styles.mjs +1 -1
  292. package/lib/components/Microsites/MicrositeProductPage.styles.mjs.map +1 -1
  293. package/lib/components/Modal/Modal.styles.js +7 -1
  294. package/lib/components/Modal/Modal.styles.js.map +1 -1
  295. package/lib/components/Modal/Modal.styles.mjs +1 -1
  296. package/lib/components/Modal/Modal.styles.mjs.map +1 -1
  297. package/lib/components/ModelCompareV3/HeaderShadow.js +9 -3
  298. package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
  299. package/lib/components/ModelCompareV3/HeaderShadow.mjs +1 -1
  300. package/lib/components/ModelCompareV3/HeaderShadow.mjs.map +1 -1
  301. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -2
  302. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js.map +1 -1
  303. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.mjs +1 -1
  304. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.mjs.map +1 -1
  305. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +11 -10
  306. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
  307. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +2 -2
  308. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs.map +1 -1
  309. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +34 -28
  310. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  311. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +1 -1
  312. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  313. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +12 -6
  314. package/lib/components/ModelCompareV3/ProductGroupsGrid.js.map +1 -1
  315. package/lib/components/ModelCompareV3/ProductGroupsGrid.mjs +1 -1
  316. package/lib/components/ModelCompareV3/ProductGroupsGrid.mjs.map +1 -1
  317. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -1
  318. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
  319. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs +1 -1
  320. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs.map +1 -1
  321. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +7 -1
  322. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js.map +1 -1
  323. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.mjs +1 -1
  324. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.mjs.map +1 -1
  325. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +8 -2
  326. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js.map +1 -1
  327. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.mjs +1 -1
  328. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.mjs.map +1 -1
  329. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +7 -1
  330. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
  331. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs +1 -1
  332. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs.map +1 -1
  333. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js +8 -2
  334. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
  335. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs +1 -1
  336. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs.map +1 -1
  337. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js +3 -2
  338. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js.map +1 -1
  339. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.mjs +1 -1
  340. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.mjs.map +1 -1
  341. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js +9 -3
  342. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js.map +1 -1
  343. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.mjs +1 -1
  344. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.mjs.map +1 -1
  345. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js +11 -10
  346. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js.map +1 -1
  347. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.mjs +2 -2
  348. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.mjs.map +1 -1
  349. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js +7 -1
  350. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js.map +1 -1
  351. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.mjs +1 -1
  352. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.mjs.map +1 -1
  353. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js +7 -1
  354. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js.map +1 -1
  355. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.mjs +1 -1
  356. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.mjs.map +1 -1
  357. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +8 -2
  358. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js.map +1 -1
  359. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs +1 -1
  360. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs.map +1 -1
  361. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js +7 -1
  362. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js.map +1 -1
  363. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.mjs +1 -1
  364. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.mjs.map +1 -1
  365. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js +8 -2
  366. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js.map +1 -1
  367. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.mjs +1 -1
  368. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.mjs.map +1 -1
  369. package/lib/components/ModelCompareV4/ModelCompareV4.styles.js +8 -2
  370. package/lib/components/ModelCompareV4/ModelCompareV4.styles.js.map +1 -1
  371. package/lib/components/ModelCompareV4/ModelCompareV4.styles.mjs +1 -1
  372. package/lib/components/ModelCompareV4/ModelCompareV4.styles.mjs.map +1 -1
  373. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js +10 -4
  374. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  375. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.mjs +1 -1
  376. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  377. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js +8 -2
  378. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js.map +1 -1
  379. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.mjs +1 -1
  380. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.mjs.map +1 -1
  381. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +17 -11
  382. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  383. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -1
  384. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  385. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +13 -7
  386. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -1
  387. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +1 -1
  388. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -1
  389. package/lib/components/QuantityControls/QuantityControls.styles.js +8 -2
  390. package/lib/components/QuantityControls/QuantityControls.styles.js.map +1 -1
  391. package/lib/components/QuantityControls/QuantityControls.styles.mjs +1 -1
  392. package/lib/components/QuantityControls/QuantityControls.styles.mjs.map +1 -1
  393. package/lib/components/QuantityInput/QuantityInput.styles.js +13 -7
  394. package/lib/components/QuantityInput/QuantityInput.styles.js.map +1 -1
  395. package/lib/components/QuantityInput/QuantityInput.styles.mjs +1 -1
  396. package/lib/components/QuantityInput/QuantityInput.styles.mjs.map +1 -1
  397. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js +12 -6
  398. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js.map +1 -1
  399. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.mjs +1 -1
  400. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.mjs.map +1 -1
  401. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +15 -9
  402. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
  403. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +1 -1
  404. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
  405. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +21 -15
  406. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
  407. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs +1 -1
  408. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
  409. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -5
  410. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js.map +1 -1
  411. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  412. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs.map +1 -1
  413. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js +11 -5
  414. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
  415. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs +1 -1
  416. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs.map +1 -1
  417. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js +10 -4
  418. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js.map +1 -1
  419. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.mjs +1 -1
  420. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.mjs.map +1 -1
  421. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +4 -3
  422. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js.map +1 -1
  423. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.mjs +1 -1
  424. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.mjs.map +1 -1
  425. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  426. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  427. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js +8 -2
  428. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js.map +1 -1
  429. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.mjs +1 -1
  430. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.mjs.map +1 -1
  431. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js +13 -7
  432. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js.map +1 -1
  433. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.mjs +1 -1
  434. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.mjs.map +1 -1
  435. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js +7 -1
  436. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js.map +1 -1
  437. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.mjs +1 -1
  438. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.mjs.map +1 -1
  439. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js +6 -5
  440. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js.map +1 -1
  441. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.mjs +1 -1
  442. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.mjs.map +1 -1
  443. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js +13 -7
  444. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js.map +1 -1
  445. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.mjs +1 -1
  446. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.mjs.map +1 -1
  447. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
  448. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
  449. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js +22 -16
  450. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js.map +1 -1
  451. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.mjs +1 -1
  452. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.mjs.map +1 -1
  453. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js +6 -5
  454. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js.map +1 -1
  455. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.mjs +1 -1
  456. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.mjs.map +1 -1
  457. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  458. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  459. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js +21 -15
  460. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js.map +1 -1
  461. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.mjs +1 -1
  462. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.mjs.map +1 -1
  463. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js +9 -3
  464. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js.map +1 -1
  465. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.mjs +1 -1
  466. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.mjs.map +1 -1
  467. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js +9 -3
  468. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js.map +1 -1
  469. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.mjs +1 -1
  470. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.mjs.map +1 -1
  471. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js +8 -2
  472. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -1
  473. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs +1 -1
  474. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +1 -1
  475. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js +9 -3
  476. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js.map +1 -1
  477. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.mjs +1 -1
  478. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.mjs.map +1 -1
  479. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +13 -7
  480. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
  481. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs +1 -1
  482. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs.map +1 -1
  483. package/lib/components/Search/Input/Input.styles.js +12 -6
  484. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  485. package/lib/components/Search/Input/Input.styles.mjs +1 -1
  486. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  487. package/lib/components/Search/Modal/Modal.styles.js +20 -14
  488. package/lib/components/Search/Modal/Modal.styles.js.map +1 -1
  489. package/lib/components/Search/Modal/Modal.styles.mjs +1 -1
  490. package/lib/components/Search/Modal/Modal.styles.mjs.map +1 -1
  491. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js +8 -2
  492. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js.map +1 -1
  493. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.mjs +1 -1
  494. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.mjs.map +1 -1
  495. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js +8 -2
  496. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js.map +1 -1
  497. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.mjs +1 -1
  498. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.mjs.map +1 -1
  499. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js +12 -6
  500. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js.map +1 -1
  501. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.mjs +1 -1
  502. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.mjs.map +1 -1
  503. package/lib/components/StaticModal/StaticModal.styles.js +7 -1
  504. package/lib/components/StaticModal/StaticModal.styles.js.map +1 -1
  505. package/lib/components/StaticModal/StaticModal.styles.mjs +1 -1
  506. package/lib/components/StaticModal/StaticModal.styles.mjs.map +1 -1
  507. package/lib/components/StorybookUtils/StoryButtonColumn.js +7 -1
  508. package/lib/components/StorybookUtils/StoryButtonColumn.js.map +1 -1
  509. package/lib/components/StorybookUtils/StoryButtonColumn.mjs +1 -1
  510. package/lib/components/StorybookUtils/StoryButtonColumn.mjs.map +1 -1
  511. package/lib/components/StorybookUtils/StoryButtonRow.js +7 -1
  512. package/lib/components/StorybookUtils/StoryButtonRow.js.map +1 -1
  513. package/lib/components/StorybookUtils/StoryButtonRow.mjs +1 -1
  514. package/lib/components/StorybookUtils/StoryButtonRow.mjs.map +1 -1
  515. package/lib/components/StorybookUtils/StorySection.js +8 -2
  516. package/lib/components/StorybookUtils/StorySection.js.map +1 -1
  517. package/lib/components/StorybookUtils/StorySection.mjs +1 -1
  518. package/lib/components/StorybookUtils/StorySection.mjs.map +1 -1
  519. package/lib/components/StorybookUtils/StoryVariants.js +10 -4
  520. package/lib/components/StorybookUtils/StoryVariants.js.map +1 -1
  521. package/lib/components/StorybookUtils/StoryVariants.mjs +1 -1
  522. package/lib/components/StorybookUtils/StoryVariants.mjs.map +1 -1
  523. package/lib/components/StorybookUtils/StoryWrapper.js +7 -1
  524. package/lib/components/StorybookUtils/StoryWrapper.js.map +1 -1
  525. package/lib/components/StorybookUtils/StoryWrapper.mjs +1 -1
  526. package/lib/components/StorybookUtils/StoryWrapper.mjs.map +1 -1
  527. package/lib/components/StyleableSvgImage/StyleableSvgImage.js +7 -1
  528. package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
  529. package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs +1 -1
  530. package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs.map +1 -1
  531. package/lib/components/Toggle/Toggle.styles.js +8 -2
  532. package/lib/components/Toggle/Toggle.styles.js.map +1 -1
  533. package/lib/components/Toggle/Toggle.styles.mjs +1 -1
  534. package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
  535. package/lib/components/UICare/UICare.styles.js +17 -11
  536. package/lib/components/UICare/UICare.styles.js.map +1 -1
  537. package/lib/components/UICare/UICare.styles.mjs +1 -1
  538. package/lib/components/UICare/UICare.styles.mjs.map +1 -1
  539. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +23 -17
  540. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
  541. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +1 -1
  542. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
  543. package/lib/constants/icons/generic/index.js +3 -3
  544. package/lib/constants/icons/generic/index.mjs +1 -1
  545. package/lib/constants/icons/generic/minus.svg.js +5 -5
  546. package/lib/constants/icons/generic/minus.svg.mjs +2 -2
  547. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
  548. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
  549. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.js +1 -1
  550. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.mjs +2 -2
  551. package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
  552. package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
  553. package/lib/constants/modelCompareData/assets/DoorAccess/door-hub-mini.jpg.js +1 -1
  554. package/lib/constants/modelCompareData/assets/DoorAccess/door-hub-mini.jpg.mjs +2 -2
  555. package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.js +1 -1
  556. package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.mjs +2 -2
  557. package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.js +1 -1
  558. package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.mjs +2 -2
  559. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-flex.jpg.js +1 -1
  560. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-flex.jpg.mjs +2 -2
  561. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.jpg.js +1 -1
  562. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.jpg.mjs +2 -2
  563. package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.js +1 -1
  564. package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.mjs +2 -2
  565. package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.js +1 -1
  566. package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.mjs +2 -2
  567. package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.js +1 -1
  568. package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.mjs +2 -2
  569. package/lib/constants/modelCompareData/assets/interior-design.svg.js +1 -1
  570. package/lib/constants/modelCompareData/assets/interior-design.svg.mjs +2 -2
  571. package/lib/constants/modelCompareData/assets/minus.svg.js +1 -1
  572. package/lib/constants/modelCompareData/assets/minus.svg.mjs +2 -2
  573. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
  574. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
  575. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.js +1 -1
  576. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.mjs +2 -2
  577. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
  578. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
  579. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub-mini.jpg.js +1 -1
  580. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub-mini.jpg.mjs +2 -2
  581. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.js +1 -1
  582. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.mjs +2 -2
  583. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.js +1 -1
  584. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.mjs +2 -2
  585. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-flex.jpg.js +1 -1
  586. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-flex.jpg.mjs +2 -2
  587. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.jpg.js +1 -1
  588. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.jpg.mjs +2 -2
  589. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.js +1 -1
  590. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.mjs +2 -2
  591. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.js +1 -1
  592. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.mjs +2 -2
  593. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.js +1 -1
  594. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.mjs +2 -2
  595. package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.js +1 -1
  596. package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.mjs +2 -2
  597. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.js +1 -1
  598. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.mjs +1 -1
  599. package/lib/constants/modelCompareData/data/product-list-groups/interiorDesign.js +1 -1
  600. package/lib/constants/modelCompareData/data/product-list-groups/interiorDesign.mjs +1 -1
  601. package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
  602. package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
  603. package/lib/constants/modelCompareData/data/products/doorHub.js +2 -2
  604. package/lib/constants/modelCompareData/data/products/doorHub.mjs +2 -2
  605. package/lib/constants/modelCompareData/data/products/doorHubMini.js +2 -2
  606. package/lib/constants/modelCompareData/data/products/doorHubMini.mjs +2 -2
  607. package/lib/constants/modelCompareData/data/products/efg.js +2 -1
  608. package/lib/constants/modelCompareData/data/products/efg.js.map +1 -1
  609. package/lib/constants/modelCompareData/data/products/efg.mjs +1 -1
  610. package/lib/constants/modelCompareData/data/products/efg.mjs.map +1 -1
  611. package/lib/constants/modelCompareData/data/products/express.js +2 -1
  612. package/lib/constants/modelCompareData/data/products/express.js.map +1 -1
  613. package/lib/constants/modelCompareData/data/products/express.mjs +1 -1
  614. package/lib/constants/modelCompareData/data/products/express.mjs.map +1 -1
  615. package/lib/constants/modelCompareData/data/products/express7.js +2 -1
  616. package/lib/constants/modelCompareData/data/products/express7.js.map +1 -1
  617. package/lib/constants/modelCompareData/data/products/express7.mjs +1 -1
  618. package/lib/constants/modelCompareData/data/products/express7.mjs.map +1 -1
  619. package/lib/constants/modelCompareData/data/products/g2ReaderPro.js +2 -2
  620. package/lib/constants/modelCompareData/data/products/g2ReaderPro.mjs +2 -2
  621. package/lib/constants/modelCompareData/data/products/g3Reader.js +2 -2
  622. package/lib/constants/modelCompareData/data/products/g3Reader.mjs +2 -2
  623. package/lib/constants/modelCompareData/data/products/g3ReaderFlex.js +2 -2
  624. package/lib/constants/modelCompareData/data/products/g3ReaderFlex.mjs +2 -2
  625. package/lib/constants/modelCompareData/data/products/g3StarterKit.js +2 -2
  626. package/lib/constants/modelCompareData/data/products/g3StarterKit.mjs +2 -2
  627. package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
  628. package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
  629. package/lib/constants/modelCompareData/data/products/g5Flex.js +2 -2
  630. package/lib/constants/modelCompareData/data/products/g5Flex.mjs +2 -2
  631. package/lib/constants/modelCompareData/data/products/g5Ptz.js +2 -2
  632. package/lib/constants/modelCompareData/data/products/g5Ptz.mjs +2 -2
  633. package/lib/constants/modelCompareData/data/products/intercom.js +2 -2
  634. package/lib/constants/modelCompareData/data/products/intercom.mjs +2 -2
  635. package/lib/constants/modelCompareData/data/products/ucgUltra.js +2 -1
  636. package/lib/constants/modelCompareData/data/products/ucgUltra.js.map +1 -1
  637. package/lib/constants/modelCompareData/data/products/ucgUltra.mjs +1 -1
  638. package/lib/constants/modelCompareData/data/products/ucgUltra.mjs.map +1 -1
  639. package/lib/constants/modelCompareData/data/products/udr.js +5 -4
  640. package/lib/constants/modelCompareData/data/products/udr.js.map +1 -1
  641. package/lib/constants/modelCompareData/data/products/udr.mjs +1 -1
  642. package/lib/constants/modelCompareData/data/products/udr.mjs.map +1 -1
  643. package/lib/constants/modelCompareData/data/products/uispSwitch.js +2 -1
  644. package/lib/constants/modelCompareData/data/products/uispSwitch.js.map +1 -1
  645. package/lib/constants/modelCompareData/data/products/uispSwitch.mjs +1 -1
  646. package/lib/constants/modelCompareData/data/products/uispSwitch.mjs.map +1 -1
  647. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js +2 -1
  648. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js.map +1 -1
  649. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.mjs +1 -1
  650. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.mjs.map +1 -1
  651. package/lib/utils/nextjs/plugin.js +3 -1
  652. package/lib/utils/nextjs/plugin.js.map +1 -1
  653. package/lib/utils/nextjs/plugin.mjs +3 -1
  654. package/lib/utils/nextjs/plugin.mjs.map +1 -1
  655. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { useCallback, useMemo } from 'react';
3
- import { styled } from 'styled-components';
3
+ import styled from 'styled-components';
4
4
  import '../../constants/modelCompareData/assets/arrow-right.svg.mjs';
5
5
  import '../StyleableSvgImage/index.mjs';
6
6
  import { useStickyGrid } from './StickyGrid/context.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"ModelCompareOverflowScrollButton.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareOverflowScrollButton.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport arrowRightIcon from \"../../constants/modelCompareData/assets/arrow-right.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { useStickyGrid } from \"./StickyGrid/context\";\n\nexport function ModelCompareOverflowScrollButton({\n isVisible,\n color,\n rotationDegrees,\n onClickColumnDiff,\n totalColumns,\n totalDeadSpace,\n isSmallScreen,\n}: {\n isVisible: boolean;\n color: string;\n rotationDegrees: number;\n onClickColumnDiff: number;\n totalDeadSpace: number;\n totalColumns: number;\n isSmallScreen: boolean;\n}) {\n const { scrollGroupItemsRef, scrollTo } = useStickyGrid();\n\n const icon =\n typeof arrowRightIcon === \"string\" ? arrowRightIcon : arrowRightIcon.src;\n\n // Scroll one column on click\n const handleClick = useCallback(() => {\n const anyScrollItem = scrollGroupItemsRef.current?.[0]?.refObject.current;\n\n if (!anyScrollItem) {\n return;\n }\n\n const totalWidth = anyScrollItem.scrollWidth;\n const currentScrollLeft = anyScrollItem.scrollLeft + 1;\n const oneColumnWidth = (totalWidth - totalDeadSpace) / totalColumns;\n const currentColumnIndex = Math.min(\n totalColumns - 1,\n Math.max(0, Math.round(currentScrollLeft / oneColumnWidth)),\n );\n\n const newColumnIndex = Math.max(\n Math.min(currentColumnIndex + onClickColumnDiff, totalColumns),\n 0,\n );\n\n const offsetLeft = newColumnIndex * oneColumnWidth;\n\n scrollTo({ left: offsetLeft, behavior: \"smooth\" });\n }, [\n onClickColumnDiff,\n scrollGroupItemsRef,\n scrollTo,\n totalColumns,\n totalDeadSpace,\n ]);\n\n const arrowOffset = useMemo(() => {\n if (isSmallScreen) {\n return rotationDegrees < 180 ? -5 : 0;\n }\n\n return -15;\n }, [isSmallScreen, rotationDegrees]);\n\n return (\n <Button\n color={color}\n rotation={rotationDegrees}\n isVisible={isVisible}\n type=\"button\"\n onClick={handleClick}\n >\n <Icon rotation={rotationDegrees} arrowOffset={arrowOffset}>\n <StyleableSvgImage width={10} height={16} src={icon} />\n </Icon>\n </Button>\n );\n}\n\nconst Button = styled.button<{\n isVisible: boolean;\n rotation: number;\n color: string;\n}>`\n color: inherit;\n outline: none;\n opacity: ${({ isVisible }) => (isVisible ? 1 : 0)};\n pointer-events: ${({ isVisible }) => (isVisible ? \"auto\" : \"none\")};\n transition: opacity 0.2s;\n height: 100%;\n width: 40px;\n background: transparent;\n border: none;\n background-image: linear-gradient(\n ${({ rotation }) => rotation - 90}deg,\n ${({ color }) => color},\n transparent 20px\n );\n border-left: ${({ color }) =>\n color !== \"white\" ? \"1px solid #eee\" : \"none\"};\n cursor: pointer;\n`;\n\nconst Icon = styled.div<{ rotation: number; arrowOffset: number }>`\n transform: rotate(${({ rotation }) => rotation}deg)\n translateX(${({ arrowOffset }) => arrowOffset ?? 0}px);\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding-left: 4px;\n height: 44px;\n width: 44px;\n\n border-radius: 50%;\n background: rgb(255 255 255 / 0.8);\n box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.25);\n backdrop-filter: blur(2px);\n color: #808893;\n`;\n"],"names":["ModelCompareOverflowScrollButton","isVisible","color","rotationDegrees","onClickColumnDiff","totalColumns","totalDeadSpace","isSmallScreen","scrollGroupItemsRef","scrollTo","useStickyGrid","icon","arrowRightIcon","src","handleClick","useCallback","anyScrollItem","current","refObject","totalWidth","scrollWidth","currentScrollLeft","scrollLeft","oneColumnWidth","currentColumnIndex","Math","min","max","round","newColumnIndex","offsetLeft","left","behavior","arrowOffset","useMemo","jsx","Button","rotation","type","onClick","children","Icon","StyleableSvgImage","width","height","styled","button","div"],"mappings":";;;;;;;;;AAOO,SAASA,gCAAiCA,CAAA;EAC/CC,SAAA;EACAC,KAAA;EACAC,eAAA;EACAC,iBAAA;EACAC,YAAA;EACAC,cAAA;EACAC;AACF,CAQG,EAAA;EACD,MAAM;IAAEC,mBAAA;IAAqBC;EAAS,CAAA,GAAIC,aAAc,CAAA,CAAA;EAExD,MAAMC,IACJ,GAAA,OAAOC,uBAAmB,KAAA,QAAA,GAAWA,0BAAiBA,uBAAe,CAAAC,GAAA;EAGjE,MAAAC,WAAA,GAAcC,YAAY,MAAM;IACpC,MAAMC,aAAgB,GAAAR,mBAAA,CAAoBS,OAAU,GAAA,CAAC,GAAGC,SAAU,CAAAD,OAAA;IAElE,IAAI,CAACD,aAAe,EAAA;MAClB;IAAA;IAGF,MAAMG,aAAaH,aAAc,CAAAI,WAAA;IAC3B,MAAAC,iBAAA,GAAoBL,cAAcM,UAAa,GAAA,CAAA;IAC/C,MAAAC,cAAA,GAAA,CAAkBJ,aAAab,cAAkB,IAAAD,YAAA;IACvD,MAAMmB,qBAAqBC,IAAK,CAAAC,GAAA,CAC9BrB,YAAe,GAAA,CAAA,EACfoB,KAAKE,GAAI,CAAA,CAAA,EAAGF,KAAKG,KAAM,CAAAP,iBAAA,GAAoBE,cAAc,CAAC,CAC5D,CAAA;IAEA,MAAMM,iBAAiBJ,IAAK,CAAAE,GAAA,CAC1BF,IAAK,CAAAC,GAAA,CAAIF,kBAAqB,GAAApB,iBAAA,EAAmBC,YAAY,CAAA,EAC7D,CACF,CAAA;IAEA,MAAMyB,aAAaD,cAAiB,GAAAN,cAAA;IAEpCd,QAAA,CAAS;MAAEsB,IAAA,EAAMD,UAAY;MAAAE,QAAA,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EAAEV;AAAS,CAAA,KAAMA,QAAQ;AAAA,iBAC/B,CAAC;EAAEJ;CAAY,KAAMA,eAAe,CAAC;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"ModelCompareOverflowScrollButton.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareOverflowScrollButton.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\nimport styled from \"styled-components\";\n\nimport arrowRightIcon from \"../../constants/modelCompareData/assets/arrow-right.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { useStickyGrid } from \"./StickyGrid/context\";\n\nexport function ModelCompareOverflowScrollButton({\n isVisible,\n color,\n rotationDegrees,\n onClickColumnDiff,\n totalColumns,\n totalDeadSpace,\n isSmallScreen,\n}: {\n isVisible: boolean;\n color: string;\n rotationDegrees: number;\n onClickColumnDiff: number;\n totalDeadSpace: number;\n totalColumns: number;\n isSmallScreen: boolean;\n}) {\n const { scrollGroupItemsRef, scrollTo } = useStickyGrid();\n\n const icon =\n typeof arrowRightIcon === \"string\" ? arrowRightIcon : arrowRightIcon.src;\n\n // Scroll one column on click\n const handleClick = useCallback(() => {\n const anyScrollItem = scrollGroupItemsRef.current?.[0]?.refObject.current;\n\n if (!anyScrollItem) {\n return;\n }\n\n const totalWidth = anyScrollItem.scrollWidth;\n const currentScrollLeft = anyScrollItem.scrollLeft + 1;\n const oneColumnWidth = (totalWidth - totalDeadSpace) / totalColumns;\n const currentColumnIndex = Math.min(\n totalColumns - 1,\n Math.max(0, Math.round(currentScrollLeft / oneColumnWidth)),\n );\n\n const newColumnIndex = Math.max(\n Math.min(currentColumnIndex + onClickColumnDiff, totalColumns),\n 0,\n );\n\n const offsetLeft = newColumnIndex * oneColumnWidth;\n\n scrollTo({ left: offsetLeft, behavior: \"smooth\" });\n }, [\n onClickColumnDiff,\n scrollGroupItemsRef,\n scrollTo,\n totalColumns,\n totalDeadSpace,\n ]);\n\n const arrowOffset = useMemo(() => {\n if (isSmallScreen) {\n return rotationDegrees < 180 ? -5 : 0;\n }\n\n return -15;\n }, [isSmallScreen, rotationDegrees]);\n\n return (\n <Button\n color={color}\n rotation={rotationDegrees}\n isVisible={isVisible}\n type=\"button\"\n onClick={handleClick}\n >\n <Icon rotation={rotationDegrees} arrowOffset={arrowOffset}>\n <StyleableSvgImage width={10} height={16} src={icon} />\n </Icon>\n </Button>\n );\n}\n\nconst Button = styled.button<{\n isVisible: boolean;\n rotation: number;\n color: string;\n}>`\n color: inherit;\n outline: none;\n opacity: ${({ isVisible }) => (isVisible ? 1 : 0)};\n pointer-events: ${({ isVisible }) => (isVisible ? \"auto\" : \"none\")};\n transition: opacity 0.2s;\n height: 100%;\n width: 40px;\n background: transparent;\n border: none;\n background-image: linear-gradient(\n ${({ rotation }) => rotation - 90}deg,\n ${({ color }) => color},\n transparent 20px\n );\n border-left: ${({ color }) =>\n color !== \"white\" ? \"1px solid #eee\" : \"none\"};\n cursor: pointer;\n`;\n\nconst Icon = styled.div<{ rotation: number; arrowOffset: number }>`\n transform: rotate(${({ rotation }) => rotation}deg)\n translateX(${({ arrowOffset }) => arrowOffset ?? 0}px);\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding-left: 4px;\n height: 44px;\n width: 44px;\n\n border-radius: 50%;\n background: rgb(255 255 255 / 0.8);\n box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.25);\n backdrop-filter: blur(2px);\n color: #808893;\n`;\n"],"names":["ModelCompareOverflowScrollButton","isVisible","color","rotationDegrees","onClickColumnDiff","totalColumns","totalDeadSpace","isSmallScreen","scrollGroupItemsRef","scrollTo","useStickyGrid","icon","arrowRightIcon","src","handleClick","useCallback","anyScrollItem","current","refObject","totalWidth","scrollWidth","currentScrollLeft","scrollLeft","oneColumnWidth","currentColumnIndex","Math","min","max","round","newColumnIndex","offsetLeft","left","behavior","arrowOffset","useMemo","jsx","Button","rotation","type","onClick","children","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A;AAAA,CAAA;"}
@@ -13,7 +13,7 @@ require('../StyleableSvgImage/index.js');
13
13
  var ModelCompareV3_styles = require('./ModelCompareV3.styles.js');
14
14
  require('./StickyGrid/index.js');
15
15
  var checkIconSvg = require("../../assets/check2.svg");
16
- var minusIconSvg = require("../../assets/minus.svg");
16
+ var minusIconSvg = require("../../assets/minus2.svg");
17
17
  var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
18
18
  var context = require('../../contexts/MenuContext/context.js');
19
19
  var StickyGridItem = require('./StickyGrid/StickyGridItem.js');
@@ -22,6 +22,7 @@ function _interopDefault(e) {
22
22
  default: e
23
23
  };
24
24
  }
25
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
25
26
  var checkIconSvg__default = /*#__PURE__*/_interopDefault(checkIconSvg);
26
27
  var minusIconSvg__default = /*#__PURE__*/_interopDefault(minusIconSvg);
27
28
  "use strict";
@@ -112,13 +113,13 @@ function PropertyValueComponent({
112
113
  }
113
114
  return null;
114
115
  }
115
- const Stack = styled.styled.div`
116
+ const Stack = styled__default["default"].div`
116
117
  display: flex;
117
118
  flex-direction: column;
118
119
  gap: 4px;
119
120
  ${ModelCompareV3_styles.textSize}
120
121
  `;
121
- const Value = styled.styled.div`
122
+ const Value = styled__default["default"].div`
122
123
  text-align: right;
123
124
 
124
125
  ${({
@@ -139,7 +140,7 @@ const Value = styled.styled.div`
139
140
  text-overflow: ellipsis;
140
141
  }
141
142
  `;
142
- const GridItem = styled.styled(StickyGridItem.StickyGridItem)`
143
+ const GridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
143
144
  display: flex;
144
145
  align-items: center;
145
146
  justify-content: center;
@@ -150,7 +151,7 @@ const GridItem = styled.styled(StickyGridItem.StickyGridItem)`
150
151
  border-bottom: 1px solid ${theme.theme.colors.athensGreyDark};
151
152
  border-left: 1px solid ${theme.theme.colors.athensGreyDark};
152
153
  `;
153
- const InlineGridItem = styled.styled(StickyGridItem.StickyGridItem)`
154
+ const InlineGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
154
155
  display: flex;
155
156
  gap: 8px;
156
157
  align-items: center;
@@ -158,20 +159,20 @@ const InlineGridItem = styled.styled(StickyGridItem.StickyGridItem)`
158
159
  overflow: hidden;
159
160
  border-bottom: 1px solid ${theme.theme.colors.athensGreyDark};
160
161
  `;
161
- const PropertyTitle = styled.styled.div`
162
+ const PropertyTitle = styled__default["default"].div`
162
163
  font-size: 14px;
163
164
  font-weight: ${theme.theme.fontWeight.bold};
164
165
  max-width: 45%;
165
166
  line-height: ${17 / 14};
166
167
  `;
167
- const PropertyIcon = styled.styled.div`
168
+ const PropertyIcon = styled__default["default"].div`
168
169
  width: 30px;
169
170
  height: 30px;
170
171
  `;
171
- const Spacer = styled.styled.div`
172
+ const Spacer = styled__default["default"].div`
172
173
  flex: 1;
173
174
  `;
174
- const BooleanWrap = styled.styled.div`
175
+ const BooleanWrap = styled__default["default"].div`
175
176
  position: relative;
176
177
  overflow: visible;
177
178
 
@@ -182,7 +183,7 @@ const BooleanWrap = styled.styled.div`
182
183
  gap: 5.5px;
183
184
  }
184
185
  `;
185
- const BooleanAsterisks = styled.styled.div`
186
+ const BooleanAsterisks = styled__default["default"].div`
186
187
  position: absolute;
187
188
  font-size: 14px;
188
189
  line-height: 16.8px;
@@ -1 +1 @@
1
- {"version":3,"file":"ModelComparePropertyValueGridItem.js","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { styled, css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,eAASC,gCAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,eAASK,gCAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,sCACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,UAAA,CAAAA,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAAC,eAAAA,UAAAA,CAAAA,GAAA,CAAAE,iBAAAA,CAAAA,iBAAA,EAAA;UAAkBZ,KAAO,EAAA,EAAA;UAAIC,QAAQ,EAAI;UAAAJ,GAAA,EAAKU,QAAS,CAAAM;QAAA,CAAM;MAChE,CAAA,CAAA,EACAH,eAAAA,UAAAA,CAAAA,GAAA,CAACI,aAAe,EAAA;QAAAL,QAAA,EAAAF,QAAA,CAASQ;MAAM,CAAA,CAAA,EAAA,8BAC9BC,MAAO,EAAA,EAAA,CAAA,EAAA,eACRN,UAAA,CAAAA,GAAA,CAACO,KAAA,EAAA;QACCC,gBACE,EAAAb,eAAA,EAAiBc,KAAM,CA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AAAA,GAAA;AAAA;AAAA,KAEC;AAAA;AAAA;;AAAA;AAAA,MAKC,CAAC;EAAEhC;CAAiB,KACpB,CAACA,gBACD,IAAAgC,MAAA,CAAAA,GAAA;AAAA;AAAA,OAEC;;AAAA;AAAA;AAAA,CAAA;AAMP,MAAM1B,QAAA,GAAWuB,cAAOI,6BAAc,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAQTC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,cAAc;AAAA,2BAC7BF,KAAA,CAAAA,KAAA,CAAMC,OAAOC,cAAc;AAAA,CAAA;AAGtD,MAAM9C,cAAA,GAAiBuC,cAAOI,6BAAc,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAMfC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,cAAc;AAAA,CAAA;AAGxD,MAAMxC,gBAAgBiC,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA,iBAEZI,KAAA,CAAAA,KAAA,CAAMG,WAAWC,IAAI;AAAA;AAAA,iBAErB,KAAK,EAAE;AAAA,CAAA;AAGxB,MAAM7C,eAAeoC,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAMhC,SAAS+B,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA,CAAA;AAItB,MAAMX,cAAcU,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,uCAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,uCAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"ModelComparePropertyValueGridItem.js","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,eAASC,gCAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,eAASK,gCAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,sCACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,UAAA,CAAAA,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAAC,eAAAA,UAAAA,CAAAA,GAAA,CAAAE,iBAAAA,CAAAA,iBAAA,EAAA;UAAkBZ,KAAO,EAAA,EAAA;UAA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CAAA,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,uCAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,uCAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { useMemo } from 'react';
3
- import { styled, css } from 'styled-components';
3
+ import styled, { css } from 'styled-components';
4
4
  import '../../constants/modelCompareData/assets/check.svg.mjs';
5
5
  import '../../constants/modelCompareData/assets/minus.svg.mjs';
6
6
  import { MutatedPropertyType } from '../../constants/modelCompareData/types.mjs';
@@ -11,7 +11,7 @@ import '../StyleableSvgImage/index.mjs';
11
11
  import { textSize, MOBILE_BREAKPOINT } from './ModelCompareV3.styles.mjs';
12
12
  import './StickyGrid/index.mjs';
13
13
  import checkIconSvg__default from "../../assets/check2.svg";
14
- import minusIconSvg__default from "../../assets/minus.svg";
14
+ import minusIconSvg__default from "../../assets/minus2.svg";
15
15
  import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
16
16
  import { useMenu } from '../../contexts/MenuContext/context.mjs';
17
17
  import { StickyGridItem } from './StickyGrid/StickyGridItem.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { styled, css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,SAASC,qBAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,SAASK,qBAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,2BACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAA,eAAAC,GAAA,CAAAE,iBAAA,EAAA;UAAkBZ,KAAO,EAAA,EAAA;UAAIC,QAAQ,EAAI;UAAAJ,GAAA,EAAKU,QAAS,CAAAM;QAAA,CAAM;MAChE,CAAA,CAAA,EACA,eAAAH,GAAA,CAACI,aAAe,EAAA;QAAAL,QAAA,EAAAF,QAAA,CAASQ;MAAM,CAAA,CAAA,EAAA,mBAC9BC,MAAO,EAAA,EAAA,CAAA,EAAA,eACRN,GAAA,CAACO,KAAA,EAAA;QACCC,gBACE,EAAAb,eAAA,EAAiBc,KAAM,CAAAC,IAAA,KAASC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A,CAAMC,OAAOC,cAAc;AAAA,2BAC7BF,KAAA,CAAMC,OAAOC,cAAc;AAAA,CAAA;AAGtD,MAAM9C,cAAA,GAAiBuC,OAAOI,cAAc,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAMfC,KAAA,CAAMC,OAAOC,cAAc;AAAA,CAAA;AAGxD,MAAMxC,gBAAgBiC,MAAO,CAAAC,GAAA;AAAA;AAAA,iBAEZI,KAAA,CAAMG,WAAWC,IAAI;AAAA;AAAA,iBAErB,KAAK,EAAE;AAAA,CAAA;AAGxB,MAAM7C,eAAeoC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAMhC,SAAS+B,MAAO,CAAAC,GAAA;AAAA;AAAA,CAAA;AAItB,MAAMX,cAAcU,MAAO,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,iBAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,SAASC,qBAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,SAASK,qBAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,2BACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAA,eAAAC,GAAA,CAAAE,iBAAA,EAAA;UAAkBZ,KAAO,EAAA,EAAA;UAAIC,QAAQ,EAAI;UAAAJ,GAAA,EAAKU,QAAS,CAAAM;QAAA,CAAM;MAChE,CAAA,CAAA,EACA,eAAAH,GAAA,CAACI,aAAe,EAAA;QAAAL,QAAA,EAAAF,QAAA,CAASQ;MAAM,CAAA,CAAA,EAAA,mBAC9BC,MAAO,EAAA,EAAA,CAAA,EAAA,eACRN,GAAA,CAACO,KAAA,EAAA;QACCC,gBACE,EAAAb,eAAA,EAAiBc,KAAM,CAAAC,IAAA,KAASC,mBAAoB,CAAAC,OAAA;QAGtDb,QAAA,iBAAAC,GAAA,CAACa;UAAuBlB;QAAkC,CAAA;MAAA,CAAA,CAAA;KAE9D,CAAA;EAAA;EAIJ,sBACGK,GAAA,CAAAc,QAAA,E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AAA;AAAA,6BAMfC,KAAA,CAAMC,OAAOC,cAAc;AAAA,CAAA;AAGxD,MAAMxC,gBAAgBiC,MAAO,CAAAC,GAAA;AAAA;AAAA,iBAEZI,KAAA,CAAMG,WAAWC,IAAI;AAAA;AAAA,iBAErB,KAAK,EAAE;AAAA,CAAA;AAGxB,MAAM7C,eAAeoC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAMhC,SAAS+B,MAAO,CAAAC,GAAA;AAAA;AAAA,CAAA;AAItB,MAAMX,cAAcU,MAAO,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,iBAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
@@ -10,6 +10,12 @@ var StickyGridItem = require('./StickyGrid/StickyGridItem.js');
10
10
  var Button$1 = require('../Button/Button.js');
11
11
  var Badge$1 = require('../Badge/Badge.js');
12
12
  var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
13
+ function _interopDefault(e) {
14
+ return e && e.__esModule ? e : {
15
+ default: e
16
+ };
17
+ }
18
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
13
19
  "use strict";
14
20
  const MOBILE_BREAKPOINT = 650;
15
21
  const textSize = styled.css`
@@ -17,12 +23,12 @@ const textSize = styled.css`
17
23
  line-height: 1.2;
18
24
  text-wrap: pretty;
19
25
  `;
20
- const PlaceholderGridItem = styled.styled(StickyGridItem.StickyGridItem)`
26
+ const PlaceholderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
21
27
  background: ${theme.theme.colors.white};
22
28
  z-index: 3;
23
29
  `;
24
- const CenterPlaceholderGridItem = styled.styled(StickyGridItem.StickyGridItem)``;
25
- const HeaderGridItem = styled.styled(StickyGridItem.StickyGridItem)`
30
+ const CenterPlaceholderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)``;
31
+ const HeaderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
26
32
  background: ${theme.theme.colors.white};
27
33
  display: flex;
28
34
  flex-direction: column;
@@ -32,7 +38,7 @@ const HeaderGridItem = styled.styled(StickyGridItem.StickyGridItem)`
32
38
  padding: 16px 0;
33
39
  gap: 24px;
34
40
  `;
35
- const ProductMeta = styled.styled.div`
41
+ const ProductMeta = styled__default["default"].div`
36
42
  display: flex;
37
43
  flex-direction: column;
38
44
  flex: 1;
@@ -45,12 +51,12 @@ const productTitleStyles = styled.css`
45
51
  font-weight: 700;
46
52
  line-height: inherit;
47
53
  `;
48
- const ProductTitle = styled.styled.div`
54
+ const ProductTitle = styled__default["default"].div`
49
55
  ${productTitleStyles}
50
56
 
51
57
  color: ${theme.theme.colors.black};
52
58
  `;
53
- const ProductTitleLink = styled.styled(Button$1.Button)`
59
+ const ProductTitleLink = styled__default["default"](Button$1.Button)`
54
60
  ${productTitleStyles}
55
61
  color: ${theme.theme.colors.primaryBlue};
56
62
 
@@ -63,7 +69,7 @@ const ProductTitleLink = styled.styled(Button$1.Button)`
63
69
  color: ${theme.theme.colors.primaryBlue};
64
70
  }
65
71
  `;
66
- const ProductDescription = styled.styled.div`
72
+ const ProductDescription = styled__default["default"].div`
67
73
  font-size: 16px;
68
74
  font-weight: 400;
69
75
  line-height: 20px;
@@ -77,22 +83,22 @@ const ProductDescription = styled.styled.div`
77
83
  }) => $direction && `${$direction}`};
78
84
  text-wrap: pretty;
79
85
  `;
80
- const ProductNote = styled.styled.div`
86
+ const ProductNote = styled__default["default"].div`
81
87
  color: ${theme.theme.colors.black45};
82
88
  font-size: ${theme.theme.font.size10};
83
89
  line-height: 16.8px;
84
90
  margin-top: 6px;
85
91
  text-align: center;
86
92
  `;
87
- const Badge = styled.styled(Badge$1.Badge)`
93
+ const Badge = styled__default["default"](Badge$1.Badge)`
88
94
  margin-top: 10px;
89
95
  `;
90
- const BadgeWrapper = styled.styled.div`
96
+ const BadgeWrapper = styled__default["default"].div`
91
97
  margin-top: auto;
92
98
  display: flex;
93
99
  gap: 10px;
94
100
  `;
95
- const PropertyTitleGridItem = styled.styled(StickyGridItem.StickyGridItem)`
101
+ const PropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
96
102
  display: flex;
97
103
  align-items: center;
98
104
  justify-content: flex-start;
@@ -101,10 +107,10 @@ const PropertyTitleGridItem = styled.styled(StickyGridItem.StickyGridItem)`
101
107
  z-index: 1;
102
108
  overflow: hidden;
103
109
  `;
104
- const EmptyPropertyTitleGridItem = styled.styled(StickyGridItem.StickyGridItem)`
110
+ const EmptyPropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
105
111
  background: ${theme.theme.colors.white};
106
112
  `;
107
- const PropertyTitleGridItemContent = styled.styled(StickyGridItem.StickyGridItem)`
113
+ const PropertyTitleGridItemContent = styled__default["default"](StickyGridItem.StickyGridItem)`
108
114
  display: flex;
109
115
  align-items: center;
110
116
  justify-content: flex-start;
@@ -113,31 +119,31 @@ const PropertyTitleGridItemContent = styled.styled(StickyGridItem.StickyGridItem
113
119
  gap: 8px;
114
120
  overflow: hidden;
115
121
  `;
116
- const PropertyTitle = styled.styled.div`
122
+ const PropertyTitle = styled__default["default"].div`
117
123
  font-weight: ${theme.theme.fontWeight.bold};
118
124
  ${textSize}
119
125
  color: ${theme.theme.colors.black65};
120
126
  `;
121
- const PropertyIcon = styled.styled.div`
127
+ const PropertyIcon = styled__default["default"].div`
122
128
  width: 30px;
123
129
  height: 30px;
124
130
  color: ${theme.theme.colors.shark};
125
131
  `;
126
- const ProductImage = styled.styled.img`
132
+ const ProductImage = styled__default["default"].img`
127
133
  max-width: 100%;
128
134
  max-height: 100%;
129
135
  object-fit: contain;
130
136
  `;
131
- const ProductImageWrap = styled.styled.div`
137
+ const ProductImageWrap = styled__default["default"].div`
132
138
  height: ${({
133
139
  height
134
140
  }) => `${height}px`};
135
141
  display: flex;
136
142
  `;
137
- const PropertyTooltip = styled.styled.div`
143
+ const PropertyTooltip = styled__default["default"].div`
138
144
  height: 20px;
139
145
  `;
140
- const PropertyTooltipContent = styled.styled.div`
146
+ const PropertyTooltipContent = styled__default["default"].div`
141
147
  color: #fafafa;
142
148
  font-size: 12px;
143
149
 
@@ -145,10 +151,10 @@ const PropertyTooltipContent = styled.styled.div`
145
151
  color: ${theme.theme.colors.primaryBlue};
146
152
  }
147
153
  `;
148
- const TooltipIcon = styled.styled(StyleableSvgImage.StyleableSvgImage)`
154
+ const TooltipIcon = styled__default["default"](StyleableSvgImage.StyleableSvgImage)`
149
155
  color: ${theme.theme.colors.primaryBlue};
150
156
  `;
151
- const ButtonWrap = styled.styled.div`
157
+ const ButtonWrap = styled__default["default"].div`
152
158
  padding: 16px 0;
153
159
  display: flex;
154
160
  align-items: center;
@@ -169,7 +175,7 @@ const buttonStyles = styled.css`
169
175
  position: static;
170
176
  }
171
177
  `;
172
- const Button = styled.styled(Button$1.Button)`
178
+ const Button = styled__default["default"](Button$1.Button)`
173
179
  ${buttonStyles};
174
180
 
175
181
  &:focus,
@@ -177,7 +183,7 @@ const Button = styled.styled(Button$1.Button)`
177
183
  color: ${theme.theme.colors.white};
178
184
  }
179
185
  `;
180
- const ComingSoon = styled.styled(Button$1.Button)`
186
+ const ComingSoon = styled__default["default"](Button$1.Button)`
181
187
  ${buttonStyles};
182
188
  cursor: default;
183
189
 
@@ -186,32 +192,32 @@ const ComingSoon = styled.styled(Button$1.Button)`
186
192
  color: ${theme.theme.colors.white};
187
193
  }
188
194
  `;
189
- const NotesWrap = styled.styled.div`
195
+ const NotesWrap = styled__default["default"].div`
190
196
  padding: 16px 0 10px;
191
197
  display: flex;
192
198
  flex-direction: column;
193
199
  align-items: center;
194
200
  `;
195
- const Note = styled.styled.div`
201
+ const Note = styled__default["default"].div`
196
202
  font-size: 10px;
197
203
  line-height: ${17 / 10};
198
204
  color: ${theme.theme.colors.black45};
199
205
  text-align: center;
200
206
  text-wrap: pretty;
201
207
  `;
202
- const FootnotesWrap = styled.styled.div`
208
+ const FootnotesWrap = styled__default["default"].div`
203
209
  padding: 0 0 16px;
204
210
  display: flex;
205
211
  flex-direction: column;
206
212
  align-items: center;
207
213
  `;
208
- const Footnote = styled.styled.div`
214
+ const Footnote = styled__default["default"].div`
209
215
  font-size: 10px;
210
216
  line-height: ${17 / 10};
211
217
  color: ${theme.theme.colors.black45};
212
218
  text-align: center;
213
219
  `;
214
- const KitIncluded = styled.styled.div`
220
+ const KitIncluded = styled__default["default"].div`
215
221
  font-size: 14px;
216
222
  font-weight: 400;
217
223
  letter-spacing: -0.28px;
@@ -1 +1 @@
1
- {"version":3,"file":"ModelCompareV3.styles.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import { styled, css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,cAAOC,6BAAc,CAAA;AAAA,gBACxCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,MAAAA,CAAAA,OAAOC,cAAAA,CAAAA,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,cAAOC,6BAAc,CAAA;AAAA,gBACnCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAU3B,MAAMG,cAAcP,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AASlC,MAAMC,kBAAqB,GAAAX,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMpB,MAAMY,eAAeV,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA,IAC/BC,kBAAkB;;AAAA,WAEXP,KAAA,CAAAA,KAAA,CAAMC,OAAOQ,KAAK;AAAA,CAAA;AAGhB,MAAAC,gBAAA,GAAmBZ,cAAOa,eAAU,CAAA;AAAA,IAC7CJ,kBAAkB;AAAA,WACXP,KAAA,CAAAA,KAAA,CAAMC,OAAOW,WAAW;;AAAA;AAAA;AAAA;AAAA;;AAAA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OC,KAAK;AAAA;AAAA,CAAA;AAIlB,MAAA0C,UAAA,GAAa9C,cAAOa,eAAU,CAAA;AAAA,IACvC+B,YAAY;AAAA;;AAAA;AAAA;AAAA,aAKH1C,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIxB,MAAM2C,YAAY/C,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOzB,MAAMwC,OAAOhD,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA,iBAEV,KAAK,EAAE;AAAA,WACbN,KAAA,CAAAA,KAAA,CAAMC,OAAOiB,OAAO;AAAA;AAAA;AAAA,CAAA;AAKxB,MAAM6B,gBAAgBjD,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAO7B,MAAM0C,WAAWlD,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA,iBAEd,KAAK,EAAE;AAAA,WACbN,KAAA,CAAAA,KAAA,CAAMC,OAAOiB,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAM+B,cAAcnD,MAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAAA,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ModelCompareV3.styles.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,2BAAOC,6BAAc,CAAA;AAAA,gBACxCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,eAAAA,CAAAA,SAAAA,EAAOC,cAAAA,CAAAA,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,2BAAOC,6BAAc,CAAA;AAAA,gBACnCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAU3B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AAMC,OAAOiB,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAM+B,cAAcnD,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAAA,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { css, styled } from 'styled-components';
1
+ import styled, { css } from 'styled-components';
2
2
  import { theme } from '../../constants/theme.mjs';
3
3
  import '../Badge/index.mjs';
4
4
  import '../Button/index.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"ModelCompareV3.styles.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import { styled, css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,OAAOC,cAAc,CAAA;AAAA,gBACxCC,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,OAAOC,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,OAAOC,cAAc,CAAA;AAAA,gBACnCC,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAU3B,MAAMG,cAAcP,MAAO,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AASlC,MAAMC,kBAAqB,GAAAX,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMpB,MAAMY,eAAeV,MAAO,CAAAQ,GAAA;AAAA,IAC/BC,kBAAkB;;AAAA,WAEXP,KAAA,CAAMC,OAAOQ,KAAK;AAAA,CAAA;AAGhB,MAAAC,gBAAA,GAAmBZ,OAAOa,QAAU,CAAA;AAAA,IAC7CJ,kBAAkB;AAAA,WACXP,KAAA,CAAMC,OAAOW,WAAW;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA,aAQtBZ,KAAA,CAAMC,OAAOW,WAAW;AAAA;AAAA,CAAA;AAI9B,MAAMC,qBAAqBf,MAAO,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAQ9BN,KAAA,CAAMC,OAAOa,OAAO;AAAA,eAChB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GAAA;AAAA;AAAA,iBAEd,KAAK,EAAE;AAAA,WACbN,KAAA,CAAMC,OAAOiB,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAM+B,cAAcnD,MAAO,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;"}
1
+ {"version":3,"file":"ModelCompareV3.styles.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","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AAAA,WAKvBN,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;"}
@@ -7,6 +7,12 @@ var useModelCompareTranslation = require('../../constants/modelCompareData/trans
7
7
  var theme = require('../../constants/theme.js');
8
8
  require('../StyleableSvgImage/index.js');
9
9
  var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
10
+ function _interopDefault(e) {
11
+ return e && e.__esModule ? e : {
12
+ default: e
13
+ };
14
+ }
15
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
10
16
  "use strict";
11
17
  const ProductGroupsGrid = ({
12
18
  products
@@ -60,7 +66,7 @@ const ProductGroupsGrid = ({
60
66
  }, i))
61
67
  });
62
68
  };
63
- const ProductGroups = styled.styled.div`
69
+ const ProductGroups = styled__default["default"].div`
64
70
  grid-column: 3 / -2;
65
71
  display: grid;
66
72
  gap: 20px;
@@ -69,13 +75,13 @@ const ProductGroups = styled.styled.div`
69
75
  columns
70
76
  }) => columns}, minmax(0, 1fr));
71
77
  `;
72
- const Collection = styled.styled.div`
78
+ const Collection = styled__default["default"].div`
73
79
  grid-column: span ${({
74
80
  $span
75
81
  }) => $span ?? 1};
76
82
  background-color: ${theme.theme.colors.white};
77
83
  `;
78
- const TopContainer = styled.styled.div`
84
+ const TopContainer = styled__default["default"].div`
79
85
  display: flex;
80
86
  flex-direction: column;
81
87
  align-items: center;
@@ -124,17 +130,17 @@ const TopContainer = styled.styled.div`
124
130
  );
125
131
  }
126
132
  `;
127
- const GroupIconWrap = styled.styled.div`
133
+ const GroupIconWrap = styled__default["default"].div`
128
134
  z-index: 1;
129
135
 
130
136
  background-color: ${theme.theme.colors.white};
131
137
 
132
138
  padding: 0 2px;
133
139
  `;
134
- const GroupIcon = styled.styled(StyleableSvgImage.StyleableSvgImage)`
140
+ const GroupIcon = styled__default["default"](StyleableSvgImage.StyleableSvgImage)`
135
141
  color: ${theme.theme.colors.menu.categoryIcon.dark};
136
142
  `;
137
- const GroupTitle = styled.styled.div`
143
+ const GroupTitle = styled__default["default"].div`
138
144
  color: #8e8e8e;
139
145
  font-size: 12px;
140
146
  letter-spacing: -0.024px;