@bbl-digital/snorre 4.2.30 → 4.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1275) hide show
  1. package/dist/bundle.js +42795 -35806
  2. package/esm/app-shell/index.js +21 -14
  3. package/esm/app-shell/theme.js +9 -2
  4. package/esm/core/Alert/Alert.stories.js +15 -8
  5. package/esm/core/Alert/index.js +24 -14
  6. package/esm/core/Alert/styles.js +15 -11
  7. package/esm/core/AppLoader/AppLoader.stories.js +11 -4
  8. package/esm/core/AppLoader/index.js +15 -7
  9. package/esm/core/AppLoader/styles.js +10 -5
  10. package/esm/core/Autocomplete/Autocomplete.stories.js +80 -73
  11. package/esm/core/Autocomplete/hooks/useAutocomplete.js +24 -17
  12. package/esm/core/Autocomplete/hooks/useHandleDimentions.js +12 -6
  13. package/esm/core/Autocomplete/index.interfaces.js +5 -1
  14. package/esm/core/Autocomplete/index.js +60 -51
  15. package/esm/core/Autocomplete/styles.js +32 -29
  16. package/esm/core/Banner/Banner.stories.js +33 -26
  17. package/esm/core/Banner/index.js +18 -10
  18. package/esm/core/Banner/styles.js +16 -10
  19. package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +15 -8
  20. package/esm/core/BarAndLineComposedChart/index.js +30 -23
  21. package/esm/core/BarAndLineComposedChart/styles.js +9 -2
  22. package/esm/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +14 -7
  23. package/esm/core/BarChartWithCustomizedEvent/index.js +31 -22
  24. package/esm/core/BarChartWithCustomizedEvent/styles.js +11 -4
  25. package/esm/core/Box/Box.stories.js +26 -19
  26. package/esm/core/Box/index.js +28 -18
  27. package/esm/core/Box/styles.js +21 -18
  28. package/esm/core/BoxedTable/BoxedTable.stories.js +141 -134
  29. package/esm/core/BoxedTable/DraggableRow/index.js +20 -13
  30. package/esm/core/BoxedTable/DraggableRow/styles.js +18 -14
  31. package/esm/core/BoxedTable/HeaderCell/index.js +17 -9
  32. package/esm/core/BoxedTable/HeaderCell/styles.js +13 -5
  33. package/esm/core/BoxedTable/RowCell/index.js +14 -6
  34. package/esm/core/BoxedTable/RowCell/styles.js +21 -18
  35. package/esm/core/BoxedTable/TableHeader/index.js +12 -5
  36. package/esm/core/BoxedTable/TableHeader/styles.js +10 -4
  37. package/esm/core/BoxedTable/TableRow/index.js +27 -18
  38. package/esm/core/BoxedTable/TableRow/styles.js +19 -16
  39. package/esm/core/BoxedTable/index.js +18 -11
  40. package/esm/core/BoxedTable/models.js +5 -1
  41. package/esm/core/BoxedTable/styles.js +22 -22
  42. package/esm/core/Button/Button.stories.js +29 -22
  43. package/esm/core/Button/index.js +22 -14
  44. package/esm/core/Button/styles.js +30 -32
  45. package/esm/core/Calendar/Calendar.stories.js +17 -10
  46. package/esm/core/Calendar/CalendarEvent/index.js +35 -26
  47. package/esm/core/Calendar/CalendarEvent/styles.js +19 -16
  48. package/esm/core/Calendar/CalendarSmallEvent/index.js +34 -25
  49. package/esm/core/Calendar/CalendarSmallEvent/styles.js +19 -16
  50. package/esm/core/Calendar/index.js +47 -41
  51. package/esm/core/Calendar/styles.js +22 -18
  52. package/esm/core/Calendar/util.js +11 -4
  53. package/esm/core/Card/Card.stories.js +29 -22
  54. package/esm/core/Card/index.js +17 -9
  55. package/esm/core/Card/styles.js +20 -21
  56. package/esm/core/Checkbox/Checkbox.stories.js +15 -8
  57. package/esm/core/Checkbox/index.js +20 -11
  58. package/esm/core/Checkbox/styles.js +14 -12
  59. package/esm/core/CollapseList/CollapseList.stories.js +27 -20
  60. package/esm/core/CollapseList/Item.js +23 -15
  61. package/esm/core/CollapseList/index.js +15 -7
  62. package/esm/core/CollapseList/styles.js +14 -8
  63. package/esm/core/CommentsTimeline/CommentLine/index.js +25 -18
  64. package/esm/core/CommentsTimeline/CommentLine/styles.js +18 -12
  65. package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +32 -25
  66. package/esm/core/CommentsTimeline/index.js +12 -5
  67. package/esm/core/CommentsTimeline/styles.js +10 -4
  68. package/esm/core/CustomText/CustomText.stories.js +14 -7
  69. package/esm/core/CustomText/index.js +18 -10
  70. package/esm/core/CustomText/styles.js +13 -8
  71. package/esm/core/Datepicker/Datepicker.stories.js +22 -15
  72. package/esm/core/Datepicker/index.js +57 -47
  73. package/esm/core/Datepicker/styles.js +25 -20
  74. package/esm/core/DatepickerRange/DatepickerRange.stories.js +14 -7
  75. package/esm/core/DatepickerRange/index.js +20 -13
  76. package/esm/core/DatepickerRange/styles.js +21 -15
  77. package/esm/core/Divider/index.js +13 -6
  78. package/esm/core/Divider/styles.js +14 -10
  79. package/esm/core/Dropdown/Dropdown.stories.js +23 -16
  80. package/esm/core/Dropdown/index.js +29 -19
  81. package/esm/core/Dropdown/styles.js +12 -7
  82. package/esm/core/DropdownMenu/DropdownMenu.stories.js +27 -20
  83. package/esm/core/DropdownMenu/DropdownMenuOption.js +15 -7
  84. package/esm/core/DropdownMenu/index.js +21 -12
  85. package/esm/core/DropdownMenu/styles.js +15 -9
  86. package/esm/core/FileInput/FileInput.stories.js +20 -13
  87. package/esm/core/FileInput/index.js +42 -33
  88. package/esm/core/FileInput/styles.js +34 -36
  89. package/esm/core/GoogleButton/GoogleButton.stories.js +11 -4
  90. package/esm/core/GoogleButton/index.js +14 -7
  91. package/esm/core/GoogleButton/styles.js +10 -4
  92. package/esm/core/Header/Header.stories.js +18 -11
  93. package/esm/core/Header/index.js +14 -6
  94. package/esm/core/Header/styles.js +18 -12
  95. package/esm/core/HighlightText/HighlightText.stories.js +12 -5
  96. package/esm/core/HighlightText/index.js +16 -9
  97. package/esm/core/HighlightText/styles.js +10 -4
  98. package/esm/core/Html/Html.stories.js +18 -11
  99. package/esm/core/Html/index.js +16 -8
  100. package/esm/core/Html/styles.js +15 -11
  101. package/esm/core/Image/Image.stories.js +15 -8
  102. package/esm/core/Image/index.js +19 -10
  103. package/esm/core/Image/styles.js +15 -11
  104. package/esm/core/ImagePicker/IconWithBackground.js +14 -7
  105. package/esm/core/ImagePicker/ImagePicker.stories.js +17 -10
  106. package/esm/core/ImagePicker/UploadButton.js +21 -13
  107. package/esm/core/ImagePicker/index.js +49 -41
  108. package/esm/core/ImagePicker/styles.js +24 -24
  109. package/esm/core/ImageViewer/ImageViewer.stories.js +11 -4
  110. package/esm/core/ImageViewer/index.js +45 -37
  111. package/esm/core/ImageViewer/styles.js +15 -12
  112. package/esm/core/InfoButton/InfoButton.stories.js +22 -15
  113. package/esm/core/InfoButton/index.js +25 -15
  114. package/esm/core/InfoButton/styles.js +24 -21
  115. package/esm/core/Input/Input.stories.js +35 -28
  116. package/esm/core/Input/index.js +47 -38
  117. package/esm/core/Input/styles.js +28 -27
  118. package/esm/core/Link/Link.stories.js +19 -12
  119. package/esm/core/Link/index.js +21 -13
  120. package/esm/core/Link/styles.js +29 -24
  121. package/esm/core/List/Item.js +11 -5
  122. package/esm/core/List/List.stories.js +72 -65
  123. package/esm/core/List/index.js +23 -10
  124. package/esm/core/List/styles.js +20 -18
  125. package/esm/core/ListPager/ListPager.stories.js +11 -4
  126. package/esm/core/ListPager/index.js +24 -17
  127. package/esm/core/ListPager/styles.js +15 -9
  128. package/esm/core/MediaCarousel/MediaCarousel.stories.js +12 -5
  129. package/esm/core/MediaCarousel/index.js +30 -23
  130. package/esm/core/MediaCarousel/styles.js +18 -13
  131. package/esm/core/Modal/ActionButtons/index.js +15 -8
  132. package/esm/core/Modal/Modal.stories.js +49 -42
  133. package/esm/core/Modal/index.js +51 -41
  134. package/esm/core/Modal/styles.js +26 -22
  135. package/esm/core/NoticeCard/NoticeCard.stories.js +15 -8
  136. package/esm/core/NoticeCard/index.js +50 -41
  137. package/esm/core/NoticeCard/models.js +7 -1
  138. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +24 -17
  139. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +16 -10
  140. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +17 -8
  141. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +10 -4
  142. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +23 -16
  143. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +13 -8
  144. package/esm/core/NoticeCard/styles.js +18 -13
  145. package/esm/core/NoticeCard/utils.js +20 -11
  146. package/esm/core/NotificationCounter/NotificationCounter.stories.js +15 -8
  147. package/esm/core/NotificationCounter/index.js +11 -5
  148. package/esm/core/NotificationCounter/styles.js +9 -3
  149. package/esm/core/NotificationsMenu/NotificationRow/index.js +18 -11
  150. package/esm/core/NotificationsMenu/NotificationRow/styles.js +16 -11
  151. package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +22 -15
  152. package/esm/core/NotificationsMenu/index.js +30 -21
  153. package/esm/core/NotificationsMenu/styles.js +12 -6
  154. package/esm/core/PieChart/ActiveShape/index.js +14 -9
  155. package/esm/core/PieChart/PieChart.stories.js +19 -12
  156. package/esm/core/PieChart/index.js +32 -23
  157. package/esm/core/PieChart/renderTextContent/index.js +15 -10
  158. package/esm/core/PieChart/styles.js +13 -7
  159. package/esm/core/PreemptionCard/PreemptionCard.stories.js +14 -7
  160. package/esm/core/PreemptionCard/index.js +45 -38
  161. package/esm/core/PreemptionCard/models.js +7 -1
  162. package/esm/core/PreemptionCard/styles.js +18 -14
  163. package/esm/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +14 -7
  164. package/esm/core/PreemptionCardLoading/index.js +19 -12
  165. package/esm/core/PreemptionCardLoading/styles.js +14 -10
  166. package/esm/core/QuillEditor/QuillEditor.stories.js +31 -24
  167. package/esm/core/QuillEditor/classes/LinkSanitizer.js +12 -4
  168. package/esm/core/QuillEditor/classes/ListItem.js +10 -3
  169. package/esm/core/QuillEditor/config.js +8 -2
  170. package/esm/core/QuillEditor/index.js +61 -54
  171. package/esm/core/QuillEditor/models.js +5 -1
  172. package/esm/core/QuillEditor/styles.js +15 -10
  173. package/esm/core/Radio/Radio.stories.js +27 -20
  174. package/esm/core/Radio/index.js +16 -8
  175. package/esm/core/Radio/styles.js +13 -9
  176. package/esm/core/SearchFilter/SearchFilter.stories.js +36 -29
  177. package/esm/core/SearchFilter/index.js +53 -43
  178. package/esm/core/SearchFilter/styles.js +33 -32
  179. package/esm/core/SearchSelect/SearchSelect.stories.js +18 -11
  180. package/esm/core/SearchSelect/hooks/useSelectSearch.js +13 -7
  181. package/esm/core/SearchSelect/index.js +36 -26
  182. package/esm/core/SearchSelect/interface/IProps.js +5 -1
  183. package/esm/core/SearchSelect/styles.js +19 -17
  184. package/esm/core/Select/Option.js +18 -10
  185. package/esm/core/Select/Select.stories.js +85 -78
  186. package/esm/core/Select/index.js +46 -31
  187. package/esm/core/Select/styles.js +33 -33
  188. package/esm/core/SimpleBarChart/SimpleBarChart.stories.js +21 -14
  189. package/esm/core/SimpleBarChart/index.js +27 -20
  190. package/esm/core/SimpleBarChart/styles.js +9 -2
  191. package/esm/core/SimpleLineChart/SimpleLineChart.stories.js +24 -17
  192. package/esm/core/SimpleLineChart/index.js +25 -18
  193. package/esm/core/SimpleLineChart/styles.js +9 -2
  194. package/esm/core/Skeleton/Skeleton.stories.js +14 -7
  195. package/esm/core/Skeleton/index.js +14 -7
  196. package/esm/core/Skeleton/styles.js +14 -7
  197. package/esm/core/Spinner/Spinner.stories.js +19 -12
  198. package/esm/core/Spinner/index.js +14 -6
  199. package/esm/core/Spinner/styles.js +14 -9
  200. package/esm/core/Stepper/MobileStep/index.js +17 -10
  201. package/esm/core/Stepper/MobileStep/styles.js +20 -18
  202. package/esm/core/Stepper/Step/index.js +31 -25
  203. package/esm/core/Stepper/Step/styles.js +18 -13
  204. package/esm/core/Stepper/Stepper.stories.js +11 -4
  205. package/esm/core/Stepper/index.js +27 -18
  206. package/esm/core/Stepper/styles.js +13 -7
  207. package/esm/core/TabBar/TabBar.stories.js +19 -12
  208. package/esm/core/TabBar/TabItem/index.js +14 -7
  209. package/esm/core/TabBar/TabItem/styles.js +10 -4
  210. package/esm/core/TabBar/index.js +12 -5
  211. package/esm/core/TabBar/styles.js +10 -4
  212. package/esm/core/TabNav/TabContext.js +21 -12
  213. package/esm/core/TabNav/TabNav.stories.js +85 -78
  214. package/esm/core/TabNav/TabNavItem/index.js +36 -26
  215. package/esm/core/TabNav/TabNavItem/styles.js +18 -11
  216. package/esm/core/TabNav/index.js +38 -28
  217. package/esm/core/TabNav/styles.js +23 -18
  218. package/esm/core/TabNav/utils/useContainerDimensions.js +13 -6
  219. package/esm/core/Table/Cell.js +14 -6
  220. package/esm/core/Table/Row.js +13 -6
  221. package/esm/core/Table/Table.stories.js +41 -34
  222. package/esm/core/Table/index.js +28 -10
  223. package/esm/core/Table/styles.js +27 -27
  224. package/esm/core/Tag/Tag.stories.js +28 -21
  225. package/esm/core/Tag/index.js +22 -14
  226. package/esm/core/Tag/styles.js +22 -21
  227. package/esm/core/Text/Text.stories.js +25 -18
  228. package/esm/core/Text/index.js +14 -6
  229. package/esm/core/Text/styles.js +25 -28
  230. package/esm/core/Textarea/Textarea.stories.js +15 -8
  231. package/esm/core/Textarea/index.js +24 -15
  232. package/esm/core/Textarea/styles.js +20 -15
  233. package/esm/core/Timeline/Timeline.stories.js +17 -10
  234. package/esm/core/Timeline/TimelineStep/index.js +21 -13
  235. package/esm/core/Timeline/TimelineStep/styles.js +19 -14
  236. package/esm/core/Timeline/index.js +12 -5
  237. package/esm/core/Timeline/styles.js +10 -4
  238. package/esm/core/Timepicker/Timepicker.stories.js +25 -18
  239. package/esm/core/Timepicker/index.js +35 -27
  240. package/esm/core/Timepicker/styles.js +19 -16
  241. package/esm/core/Tooltip/Tooptip.stories.js +13 -6
  242. package/esm/core/Tooltip/index.js +24 -16
  243. package/esm/core/Tooltip/styles.js +10 -5
  244. package/esm/core/UnitIllustration/index.js +25 -19
  245. package/esm/core/UserMenu/UserMenu.stories.js +33 -26
  246. package/esm/core/UserMenu/UserMenuOption.js +15 -7
  247. package/esm/core/UserMenu/index.js +39 -30
  248. package/esm/core/UserMenu/styles.js +23 -19
  249. package/esm/core/Video/Video.stories.js +20 -13
  250. package/esm/core/Video/index.js +19 -11
  251. package/esm/core/Video/styles.js +10 -4
  252. package/esm/core/YearWheel/YearWheel.stories.js +15 -8
  253. package/esm/core/YearWheel/index.js +65 -57
  254. package/esm/core/YearWheel/styles.js +15 -7
  255. package/esm/core/private/ButtonOrLink.js +18 -9
  256. package/esm/core/private/preemption.js +9 -1
  257. package/esm/core/utils/debounce.js +10 -4
  258. package/esm/enums/Keyboard.js +7 -2
  259. package/esm/global.d.js +3 -2
  260. package/esm/globals/styles/breakpoints.js +7 -1
  261. package/esm/globals/styles/paddings.js +7 -1
  262. package/esm/globals/styles/styles.js +9 -4
  263. package/esm/globals/validation/regularExpressions.js +7 -1
  264. package/esm/hooks/useIsMobile.js +12 -5
  265. package/esm/hooks/useScreenOrientation.js +12 -5
  266. package/esm/icons/General/IconApartment.js +13 -6
  267. package/esm/icons/General/IconArchives.js +13 -6
  268. package/esm/icons/General/IconArea.js +13 -6
  269. package/esm/icons/General/IconArrowDown.js +13 -6
  270. package/esm/icons/General/IconArrowLeft.js +13 -6
  271. package/esm/icons/General/IconArrowRight.js +13 -6
  272. package/esm/icons/General/IconArrowUp.js +13 -6
  273. package/esm/icons/General/IconAttachment.js +13 -6
  274. package/esm/icons/General/IconAuditorFilled.js +24 -17
  275. package/esm/icons/General/IconAuditorOutline.js +24 -17
  276. package/esm/icons/General/IconBack.js +13 -6
  277. package/esm/icons/General/IconBath.js +13 -6
  278. package/esm/icons/General/IconBblFlame.js +13 -6
  279. package/esm/icons/General/IconBblShield.js +13 -6
  280. package/esm/icons/General/IconBblWater.js +13 -6
  281. package/esm/icons/General/IconBellFilled.js +13 -6
  282. package/esm/icons/General/IconBellOutline.js +13 -6
  283. package/esm/icons/General/IconBlock.js +13 -6
  284. package/esm/icons/General/IconBoard.js +13 -6
  285. package/esm/icons/General/IconBookmarkFilled.js +13 -6
  286. package/esm/icons/General/IconBookmarkOutline.js +13 -6
  287. package/esm/icons/General/IconBus.js +13 -6
  288. package/esm/icons/General/IconCalendar.js +13 -6
  289. package/esm/icons/General/IconCamera.js +14 -7
  290. package/esm/icons/General/IconCar.js +13 -6
  291. package/esm/icons/General/IconCaretDown.js +13 -6
  292. package/esm/icons/General/IconCaretLeft.js +13 -6
  293. package/esm/icons/General/IconCaretRight.js +13 -6
  294. package/esm/icons/General/IconCaretUp.js +13 -6
  295. package/esm/icons/General/IconCases.js +28 -21
  296. package/esm/icons/General/IconCheck.js +13 -6
  297. package/esm/icons/General/IconCheckedFilled.js +13 -6
  298. package/esm/icons/General/IconCheckedOutline.js +13 -6
  299. package/esm/icons/General/IconChevronDown.js +13 -6
  300. package/esm/icons/General/IconChevronLeft.js +13 -6
  301. package/esm/icons/General/IconChevronRight.js +13 -6
  302. package/esm/icons/General/IconChoice.js +13 -6
  303. package/esm/icons/General/IconClose.js +13 -6
  304. package/esm/icons/General/IconCloseAlt.js +13 -6
  305. package/esm/icons/General/IconComment.js +13 -6
  306. package/esm/icons/General/IconCommunication.js +13 -6
  307. package/esm/icons/General/IconCommunicationFilled.js +13 -6
  308. package/esm/icons/General/IconCompanyBuilding.js +13 -6
  309. package/esm/icons/General/IconCompanyBuildingFilled.js +13 -6
  310. package/esm/icons/General/IconCompanyBuildingOutline.js +13 -6
  311. package/esm/icons/General/IconDashboard.js +13 -6
  312. package/esm/icons/General/IconDashboardFilled.js +13 -6
  313. package/esm/icons/General/IconDelete.js +13 -6
  314. package/esm/icons/General/IconDocument.js +23 -16
  315. package/esm/icons/General/IconDocumentFilled.js +23 -16
  316. package/esm/icons/General/IconDoor.js +13 -6
  317. package/esm/icons/General/IconDotFilled.js +13 -6
  318. package/esm/icons/General/IconDotOutline.js +13 -6
  319. package/esm/icons/General/IconDownload.js +13 -6
  320. package/esm/icons/General/IconDraft.js +13 -6
  321. package/esm/icons/General/IconEarth.js +13 -6
  322. package/esm/icons/General/IconEconomy.js +13 -6
  323. package/esm/icons/General/IconEconomyFilled.js +13 -6
  324. package/esm/icons/General/IconEdit.js +13 -6
  325. package/esm/icons/General/IconElevator.js +13 -6
  326. package/esm/icons/General/IconEmailMarkAsRead.js +12 -5
  327. package/esm/icons/General/IconErrorFilled.js +13 -6
  328. package/esm/icons/General/IconErrorOutline.js +13 -6
  329. package/esm/icons/General/IconExternalLink.js +13 -6
  330. package/esm/icons/General/IconEye.js +13 -6
  331. package/esm/icons/General/IconEyeDeny.js +13 -6
  332. package/esm/icons/General/IconFamily.js +13 -6
  333. package/esm/icons/General/IconFerry.js +13 -6
  334. package/esm/icons/General/IconFile.js +13 -6
  335. package/esm/icons/General/IconFileAdd.js +13 -6
  336. package/esm/icons/General/IconFileCopy.js +13 -6
  337. package/esm/icons/General/IconFileEdit.js +13 -6
  338. package/esm/icons/General/IconFileExcel.js +13 -6
  339. package/esm/icons/General/IconFilePDF.js +13 -6
  340. package/esm/icons/General/IconFileWord.js +13 -6
  341. package/esm/icons/General/IconFillOut.js +15 -8
  342. package/esm/icons/General/IconFilterList.js +13 -6
  343. package/esm/icons/General/IconFloor.js +13 -6
  344. package/esm/icons/General/IconForward.js +13 -6
  345. package/esm/icons/General/IconFullscreenClose.js +13 -6
  346. package/esm/icons/General/IconFullscreenOpen.js +13 -6
  347. package/esm/icons/General/IconGarage.js +13 -6
  348. package/esm/icons/General/IconGrid.js +13 -6
  349. package/esm/icons/General/IconGym.js +13 -6
  350. package/esm/icons/General/IconHearth.js +13 -6
  351. package/esm/icons/General/IconHearthOutline.js +13 -6
  352. package/esm/icons/General/IconHelp.js +13 -6
  353. package/esm/icons/General/IconHistory.js +13 -6
  354. package/esm/icons/General/IconHomeFilled.js +20 -13
  355. package/esm/icons/General/IconHomeOutline.js +20 -13
  356. package/esm/icons/General/IconHouse.js +13 -6
  357. package/esm/icons/General/IconHouseBlockFilled.js +20 -13
  358. package/esm/icons/General/IconHouseBlockOutline.js +20 -13
  359. package/esm/icons/General/IconHouseOutline.js +13 -6
  360. package/esm/icons/General/IconHumans.js +13 -6
  361. package/esm/icons/General/IconImage.js +14 -7
  362. package/esm/icons/General/IconImportantComment.js +13 -6
  363. package/esm/icons/General/IconInbox.js +13 -6
  364. package/esm/icons/General/IconInfoFilled.js +13 -6
  365. package/esm/icons/General/IconInfoOutline.js +13 -6
  366. package/esm/icons/General/IconJanitorFilled.js +24 -17
  367. package/esm/icons/General/IconJanitorOutline.js +24 -17
  368. package/esm/icons/General/IconJointcost.js +13 -6
  369. package/esm/icons/General/IconJointcost2.js +13 -6
  370. package/esm/icons/General/IconKey.js +13 -6
  371. package/esm/icons/General/IconKitchen.js +13 -6
  372. package/esm/icons/General/IconLabel.js +13 -6
  373. package/esm/icons/General/IconLeafFilled.js +23 -16
  374. package/esm/icons/General/IconLeafOutline.js +25 -18
  375. package/esm/icons/General/IconLeisureTime.js +13 -6
  376. package/esm/icons/General/IconLock.js +13 -6
  377. package/esm/icons/General/IconLockLocked.js +13 -6
  378. package/esm/icons/General/IconLockOpen.js +13 -6
  379. package/esm/icons/General/IconLookup.js +13 -6
  380. package/esm/icons/General/IconLookupFilled.js +13 -6
  381. package/esm/icons/General/IconMail.js +13 -6
  382. package/esm/icons/General/IconMap.js +13 -6
  383. package/esm/icons/General/IconMedal.js +12 -5
  384. package/esm/icons/General/IconMembership.js +13 -6
  385. package/esm/icons/General/IconMembershipFilled.js +13 -6
  386. package/esm/icons/General/IconMenu.js +13 -6
  387. package/esm/icons/General/IconMinus.js +13 -6
  388. package/esm/icons/General/IconMinusAlt.js +13 -6
  389. package/esm/icons/General/IconMinusAltFilled.js +13 -6
  390. package/esm/icons/General/IconMoney.js +13 -6
  391. package/esm/icons/General/IconParking.js +13 -6
  392. package/esm/icons/General/IconPaymentCard.js +13 -6
  393. package/esm/icons/General/IconPercent.js +12 -5
  394. package/esm/icons/General/IconPhone.js +13 -6
  395. package/esm/icons/General/IconPinned.js +13 -6
  396. package/esm/icons/General/IconPlus.js +13 -6
  397. package/esm/icons/General/IconPlusAlt.js +13 -6
  398. package/esm/icons/General/IconPortalUser.js +13 -6
  399. package/esm/icons/General/IconPrint.js +13 -6
  400. package/esm/icons/General/IconProfile.js +13 -6
  401. package/esm/icons/General/IconProfileFilled.js +13 -6
  402. package/esm/icons/General/IconRearrange.js +23 -16
  403. package/esm/icons/General/IconReciept.js +13 -6
  404. package/esm/icons/General/IconRedo.js +13 -6
  405. package/esm/icons/General/IconRefresh.js +13 -6
  406. package/esm/icons/General/IconReply.js +13 -6
  407. package/esm/icons/General/IconReplyAll.js +13 -6
  408. package/esm/icons/General/IconRoom.js +13 -6
  409. package/esm/icons/General/IconSave.js +13 -6
  410. package/esm/icons/General/IconSearch.js +13 -6
  411. package/esm/icons/General/IconSend.js +13 -6
  412. package/esm/icons/General/IconSettings.js +13 -6
  413. package/esm/icons/General/IconShopping.js +13 -6
  414. package/esm/icons/General/IconSign.js +13 -6
  415. package/esm/icons/General/IconSliders.js +13 -6
  416. package/esm/icons/General/IconSort.js +13 -6
  417. package/esm/icons/General/IconStarFilled.js +13 -6
  418. package/esm/icons/General/IconStarHalf.js +13 -6
  419. package/esm/icons/General/IconStarOutline.js +13 -6
  420. package/esm/icons/General/IconStore.js +13 -6
  421. package/esm/icons/General/IconSubway.js +13 -6
  422. package/esm/icons/General/IconSwitch.js +13 -6
  423. package/esm/icons/General/IconTrain.js +13 -6
  424. package/esm/icons/General/IconTram.js +13 -6
  425. package/esm/icons/General/IconTransport.js +13 -6
  426. package/esm/icons/General/IconTypeOfBuilding.js +13 -6
  427. package/esm/icons/General/IconTypeOfBuildingOutline.js +13 -6
  428. package/esm/icons/General/IconUndo.js +13 -6
  429. package/esm/icons/General/IconUpload.js +13 -6
  430. package/esm/icons/General/IconUser.js +13 -6
  431. package/esm/icons/General/IconUserThin.js +13 -6
  432. package/esm/icons/General/IconVote.js +13 -6
  433. package/esm/icons/General/IconWalk.js +13 -6
  434. package/esm/icons/General/IconWarning.js +13 -6
  435. package/esm/icons/General/IconWarningBell.js +13 -6
  436. package/esm/icons/General/IconWork.js +13 -6
  437. package/esm/icons/General/IconWorkFilled.js +13 -6
  438. package/esm/icons/General/IconZip.js +13 -6
  439. package/esm/icons/Icon.stories.js +393 -389
  440. package/esm/icons/Logos/IconAmericanExpress.js +13 -6
  441. package/esm/icons/Logos/IconBankAxept.js +21 -14
  442. package/esm/icons/Logos/IconGmail.js +15 -8
  443. package/esm/icons/Logos/IconMasterCard.js +18 -11
  444. package/esm/icons/Logos/IconOffice365.js +41 -34
  445. package/esm/icons/Logos/IconVisa.js +18 -11
  446. package/esm/icons/withIcon.js +13 -6
  447. package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +1228 -1221
  448. package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1468 -1459
  449. package/esm/illustrations/General/IllustrationBudget.js +66 -59
  450. package/esm/illustrations/General/IllustrationError.js +134 -127
  451. package/esm/illustrations/General/IllustrationErrorGeneric.js +121 -114
  452. package/esm/illustrations/General/IllustrationHighHouse.js +46 -39
  453. package/esm/illustrations/General/IllustrationHighHouseComposition.js +68 -61
  454. package/esm/illustrations/General/IllustrationHouse.js +26 -19
  455. package/esm/illustrations/General/IllustrationHouseComposition.js +43 -36
  456. package/esm/illustrations/General/IllustrationHouseMissing.js +52 -45
  457. package/esm/illustrations/General/IllustrationLowHouse.js +31 -24
  458. package/esm/illustrations/General/IllustrationLowHouseComposition.js +53 -46
  459. package/esm/illustrations/General/IllustrationPaperCompleted.js +71 -64
  460. package/esm/illustrations/General/IllustrationPaperMissing.js +77 -70
  461. package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +27 -20
  462. package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +47 -40
  463. package/esm/illustrations/General/IllustrationServiceMessage.js +21 -13
  464. package/esm/illustrations/General/IllustrationSmallHouse.js +21 -14
  465. package/esm/illustrations/General/IllustrationSmallHouseComposition.js +41 -34
  466. package/esm/illustrations/General/IllustrationTechninalDifficulties.js +40 -32
  467. package/esm/illustrations/General/IllustrationTerraceBlock.js +40 -33
  468. package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +60 -53
  469. package/esm/illustrations/General/IllustrationTownHouse.js +31 -24
  470. package/esm/illustrations/General/IllustrationTownHouseComposition.js +53 -46
  471. package/esm/illustrations/Illustration.stories.js +97 -90
  472. package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +34 -27
  473. package/esm/illustrations/MySite/IllustrationMySiteBenefits.js +61 -54
  474. package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +48 -41
  475. package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +43 -36
  476. package/esm/illustrations/MySite/IllustrationMySiteComputer.js +47 -40
  477. package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +46 -39
  478. package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +42 -35
  479. package/esm/illustrations/MySite/IllustrationMySiteGift.js +76 -69
  480. package/esm/illustrations/MySite/IllustrationMySiteLetterSent.js +30 -23
  481. package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +38 -31
  482. package/esm/illustrations/MySite/IllustrationMySitePapers.js +67 -60
  483. package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +59 -52
  484. package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +34 -27
  485. package/esm/illustrations/styles.js +13 -7
  486. package/esm/illustrations/withIllustration.js +15 -7
  487. package/esm/index.js +2396 -326
  488. package/esm/layout/Footer/Footer.stories.js +34 -27
  489. package/esm/layout/Footer/FooterButton/index.js +13 -5
  490. package/esm/layout/Footer/FooterButton/styles.js +11 -5
  491. package/esm/layout/Footer/FooterCol/index.js +12 -5
  492. package/esm/layout/Footer/FooterCol/styles.js +10 -4
  493. package/esm/layout/Footer/FooterGroup/index.js +12 -5
  494. package/esm/layout/Footer/FooterGroup/styles.js +10 -4
  495. package/esm/layout/Footer/FooterLabel/index.js +12 -5
  496. package/esm/layout/Footer/FooterLabel/styles.js +10 -4
  497. package/esm/layout/Footer/FooterLink/index.js +13 -5
  498. package/esm/layout/Footer/FooterLink/styles.js +11 -5
  499. package/esm/layout/Footer/index.js +15 -7
  500. package/esm/layout/Footer/styles.js +14 -6
  501. package/esm/layout/Layout/Layout.stories.js +14 -7
  502. package/esm/layout/Layout/index.js +12 -5
  503. package/esm/layout/Layout/styles.js +11 -4
  504. package/esm/layout/LayoutShell/LayoutShell.stories.js +28 -21
  505. package/esm/layout/LayoutShell/index.js +24 -15
  506. package/esm/layout/LayoutShell/styles.js +24 -20
  507. package/esm/layout/Menu/AppPicker/index.js +21 -14
  508. package/esm/layout/Menu/AppPicker/styles.js +18 -12
  509. package/esm/layout/Menu/MainMenu/index.js +13 -6
  510. package/esm/layout/Menu/MainMenu/styles.js +13 -6
  511. package/esm/layout/Menu/MenuItem/index.js +18 -11
  512. package/esm/layout/Menu/MenuItem/styles.js +16 -10
  513. package/esm/layout/Menu/MenuSpacer/index.js +12 -5
  514. package/esm/layout/Menu/MenuSpacer/styles.js +11 -4
  515. package/esm/layout/Menu/MenuTop/index.js +16 -8
  516. package/esm/layout/Menu/MenuTop/styles.js +17 -11
  517. package/esm/layout/Menu/SecondaryMenu/index.js +21 -14
  518. package/esm/layout/Menu/SecondaryMenu/styles.js +19 -12
  519. package/esm/layout/Menu/SecondaryMenuItem/index.js +16 -9
  520. package/esm/layout/Menu/SecondaryMenuItem/styles.js +12 -5
  521. package/esm/layout/Menu/Sidemenu.stories.js +93 -86
  522. package/esm/layout/Menu/index.js +14 -7
  523. package/esm/layout/Menu/styles.js +12 -5
  524. package/esm/layout/Submenu/Submenu.stories.js +35 -28
  525. package/esm/layout/Submenu/SubmenuItem/index.js +32 -22
  526. package/esm/layout/Submenu/SubmenuItem/styles.js +17 -10
  527. package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +20 -13
  528. package/esm/layout/Submenu/index.js +45 -35
  529. package/esm/layout/Submenu/styles.js +30 -25
  530. package/esm/layout/Topbar/Topbar.stories.js +15 -8
  531. package/esm/layout/Topbar/index.js +12 -5
  532. package/esm/layout/Topbar/styles.js +9 -2
  533. package/esm/shared/components/SbIconGrid/index.js +15 -9
  534. package/esm/shared/components/VisuallyHidden/index.js +11 -5
  535. package/esm/shared/recharts/CustomLegend/index.js +20 -12
  536. package/esm/shared/recharts/CustomLegend/styles.js +14 -8
  537. package/esm/shared/recharts/CustomTooltip/index.js +26 -19
  538. package/esm/shared/recharts/CustomTooltip/styles.js +15 -10
  539. package/esm/utils/accountNumber.js +8 -1
  540. package/esm/utils/alpha.js +7 -2
  541. package/esm/utils/array.js +7 -1
  542. package/esm/utils/dates.js +25 -15
  543. package/esm/utils/file.js +11 -3
  544. package/esm/utils/format.js +18 -4
  545. package/esm/utils/formatGraphPrice.js +7 -2
  546. package/esm/utils/image.js +7 -1
  547. package/esm/utils/pagination.js +11 -1
  548. package/esm/utils/phone.js +7 -1
  549. package/esm/utils/removeFocusOnMouseUp.js +7 -1
  550. package/esm/utils/time.js +25 -12
  551. package/esm/utils/url.js +8 -1
  552. package/esm/utils/useSnorreTheme.js +15 -9
  553. package/esm/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.js +20 -14
  554. package/esm/v2/Memberbenefits/MemberbenefitsCard/index.js +43 -34
  555. package/esm/v2/Memberbenefits/MemberbenefitsCard/model.js +7 -1
  556. package/esm/v2/Memberbenefits/MemberbenefitsCard/styles.js +31 -35
  557. package/esm/v2/core/Box/Box.stories.js +31 -24
  558. package/esm/v2/core/Box/index.js +31 -21
  559. package/esm/v2/core/Box/styles.js +26 -22
  560. package/esm/v2/core/BoxedTable/BoxedTable.stories.js +141 -134
  561. package/esm/v2/core/BoxedTable/DraggableRow/index.js +20 -13
  562. package/esm/v2/core/BoxedTable/DraggableRow/styles.js +18 -14
  563. package/esm/v2/core/BoxedTable/HeaderCell/index.js +19 -11
  564. package/esm/v2/core/BoxedTable/HeaderCell/styles.js +13 -5
  565. package/esm/v2/core/BoxedTable/RowCell/index.js +14 -6
  566. package/esm/v2/core/BoxedTable/RowCell/styles.js +21 -18
  567. package/esm/v2/core/BoxedTable/TableHeader/index.js +12 -5
  568. package/esm/v2/core/BoxedTable/TableHeader/styles.js +10 -4
  569. package/esm/v2/core/BoxedTable/TableRow/index.js +27 -18
  570. package/esm/v2/core/BoxedTable/TableRow/styles.js +19 -16
  571. package/esm/v2/core/BoxedTable/index.js +24 -15
  572. package/esm/v2/core/BoxedTable/models.js +5 -1
  573. package/esm/v2/core/BoxedTable/styles.js +27 -31
  574. package/esm/v2/core/Button/Button.stories.js +42 -35
  575. package/esm/v2/core/Button/index.js +22 -14
  576. package/esm/v2/core/Button/styles.js +30 -31
  577. package/esm/v2/core/ButtonsFilter/ButtonsFilter.stories.js +13 -6
  578. package/esm/v2/core/ButtonsFilter/index.js +20 -13
  579. package/esm/v2/core/ButtonsFilter/styles.js +10 -4
  580. package/esm/v2/core/Chip/Chip.stories.js +25 -18
  581. package/esm/v2/core/Chip/index.js +21 -14
  582. package/esm/v2/core/Chip/styles.js +22 -17
  583. package/esm/v2/core/TabNav/TabContext.js +21 -12
  584. package/esm/v2/core/TabNav/TabNav.stories.js +85 -78
  585. package/esm/v2/core/TabNav/TabNavItem/index.js +36 -26
  586. package/esm/v2/core/TabNav/TabNavItem/styles.js +19 -13
  587. package/esm/v2/core/TabNav/index.js +38 -28
  588. package/esm/v2/core/TabNav/styles.js +21 -17
  589. package/esm/v2/core/TabNav/utils/useContainerDimensions.js +13 -6
  590. package/esm/v2/hooks/useOverflow.js +14 -8
  591. package/esm/v2/index.js +97 -14
  592. package/jest.config.js +16 -21
  593. package/lib/app-shell/index.js +21 -14
  594. package/lib/app-shell/theme.js +9 -2
  595. package/lib/core/Alert/Alert.stories.js +15 -8
  596. package/lib/core/Alert/index.js +24 -14
  597. package/lib/core/Alert/styles.js +15 -11
  598. package/lib/core/AppLoader/AppLoader.stories.js +11 -4
  599. package/lib/core/AppLoader/index.js +15 -7
  600. package/lib/core/AppLoader/styles.js +10 -5
  601. package/lib/core/Autocomplete/Autocomplete.stories.js +80 -73
  602. package/lib/core/Autocomplete/hooks/useAutocomplete.js +24 -17
  603. package/lib/core/Autocomplete/hooks/useHandleDimentions.js +12 -6
  604. package/lib/core/Autocomplete/index.interfaces.js +5 -1
  605. package/lib/core/Autocomplete/index.js +60 -51
  606. package/lib/core/Autocomplete/styles.d.ts.map +1 -1
  607. package/lib/core/Autocomplete/styles.js +32 -29
  608. package/lib/core/Banner/Banner.stories.js +33 -26
  609. package/lib/core/Banner/index.js +18 -10
  610. package/lib/core/Banner/styles.d.ts.map +1 -1
  611. package/lib/core/Banner/styles.js +16 -10
  612. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +15 -8
  613. package/lib/core/BarAndLineComposedChart/index.js +30 -23
  614. package/lib/core/BarAndLineComposedChart/styles.d.ts.map +1 -1
  615. package/lib/core/BarAndLineComposedChart/styles.js +9 -2
  616. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +14 -7
  617. package/lib/core/BarChartWithCustomizedEvent/index.js +31 -22
  618. package/lib/core/BarChartWithCustomizedEvent/styles.d.ts.map +1 -1
  619. package/lib/core/BarChartWithCustomizedEvent/styles.js +11 -4
  620. package/lib/core/Box/Box.stories.js +26 -19
  621. package/lib/core/Box/index.js +28 -18
  622. package/lib/core/Box/styles.d.ts.map +1 -1
  623. package/lib/core/Box/styles.js +21 -18
  624. package/lib/core/BoxedTable/BoxedTable.stories.js +141 -134
  625. package/lib/core/BoxedTable/DraggableRow/index.js +20 -13
  626. package/lib/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
  627. package/lib/core/BoxedTable/DraggableRow/styles.js +18 -14
  628. package/lib/core/BoxedTable/HeaderCell/index.js +17 -9
  629. package/lib/core/BoxedTable/HeaderCell/styles.js +13 -5
  630. package/lib/core/BoxedTable/RowCell/index.js +14 -6
  631. package/lib/core/BoxedTable/RowCell/styles.js +21 -18
  632. package/lib/core/BoxedTable/TableHeader/index.js +12 -5
  633. package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
  634. package/lib/core/BoxedTable/TableHeader/styles.js +10 -4
  635. package/lib/core/BoxedTable/TableRow/index.js +27 -18
  636. package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
  637. package/lib/core/BoxedTable/TableRow/styles.js +19 -16
  638. package/lib/core/BoxedTable/index.js +18 -11
  639. package/lib/core/BoxedTable/models.js +5 -1
  640. package/lib/core/BoxedTable/styles.d.ts.map +1 -1
  641. package/lib/core/BoxedTable/styles.js +22 -22
  642. package/lib/core/Button/Button.stories.js +29 -22
  643. package/lib/core/Button/index.d.ts.map +1 -1
  644. package/lib/core/Button/index.js +22 -14
  645. package/lib/core/Button/styles.js +30 -32
  646. package/lib/core/Calendar/Calendar.stories.js +17 -10
  647. package/lib/core/Calendar/CalendarEvent/index.js +35 -26
  648. package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
  649. package/lib/core/Calendar/CalendarEvent/styles.js +19 -16
  650. package/lib/core/Calendar/CalendarSmallEvent/index.js +34 -25
  651. package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
  652. package/lib/core/Calendar/CalendarSmallEvent/styles.js +19 -16
  653. package/lib/core/Calendar/index.d.ts +0 -1
  654. package/lib/core/Calendar/index.d.ts.map +1 -1
  655. package/lib/core/Calendar/index.js +47 -41
  656. package/lib/core/Calendar/styles.d.ts.map +1 -1
  657. package/lib/core/Calendar/styles.js +22 -18
  658. package/lib/core/Calendar/util.js +11 -4
  659. package/lib/core/Card/Card.stories.js +29 -22
  660. package/lib/core/Card/index.js +17 -9
  661. package/lib/core/Card/styles.js +20 -21
  662. package/lib/core/Checkbox/Checkbox.stories.js +15 -8
  663. package/lib/core/Checkbox/index.js +20 -11
  664. package/lib/core/Checkbox/styles.js +14 -12
  665. package/lib/core/CollapseList/CollapseList.stories.js +27 -20
  666. package/lib/core/CollapseList/Item.js +23 -15
  667. package/lib/core/CollapseList/index.js +15 -7
  668. package/lib/core/CollapseList/styles.d.ts.map +1 -1
  669. package/lib/core/CollapseList/styles.js +14 -8
  670. package/lib/core/CommentsTimeline/CommentLine/index.js +25 -18
  671. package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
  672. package/lib/core/CommentsTimeline/CommentLine/styles.js +18 -12
  673. package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +32 -25
  674. package/lib/core/CommentsTimeline/index.js +12 -5
  675. package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
  676. package/lib/core/CommentsTimeline/styles.js +10 -4
  677. package/lib/core/CustomText/CustomText.stories.js +14 -7
  678. package/lib/core/CustomText/index.js +18 -10
  679. package/lib/core/CustomText/styles.d.ts.map +1 -1
  680. package/lib/core/CustomText/styles.js +13 -8
  681. package/lib/core/Datepicker/Datepicker.stories.js +22 -15
  682. package/lib/core/Datepicker/index.js +57 -47
  683. package/lib/core/Datepicker/styles.d.ts.map +1 -1
  684. package/lib/core/Datepicker/styles.js +25 -20
  685. package/lib/core/DatepickerRange/DatepickerRange.stories.js +14 -7
  686. package/lib/core/DatepickerRange/index.js +20 -13
  687. package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
  688. package/lib/core/DatepickerRange/styles.js +21 -15
  689. package/lib/core/Divider/index.js +13 -6
  690. package/lib/core/Divider/styles.js +14 -10
  691. package/lib/core/Dropdown/Dropdown.stories.js +23 -16
  692. package/lib/core/Dropdown/index.js +29 -19
  693. package/lib/core/Dropdown/styles.js +12 -7
  694. package/lib/core/DropdownMenu/DropdownMenu.stories.js +27 -20
  695. package/lib/core/DropdownMenu/DropdownMenuOption.js +15 -7
  696. package/lib/core/DropdownMenu/index.js +21 -12
  697. package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
  698. package/lib/core/DropdownMenu/styles.js +15 -9
  699. package/lib/core/FileInput/FileInput.stories.js +20 -13
  700. package/lib/core/FileInput/index.js +42 -33
  701. package/lib/core/FileInput/styles.d.ts.map +1 -1
  702. package/lib/core/FileInput/styles.js +34 -36
  703. package/lib/core/GoogleButton/GoogleButton.stories.js +11 -4
  704. package/lib/core/GoogleButton/index.js +14 -7
  705. package/lib/core/GoogleButton/styles.d.ts.map +1 -1
  706. package/lib/core/GoogleButton/styles.js +10 -4
  707. package/lib/core/Header/Header.stories.js +18 -11
  708. package/lib/core/Header/index.js +14 -6
  709. package/lib/core/Header/styles.js +18 -12
  710. package/lib/core/HighlightText/HighlightText.stories.js +12 -5
  711. package/lib/core/HighlightText/index.js +16 -9
  712. package/lib/core/HighlightText/styles.d.ts.map +1 -1
  713. package/lib/core/HighlightText/styles.js +10 -4
  714. package/lib/core/Html/Html.stories.js +18 -11
  715. package/lib/core/Html/index.js +16 -8
  716. package/lib/core/Html/styles.js +15 -11
  717. package/lib/core/Image/Image.stories.js +15 -8
  718. package/lib/core/Image/index.js +19 -10
  719. package/lib/core/Image/styles.js +15 -11
  720. package/lib/core/ImagePicker/IconWithBackground.js +14 -7
  721. package/lib/core/ImagePicker/ImagePicker.stories.js +17 -10
  722. package/lib/core/ImagePicker/UploadButton.js +21 -13
  723. package/lib/core/ImagePicker/index.js +49 -41
  724. package/lib/core/ImagePicker/styles.js +24 -24
  725. package/lib/core/ImageViewer/ImageViewer.stories.js +11 -4
  726. package/lib/core/ImageViewer/index.js +45 -37
  727. package/lib/core/ImageViewer/styles.js +15 -12
  728. package/lib/core/InfoButton/InfoButton.stories.js +22 -15
  729. package/lib/core/InfoButton/index.js +25 -15
  730. package/lib/core/InfoButton/styles.d.ts.map +1 -1
  731. package/lib/core/InfoButton/styles.js +24 -21
  732. package/lib/core/Input/Input.stories.js +35 -28
  733. package/lib/core/Input/index.js +47 -38
  734. package/lib/core/Input/styles.js +28 -27
  735. package/lib/core/Link/Link.stories.js +19 -12
  736. package/lib/core/Link/index.js +21 -13
  737. package/lib/core/Link/styles.d.ts.map +1 -1
  738. package/lib/core/Link/styles.js +29 -24
  739. package/lib/core/List/Item.js +11 -5
  740. package/lib/core/List/List.stories.js +72 -65
  741. package/lib/core/List/index.js +23 -10
  742. package/lib/core/List/styles.js +20 -18
  743. package/lib/core/ListPager/ListPager.stories.js +11 -4
  744. package/lib/core/ListPager/index.js +24 -17
  745. package/lib/core/ListPager/styles.d.ts.map +1 -1
  746. package/lib/core/ListPager/styles.js +15 -9
  747. package/lib/core/MediaCarousel/MediaCarousel.stories.js +12 -5
  748. package/lib/core/MediaCarousel/index.js +30 -23
  749. package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
  750. package/lib/core/MediaCarousel/styles.js +18 -13
  751. package/lib/core/Modal/ActionButtons/index.js +15 -8
  752. package/lib/core/Modal/Modal.stories.js +49 -42
  753. package/lib/core/Modal/index.js +51 -41
  754. package/lib/core/Modal/styles.d.ts.map +1 -1
  755. package/lib/core/Modal/styles.js +26 -22
  756. package/lib/core/NoticeCard/NoticeCard.stories.js +15 -8
  757. package/lib/core/NoticeCard/index.js +50 -41
  758. package/lib/core/NoticeCard/models.js +7 -1
  759. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +24 -17
  760. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
  761. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +16 -10
  762. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +17 -8
  763. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
  764. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +10 -4
  765. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +23 -16
  766. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
  767. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +13 -8
  768. package/lib/core/NoticeCard/styles.d.ts.map +1 -1
  769. package/lib/core/NoticeCard/styles.js +18 -13
  770. package/lib/core/NoticeCard/utils.js +20 -11
  771. package/lib/core/NotificationCounter/NotificationCounter.stories.js +15 -8
  772. package/lib/core/NotificationCounter/index.js +11 -5
  773. package/lib/core/NotificationCounter/styles.js +9 -3
  774. package/lib/core/NotificationsMenu/NotificationRow/index.js +18 -11
  775. package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
  776. package/lib/core/NotificationsMenu/NotificationRow/styles.js +16 -11
  777. package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +22 -15
  778. package/lib/core/NotificationsMenu/index.js +30 -21
  779. package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
  780. package/lib/core/NotificationsMenu/styles.js +12 -6
  781. package/lib/core/PieChart/ActiveShape/index.js +14 -9
  782. package/lib/core/PieChart/PieChart.stories.js +19 -12
  783. package/lib/core/PieChart/index.js +32 -23
  784. package/lib/core/PieChart/renderTextContent/index.js +15 -10
  785. package/lib/core/PieChart/styles.d.ts.map +1 -1
  786. package/lib/core/PieChart/styles.js +13 -7
  787. package/lib/core/PreemptionCard/PreemptionCard.stories.js +14 -7
  788. package/lib/core/PreemptionCard/index.js +45 -38
  789. package/lib/core/PreemptionCard/models.js +7 -1
  790. package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
  791. package/lib/core/PreemptionCard/styles.js +18 -14
  792. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +14 -7
  793. package/lib/core/PreemptionCardLoading/index.js +19 -12
  794. package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
  795. package/lib/core/PreemptionCardLoading/styles.js +14 -10
  796. package/lib/core/QuillEditor/QuillEditor.stories.js +31 -24
  797. package/lib/core/QuillEditor/classes/LinkSanitizer.js +12 -4
  798. package/lib/core/QuillEditor/classes/ListItem.js +10 -3
  799. package/lib/core/QuillEditor/config.d.ts +3 -3
  800. package/lib/core/QuillEditor/config.js +8 -2
  801. package/lib/core/QuillEditor/index.js +61 -54
  802. package/lib/core/QuillEditor/models.js +5 -1
  803. package/lib/core/QuillEditor/styles.d.ts.map +1 -1
  804. package/lib/core/QuillEditor/styles.js +15 -10
  805. package/lib/core/Radio/Radio.stories.js +27 -20
  806. package/lib/core/Radio/index.js +16 -8
  807. package/lib/core/Radio/styles.js +13 -9
  808. package/lib/core/SearchFilter/SearchFilter.stories.js +36 -29
  809. package/lib/core/SearchFilter/index.js +53 -43
  810. package/lib/core/SearchFilter/styles.d.ts.map +1 -1
  811. package/lib/core/SearchFilter/styles.js +33 -32
  812. package/lib/core/SearchSelect/SearchSelect.stories.js +18 -11
  813. package/lib/core/SearchSelect/hooks/useSelectSearch.js +13 -7
  814. package/lib/core/SearchSelect/index.js +36 -26
  815. package/lib/core/SearchSelect/interface/IProps.js +5 -1
  816. package/lib/core/SearchSelect/styles.d.ts.map +1 -1
  817. package/lib/core/SearchSelect/styles.js +19 -17
  818. package/lib/core/Select/Option.js +18 -10
  819. package/lib/core/Select/Select.stories.js +85 -78
  820. package/lib/core/Select/index.js +46 -31
  821. package/lib/core/Select/styles.d.ts.map +1 -1
  822. package/lib/core/Select/styles.js +33 -33
  823. package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +21 -14
  824. package/lib/core/SimpleBarChart/index.js +27 -20
  825. package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
  826. package/lib/core/SimpleBarChart/styles.js +9 -2
  827. package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +24 -17
  828. package/lib/core/SimpleLineChart/index.js +25 -18
  829. package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
  830. package/lib/core/SimpleLineChart/styles.js +9 -2
  831. package/lib/core/Skeleton/Skeleton.stories.js +14 -7
  832. package/lib/core/Skeleton/index.js +14 -7
  833. package/lib/core/Skeleton/styles.d.ts.map +1 -1
  834. package/lib/core/Skeleton/styles.js +14 -7
  835. package/lib/core/Spinner/Spinner.stories.js +19 -12
  836. package/lib/core/Spinner/index.js +14 -6
  837. package/lib/core/Spinner/styles.js +14 -9
  838. package/lib/core/Stepper/MobileStep/index.js +17 -10
  839. package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -1
  840. package/lib/core/Stepper/MobileStep/styles.js +20 -18
  841. package/lib/core/Stepper/Step/index.js +31 -25
  842. package/lib/core/Stepper/Step/styles.d.ts.map +1 -1
  843. package/lib/core/Stepper/Step/styles.js +18 -13
  844. package/lib/core/Stepper/Stepper.stories.js +11 -4
  845. package/lib/core/Stepper/index.js +27 -18
  846. package/lib/core/Stepper/styles.d.ts.map +1 -1
  847. package/lib/core/Stepper/styles.js +13 -7
  848. package/lib/core/TabBar/TabBar.stories.js +19 -12
  849. package/lib/core/TabBar/TabItem/index.js +14 -7
  850. package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
  851. package/lib/core/TabBar/TabItem/styles.js +10 -4
  852. package/lib/core/TabBar/index.js +12 -5
  853. package/lib/core/TabBar/styles.d.ts.map +1 -1
  854. package/lib/core/TabBar/styles.js +10 -4
  855. package/lib/core/TabNav/TabContext.js +21 -12
  856. package/lib/core/TabNav/TabNav.stories.js +85 -78
  857. package/lib/core/TabNav/TabNavItem/index.js +36 -26
  858. package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
  859. package/lib/core/TabNav/TabNavItem/styles.js +18 -11
  860. package/lib/core/TabNav/index.js +38 -28
  861. package/lib/core/TabNav/styles.d.ts.map +1 -1
  862. package/lib/core/TabNav/styles.js +23 -18
  863. package/lib/core/TabNav/utils/useContainerDimensions.js +13 -6
  864. package/lib/core/Table/Cell.js +14 -6
  865. package/lib/core/Table/Row.js +13 -6
  866. package/lib/core/Table/Table.stories.js +41 -34
  867. package/lib/core/Table/index.js +28 -10
  868. package/lib/core/Table/styles.d.ts.map +1 -1
  869. package/lib/core/Table/styles.js +27 -27
  870. package/lib/core/Tag/Tag.stories.js +28 -21
  871. package/lib/core/Tag/index.js +22 -14
  872. package/lib/core/Tag/styles.js +22 -21
  873. package/lib/core/Text/Text.stories.js +25 -18
  874. package/lib/core/Text/index.js +14 -6
  875. package/lib/core/Text/styles.js +25 -28
  876. package/lib/core/Textarea/Textarea.stories.js +15 -8
  877. package/lib/core/Textarea/index.js +24 -15
  878. package/lib/core/Textarea/styles.d.ts.map +1 -1
  879. package/lib/core/Textarea/styles.js +20 -15
  880. package/lib/core/Timeline/Timeline.stories.js +17 -10
  881. package/lib/core/Timeline/TimelineStep/index.js +21 -13
  882. package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
  883. package/lib/core/Timeline/TimelineStep/styles.js +19 -14
  884. package/lib/core/Timeline/index.js +12 -5
  885. package/lib/core/Timeline/styles.d.ts.map +1 -1
  886. package/lib/core/Timeline/styles.js +10 -4
  887. package/lib/core/Timepicker/Timepicker.stories.js +25 -18
  888. package/lib/core/Timepicker/index.js +35 -27
  889. package/lib/core/Timepicker/styles.d.ts.map +1 -1
  890. package/lib/core/Timepicker/styles.js +19 -16
  891. package/lib/core/Tooltip/Tooptip.stories.js +13 -6
  892. package/lib/core/Tooltip/index.js +24 -16
  893. package/lib/core/Tooltip/styles.js +10 -5
  894. package/lib/core/UnitIllustration/index.js +25 -19
  895. package/lib/core/UserMenu/UserMenu.stories.js +33 -26
  896. package/lib/core/UserMenu/UserMenuOption.js +15 -7
  897. package/lib/core/UserMenu/index.js +39 -30
  898. package/lib/core/UserMenu/styles.d.ts.map +1 -1
  899. package/lib/core/UserMenu/styles.js +23 -19
  900. package/lib/core/Video/Video.stories.js +20 -13
  901. package/lib/core/Video/index.js +19 -11
  902. package/lib/core/Video/styles.d.ts.map +1 -1
  903. package/lib/core/Video/styles.js +10 -4
  904. package/lib/core/YearWheel/YearWheel.stories.js +15 -8
  905. package/lib/core/YearWheel/index.js +65 -57
  906. package/lib/core/YearWheel/styles.d.ts.map +1 -1
  907. package/lib/core/YearWheel/styles.js +15 -7
  908. package/lib/core/private/ButtonOrLink.js +18 -9
  909. package/lib/core/private/preemption.js +9 -1
  910. package/lib/core/utils/debounce.js +10 -4
  911. package/lib/enums/Keyboard.js +7 -2
  912. package/lib/global.d.js +3 -2
  913. package/lib/globals/styles/breakpoints.js +7 -1
  914. package/lib/globals/styles/paddings.js +7 -1
  915. package/lib/globals/styles/styles.js +9 -4
  916. package/lib/globals/validation/regularExpressions.js +7 -1
  917. package/lib/hooks/useIsMobile.js +12 -5
  918. package/lib/hooks/useScreenOrientation.js +12 -5
  919. package/lib/icons/General/IconApartment.js +13 -6
  920. package/lib/icons/General/IconArchives.js +13 -6
  921. package/lib/icons/General/IconArea.js +13 -6
  922. package/lib/icons/General/IconArrowDown.js +13 -6
  923. package/lib/icons/General/IconArrowLeft.js +13 -6
  924. package/lib/icons/General/IconArrowRight.js +13 -6
  925. package/lib/icons/General/IconArrowUp.js +13 -6
  926. package/lib/icons/General/IconAttachment.js +13 -6
  927. package/lib/icons/General/IconAuditorFilled.js +24 -17
  928. package/lib/icons/General/IconAuditorOutline.js +24 -17
  929. package/lib/icons/General/IconBack.js +13 -6
  930. package/lib/icons/General/IconBath.js +13 -6
  931. package/lib/icons/General/IconBblFlame.js +13 -6
  932. package/lib/icons/General/IconBblShield.js +13 -6
  933. package/lib/icons/General/IconBblWater.js +13 -6
  934. package/lib/icons/General/IconBellFilled.js +13 -6
  935. package/lib/icons/General/IconBellOutline.js +13 -6
  936. package/lib/icons/General/IconBlock.js +13 -6
  937. package/lib/icons/General/IconBoard.js +13 -6
  938. package/lib/icons/General/IconBookmarkFilled.js +13 -6
  939. package/lib/icons/General/IconBookmarkOutline.js +13 -6
  940. package/lib/icons/General/IconBus.js +13 -6
  941. package/lib/icons/General/IconCalendar.js +13 -6
  942. package/lib/icons/General/IconCamera.js +14 -7
  943. package/lib/icons/General/IconCar.js +13 -6
  944. package/lib/icons/General/IconCaretDown.js +13 -6
  945. package/lib/icons/General/IconCaretLeft.js +13 -6
  946. package/lib/icons/General/IconCaretRight.js +13 -6
  947. package/lib/icons/General/IconCaretUp.js +13 -6
  948. package/lib/icons/General/IconCases.js +28 -21
  949. package/lib/icons/General/IconCheck.js +13 -6
  950. package/lib/icons/General/IconCheckedFilled.js +13 -6
  951. package/lib/icons/General/IconCheckedOutline.js +13 -6
  952. package/lib/icons/General/IconChevronDown.js +13 -6
  953. package/lib/icons/General/IconChevronLeft.js +13 -6
  954. package/lib/icons/General/IconChevronRight.js +13 -6
  955. package/lib/icons/General/IconChoice.js +13 -6
  956. package/lib/icons/General/IconClose.js +13 -6
  957. package/lib/icons/General/IconCloseAlt.js +13 -6
  958. package/lib/icons/General/IconComment.js +13 -6
  959. package/lib/icons/General/IconCommunication.js +13 -6
  960. package/lib/icons/General/IconCommunicationFilled.js +13 -6
  961. package/lib/icons/General/IconCompanyBuilding.js +13 -6
  962. package/lib/icons/General/IconCompanyBuildingFilled.js +13 -6
  963. package/lib/icons/General/IconCompanyBuildingOutline.js +13 -6
  964. package/lib/icons/General/IconDashboard.js +13 -6
  965. package/lib/icons/General/IconDashboardFilled.js +13 -6
  966. package/lib/icons/General/IconDelete.js +13 -6
  967. package/lib/icons/General/IconDocument.js +23 -16
  968. package/lib/icons/General/IconDocumentFilled.js +23 -16
  969. package/lib/icons/General/IconDoor.js +13 -6
  970. package/lib/icons/General/IconDotFilled.js +13 -6
  971. package/lib/icons/General/IconDotOutline.js +13 -6
  972. package/lib/icons/General/IconDownload.js +13 -6
  973. package/lib/icons/General/IconDraft.js +13 -6
  974. package/lib/icons/General/IconEarth.js +13 -6
  975. package/lib/icons/General/IconEconomy.js +13 -6
  976. package/lib/icons/General/IconEconomyFilled.js +13 -6
  977. package/lib/icons/General/IconEdit.js +13 -6
  978. package/lib/icons/General/IconElevator.js +13 -6
  979. package/lib/icons/General/IconEmailMarkAsRead.js +12 -5
  980. package/lib/icons/General/IconErrorFilled.js +13 -6
  981. package/lib/icons/General/IconErrorOutline.js +13 -6
  982. package/lib/icons/General/IconExternalLink.js +13 -6
  983. package/lib/icons/General/IconEye.js +13 -6
  984. package/lib/icons/General/IconEyeDeny.js +13 -6
  985. package/lib/icons/General/IconFamily.js +13 -6
  986. package/lib/icons/General/IconFerry.js +13 -6
  987. package/lib/icons/General/IconFile.js +13 -6
  988. package/lib/icons/General/IconFileAdd.js +13 -6
  989. package/lib/icons/General/IconFileCopy.js +13 -6
  990. package/lib/icons/General/IconFileEdit.js +13 -6
  991. package/lib/icons/General/IconFileExcel.js +13 -6
  992. package/lib/icons/General/IconFilePDF.js +13 -6
  993. package/lib/icons/General/IconFileWord.js +13 -6
  994. package/lib/icons/General/IconFillOut.js +15 -8
  995. package/lib/icons/General/IconFilterList.js +13 -6
  996. package/lib/icons/General/IconFloor.js +13 -6
  997. package/lib/icons/General/IconForward.js +13 -6
  998. package/lib/icons/General/IconFullscreenClose.js +13 -6
  999. package/lib/icons/General/IconFullscreenOpen.js +13 -6
  1000. package/lib/icons/General/IconGarage.js +13 -6
  1001. package/lib/icons/General/IconGrid.js +13 -6
  1002. package/lib/icons/General/IconGym.js +13 -6
  1003. package/lib/icons/General/IconHearth.js +13 -6
  1004. package/lib/icons/General/IconHearthOutline.js +13 -6
  1005. package/lib/icons/General/IconHelp.js +13 -6
  1006. package/lib/icons/General/IconHistory.js +13 -6
  1007. package/lib/icons/General/IconHomeFilled.js +20 -13
  1008. package/lib/icons/General/IconHomeOutline.js +20 -13
  1009. package/lib/icons/General/IconHouse.js +13 -6
  1010. package/lib/icons/General/IconHouseBlockFilled.js +20 -13
  1011. package/lib/icons/General/IconHouseBlockOutline.js +20 -13
  1012. package/lib/icons/General/IconHouseOutline.js +13 -6
  1013. package/lib/icons/General/IconHumans.js +13 -6
  1014. package/lib/icons/General/IconImage.js +14 -7
  1015. package/lib/icons/General/IconImportantComment.js +13 -6
  1016. package/lib/icons/General/IconInbox.js +13 -6
  1017. package/lib/icons/General/IconInfoFilled.js +13 -6
  1018. package/lib/icons/General/IconInfoOutline.js +13 -6
  1019. package/lib/icons/General/IconJanitorFilled.js +24 -17
  1020. package/lib/icons/General/IconJanitorOutline.js +24 -17
  1021. package/lib/icons/General/IconJointcost.js +13 -6
  1022. package/lib/icons/General/IconJointcost2.js +13 -6
  1023. package/lib/icons/General/IconKey.js +13 -6
  1024. package/lib/icons/General/IconKitchen.js +13 -6
  1025. package/lib/icons/General/IconLabel.js +13 -6
  1026. package/lib/icons/General/IconLeafFilled.js +23 -16
  1027. package/lib/icons/General/IconLeafOutline.js +25 -18
  1028. package/lib/icons/General/IconLeisureTime.js +13 -6
  1029. package/lib/icons/General/IconLock.js +13 -6
  1030. package/lib/icons/General/IconLockLocked.js +13 -6
  1031. package/lib/icons/General/IconLockOpen.js +13 -6
  1032. package/lib/icons/General/IconLookup.js +13 -6
  1033. package/lib/icons/General/IconLookupFilled.js +13 -6
  1034. package/lib/icons/General/IconMail.js +13 -6
  1035. package/lib/icons/General/IconMap.js +13 -6
  1036. package/lib/icons/General/IconMedal.js +12 -5
  1037. package/lib/icons/General/IconMembership.js +13 -6
  1038. package/lib/icons/General/IconMembershipFilled.js +13 -6
  1039. package/lib/icons/General/IconMenu.js +13 -6
  1040. package/lib/icons/General/IconMinus.js +13 -6
  1041. package/lib/icons/General/IconMinusAlt.js +13 -6
  1042. package/lib/icons/General/IconMinusAltFilled.js +13 -6
  1043. package/lib/icons/General/IconMoney.js +13 -6
  1044. package/lib/icons/General/IconParking.js +13 -6
  1045. package/lib/icons/General/IconPaymentCard.js +13 -6
  1046. package/lib/icons/General/IconPercent.js +12 -5
  1047. package/lib/icons/General/IconPhone.js +13 -6
  1048. package/lib/icons/General/IconPinned.js +13 -6
  1049. package/lib/icons/General/IconPlus.js +13 -6
  1050. package/lib/icons/General/IconPlusAlt.js +13 -6
  1051. package/lib/icons/General/IconPortalUser.js +13 -6
  1052. package/lib/icons/General/IconPrint.js +13 -6
  1053. package/lib/icons/General/IconProfile.js +13 -6
  1054. package/lib/icons/General/IconProfileFilled.js +13 -6
  1055. package/lib/icons/General/IconRearrange.js +23 -16
  1056. package/lib/icons/General/IconReciept.js +13 -6
  1057. package/lib/icons/General/IconRedo.js +13 -6
  1058. package/lib/icons/General/IconRefresh.js +13 -6
  1059. package/lib/icons/General/IconReply.js +13 -6
  1060. package/lib/icons/General/IconReplyAll.js +13 -6
  1061. package/lib/icons/General/IconRoom.js +13 -6
  1062. package/lib/icons/General/IconSave.js +13 -6
  1063. package/lib/icons/General/IconSearch.js +13 -6
  1064. package/lib/icons/General/IconSend.js +13 -6
  1065. package/lib/icons/General/IconSettings.js +13 -6
  1066. package/lib/icons/General/IconShopping.js +13 -6
  1067. package/lib/icons/General/IconSign.js +13 -6
  1068. package/lib/icons/General/IconSliders.js +13 -6
  1069. package/lib/icons/General/IconSort.js +13 -6
  1070. package/lib/icons/General/IconStarFilled.js +13 -6
  1071. package/lib/icons/General/IconStarHalf.js +13 -6
  1072. package/lib/icons/General/IconStarOutline.js +13 -6
  1073. package/lib/icons/General/IconStore.js +13 -6
  1074. package/lib/icons/General/IconSubway.js +13 -6
  1075. package/lib/icons/General/IconSwitch.js +13 -6
  1076. package/lib/icons/General/IconTrain.js +13 -6
  1077. package/lib/icons/General/IconTram.js +13 -6
  1078. package/lib/icons/General/IconTransport.js +13 -6
  1079. package/lib/icons/General/IconTypeOfBuilding.js +13 -6
  1080. package/lib/icons/General/IconTypeOfBuildingOutline.js +13 -6
  1081. package/lib/icons/General/IconUndo.js +13 -6
  1082. package/lib/icons/General/IconUpload.js +13 -6
  1083. package/lib/icons/General/IconUser.js +13 -6
  1084. package/lib/icons/General/IconUserThin.js +13 -6
  1085. package/lib/icons/General/IconVote.js +13 -6
  1086. package/lib/icons/General/IconWalk.js +13 -6
  1087. package/lib/icons/General/IconWarning.js +13 -6
  1088. package/lib/icons/General/IconWarningBell.js +13 -6
  1089. package/lib/icons/General/IconWork.js +13 -6
  1090. package/lib/icons/General/IconWorkFilled.js +13 -6
  1091. package/lib/icons/General/IconZip.js +13 -6
  1092. package/lib/icons/Icon.stories.js +393 -389
  1093. package/lib/icons/Logos/IconAmericanExpress.js +13 -6
  1094. package/lib/icons/Logos/IconBankAxept.js +21 -14
  1095. package/lib/icons/Logos/IconGmail.js +15 -8
  1096. package/lib/icons/Logos/IconMasterCard.js +18 -11
  1097. package/lib/icons/Logos/IconOffice365.js +41 -34
  1098. package/lib/icons/Logos/IconVisa.js +18 -11
  1099. package/lib/icons/withIcon.js +13 -6
  1100. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +1228 -1221
  1101. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1468 -1459
  1102. package/lib/illustrations/General/IllustrationBudget.js +66 -59
  1103. package/lib/illustrations/General/IllustrationError.js +134 -127
  1104. package/lib/illustrations/General/IllustrationErrorGeneric.js +121 -114
  1105. package/lib/illustrations/General/IllustrationHighHouse.js +46 -39
  1106. package/lib/illustrations/General/IllustrationHighHouseComposition.js +68 -61
  1107. package/lib/illustrations/General/IllustrationHouse.js +26 -19
  1108. package/lib/illustrations/General/IllustrationHouseComposition.js +43 -36
  1109. package/lib/illustrations/General/IllustrationHouseMissing.js +52 -45
  1110. package/lib/illustrations/General/IllustrationLowHouse.js +31 -24
  1111. package/lib/illustrations/General/IllustrationLowHouseComposition.js +53 -46
  1112. package/lib/illustrations/General/IllustrationPaperCompleted.js +71 -64
  1113. package/lib/illustrations/General/IllustrationPaperMissing.js +77 -70
  1114. package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +27 -20
  1115. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +47 -40
  1116. package/lib/illustrations/General/IllustrationServiceMessage.js +21 -13
  1117. package/lib/illustrations/General/IllustrationSmallHouse.js +21 -14
  1118. package/lib/illustrations/General/IllustrationSmallHouseComposition.js +41 -34
  1119. package/lib/illustrations/General/IllustrationTechninalDifficulties.js +40 -32
  1120. package/lib/illustrations/General/IllustrationTerraceBlock.js +40 -33
  1121. package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +60 -53
  1122. package/lib/illustrations/General/IllustrationTownHouse.js +31 -24
  1123. package/lib/illustrations/General/IllustrationTownHouseComposition.js +53 -46
  1124. package/lib/illustrations/Illustration.stories.js +97 -90
  1125. package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +34 -27
  1126. package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +61 -54
  1127. package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +48 -41
  1128. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +43 -36
  1129. package/lib/illustrations/MySite/IllustrationMySiteComputer.js +47 -40
  1130. package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +46 -39
  1131. package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +42 -35
  1132. package/lib/illustrations/MySite/IllustrationMySiteGift.js +76 -69
  1133. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +30 -23
  1134. package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +38 -31
  1135. package/lib/illustrations/MySite/IllustrationMySitePapers.js +67 -60
  1136. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +59 -52
  1137. package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +34 -27
  1138. package/lib/illustrations/styles.js +13 -7
  1139. package/lib/illustrations/withIllustration.js +15 -7
  1140. package/lib/index.js +2396 -326
  1141. package/lib/layout/Footer/Footer.stories.js +34 -27
  1142. package/lib/layout/Footer/FooterButton/index.js +13 -5
  1143. package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
  1144. package/lib/layout/Footer/FooterButton/styles.js +11 -5
  1145. package/lib/layout/Footer/FooterCol/index.js +12 -5
  1146. package/lib/layout/Footer/FooterCol/styles.d.ts.map +1 -1
  1147. package/lib/layout/Footer/FooterCol/styles.js +10 -4
  1148. package/lib/layout/Footer/FooterGroup/index.js +12 -5
  1149. package/lib/layout/Footer/FooterGroup/styles.d.ts.map +1 -1
  1150. package/lib/layout/Footer/FooterGroup/styles.js +10 -4
  1151. package/lib/layout/Footer/FooterLabel/index.js +12 -5
  1152. package/lib/layout/Footer/FooterLabel/styles.d.ts.map +1 -1
  1153. package/lib/layout/Footer/FooterLabel/styles.js +10 -4
  1154. package/lib/layout/Footer/FooterLink/index.js +13 -5
  1155. package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
  1156. package/lib/layout/Footer/FooterLink/styles.js +11 -5
  1157. package/lib/layout/Footer/index.js +15 -7
  1158. package/lib/layout/Footer/styles.d.ts.map +1 -1
  1159. package/lib/layout/Footer/styles.js +14 -6
  1160. package/lib/layout/Layout/Layout.stories.js +14 -7
  1161. package/lib/layout/Layout/index.js +12 -5
  1162. package/lib/layout/Layout/styles.d.ts.map +1 -1
  1163. package/lib/layout/Layout/styles.js +11 -4
  1164. package/lib/layout/LayoutShell/LayoutShell.stories.js +28 -21
  1165. package/lib/layout/LayoutShell/index.js +24 -15
  1166. package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
  1167. package/lib/layout/LayoutShell/styles.js +24 -20
  1168. package/lib/layout/Menu/AppPicker/index.js +21 -14
  1169. package/lib/layout/Menu/AppPicker/styles.d.ts.map +1 -1
  1170. package/lib/layout/Menu/AppPicker/styles.js +18 -12
  1171. package/lib/layout/Menu/MainMenu/index.js +13 -6
  1172. package/lib/layout/Menu/MainMenu/styles.d.ts.map +1 -1
  1173. package/lib/layout/Menu/MainMenu/styles.js +13 -6
  1174. package/lib/layout/Menu/MenuItem/index.js +18 -11
  1175. package/lib/layout/Menu/MenuItem/styles.d.ts.map +1 -1
  1176. package/lib/layout/Menu/MenuItem/styles.js +16 -10
  1177. package/lib/layout/Menu/MenuSpacer/index.js +12 -5
  1178. package/lib/layout/Menu/MenuSpacer/styles.d.ts.map +1 -1
  1179. package/lib/layout/Menu/MenuSpacer/styles.js +11 -4
  1180. package/lib/layout/Menu/MenuTop/index.js +16 -8
  1181. package/lib/layout/Menu/MenuTop/styles.d.ts.map +1 -1
  1182. package/lib/layout/Menu/MenuTop/styles.js +17 -11
  1183. package/lib/layout/Menu/SecondaryMenu/index.js +21 -14
  1184. package/lib/layout/Menu/SecondaryMenu/styles.d.ts.map +1 -1
  1185. package/lib/layout/Menu/SecondaryMenu/styles.js +19 -12
  1186. package/lib/layout/Menu/SecondaryMenuItem/index.js +16 -9
  1187. package/lib/layout/Menu/SecondaryMenuItem/styles.js +12 -5
  1188. package/lib/layout/Menu/Sidemenu.stories.js +93 -86
  1189. package/lib/layout/Menu/index.js +14 -7
  1190. package/lib/layout/Menu/styles.d.ts.map +1 -1
  1191. package/lib/layout/Menu/styles.js +12 -5
  1192. package/lib/layout/Submenu/Submenu.stories.js +35 -28
  1193. package/lib/layout/Submenu/SubmenuItem/index.js +32 -22
  1194. package/lib/layout/Submenu/SubmenuItem/styles.js +17 -10
  1195. package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +20 -13
  1196. package/lib/layout/Submenu/index.js +45 -35
  1197. package/lib/layout/Submenu/styles.d.ts.map +1 -1
  1198. package/lib/layout/Submenu/styles.js +30 -25
  1199. package/lib/layout/Topbar/Topbar.stories.js +15 -8
  1200. package/lib/layout/Topbar/index.js +12 -5
  1201. package/lib/layout/Topbar/styles.js +9 -2
  1202. package/lib/shared/components/SbIconGrid/index.js +15 -9
  1203. package/lib/shared/components/VisuallyHidden/index.d.ts.map +1 -1
  1204. package/lib/shared/components/VisuallyHidden/index.js +11 -5
  1205. package/lib/shared/recharts/CustomLegend/index.js +20 -12
  1206. package/lib/shared/recharts/CustomLegend/styles.d.ts.map +1 -1
  1207. package/lib/shared/recharts/CustomLegend/styles.js +14 -8
  1208. package/lib/shared/recharts/CustomTooltip/index.js +26 -19
  1209. package/lib/shared/recharts/CustomTooltip/styles.d.ts.map +1 -1
  1210. package/lib/shared/recharts/CustomTooltip/styles.js +15 -10
  1211. package/lib/utils/accountNumber.js +8 -1
  1212. package/lib/utils/alpha.js +7 -2
  1213. package/lib/utils/array.js +7 -1
  1214. package/lib/utils/dates.js +25 -15
  1215. package/lib/utils/file.js +11 -3
  1216. package/lib/utils/format.js +18 -4
  1217. package/lib/utils/formatGraphPrice.js +7 -2
  1218. package/lib/utils/image.js +7 -1
  1219. package/lib/utils/pagination.js +11 -1
  1220. package/lib/utils/phone.js +7 -1
  1221. package/lib/utils/removeFocusOnMouseUp.js +7 -1
  1222. package/lib/utils/time.js +25 -12
  1223. package/lib/utils/url.js +8 -1
  1224. package/lib/utils/useSnorreTheme.js +15 -9
  1225. package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.js +20 -14
  1226. package/lib/v2/Memberbenefits/MemberbenefitsCard/index.js +43 -34
  1227. package/lib/v2/Memberbenefits/MemberbenefitsCard/model.js +7 -1
  1228. package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.d.ts.map +1 -1
  1229. package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.js +31 -35
  1230. package/lib/v2/core/Box/Box.stories.js +31 -24
  1231. package/lib/v2/core/Box/index.js +31 -21
  1232. package/lib/v2/core/Box/styles.d.ts.map +1 -1
  1233. package/lib/v2/core/Box/styles.js +26 -22
  1234. package/lib/v2/core/BoxedTable/BoxedTable.stories.js +141 -134
  1235. package/lib/v2/core/BoxedTable/DraggableRow/index.js +20 -13
  1236. package/lib/v2/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
  1237. package/lib/v2/core/BoxedTable/DraggableRow/styles.js +18 -14
  1238. package/lib/v2/core/BoxedTable/HeaderCell/index.js +19 -11
  1239. package/lib/v2/core/BoxedTable/HeaderCell/styles.js +13 -5
  1240. package/lib/v2/core/BoxedTable/RowCell/index.js +14 -6
  1241. package/lib/v2/core/BoxedTable/RowCell/styles.js +21 -18
  1242. package/lib/v2/core/BoxedTable/TableHeader/index.js +12 -5
  1243. package/lib/v2/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
  1244. package/lib/v2/core/BoxedTable/TableHeader/styles.js +10 -4
  1245. package/lib/v2/core/BoxedTable/TableRow/index.js +27 -18
  1246. package/lib/v2/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
  1247. package/lib/v2/core/BoxedTable/TableRow/styles.js +19 -16
  1248. package/lib/v2/core/BoxedTable/index.js +24 -15
  1249. package/lib/v2/core/BoxedTable/models.js +5 -1
  1250. package/lib/v2/core/BoxedTable/styles.d.ts.map +1 -1
  1251. package/lib/v2/core/BoxedTable/styles.js +27 -31
  1252. package/lib/v2/core/Button/Button.stories.js +42 -35
  1253. package/lib/v2/core/Button/index.d.ts.map +1 -1
  1254. package/lib/v2/core/Button/index.js +22 -14
  1255. package/lib/v2/core/Button/styles.js +30 -31
  1256. package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.js +13 -6
  1257. package/lib/v2/core/ButtonsFilter/index.js +20 -13
  1258. package/lib/v2/core/ButtonsFilter/styles.d.ts.map +1 -1
  1259. package/lib/v2/core/ButtonsFilter/styles.js +10 -4
  1260. package/lib/v2/core/Chip/Chip.stories.js +25 -18
  1261. package/lib/v2/core/Chip/index.js +21 -14
  1262. package/lib/v2/core/Chip/styles.d.ts.map +1 -1
  1263. package/lib/v2/core/Chip/styles.js +22 -17
  1264. package/lib/v2/core/TabNav/TabContext.js +21 -12
  1265. package/lib/v2/core/TabNav/TabNav.stories.js +85 -78
  1266. package/lib/v2/core/TabNav/TabNavItem/index.js +36 -26
  1267. package/lib/v2/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
  1268. package/lib/v2/core/TabNav/TabNavItem/styles.js +19 -13
  1269. package/lib/v2/core/TabNav/index.js +38 -28
  1270. package/lib/v2/core/TabNav/styles.d.ts.map +1 -1
  1271. package/lib/v2/core/TabNav/styles.js +21 -17
  1272. package/lib/v2/core/TabNav/utils/useContainerDimensions.js +13 -6
  1273. package/lib/v2/hooks/useOverflow.js +14 -8
  1274. package/lib/v2/index.js +97 -14
  1275. package/package.json +14 -5
@@ -1,18 +1,25 @@
1
- import React from 'react';
2
- import { Wrapper } from './styles';
3
- import { useTheme } from '@emotion/react';
4
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _styles = require("./styles");
9
+ var _react2 = require("@emotion/react");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
5
12
  const Menu = ({
6
13
  lightTheme,
7
14
  open,
8
15
  children
9
16
  }) => {
10
- const theme = useTheme();
11
- return /*#__PURE__*/_jsx(Wrapper, {
17
+ const theme = (0, _react2.useTheme)();
18
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Wrapper, {
12
19
  lightTheme: Boolean(lightTheme),
13
20
  open: open,
14
21
  theme: theme,
15
22
  children: children
16
23
  });
17
24
  };
18
- export default Menu;
25
+ var _default = exports.default = Menu;
@@ -1,9 +1,16 @@
1
- import _styled from "@emotion/styled/base";
2
- import { css } from '@emotion/react';
3
- import bp from '../../globals/styles/breakpoints';
4
- export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Wrapper = void 0;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _react = require("@emotion/react");
9
+ var _breakpoints = _interopRequireDefault(require("../../globals/styles/breakpoints"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
5
12
  target: "ee20b9p0"
6
13
  } : {
7
14
  target: "ee20b9p0",
8
15
  label: "Wrapper"
9
- })(props => /*#__PURE__*/css("position:fixed;display:flex;justify-content:flex-start;align-items:center;flex-direction:column;overflow:hidden;background:", props.lightTheme ? props.theme.lightMenuBackground : props.theme.defaultMenuBackground, ";width:", props.open ? '250px' : '56px', ";height:calc(100vh - 20px);box-shadow:2px 0 20px 0 rgba(0, 0, 0, 0.05);z-index:90;padding-top:20px;transition:width 0.2s ease-in-out;@media screen and (max-width: ", bp.medium, "){padding:0;position:unset;display:block;overflow:unset;overflow-x:scroll;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL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GNhbGMoMTAwdmggLSAyMHB4KTtcbiAgICBib3gtc2hhZG93OiAycHggMCAyMHB4IDAgcmdiYSgwLCAwLCAwLCAwLjA1KTtcbiAgICB6LWluZGV4OiA5MDtcbiAgICBwYWRkaW5nLXRvcDogMjBweDtcbiAgICB0cmFuc2l0aW9uOiB3aWR0aCAwLjJzIGVhc2UtaW4tb3V0O1xuXG4gICAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogJHticC5tZWRpdW19KSB7XG4gICAgICBwYWRkaW5nOiAwO1xuICAgICAgcG9zaXRpb246IHVuc2V0O1xuICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICBvdmVyZmxvdzogdW5zZXQ7XG4gICAgICBvdmVyZmxvdy14OiBzY3JvbGw7XG4gICAgICB3aWR0aDogMTAwJTtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG4gIGBcbilcbiJdfQ== */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvTWVudS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3VCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvTWVudS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5pbnRlcmZhY2UgSVByb3BzIHtcbiAgb3Blbjog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BcbilcbiJdfQ== */");
16
+ })(props => /*#__PURE__*/(0, _react.css)("position:fixed;display:flex;justify-content:flex-start;align-items:center;flex-direction:column;overflow:hidden;background:", props.lightTheme ? props.theme.lightMenuBackground : props.theme.defaultMenuBackground, ";width:", props.open ? '250px' : '56px', ";height:calc(100vh - 20px);box-shadow:2px 0 20px 0 rgba(0, 0, 0, 0.05);z-index:90;padding-top:20px;transition:width 0.2s ease-in-out;@media screen and (max-width: ", _breakpoints.default.medium, "){padding:0;position:unset;display:block;overflow:unset;overflow-x:scroll;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvTWVudS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXdCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvTWVudS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5pbnRlcmZhY2UgSVByb3BzIHtcbiAgb3BlbjogYm9vbGVhblxuICBsaWdodFRoZW1lOiBib29sZWFuXG4gIHRoZW1lOiBJQXBwVGhlbWVcbn1cblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAocHJvcHM6IElQcm9wcykgPT4gY3NzYFxuICAgIHBvc2l0aW9uOiBmaXhlZDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBiYWNrZ3JvdW5kOiAke3Byb3BzLmxpZ2h0VGhlbWVcbiAgICAgID8gcHJvcHMudGhlbWUubGlnaHRNZW51QmFja2dyb3VuZFxuICAgICAgOiBwcm9wcy50aGVtZS5kZWZhdWx0TWVudUJhY2tncm91bmR9O1xuICAgIHdpZHRoOiAke3Byb3BzLm9wZW4gPyAnMjUwcHgnIDogJzU2cHgnfTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwdmggLSAyMHB4KTtcbiAgICBib3gtc2hhZG93OiAycHggMCAyMHB4IDAgcmdiYSgwLCAwLCAwLCAwLjA1KTtcbiAgICB6LWluZGV4OiA5MDtcbiAgICBwYWRkaW5nLXRvcDogMjBweDtcbiAgICB0cmFuc2l0aW9uOiB3aWR0aCAwLjJzIGVhc2UtaW4tb3V0O1xuXG4gICAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogJHticC5tZWRpdW19KSB7XG4gICAgICBwYWRkaW5nOiAwO1xuICAgICAgcG9zaXRpb246IHVuc2V0O1xuICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICBvdmVyZmxvdzogdW5zZXQ7XG4gICAgICBvdmVyZmxvdy14OiBzY3JvbGw7XG4gICAgICB3aWR0aDogMTAwJTtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG4gIGBcbilcbiJdfQ== */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvTWVudS9zdHl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AycHggMCAyMHB4IDAgcmdiYSgwLCAwLCAwLCAwLjA1KTtcbiAgICB6LWluZGV4OiA5MDtcbiAgICBwYWRkaW5nLXRvcDogMjBweDtcbiAgICB0cmFuc2l0aW9uOiB3aWR0aCAwLjJzIGVhc2UtaW4tb3V0O1xuXG4gICAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogJHticC5tZWRpdW19KSB7XG4gICAgICBwYWRkaW5nOiAwO1xuICAgICAgcG9zaXRpb246IHVuc2V0O1xuICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICBvdmVyZmxvdzogdW5zZXQ7XG4gICAgICBvdmVyZmxvdy14OiBzY3JvbGw7XG4gICAgICB3aWR0aDogMTAwJTtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG4gIGBcbilcbiJdfQ== */");
@@ -1,35 +1,42 @@
1
- import Submenu from '.';
2
- import SubmenuItem from './SubmenuItem';
3
- import IllustrationMySitePiggyBank from '../../illustrations/MySite/IllustrationMySitePiggyBank';
4
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
- export default {
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.SubmenuDefault = exports.NoItemsLight = exports.NoItems = exports.LightthemeIllustration = exports.Lighttheme = exports.CustomHeader = void 0;
7
+ var _ = _interopRequireDefault(require("."));
8
+ var _SubmenuItem = _interopRequireDefault(require("./SubmenuItem"));
9
+ var _IllustrationMySitePiggyBank = _interopRequireDefault(require("../../illustrations/MySite/IllustrationMySitePiggyBank"));
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ var _default = exports.default = {
6
13
  title: 'Layout/Submenu',
7
- component: Submenu
14
+ component: _.default
8
15
  };
9
- export const SubmenuDefault = {
10
- render: () => /*#__PURE__*/_jsxs(Submenu, {
16
+ const SubmenuDefault = exports.SubmenuDefault = {
17
+ render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
11
18
  header: "Header",
12
- children: [/*#__PURE__*/_jsx(SubmenuItem, {
19
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
13
20
  label: "item 1",
14
21
  active: true,
15
22
  onClick: () => console.log('item click')
16
- }), /*#__PURE__*/_jsx(SubmenuItem, {
23
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
17
24
  label: "item 2",
18
25
  onClick: () => console.log('item click')
19
26
  })]
20
27
  }),
21
28
  name: 'Submenu'
22
29
  };
23
- export const Lighttheme = {
24
- render: () => /*#__PURE__*/_jsxs(Submenu, {
30
+ const Lighttheme = exports.Lighttheme = {
31
+ render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
25
32
  lightTheme: true,
26
33
  header: "Header",
27
- children: [/*#__PURE__*/_jsx(SubmenuItem, {
34
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
28
35
  label: "Item 1",
29
36
  lightTheme: true,
30
37
  active: true,
31
38
  onClick: () => console.log('item click')
32
- }), /*#__PURE__*/_jsx(SubmenuItem, {
39
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
33
40
  label: "Item 2",
34
41
  lightTheme: true,
35
42
  onClick: () => console.log('item click')
@@ -37,17 +44,17 @@ export const Lighttheme = {
37
44
  }),
38
45
  name: 'Lighttheme'
39
46
  };
40
- export const LightthemeIllustration = {
41
- render: () => /*#__PURE__*/_jsxs(Submenu, {
47
+ const LightthemeIllustration = exports.LightthemeIllustration = {
48
+ render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
42
49
  lightTheme: true,
43
50
  header: "Header",
44
- illustration: /*#__PURE__*/_jsx(IllustrationMySitePiggyBank, {}),
45
- children: [/*#__PURE__*/_jsx(SubmenuItem, {
51
+ illustration: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationMySitePiggyBank.default, {}),
52
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
46
53
  label: "Item 1",
47
54
  lightTheme: true,
48
55
  active: true,
49
56
  onClick: () => console.log('item click')
50
- }), /*#__PURE__*/_jsx(SubmenuItem, {
57
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
51
58
  label: "Item 2",
52
59
  lightTheme: true,
53
60
  onClick: () => console.log('item click')
@@ -55,35 +62,35 @@ export const LightthemeIllustration = {
55
62
  }),
56
63
  name: 'Lighttheme - illustration'
57
64
  };
58
- export const NoItems = {
59
- render: () => /*#__PURE__*/_jsx(Submenu, {
65
+ const NoItems = exports.NoItems = {
66
+ render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
60
67
  header: "Just a header"
61
68
  }),
62
69
  name: 'No items'
63
70
  };
64
- export const NoItemsLight = {
65
- render: () => /*#__PURE__*/_jsx(Submenu, {
71
+ const NoItemsLight = exports.NoItemsLight = {
72
+ render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
66
73
  lightTheme: true,
67
74
  header: "Just a header"
68
75
  }),
69
76
  name: 'No items light'
70
77
  };
71
- export const CustomHeader = {
72
- render: () => /*#__PURE__*/_jsxs(Submenu, {
78
+ const CustomHeader = exports.CustomHeader = {
79
+ render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
73
80
  lightTheme: true,
74
- customHeader: /*#__PURE__*/_jsx("p", {
81
+ customHeader: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
75
82
  style: {
76
83
  zIndex: 1,
77
84
  margin: 0
78
85
  },
79
86
  children: "header"
80
87
  }),
81
- children: [/*#__PURE__*/_jsx(SubmenuItem, {
88
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
82
89
  label: "Item 1",
83
90
  lightTheme: true,
84
91
  active: true,
85
92
  onClick: () => console.log('item click')
86
- }), /*#__PURE__*/_jsx(SubmenuItem, {
93
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SubmenuItem.default, {
87
94
  label: "Item 2",
88
95
  lightTheme: true,
89
96
  onClick: () => console.log('item click')
@@ -1,13 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _styles = require("./styles");
9
+ var _Text = _interopRequireDefault(require("../../../core/Text"));
10
+ var _react2 = require("@emotion/react");
11
+ var _reactTransitionGroup = require("react-transition-group");
12
+ var _useIsMobile = require("../../../hooks/useIsMobile");
13
+ var _Item = _interopRequireDefault(require("../../../core/List/Item"));
14
+ var _Button = _interopRequireDefault(require("../../../core/Button"));
15
+ var _jsxRuntime = require("@emotion/react/jsx-runtime");
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
1
19
  /** @jsxImportSource @emotion/react */
2
- import React, { Fragment } from 'react';
3
- import { Wrapper, optionButton, FocusState } from './styles';
4
- import Text from '../../../core/Text';
5
- import { useTheme } from '@emotion/react';
6
- import { CSSTransition } from 'react-transition-group';
7
- import { useIsMobile } from '../../../hooks/useIsMobile';
8
- import ListItem from '../../../core/List/Item';
9
- import Button from '../../../core/Button';
10
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
20
+
11
21
  const SubmenuItem = ({
12
22
  lightTheme,
13
23
  active,
@@ -17,8 +27,8 @@ const SubmenuItem = ({
17
27
  onClick,
18
28
  onChange
19
29
  }) => {
20
- const theme = useTheme();
21
- const isMobile = useIsMobile();
30
+ const theme = (0, _react2.useTheme)();
31
+ const isMobile = (0, _useIsMobile.useIsMobile)();
22
32
  const handleOptionClick = () => {
23
33
  onClick && onClick();
24
34
  onChange && onChange();
@@ -26,31 +36,31 @@ const SubmenuItem = ({
26
36
  const labelColor = lightTheme ? theme.secondaryDarkText : !active ? theme.submenuTextColor : theme.submenuTextColorActive;
27
37
  if (showActiveitemLabel) {
28
38
  if (active) {
29
- return _jsx(Fragment, {
39
+ return (0, _jsxRuntime.jsx)(_react.Fragment, {
30
40
  children: label
31
41
  });
32
42
  }
33
43
  return null;
34
44
  }
35
- return !isMobile ? _jsx(ListItem, {
36
- children: _jsx(Button, {
45
+ return !isMobile ? (0, _jsxRuntime.jsx)(_Item.default, {
46
+ children: (0, _jsxRuntime.jsx)(_Button.default, {
37
47
  role: "menuitem",
38
48
  "aria-current": active ? 'page' : undefined,
39
49
  nostyle: true,
40
50
  onClick: onClick,
41
- css: FocusState(lightTheme ? theme.primary : 'white'),
51
+ css: (0, _styles.FocusState)(lightTheme ? theme.primary : 'white'),
42
52
  trackingName: "Submenu",
43
53
  trackingEvent: 'Submenu click: ' + label,
44
54
  className: className,
45
- children: _jsx(CSSTransition, {
55
+ children: (0, _jsxRuntime.jsx)(_reactTransitionGroup.CSSTransition, {
46
56
  in: active,
47
57
  classNames: "submenu-item",
48
58
  timeout: 250,
49
- children: _jsx(Wrapper, {
59
+ children: (0, _jsxRuntime.jsx)(_styles.Wrapper, {
50
60
  active: active,
51
61
  lightTheme: lightTheme,
52
62
  background: lightTheme ? '#ffffff' : theme.submenuItemColor,
53
- children: _jsx(Text, {
63
+ children: (0, _jsxRuntime.jsx)(_Text.default, {
54
64
  color: labelColor,
55
65
  semibold: true,
56
66
  children: label
@@ -58,15 +68,15 @@ const SubmenuItem = ({
58
68
  })
59
69
  })
60
70
  })
61
- }) : _jsx(ListItem, {
62
- children: _jsx(Button, {
71
+ }) : (0, _jsxRuntime.jsx)(_Item.default, {
72
+ children: (0, _jsxRuntime.jsx)(_Button.default, {
63
73
  role: "menuitem",
64
74
  "aria-current": active ? 'page' : undefined,
65
75
  nostyle: true,
66
- css: optionButton,
76
+ css: _styles.optionButton,
67
77
  onClick: handleOptionClick,
68
78
  children: label
69
79
  })
70
80
  });
71
81
  };
72
- export default SubmenuItem;
82
+ var _default = exports.default = SubmenuItem;
@@ -1,13 +1,20 @@
1
- import _styled from "@emotion/styled/base";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.optionButton = exports.Wrapper = exports.FocusState = void 0;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _react = require("@emotion/react");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2
10
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
- import { css, keyframes } from '@emotion/react';
4
- export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
11
+ const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
5
12
  target: "egkzt9c0"
6
13
  } : {
7
14
  target: "egkzt9c0",
8
15
  label: "Wrapper"
9
- })(props => /*#__PURE__*/css("padding:0.65em 1em;border-radius:", props.lightTheme ? '19px' : '7px', ";border:1px solid transparent;transition:border-color 0.1s ease-in-out;background:", props.active ? props.background : 'transparent', ";box-shadow:", props.active ? '0 2px 4px 0 rgba(9, 28, 68, 0.2)' : 'none', ";&.submenu-item-enter{animation:", fadeIn(props.background), " 0.2s;}&.submenu-item-exit{animation:", fadeOut(props.background), " 0.2s;}&>span{font-size:14px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXFCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiBhbnkpID0+IGNzc2BcbiAgICBwYWRkaW5nOiAwLjY1ZW0gMWVtO1xuICAgIGJvcmRlci1yYWRpdXM6ICR7cHJvcHMubGlnaHRUaGVtZSA/ICcxOXB4JyA6ICc3cHgnfTtcbiAgICBib3JkZXI6IDFweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgICB0cmFuc2l0aW9uOiBib3JkZXItY29sb3IgMC4xcyBlYXNlLWluLW91dDtcblxuICAgIGJhY2tncm91bmQ6ICR7cHJvcHMuYWN0aXZlID8gcHJvcHMuYmFja2dyb3VuZCA6ICd0cmFuc3BhcmVudCd9O1xuICAgIGJveC1zaGFkb3c6ICR7cHJvcHMuYWN0aXZlID8gJzAgMnB4IDRweCAwIHJnYmEoOSwgMjgsIDY4LCAwLjIpJyA6ICdub25lJ307XG5cbiAgICAmLnN1Ym1lb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G9yOiBzdHJpbmcpID0+IGNzc2BcbiAgJjpmb2N1cyB7XG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgIGRpdiB7XG4gICAgICBib3JkZXItY29sb3I6ICR7Y29sb3J9O1xuICAgIH1cbiAgfVxuYFxuIl19 */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiBhbnkpID0+IGNzc2BcbiAgICBwYWRkaW5nOiAwLjY1ZW0gMWVtO1xuICAgIGJvcmRlci1yYWRpdXM6ICR7cHJvcHMubGlnaHRUaGVtZSA/ICcxOXB4JyA6ICc3cHgnfTtcbiAgICBib3JkZXI6IDFweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgICB0cmFuc2l0aW9uOiBib3JkZXItY29sb3IgMC4xcyBlYXNlLWluLW91dDtcblxuICAgIGJhY2tncm91bmQ6ICR7cHJvcHMuYWN0aXZlID8gcHJvcHMuYmFja2dyb3VuZCA6ICd0cmFuc3BhcmVudCd9O1xuICAgIGJveC1zaGFkb3c6ICR7cHJvcHMuYWN0aXZlID8gJzAgMnB4IDRweCAwIHJn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Gg6IDEwMCU7XG5gXG5cbmV4cG9ydCBjb25zdCBGb2N1c1N0YXRlID0gKGNvbG9yOiBzdHJpbmcpID0+IGNzc2BcbiAgJjpmb2N1cyB7XG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgIGRpdiB7XG4gICAgICBib3JkZXItY29sb3I6ICR7Y29sb3J9O1xuICAgIH1cbiAgfVxuYFxuIl19 */");
10
- const fadeIn = background => keyframes`
16
+ })(props => /*#__PURE__*/(0, _react.css)("padding:0.65em 1em;border-radius:", props.lightTheme ? '19px' : '7px', ";border:1px solid transparent;transition:border-color 0.1s ease-in-out;background:", props.active ? props.background : 'transparent', ";box-shadow:", props.active ? '0 2px 4px 0 rgba(9, 28, 68, 0.2)' : 'none', ";&.submenu-item-enter{animation:", fadeIn(props.background), " 0.2s;}&.submenu-item-exit{animation:", fadeOut(props.background), " 0.2s;}&>span{font-size:14px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXFCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiBhbnkpID0+IGNzc2BcbiAgICBwYWRka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UgeyBcbiAgICBib3gtc2hhZG93OiAwIDJweCA0cHggMCByZ2JhKDksIDI4LCA2OCwgMC4yKTtcbiAgICBiYWNrZ3JvdW5kOiAke2JhY2tncm91bmR9O1xuICB9XG4gIDEwMCUgeyBcbiAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICBib3gtc2hhZG93OiBub25lO1xuICB9XG5gXG5cbmV4cG9ydCBjb25zdCBvcHRpb25CdXR0b24gPSBjc3NgXG4gIHBhZGRpbmctbGVmdDogOHB4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtc3RhcnQ7XG4gIGhlaWdodDogMTAwJTtcbiAgd2lkdGg6IDEwMCU7XG5gXG5cbmV4cG9ydCBjb25zdCBGb2N1c1N0YXRlID0gKGNvbG9yOiBzdHJpbmcpID0+IGNzc2BcbiAgJjpmb2N1cyB7XG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgIGRpdiB7XG4gICAgICBib3JkZXItY29sb3I6ICR7Y29sb3J9O1xuICAgIH1cbiAgfVxuYFxuIl19 */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0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U91dCA9IChiYWNrZ3JvdW5kOiBzdHJpbmcpID0+IGtleWZyYW1lc2BcbiAgMCUgeyBcbiAgICBib3gtc2hhZG93OiAwIDJweCA0cHggMCByZ2JhKDksIDI4LCA2OCwgMC4yKTtcbiAgICBiYWNrZ3JvdW5kOiAke2JhY2tncm91bmR9O1xuICB9XG4gIDEwMCUgeyBcbiAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICBib3gtc2hhZG93OiBub25lO1xuICB9XG5gXG5cbmV4cG9ydCBjb25zdCBvcHRpb25CdXR0b24gPSBjc3NgXG4gIHBhZGRpbmctbGVmdDogOHB4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtc3RhcnQ7XG4gIGhlaWdodDogMTAwJTtcbiAgd2lkdGg6IDEwMCU7XG5gXG5cbmV4cG9ydCBjb25zdCBGb2N1c1N0YXRlID0gKGNvbG9yOiBzdHJpbmcpID0+IGNzc2BcbiAgJjpmb2N1cyB7XG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgIGRpdiB7XG4gICAgICBib3JkZXItY29sb3I6ICR7Y29sb3J9O1xuICAgIH1cbiAgfVxuYFxuIl19 */");
17
+ const fadeIn = background => (0, _react.keyframes)`
11
18
  0% {
12
19
  background: transparent;
13
20
  box-shadow: none;
@@ -17,7 +24,7 @@ const fadeIn = background => keyframes`
17
24
  background: ${background};
18
25
  }
19
26
  `;
20
- const fadeOut = background => keyframes`
27
+ const fadeOut = background => (0, _react.keyframes)`
21
28
  0% {
22
29
  box-shadow: 0 2px 4px 0 rgba(9, 28, 68, 0.2);
23
30
  background: ${background};
@@ -27,13 +34,13 @@ const fadeOut = background => keyframes`
27
34
  box-shadow: none;
28
35
  }
29
36
  `;
30
- export const optionButton = process.env.NODE_ENV === "production" ? {
37
+ const optionButton = exports.optionButton = process.env.NODE_ENV === "production" ? {
31
38
  name: "m3111f",
32
39
  styles: "padding-left:8px;justify-content:flex-start;height:100%;width:100%"
33
40
  } : {
34
41
  name: "1m0yxkj-optionButton",
35
- styles: "padding-left:8px;justify-content:flex-start;height:100%;width:100%;label:optionButton;",
36
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0QrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvbGF5b3V0L1N1Ym1lbnUvU3VibWVudUl0ZW0vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBjc3NgXG4gICAgcGFkZGluZzogMC42NWVtIDFlbTtcbiAgICBib3JkZXItcmFkaXVzOiAke3Byb3BzLmxpZ2h0VGhlbWUgPyAnMTlweCcgOiAnN3B4J307XG4gICAgYm9yZGVyOiAxcHggc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgdHJhbnNpdGlvbjogYm9yZGVyLWNvbG9yIDAuMXMgZWFzZS1pbi1vdXQ7XG5cbiAgICBiYWNrZ3JvdW5kOiAke3Byb3BzLmFjdGl2ZSA/IHByb3BzLmJhY2tncm91bmQgOiAndHJhbnNwYXJlbnQnfTtcbiAgICBib3gtc2hhZG93OiAke3Byb3BzLmFjdGl2ZSA/ICcwIDJweCA0cHggMCByZ2JhKDksIDI4LCA2OCwgMC4yKScgOiAnbm9uZSd9O1xuXG4gICAgJi5zdWJtZW51LWl0ZW0tZW50ZXIge1xuICAgICAgYW5pbWF0aW9u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Zm9jdXMge1xuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICBkaXYge1xuICAgICAgYm9yZGVyLWNvbG9yOiAke2NvbG9yfTtcbiAgICB9XG4gIH1cbmBcbiJdfQ== */",
42
+ styles: "padding-left:8px;justify-content:flex-start;height:100%;width:100%;label:optionButton;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0QrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvbGF5b3V0L1N1Ym1lbnUvU3VibWVudUl0ZW0vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBjc3NgXG4gICAgcGFkZGluZzogMC42NWVtIDFlbTtcbiAgICBib3JkZXItcmFkaXVzOiAke3Byb3BzLmxpZ2h0VGhlbWUgPyAnMTlweCcgOiAnN3B4J307XG4gICAgYm9yZGVyOiAxcHggc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgdHJhbnNpdGlvbjogYm9yZGVyLWNvbG9yIDAuMXMgZWFzZS1pbi1vdXQ7XG5cbiAgICBiYWNrZ3JvdW5kOiAke3Byb3BzLmFjdGl2ZSA/IHByb3BzLmJhY2tncm91bmQgOiAndHJhbnNwYXJlbnQnfTtcbiAgICBib3gtc2hhZG93OiAke3Byb3BzLmFjdGl2ZSA/ICcwIDJweCA0cHggMCByZ2JhKDksI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RoOiAxMDAlO1xuYFxuXG5leHBvcnQgY29uc3QgRm9jdXNTdGF0ZSA9IChjb2xvcjogc3RyaW5nKSA9PiBjc3NgXG4gICY6Zm9jdXMge1xuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICBkaXYge1xuICAgICAgYm9yZGVyLWNvbG9yOiAke2NvbG9yfTtcbiAgICB9XG4gIH1cbmBcbiJdfQ== */",
37
43
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
38
44
  };
39
- export const FocusState = color => /*#__PURE__*/css("&:focus{text-decoration:none;div{border-color:", color, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:FocusState;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdURnRCIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvbGF5b3V0L1N1Ym1lbnUvU3VibWVudUl0ZW0vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBjc3NgXG4gICAgcGFkZGluZzogMC42NWVtIDFlbTtcbiAgICBib3JkZXItcmFkaXVzOiAke3Byb3BzLmxpZ2h0VGhlbWUgPyAnMTlweCcgOiAnN3B4J307XG4gICAgYm9yZGVyOiAxcHggc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgdHJhbnNpdGlvbjogYm9yZGVyL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lbnQ7XG4gICAgYm94LXNoYWRvdzogbm9uZTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3Qgb3B0aW9uQnV0dG9uID0gY3NzYFxuICBwYWRkaW5nLWxlZnQ6IDhweDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICBoZWlnaHQ6IDEwMCU7XG4gIHdpZHRoOiAxMDAlO1xuYFxuXG5leHBvcnQgY29uc3QgRm9jdXNTdGF0ZSA9IChjb2xvcjogc3RyaW5nKSA9PiBjc3NgXG4gICY6Zm9jdXMge1xuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICBkaXYge1xuICAgICAgYm9yZGVyLWNvbG9yOiAke2NvbG9yfTtcbiAgICB9XG4gIH1cbmBcbiJdfQ== */");
45
+ const FocusState = color => /*#__PURE__*/(0, _react.css)("&:focus{text-decoration:none;div{border-color:", color, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:FocusState;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9sYXlvdXQvU3VibWVudS9TdWJtZW51SXRlbS9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdURnRCIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvbGF5b3V0L1N1Ym1lbnUvU3VibWVudUl0ZW0vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBjc3NgXG4gICAgcGFkZGluZzogMC42N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sgXG4gICAgYm94LXNoYWRvdzogMCAycHggNHB4IDAgcmdiYSg5LCAyOCwgNjgsIDAuMik7XG4gICAgYmFja2dyb3VuZDogJHtiYWNrZ3JvdW5kfTtcbiAgfVxuICAxMDAlIHsgXG4gICAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gICAgYm94LXNoYWRvdzogbm9uZTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3Qgb3B0aW9uQnV0dG9uID0gY3NzYFxuICBwYWRkaW5nLWxlZnQ6IDhweDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICBoZWlnaHQ6IDEwMCU7XG4gIHdpZHRoOiAxMDAlO1xuYFxuXG5leHBvcnQgY29uc3QgRm9jdXNTdGF0ZSA9IChjb2xvcjogc3RyaW5nKSA9PiBjc3NgXG4gICY6Zm9jdXMge1xuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICBkaXYge1xuICAgICAgYm9yZGVyLWNvbG9yOiAke2NvbG9yfTtcbiAgICB9XG4gIH1cbmBcbiJdfQ== */");
46
+ exports.FocusState = FocusState;
@@ -1,38 +1,45 @@
1
- import React from 'react';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _jsxRuntime = require("react/jsx-runtime");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
3
10
  const SubmenuLightThemeBg = ({
4
11
  bgColor
5
12
  }) => {
6
- return /*#__PURE__*/_jsxs("svg", {
13
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
7
14
  viewBox: "0 0 1190 203",
8
- children: [/*#__PURE__*/_jsx("defs", {
9
- children: /*#__PURE__*/_jsx("rect", {
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
16
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
10
17
  id: "submenutlightbg-path-1",
11
18
  x: "0",
12
19
  y: "0",
13
20
  width: "1190",
14
21
  height: "203"
15
22
  })
16
- }), /*#__PURE__*/_jsx("g", {
23
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
17
24
  stroke: "none",
18
25
  strokeWidth: "1",
19
26
  fill: "none",
20
27
  fillRule: "evenodd",
21
- children: /*#__PURE__*/_jsxs("g", {
22
- children: [/*#__PURE__*/_jsxs("g", {
23
- children: [/*#__PURE__*/_jsx("use", {
28
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
29
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
30
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
24
31
  fill: bgColor,
25
32
  xlinkHref: "#submenutlightbg-path-1"
26
- }), /*#__PURE__*/_jsx("use", {
33
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
27
34
  fillOpacity: "0.65",
28
35
  fill: "#FFFFFF",
29
36
  xlinkHref: "#submenutlightbg-path-1"
30
37
  })]
31
- }), /*#__PURE__*/_jsx("path", {
38
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
32
39
  d: "M0,-7.10542736e-15 L1190,-7.10542736e-15 L1190,88.8453479 C1120.50089,91.9625955 1033.23979,87.7081866 928.216686,76.0821213 C770.682033,58.6430234 508.737167,17.7258334 345,22.3521602 C246.122292,25.1459094 131.122292,33.1523167 0,46.371382 L0,-7.10542736e-15 Z",
33
40
  fillOpacity: "0.2",
34
41
  fill: "#FFFFFF"
35
- }), /*#__PURE__*/_jsx("path", {
42
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
36
43
  d: "M0,-7.10542736e-15 L1190,-7.10542736e-15 L1190,88.8453479 C1120.50089,91.9625955 1033.23979,87.7081866 928.216686,76.0821213 C770.682033,58.6430234 508.737167,17.7258334 345,22.3521602 C246.122292,25.1459094 131.122292,33.1523167 0,46.371382 L0,-7.10542736e-15 Z",
37
44
  fillOpacity: "0.2",
38
45
  fill: "#FFFFFF",
@@ -42,4 +49,4 @@ const SubmenuLightThemeBg = ({
42
49
  })]
43
50
  });
44
51
  };
45
- export default SubmenuLightThemeBg;
52
+ var _default = exports.default = SubmenuLightThemeBg;
@@ -1,14 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _react2 = require("@emotion/react");
9
+ var _styles = require("./styles");
10
+ var _Header = _interopRequireDefault(require("../../core/Header"));
11
+ var _Button = _interopRequireDefault(require("../../core/Button"));
12
+ var _useIsMobile = require("../../hooks/useIsMobile");
13
+ var _List = _interopRequireDefault(require("../../core/List"));
14
+ var _IconChevronDown = _interopRequireDefault(require("../../icons/General/IconChevronDown"));
15
+ var _SubmenuLightThemeBg = _interopRequireDefault(require("./SubmenuLightThemeBg"));
16
+ var _jsxRuntime = require("@emotion/react/jsx-runtime");
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
1
20
  /** @jsxImportSource @emotion/react */
2
- import React, { useState, useEffect, createRef, Fragment } from 'react';
3
- import { useTheme } from '@emotion/react';
4
- import { Wrapper, styles, DropdownWrapper, ButtonStyle, OptionsWrapper, IllustrationWrapper, HeaderWrapper, IllustrationOverlay, MenuItemList } from './styles';
5
- import Header from '../../core/Header';
6
- import Button from '../../core/Button';
7
- import { useIsMobile } from '../../hooks/useIsMobile';
8
- import List from '../../core/List';
9
- import IconChevronDown from '../../icons/General/IconChevronDown';
10
- import SubmenuLightThemeBg from './SubmenuLightThemeBg';
11
- import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
21
+
12
22
  const Submenu = ({
13
23
  lightTheme,
14
24
  header,
@@ -17,12 +27,12 @@ const Submenu = ({
17
27
  customHeader,
18
28
  onOpenChange
19
29
  }) => {
20
- const ref = /*#__PURE__*/createRef();
21
- const theme = useTheme();
22
- const isMobile = useIsMobile();
30
+ const ref = /*#__PURE__*/(0, _react.createRef)();
31
+ const theme = (0, _react2.useTheme)();
32
+ const isMobile = (0, _useIsMobile.useIsMobile)();
23
33
  const hasChildren = children && children.length > 0;
24
- const [open, toggleOpen] = useState(false);
25
- useEffect(() => {
34
+ const [open, toggleOpen] = (0, _react.useState)(false);
35
+ (0, _react.useEffect)(() => {
26
36
  const handleClickOutside = e => {
27
37
  const node = ref.current;
28
38
  if (node && node.contains(e.target)) {
@@ -47,36 +57,36 @@ const Submenu = ({
47
57
  toggleOpen(open);
48
58
  onOpenChange?.(open);
49
59
  };
50
- return _jsxs("div", {
60
+ return (0, _jsxRuntime.jsxs)("div", {
51
61
  ref: ref,
52
- css: theme => [styles.default, lightTheme ? styles.lightTheme(theme) : styles.darkTheme(theme, hasChildren ? '1em' : '2em')],
53
- children: [_jsxs(HeaderWrapper, {
54
- children: [customHeader && customHeader, header && _jsx(Header, {
62
+ css: theme => [_styles.styles.default, lightTheme ? _styles.styles.lightTheme(theme) : _styles.styles.darkTheme(theme, hasChildren ? '1em' : '2em')],
63
+ children: [(0, _jsxRuntime.jsxs)(_styles.HeaderWrapper, {
64
+ children: [customHeader && customHeader, header && (0, _jsxRuntime.jsx)(_Header.default, {
55
65
  color: lightTheme ? theme.secondaryDarkText : theme.submenuTextColorActive,
56
66
  level: 1,
57
67
  children: header
58
68
  })]
59
- }), children && children.length > 0 && _jsx(Fragment, {
60
- children: !isMobile ? _jsx(Wrapper, {
69
+ }), children && children.length > 0 && (0, _jsxRuntime.jsx)(_react.Fragment, {
70
+ children: !isMobile ? (0, _jsxRuntime.jsx)(_styles.Wrapper, {
61
71
  className: "submenuwrapper",
62
- children: _jsx(MenuItemList, {
72
+ children: (0, _jsxRuntime.jsx)(_styles.MenuItemList, {
63
73
  role: "menu",
64
74
  children: children.map((child, key) => {
65
75
  if (!child) {
66
76
  return null;
67
77
  }
68
- return /*#__PURE__*/React.cloneElement(child, {
78
+ return /*#__PURE__*/_react.default.cloneElement(child, {
69
79
  key
70
80
  });
71
81
  })
72
82
  })
73
- }) : _jsxs(DropdownWrapper, {
83
+ }) : (0, _jsxRuntime.jsxs)(_styles.DropdownWrapper, {
74
84
  className: "submenuwrapper",
75
- children: [_jsx(Button, {
85
+ children: [(0, _jsxRuntime.jsx)(_Button.default, {
76
86
  nostyle: true,
77
- css: ButtonStyle(theme, !lightTheme),
87
+ css: (0, _styles.ButtonStyle)(theme, !lightTheme),
78
88
  onClick: () => handleOpen(!open),
79
- afterIcon: _jsx(IconChevronDown, {
89
+ afterIcon: (0, _jsxRuntime.jsx)(_IconChevronDown.default, {
80
90
  flipVertical: open,
81
91
  size: 14
82
92
  }),
@@ -84,14 +94,14 @@ const Submenu = ({
84
94
  if (!child) {
85
95
  return null;
86
96
  }
87
- return /*#__PURE__*/React.cloneElement(child, {
97
+ return /*#__PURE__*/_react.default.cloneElement(child, {
88
98
  showActiveitemLabel: true,
89
99
  key
90
100
  });
91
101
  })
92
- }), _jsx(OptionsWrapper, {
102
+ }), (0, _jsxRuntime.jsx)(_styles.OptionsWrapper, {
93
103
  lightTheme: lightTheme,
94
- children: open && _jsx(List, {
104
+ children: open && (0, _jsxRuntime.jsx)(_List.default, {
95
105
  selectList: true,
96
106
  role: "menu",
97
107
  darkTheme: !lightTheme,
@@ -99,7 +109,7 @@ const Submenu = ({
99
109
  if (!child) {
100
110
  return null;
101
111
  }
102
- return /*#__PURE__*/React.cloneElement(child, {
112
+ return /*#__PURE__*/_react.default.cloneElement(child, {
103
113
  onChange: handleClick,
104
114
  key
105
115
  });
@@ -107,10 +117,10 @@ const Submenu = ({
107
117
  })
108
118
  })]
109
119
  })
110
- }), (lightTheme || illustration) && _jsxs(IllustrationOverlay, {
111
- children: [lightTheme && _jsx(SubmenuLightThemeBg, {
120
+ }), (lightTheme || illustration) && (0, _jsxRuntime.jsxs)(_styles.IllustrationOverlay, {
121
+ children: [lightTheme && (0, _jsxRuntime.jsx)(_SubmenuLightThemeBg.default, {
112
122
  bgColor: theme.customIllustrationColor
113
- }), illustration && _jsx(IllustrationWrapper, {
123
+ }), illustration && (0, _jsxRuntime.jsx)(_styles.IllustrationWrapper, {
114
124
  style: {
115
125
  zIndex: 0
116
126
  },
@@ -119,4 +129,4 @@ const Submenu = ({
119
129
  })]
120
130
  });
121
131
  };
122
- export default Submenu;
132
+ var _default = exports.default = Submenu;