@bbl-digital/snorre 3.1.57 → 3.1.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1226) hide show
  1. package/dist/bundle.js +657 -1111
  2. package/esm/app-shell/index.js +1 -4
  3. package/esm/app-shell/theme.js +2 -1
  4. package/esm/core/Alert/Alert.stories.js +43 -0
  5. package/esm/core/Alert/index.js +0 -2
  6. package/esm/core/Alert/styles.js +0 -1
  7. package/esm/core/AppLoader/AppLoader.stories.js +10 -0
  8. package/esm/core/AppLoader/index.js +0 -2
  9. package/esm/core/Autocomplete/Autocomplete.stories.js +327 -0
  10. package/esm/core/Autocomplete/hooks/useAutocomplete.js +14 -49
  11. package/esm/core/Autocomplete/hooks/useHandleDimentions.js +2 -3
  12. package/esm/core/Autocomplete/index.js +2 -3
  13. package/esm/core/Autocomplete/styles.js +0 -2
  14. package/esm/core/Banner/Banner.stories.js +68 -0
  15. package/esm/core/Banner/index.js +0 -2
  16. package/esm/core/Banner/styles.js +4 -6
  17. package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +94 -0
  18. package/esm/core/BarAndLineComposedChart/index.js +0 -2
  19. package/esm/core/BarAndLineComposedChart/styles.js +1 -1
  20. package/esm/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +80 -0
  21. package/esm/core/BarChartWithCustomizedEvent/index.js +0 -3
  22. package/esm/core/BarChartWithCustomizedEvent/styles.js +1 -1
  23. package/esm/core/Box/Box.stories.js +89 -0
  24. package/esm/core/Box/index.js +0 -4
  25. package/esm/core/Box/styles.js +2 -8
  26. package/esm/core/BoxedTable/BoxedTable.stories.js +351 -0
  27. package/esm/core/BoxedTable/DraggableRow/index.js +0 -2
  28. package/esm/core/BoxedTable/DraggableRow/styles.js +5 -7
  29. package/esm/core/BoxedTable/HeaderCell/index.js +0 -4
  30. package/esm/core/BoxedTable/HeaderCell/styles.js +1 -1
  31. package/esm/core/BoxedTable/RowCell/index.js +0 -2
  32. package/esm/core/BoxedTable/RowCell/styles.js +1 -3
  33. package/esm/core/BoxedTable/TableHeader/index.js +0 -2
  34. package/esm/core/BoxedTable/TableHeader/styles.js +1 -3
  35. package/esm/core/BoxedTable/TableRow/index.js +0 -7
  36. package/esm/core/BoxedTable/TableRow/styles.js +6 -8
  37. package/esm/core/BoxedTable/index.js +2 -5
  38. package/esm/core/BoxedTable/styles.js +2 -9
  39. package/esm/core/Button/Button.stories.js +121 -0
  40. package/esm/core/Button/index.js +0 -4
  41. package/esm/core/Button/styles.js +1 -5
  42. package/esm/core/Calendar/Calendar.stories.js +39 -0
  43. package/esm/core/Calendar/CalendarEvent/index.js +0 -8
  44. package/esm/core/Calendar/CalendarEvent/styles.js +5 -7
  45. package/esm/core/Calendar/CalendarSmallEvent/index.js +0 -8
  46. package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -7
  47. package/esm/core/Calendar/index.js +0 -5
  48. package/esm/core/Calendar/styles.js +5 -7
  49. package/esm/core/Calendar/util.js +0 -2
  50. package/esm/core/Card/Card.stories.js +69 -0
  51. package/esm/core/Card/index.js +0 -3
  52. package/esm/core/Card/styles.js +0 -1
  53. package/esm/core/Checkbox/Checkbox.stories.js +43 -0
  54. package/esm/core/Checkbox/index.js +0 -4
  55. package/esm/core/Checkbox/styles.js +0 -3
  56. package/esm/core/CheckboxController/index.js +6 -0
  57. package/esm/core/CollapseList/CollapseList.stories.js +43 -0
  58. package/esm/core/CollapseList/Item.js +0 -4
  59. package/esm/core/CollapseList/index.js +0 -2
  60. package/esm/core/CollapseList/styles.js +0 -2
  61. package/esm/core/CommentsTimeline/CommentLine/index.js +0 -2
  62. package/esm/core/CommentsTimeline/CommentLine/styles.js +4 -6
  63. package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +79 -0
  64. package/esm/core/CommentsTimeline/index.js +0 -2
  65. package/esm/core/CommentsTimeline/styles.js +1 -3
  66. package/esm/core/CustomText/CustomText.stories.js +33 -0
  67. package/esm/core/CustomText/index.js +0 -6
  68. package/esm/core/CustomText/styles.js +1 -3
  69. package/esm/core/Datepicker/Datepicker.stories.js +58 -0
  70. package/esm/core/Datepicker/index.js +0 -20
  71. package/esm/core/Datepicker/styles.js +6 -8
  72. package/esm/core/DatepickerRange/DatepickerRange.stories.js +21 -0
  73. package/esm/core/DatepickerRange/index.js +17 -5
  74. package/esm/core/DatepickerRange/styles.js +6 -8
  75. package/esm/core/Divider/index.js +1 -2
  76. package/esm/core/Divider/styles.js +0 -1
  77. package/esm/core/Dropdown/Dropdown.stories.js +53 -0
  78. package/esm/core/Dropdown/index.js +0 -8
  79. package/esm/core/DropdownMenu/DropdownMenu.stories.js +47 -0
  80. package/esm/core/DropdownMenu/DropdownMenuOption.js +0 -2
  81. package/esm/core/DropdownMenu/index.js +0 -4
  82. package/esm/core/DropdownMenu/styles.js +2 -4
  83. package/esm/core/Editor/Editor.stories.js +54 -0
  84. package/esm/core/Editor/index.js +2 -6
  85. package/esm/core/Editor/styles.js +2 -4
  86. package/esm/core/FileInput/FileInput.stories.js +77 -0
  87. package/esm/core/FileInput/index.js +2 -12
  88. package/esm/core/FileInput/styles.js +11 -13
  89. package/esm/core/GoogleButton/GoogleButton.stories.js +12 -0
  90. package/esm/core/GoogleButton/index.js +0 -3
  91. package/esm/core/GoogleButton/styles.js +1 -3
  92. package/esm/core/Header/Header.stories.js +65 -0
  93. package/esm/core/Header/index.js +0 -2
  94. package/esm/core/HighlightText/HighlightText.stories.js +22 -0
  95. package/esm/core/HighlightText/index.js +0 -2
  96. package/esm/core/HighlightText/styles.js +1 -3
  97. package/esm/core/Html/Html.stories.js +43 -0
  98. package/esm/core/Html/index.js +0 -2
  99. package/esm/core/Html/styles.js +0 -1
  100. package/esm/core/Image/Image.stories.js +26 -0
  101. package/esm/core/Image/index.js +1 -2
  102. package/esm/core/Image/styles.js +0 -1
  103. package/esm/core/ImagePicker/IconWithBackground.js +0 -2
  104. package/esm/core/ImagePicker/ImagePicker.stories.js +28 -0
  105. package/esm/core/ImagePicker/UploadButton.js +0 -2
  106. package/esm/core/ImagePicker/index.js +2 -5
  107. package/esm/core/ImagePicker/styles.js +0 -1
  108. package/esm/core/InfoButton/InfoButton.stories.js +57 -0
  109. package/esm/core/InfoButton/index.js +0 -8
  110. package/esm/core/InfoButton/styles.js +2 -4
  111. package/esm/core/Input/Input.stories.js +158 -0
  112. package/esm/core/Input/index.js +4 -10
  113. package/esm/core/Input/styles.js +0 -1
  114. package/esm/core/Link/Link.stories.js +75 -0
  115. package/esm/core/Link/index.js +2 -3
  116. package/esm/core/Link/styles.js +1 -3
  117. package/esm/core/List/Item.js +1 -4
  118. package/esm/core/List/List.stories.js +157 -0
  119. package/esm/core/List/index.js +0 -3
  120. package/esm/core/List/styles.js +0 -4
  121. package/esm/core/ListPager/ListPager.stories.js +16 -0
  122. package/esm/core/ListPager/index.js +0 -8
  123. package/esm/core/ListPager/styles.js +2 -4
  124. package/esm/core/MediaCarousel/MediaCarousel.stories.js +34 -0
  125. package/esm/core/{ImageCarousel → MediaCarousel}/index.js +37 -23
  126. package/esm/core/MediaCarousel/styles.js +55 -0
  127. package/esm/core/Modal/ActionButtons/index.js +1 -4
  128. package/esm/core/Modal/Modal.stories.js +117 -0
  129. package/esm/core/Modal/index.js +1 -12
  130. package/esm/core/Modal/styles.js +7 -11
  131. package/esm/core/NoticeCard/NoticeCard.stories.js +61 -0
  132. package/esm/core/NoticeCard/index.js +0 -4
  133. package/esm/core/NoticeCard/models.js +3 -4
  134. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +0 -2
  135. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -6
  136. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
  137. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -3
  138. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
  139. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -5
  140. package/esm/core/NoticeCard/styles.js +5 -7
  141. package/esm/core/NoticeCard/utils.js +0 -3
  142. package/esm/core/NotificationCounter/NotificationCounter.stories.js +19 -0
  143. package/esm/core/NotificationCounter/index.js +1 -2
  144. package/esm/core/NotificationCounter/styles.js +0 -4
  145. package/esm/core/NotificationsMenu/NotificationBell/index.js +0 -2
  146. package/esm/core/NotificationsMenu/NotificationBell/styles.js +2 -2
  147. package/esm/core/NotificationsMenu/NotificationRow/index.js +0 -2
  148. package/esm/core/NotificationsMenu/NotificationRow/styles.js +1 -1
  149. package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
  150. package/esm/core/NotificationsMenu/index.js +0 -8
  151. package/esm/core/NotificationsMenu/styles.js +2 -4
  152. package/esm/core/PieChart/ActiveShape/index.js +1 -3
  153. package/esm/core/PieChart/PieChart.stories.js +81 -0
  154. package/esm/core/PieChart/index.js +6 -7
  155. package/esm/core/PieChart/renderTextContent/index.js +1 -3
  156. package/esm/core/PieChart/styles.js +2 -4
  157. package/esm/core/PreemptionCard/PreemptionCard.stories.js +68 -0
  158. package/esm/core/PreemptionCard/index.js +0 -5
  159. package/esm/core/PreemptionCard/models.js +3 -4
  160. package/esm/core/PreemptionCard/styles.js +2 -4
  161. package/esm/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
  162. package/esm/core/PreemptionCardLoading/index.js +0 -2
  163. package/esm/core/PreemptionCardLoading/styles.js +3 -5
  164. package/esm/core/Radio/Radio.stories.js +66 -0
  165. package/esm/core/Radio/index.js +0 -2
  166. package/esm/core/Radio/styles.js +0 -1
  167. package/esm/core/SearchFilter/SearchFilter.stories.js +113 -0
  168. package/esm/core/SearchFilter/index.js +2 -10
  169. package/esm/core/SearchFilter/styles.js +6 -10
  170. package/esm/core/SearchSelect/SearchSelect.stories.js +52 -0
  171. package/esm/core/SearchSelect/hooks/useSelectSearch.js +2 -3
  172. package/esm/core/SearchSelect/index.js +4 -12
  173. package/esm/core/SearchSelect/styles.js +4 -6
  174. package/esm/core/Select/Option.js +0 -3
  175. package/esm/core/Select/Select.stories.js +246 -0
  176. package/esm/core/Select/index.js +2 -17
  177. package/esm/core/Select/styles.js +3 -13
  178. package/esm/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
  179. package/esm/core/SimpleBarChart/index.js +0 -3
  180. package/esm/core/SimpleBarChart/styles.js +1 -1
  181. package/esm/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
  182. package/esm/core/SimpleLineChart/index.js +0 -2
  183. package/esm/core/SimpleLineChart/styles.js +1 -1
  184. package/esm/core/Skeleton/Skeleton.stories.js +46 -0
  185. package/esm/core/Skeleton/index.js +0 -4
  186. package/esm/core/Skeleton/styles.js +1 -3
  187. package/esm/core/Spinner/Spinner.stories.js +30 -0
  188. package/esm/core/Spinner/index.js +0 -2
  189. package/esm/core/TabBar/TabBar.stories.js +38 -0
  190. package/esm/core/TabBar/TabItem/index.js +0 -2
  191. package/esm/core/TabBar/TabItem/styles.js +1 -3
  192. package/esm/core/TabBar/index.js +0 -2
  193. package/esm/core/TabBar/styles.js +1 -3
  194. package/esm/core/TabNav/TabContext.js +8 -5
  195. package/esm/core/TabNav/TabNav.stories.js +306 -0
  196. package/esm/core/TabNav/TabNavItem/index.js +2 -6
  197. package/esm/core/TabNav/TabNavItem/styles.js +3 -5
  198. package/esm/core/TabNav/index.js +11 -14
  199. package/esm/core/TabNav/styles.js +4 -6
  200. package/esm/core/TabNav/utils/useContainerDimensions.js +0 -1
  201. package/esm/core/Table/Cell.js +2 -3
  202. package/esm/core/Table/Row.js +2 -3
  203. package/esm/core/Table/Table.stories.js +83 -0
  204. package/esm/core/Table/index.js +0 -2
  205. package/esm/core/Table/styles.js +2 -4
  206. package/esm/core/Tag/Tag.stories.js +112 -0
  207. package/esm/core/Tag/index.js +0 -2
  208. package/esm/core/Tag/styles.js +0 -1
  209. package/esm/core/Text/Text.stories.js +132 -0
  210. package/esm/core/Text/index.js +0 -2
  211. package/esm/core/Text/styles.js +0 -1
  212. package/esm/core/Textarea/Textarea.stories.js +33 -0
  213. package/esm/core/Textarea/index.js +0 -5
  214. package/esm/core/Textarea/styles.js +3 -5
  215. package/esm/core/Timeline/Timeline.stories.js +25 -0
  216. package/esm/core/Timeline/TimelineStep/index.js +0 -2
  217. package/esm/core/Timeline/TimelineStep/styles.js +3 -5
  218. package/esm/core/Timeline/index.js +0 -2
  219. package/esm/core/Timeline/styles.js +1 -3
  220. package/esm/core/Timepicker/Timepicker.stories.js +77 -0
  221. package/esm/core/Timepicker/index.js +7 -16
  222. package/esm/core/Timepicker/styles.js +2 -4
  223. package/esm/core/Tooltip/Tooptip.stories.js +14 -0
  224. package/esm/core/Tooltip/index.js +0 -3
  225. package/esm/core/Tooltip/styles.js +0 -1
  226. package/esm/core/UnitIllustration/index.js +1 -9
  227. package/esm/core/UserMenu/UserMenu.stories.js +91 -0
  228. package/esm/core/UserMenu/UserMenuOption.js +0 -2
  229. package/esm/core/UserMenu/index.js +0 -8
  230. package/esm/core/UserMenu/styles.js +6 -8
  231. package/esm/core/Video/Video.stories.js +31 -0
  232. package/esm/core/Video/index.js +28 -0
  233. package/esm/core/Video/styles.js +7 -0
  234. package/esm/core/YearWheel/YearWheel.stories.js +20 -0
  235. package/esm/core/YearWheel/index.js +0 -2
  236. package/esm/core/YearWheel/styles.js +1 -3
  237. package/esm/core/private/ButtonOrLink.js +8 -13
  238. package/esm/core/private/preemption.js +0 -4
  239. package/esm/core/utils/debounce.js +0 -2
  240. package/esm/enums/Keyboard.js +3 -3
  241. package/esm/globals/styles/styles.js +0 -1
  242. package/esm/hooks/useIsMobile.js +0 -2
  243. package/esm/hooks/useScreenOrientation.js +0 -10
  244. package/esm/icons/General/IconApartment.js +0 -2
  245. package/esm/icons/General/IconArchives.js +0 -2
  246. package/esm/icons/General/IconArea.js +0 -2
  247. package/esm/icons/General/IconArrowDown.js +0 -2
  248. package/esm/icons/General/IconArrowLeft.js +0 -2
  249. package/esm/icons/General/IconArrowRight.js +0 -2
  250. package/esm/icons/General/IconArrowUp.js +0 -2
  251. package/esm/icons/General/IconAttachment.js +0 -2
  252. package/esm/icons/General/IconAuditorFilled.js +0 -2
  253. package/esm/icons/General/IconAuditorOutline.js +0 -2
  254. package/esm/icons/General/IconBack.js +0 -2
  255. package/esm/icons/General/IconBath.js +0 -2
  256. package/esm/icons/General/IconBblFlame.js +2 -3
  257. package/esm/icons/General/IconBblShield.js +2 -3
  258. package/esm/icons/General/IconBblWater.js +2 -3
  259. package/esm/icons/General/IconBellOutline.js +0 -2
  260. package/esm/icons/General/IconBlock.js +0 -2
  261. package/esm/icons/General/IconBoard.js +0 -2
  262. package/esm/icons/General/IconBookmarkFilled.js +0 -2
  263. package/esm/icons/General/IconBookmarkOutline.js +0 -2
  264. package/esm/icons/General/IconBus.js +0 -2
  265. package/esm/icons/General/IconCalendar.js +0 -2
  266. package/esm/icons/General/IconCamera.js +0 -2
  267. package/esm/icons/General/IconCar.js +0 -2
  268. package/esm/icons/General/IconCaretDown.js +0 -2
  269. package/esm/icons/General/IconCaretLeft.js +0 -2
  270. package/esm/icons/General/IconCaretRight.js +0 -2
  271. package/esm/icons/General/IconCaretUp.js +0 -2
  272. package/esm/icons/General/IconCases.js +0 -2
  273. package/esm/icons/General/IconCheck.js +0 -2
  274. package/esm/icons/General/IconCheckedFilled.js +0 -2
  275. package/esm/icons/General/IconCheckedOutline.js +0 -2
  276. package/esm/icons/General/IconChevronDown.js +0 -2
  277. package/esm/icons/General/IconChevronLeft.js +0 -2
  278. package/esm/icons/General/IconChevronRight.js +0 -2
  279. package/esm/icons/General/IconChoice.js +0 -2
  280. package/esm/icons/General/IconClose.js +0 -2
  281. package/esm/icons/General/IconCloseAlt.js +0 -2
  282. package/esm/icons/General/IconComment.js +0 -2
  283. package/esm/icons/General/IconCommunication.js +0 -2
  284. package/esm/icons/General/IconCommunicationFilled.js +0 -2
  285. package/esm/icons/General/IconCompanyBuilding.js +0 -2
  286. package/esm/icons/General/IconCompanyBuildingFilled.js +0 -2
  287. package/esm/icons/General/IconCompanyBuildingOutline.js +0 -2
  288. package/esm/icons/General/IconDashboard.js +0 -2
  289. package/esm/icons/General/IconDashboardFilled.js +0 -2
  290. package/esm/icons/General/IconDelete.js +0 -2
  291. package/esm/icons/General/IconDocument.js +0 -2
  292. package/esm/icons/General/IconDocumentFilled.js +0 -2
  293. package/esm/icons/General/IconDoor.js +0 -2
  294. package/esm/icons/General/IconDotFilled.js +0 -2
  295. package/esm/icons/General/IconDotOutline.js +0 -2
  296. package/esm/icons/General/IconDownload.js +0 -2
  297. package/esm/icons/General/IconDraft.js +0 -2
  298. package/esm/icons/General/IconEarth.js +0 -2
  299. package/esm/icons/General/IconEconomy.js +0 -2
  300. package/esm/icons/General/IconEconomyFilled.js +0 -2
  301. package/esm/icons/General/IconEdit.js +0 -2
  302. package/esm/icons/General/IconElevator.js +0 -2
  303. package/esm/icons/General/IconErrorFilled.js +0 -2
  304. package/esm/icons/General/IconErrorOutline.js +0 -2
  305. package/esm/icons/General/IconExternalLink.js +0 -2
  306. package/esm/icons/General/IconEye.js +0 -2
  307. package/esm/icons/General/IconEyeDeny.js +0 -2
  308. package/esm/icons/General/IconFamily.js +0 -2
  309. package/esm/icons/General/IconFerry.js +0 -2
  310. package/esm/icons/General/IconFile.js +0 -2
  311. package/esm/icons/General/IconFileAdd.js +0 -2
  312. package/esm/icons/General/IconFileCopy.js +0 -2
  313. package/esm/icons/General/IconFileEdit.js +0 -2
  314. package/esm/icons/General/IconFileExcel.js +0 -2
  315. package/esm/icons/General/IconFilePDF.js +0 -2
  316. package/esm/icons/General/IconFileWord.js +0 -2
  317. package/esm/icons/General/IconFillOut.js +0 -2
  318. package/esm/icons/General/IconFilterList.js +0 -2
  319. package/esm/icons/General/IconFloor.js +0 -2
  320. package/esm/icons/General/IconForward.js +0 -2
  321. package/esm/icons/General/IconFullscreenClose.js +0 -2
  322. package/esm/icons/General/IconFullscreenOpen.js +0 -2
  323. package/esm/icons/General/IconGarage.js +0 -2
  324. package/esm/icons/General/IconGrid.js +0 -2
  325. package/esm/icons/General/IconGym.js +0 -2
  326. package/esm/icons/General/IconHearth.js +0 -2
  327. package/esm/icons/General/IconHearthOutline.js +0 -2
  328. package/esm/icons/General/IconHelp.js +0 -2
  329. package/esm/icons/General/IconHistory.js +0 -2
  330. package/esm/icons/General/IconHomeFilled.js +0 -2
  331. package/esm/icons/General/IconHomeOutline.js +0 -2
  332. package/esm/icons/General/IconHouse.js +0 -2
  333. package/esm/icons/General/IconHouseBlockFilled.js +0 -2
  334. package/esm/icons/General/IconHouseBlockOutline.js +0 -2
  335. package/esm/icons/General/IconHouseOutline.js +0 -2
  336. package/esm/icons/General/IconHumans.js +0 -2
  337. package/esm/icons/General/IconImage.js +0 -2
  338. package/esm/icons/General/IconImportantComment.js +0 -2
  339. package/esm/icons/General/IconInbox.js +0 -2
  340. package/esm/icons/General/IconInfoFilled.js +0 -2
  341. package/esm/icons/General/IconInfoOutline.js +0 -2
  342. package/esm/icons/General/IconJanitorFilled.js +0 -2
  343. package/esm/icons/General/IconJanitorOutline.js +0 -2
  344. package/esm/icons/General/IconJointcost.js +0 -2
  345. package/esm/icons/General/IconJointcost2.js +0 -2
  346. package/esm/icons/General/IconKey.js +0 -2
  347. package/esm/icons/General/IconKitchen.js +0 -2
  348. package/esm/icons/General/IconLabel.js +0 -2
  349. package/esm/icons/General/IconLeafFilled.js +0 -2
  350. package/esm/icons/General/IconLeafOutline.js +0 -2
  351. package/esm/icons/General/IconLeisureTime.js +0 -2
  352. package/esm/icons/General/IconLock.js +0 -2
  353. package/esm/icons/General/IconLockLocked.js +0 -2
  354. package/esm/icons/General/IconLockOpen.js +0 -2
  355. package/esm/icons/General/IconLookup.js +0 -2
  356. package/esm/icons/General/IconLookupFilled.js +0 -2
  357. package/esm/icons/General/IconMail.js +0 -2
  358. package/esm/icons/General/IconMap.js +0 -2
  359. package/esm/icons/General/IconMembership.js +0 -2
  360. package/esm/icons/General/IconMembershipFilled.js +0 -2
  361. package/esm/icons/General/IconMenu.js +0 -2
  362. package/esm/icons/General/IconMinus.js +0 -2
  363. package/esm/icons/General/IconMinusAlt.js +0 -2
  364. package/esm/icons/General/IconMinusAltFilled.js +0 -2
  365. package/esm/icons/General/IconMoney.js +0 -2
  366. package/esm/icons/General/IconParking.js +0 -2
  367. package/esm/icons/General/IconPaymentCard.js +0 -2
  368. package/esm/icons/General/IconPhone.js +0 -2
  369. package/esm/icons/General/IconPinned.js +0 -2
  370. package/esm/icons/General/IconPlus.js +0 -2
  371. package/esm/icons/General/IconPlusAlt.js +0 -2
  372. package/esm/icons/General/IconPortalUser.js +0 -2
  373. package/esm/icons/General/IconPrint.js +0 -2
  374. package/esm/icons/General/IconProfile.js +0 -2
  375. package/esm/icons/General/IconProfileFilled.js +0 -2
  376. package/esm/icons/General/IconRearrange.js +0 -2
  377. package/esm/icons/General/IconReciept.js +0 -2
  378. package/esm/icons/General/IconRedo.js +0 -2
  379. package/esm/icons/General/IconRefresh.js +0 -2
  380. package/esm/icons/General/IconReply.js +0 -2
  381. package/esm/icons/General/IconReplyAll.js +0 -2
  382. package/esm/icons/General/IconRoom.js +0 -2
  383. package/esm/icons/General/IconSave.js +0 -2
  384. package/esm/icons/General/IconSearch.js +0 -2
  385. package/esm/icons/General/IconSend.js +0 -2
  386. package/esm/icons/General/IconSettings.js +0 -2
  387. package/esm/icons/General/IconShopping.js +0 -2
  388. package/esm/icons/General/IconSign.js +0 -2
  389. package/esm/icons/General/IconSliders.js +0 -2
  390. package/esm/icons/General/IconSort.js +0 -2
  391. package/esm/icons/General/IconStarFilled.js +0 -2
  392. package/esm/icons/General/IconStarHalf.js +0 -2
  393. package/esm/icons/General/IconStarOutline.js +0 -2
  394. package/esm/icons/General/IconStore.js +0 -2
  395. package/esm/icons/General/IconSubway.js +0 -2
  396. package/esm/icons/General/IconSwitch.js +0 -2
  397. package/esm/icons/General/IconTrain.js +0 -2
  398. package/esm/icons/General/IconTram.js +0 -2
  399. package/esm/icons/General/IconTransport.js +0 -2
  400. package/esm/icons/General/IconTypeOfBuilding.js +0 -2
  401. package/esm/icons/General/IconTypeOfBuildingOutline.js +0 -2
  402. package/esm/icons/General/IconUndo.js +0 -2
  403. package/esm/icons/General/IconUpload.js +0 -2
  404. package/esm/icons/General/IconUser.js +0 -2
  405. package/esm/icons/General/IconUserThin.js +0 -2
  406. package/esm/icons/General/IconVote.js +0 -2
  407. package/esm/icons/General/IconWalk.js +0 -2
  408. package/esm/icons/General/IconWarning.js +0 -2
  409. package/esm/icons/General/IconWarningBell.js +0 -2
  410. package/esm/icons/General/IconWork.js +0 -2
  411. package/esm/icons/General/IconWorkFilled.js +0 -2
  412. package/esm/icons/General/IconZip.js +0 -2
  413. package/esm/icons/Icon.stories.js +629 -0
  414. package/esm/icons/Logos/IconAmericanExpress.js +0 -2
  415. package/esm/icons/Logos/IconBankAxept.js +0 -2
  416. package/esm/icons/Logos/IconGmail.js +0 -2
  417. package/esm/icons/Logos/IconMasterCard.js +0 -2
  418. package/esm/icons/Logos/IconOffice365.js +0 -2
  419. package/esm/icons/Logos/IconVisa.js +0 -2
  420. package/esm/icons/withIcon.js +2 -3
  421. package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +0 -2
  422. package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +0 -2
  423. package/esm/illustrations/General/IllustrationError.js +0 -2
  424. package/esm/illustrations/General/IllustrationErrorGeneric.js +0 -2
  425. package/esm/illustrations/General/IllustrationHighHouse.js +0 -2
  426. package/esm/illustrations/General/IllustrationHighHouseComposition.js +0 -2
  427. package/esm/illustrations/General/IllustrationHouse.js +0 -2
  428. package/esm/illustrations/General/IllustrationHouseComposition.js +0 -2
  429. package/esm/illustrations/General/IllustrationHouseMissing.js +0 -2
  430. package/esm/illustrations/General/IllustrationLowHouse.js +0 -2
  431. package/esm/illustrations/General/IllustrationLowHouseComposition.js +0 -2
  432. package/esm/illustrations/General/IllustrationPaperCompleted.js +0 -2
  433. package/esm/illustrations/General/IllustrationPaperMissing.js +0 -2
  434. package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +0 -2
  435. package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +0 -2
  436. package/esm/illustrations/General/IllustrationSmallHouse.js +0 -2
  437. package/esm/illustrations/General/IllustrationSmallHouseComposition.js +0 -2
  438. package/esm/illustrations/General/IllustrationTerraceBlock.js +0 -2
  439. package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +0 -2
  440. package/esm/illustrations/General/IllustrationTownHouse.js +0 -2
  441. package/esm/illustrations/General/IllustrationTownHouseComposition.js +0 -2
  442. package/esm/illustrations/Illustration.stories.js +173 -0
  443. package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +0 -2
  444. package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +0 -2
  445. package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +0 -2
  446. package/esm/illustrations/MySite/IllustrationMySiteComputer.js +0 -2
  447. package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +0 -2
  448. package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +0 -2
  449. package/esm/illustrations/MySite/IllustrationMySiteGift.js +0 -2
  450. package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +0 -2
  451. package/esm/illustrations/MySite/IllustrationMySitePapers.js +0 -2
  452. package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +0 -2
  453. package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +0 -2
  454. package/esm/illustrations/styles.js +0 -1
  455. package/esm/illustrations/withIllustration.js +2 -4
  456. package/esm/index.js +3 -1
  457. package/esm/layout/Footer/Footer.stories.js +62 -0
  458. package/esm/layout/Footer/FooterButton/index.js +2 -3
  459. package/esm/layout/Footer/FooterButton/styles.js +0 -2
  460. package/esm/layout/Footer/FooterCol/index.js +0 -2
  461. package/esm/layout/Footer/FooterCol/styles.js +1 -3
  462. package/esm/layout/Footer/FooterGroup/index.js +0 -2
  463. package/esm/layout/Footer/FooterGroup/styles.js +1 -3
  464. package/esm/layout/Footer/FooterLabel/index.js +0 -2
  465. package/esm/layout/Footer/FooterLabel/styles.js +1 -3
  466. package/esm/layout/Footer/FooterLink/index.js +2 -3
  467. package/esm/layout/Footer/FooterLink/styles.js +0 -2
  468. package/esm/layout/Footer/index.js +0 -2
  469. package/esm/layout/Footer/styles.js +1 -1
  470. package/esm/layout/Layout/Layout.stories.js +14 -0
  471. package/esm/layout/Layout/index.js +0 -2
  472. package/esm/layout/Layout/styles.js +1 -1
  473. package/esm/layout/LayoutShell/LayoutShell.stories.js +116 -0
  474. package/esm/layout/LayoutShell/index.js +0 -2
  475. package/esm/layout/LayoutShell/styles.js +5 -7
  476. package/esm/layout/Menu/AppPicker/index.js +3 -3
  477. package/esm/layout/Menu/AppPicker/styles.js +2 -11
  478. package/esm/layout/Menu/MainMenu/index.js +0 -2
  479. package/esm/layout/Menu/MainMenu/styles.js +1 -1
  480. package/esm/layout/Menu/MenuItem/index.js +0 -2
  481. package/esm/layout/Menu/MenuItem/styles.js +2 -2
  482. package/esm/layout/Menu/MenuSpacer/index.js +0 -2
  483. package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
  484. package/esm/layout/Menu/MenuTop/index.js +0 -2
  485. package/esm/layout/Menu/MenuTop/styles.js +2 -4
  486. package/esm/layout/Menu/SecondaryMenu/index.js +0 -2
  487. package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
  488. package/esm/layout/Menu/SecondaryMenuItem/index.js +0 -2
  489. package/esm/layout/Menu/Sidemenu.stories.js +323 -0
  490. package/esm/layout/Menu/index.js +0 -2
  491. package/esm/layout/Menu/styles.js +1 -1
  492. package/esm/layout/Submenu/Submenu.stories.js +94 -0
  493. package/esm/layout/Submenu/SubmenuItem/index.js +0 -7
  494. package/esm/layout/Submenu/SubmenuItem/styles.js +1 -6
  495. package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
  496. package/esm/layout/Submenu/index.js +0 -11
  497. package/esm/layout/Submenu/styles.js +6 -8
  498. package/esm/layout/Topbar/Topbar.stories.js +23 -0
  499. package/esm/layout/Topbar/index.js +0 -2
  500. package/esm/layout/Topbar/styles.js +1 -1
  501. package/esm/shared/components/SbIconGrid/index.js +27 -0
  502. package/esm/shared/recharts/CustomLegend/styles.js +2 -4
  503. package/esm/shared/recharts/CustomTooltip/index.js +0 -11
  504. package/esm/shared/recharts/CustomTooltip/styles.js +3 -5
  505. package/esm/shared/types/LoadedType.js +1 -0
  506. package/esm/utils/accountNumber.js +1 -7
  507. package/esm/utils/alpha.js +0 -1
  508. package/esm/utils/array.js +1 -3
  509. package/esm/utils/dates.js +0 -10
  510. package/esm/utils/file.js +1 -0
  511. package/esm/utils/format.js +3 -21
  512. package/esm/utils/formatGraphPrice.js +0 -15
  513. package/esm/utils/image.js +0 -3
  514. package/esm/utils/pagination.js +0 -5
  515. package/esm/utils/phone.js +8 -13
  516. package/esm/utils/time.js +4 -14
  517. package/esm/utils/url.js +0 -2
  518. package/esm/utils/useSnorreTheme.js +31 -0
  519. package/lib/app-shell/index.js +1 -4
  520. package/lib/app-shell/theme.js +2 -1
  521. package/lib/core/Alert/Alert.stories.d.ts +24 -0
  522. package/lib/core/Alert/Alert.stories.d.ts.map +1 -0
  523. package/lib/core/Alert/Alert.stories.js +43 -0
  524. package/lib/core/Alert/index.js +0 -2
  525. package/lib/core/Alert/styles.js +0 -1
  526. package/lib/core/AppLoader/AppLoader.stories.d.ts +8 -0
  527. package/lib/core/AppLoader/AppLoader.stories.d.ts.map +1 -0
  528. package/lib/core/AppLoader/AppLoader.stories.js +10 -0
  529. package/lib/core/AppLoader/index.js +0 -2
  530. package/lib/core/Autocomplete/Autocomplete.stories.d.ts +71 -0
  531. package/lib/core/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
  532. package/lib/core/Autocomplete/Autocomplete.stories.js +327 -0
  533. package/lib/core/Autocomplete/hooks/useAutocomplete.js +14 -49
  534. package/lib/core/Autocomplete/hooks/useHandleDimentions.js +2 -3
  535. package/lib/core/Autocomplete/index.js +2 -3
  536. package/lib/core/Autocomplete/styles.js +0 -2
  537. package/lib/core/Banner/Banner.stories.d.ts +24 -0
  538. package/lib/core/Banner/Banner.stories.d.ts.map +1 -0
  539. package/lib/core/Banner/Banner.stories.js +68 -0
  540. package/lib/core/Banner/index.js +0 -2
  541. package/lib/core/Banner/styles.js +4 -6
  542. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +9 -0
  543. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -0
  544. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +94 -0
  545. package/lib/core/BarAndLineComposedChart/index.js +0 -2
  546. package/lib/core/BarAndLineComposedChart/styles.js +1 -1
  547. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +15 -0
  548. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -0
  549. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +80 -0
  550. package/lib/core/BarChartWithCustomizedEvent/index.js +0 -3
  551. package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
  552. package/lib/core/Box/Box.stories.d.ts +40 -0
  553. package/lib/core/Box/Box.stories.d.ts.map +1 -0
  554. package/lib/core/Box/Box.stories.js +89 -0
  555. package/lib/core/Box/index.js +0 -4
  556. package/lib/core/Box/styles.js +2 -8
  557. package/lib/core/BoxedTable/BoxedTable.stories.d.ts +36 -0
  558. package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -0
  559. package/lib/core/BoxedTable/BoxedTable.stories.js +351 -0
  560. package/lib/core/BoxedTable/DraggableRow/index.js +0 -2
  561. package/lib/core/BoxedTable/DraggableRow/styles.js +5 -7
  562. package/lib/core/BoxedTable/HeaderCell/index.js +0 -4
  563. package/lib/core/BoxedTable/HeaderCell/styles.js +1 -1
  564. package/lib/core/BoxedTable/RowCell/index.js +0 -2
  565. package/lib/core/BoxedTable/RowCell/styles.js +1 -3
  566. package/lib/core/BoxedTable/TableHeader/index.js +0 -2
  567. package/lib/core/BoxedTable/TableHeader/styles.js +1 -3
  568. package/lib/core/BoxedTable/TableRow/index.js +0 -7
  569. package/lib/core/BoxedTable/TableRow/styles.js +6 -8
  570. package/lib/core/BoxedTable/index.js +2 -5
  571. package/lib/core/BoxedTable/styles.js +2 -9
  572. package/lib/core/Button/Button.stories.d.ts +64 -0
  573. package/lib/core/Button/Button.stories.d.ts.map +1 -0
  574. package/lib/core/Button/Button.stories.js +121 -0
  575. package/lib/core/Button/index.js +0 -4
  576. package/lib/core/Button/styles.js +1 -5
  577. package/lib/core/Calendar/Calendar.stories.d.ts +16 -0
  578. package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -0
  579. package/lib/core/Calendar/Calendar.stories.js +39 -0
  580. package/lib/core/Calendar/CalendarEvent/index.js +0 -8
  581. package/lib/core/Calendar/CalendarEvent/styles.js +5 -7
  582. package/lib/core/Calendar/CalendarSmallEvent/index.js +0 -8
  583. package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -7
  584. package/lib/core/Calendar/index.js +0 -5
  585. package/lib/core/Calendar/styles.js +5 -7
  586. package/lib/core/Calendar/util.js +0 -2
  587. package/lib/core/Card/Card.stories.d.ts +49 -0
  588. package/lib/core/Card/Card.stories.d.ts.map +1 -0
  589. package/lib/core/Card/Card.stories.js +69 -0
  590. package/lib/core/Card/index.js +0 -3
  591. package/lib/core/Card/styles.js +0 -1
  592. package/lib/core/Checkbox/Checkbox.stories.d.ts +24 -0
  593. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
  594. package/lib/core/Checkbox/Checkbox.stories.js +43 -0
  595. package/lib/core/Checkbox/index.js +0 -4
  596. package/lib/core/Checkbox/styles.js +0 -3
  597. package/lib/core/CheckboxController/index.js +6 -0
  598. package/lib/core/CollapseList/CollapseList.stories.d.ts +12 -0
  599. package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -0
  600. package/lib/core/CollapseList/CollapseList.stories.js +43 -0
  601. package/lib/core/CollapseList/Item.js +0 -4
  602. package/lib/core/CollapseList/index.js +0 -2
  603. package/lib/core/CollapseList/styles.js +0 -2
  604. package/lib/core/CommentsTimeline/CommentLine/index.js +0 -2
  605. package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -6
  606. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +12 -0
  607. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -0
  608. package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +79 -0
  609. package/lib/core/CommentsTimeline/index.js +0 -2
  610. package/lib/core/CommentsTimeline/styles.js +1 -3
  611. package/lib/core/CustomText/CustomText.stories.d.ts +20 -0
  612. package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -0
  613. package/lib/core/CustomText/CustomText.stories.js +33 -0
  614. package/lib/core/CustomText/index.js +0 -6
  615. package/lib/core/CustomText/styles.js +1 -3
  616. package/lib/core/Datepicker/Datepicker.stories.d.ts +28 -0
  617. package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -0
  618. package/lib/core/Datepicker/Datepicker.stories.js +58 -0
  619. package/lib/core/Datepicker/index.js +0 -20
  620. package/lib/core/Datepicker/styles.js +6 -8
  621. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +8 -0
  622. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -0
  623. package/lib/core/DatepickerRange/DatepickerRange.stories.js +21 -0
  624. package/lib/core/DatepickerRange/index.js +17 -5
  625. package/lib/core/DatepickerRange/styles.js +6 -8
  626. package/lib/core/Divider/index.js +1 -2
  627. package/lib/core/Divider/styles.js +0 -1
  628. package/lib/core/Dropdown/Dropdown.stories.d.ts +24 -0
  629. package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -0
  630. package/lib/core/Dropdown/Dropdown.stories.js +53 -0
  631. package/lib/core/Dropdown/index.js +0 -8
  632. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +16 -0
  633. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
  634. package/lib/core/DropdownMenu/DropdownMenu.stories.js +47 -0
  635. package/lib/core/DropdownMenu/DropdownMenuOption.js +0 -2
  636. package/lib/core/DropdownMenu/index.js +0 -4
  637. package/lib/core/DropdownMenu/styles.js +2 -4
  638. package/lib/core/Editor/Editor.stories.d.ts +24 -0
  639. package/lib/core/Editor/Editor.stories.d.ts.map +1 -0
  640. package/lib/core/Editor/Editor.stories.js +54 -0
  641. package/lib/core/Editor/index.js +2 -6
  642. package/lib/core/Editor/styles.js +2 -4
  643. package/lib/core/FileInput/FileInput.stories.d.ts +15 -0
  644. package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -0
  645. package/lib/core/FileInput/FileInput.stories.js +77 -0
  646. package/lib/core/FileInput/index.js +2 -12
  647. package/lib/core/FileInput/styles.js +11 -13
  648. package/lib/core/GoogleButton/GoogleButton.stories.d.ts +8 -0
  649. package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -0
  650. package/lib/core/GoogleButton/GoogleButton.stories.js +12 -0
  651. package/lib/core/GoogleButton/index.js +0 -3
  652. package/lib/core/GoogleButton/styles.js +1 -3
  653. package/lib/core/Header/Header.stories.d.ts +36 -0
  654. package/lib/core/Header/Header.stories.d.ts.map +1 -0
  655. package/lib/core/Header/Header.stories.js +65 -0
  656. package/lib/core/Header/index.js +0 -2
  657. package/lib/core/HighlightText/HighlightText.stories.d.ts +12 -0
  658. package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -0
  659. package/lib/core/HighlightText/HighlightText.stories.js +22 -0
  660. package/lib/core/HighlightText/index.js +0 -2
  661. package/lib/core/HighlightText/styles.js +1 -3
  662. package/lib/core/Html/Html.stories.d.ts +20 -0
  663. package/lib/core/Html/Html.stories.d.ts.map +1 -0
  664. package/lib/core/Html/Html.stories.js +43 -0
  665. package/lib/core/Html/index.js +0 -2
  666. package/lib/core/Html/styles.js +0 -1
  667. package/lib/core/Image/Image.stories.d.ts +16 -0
  668. package/lib/core/Image/Image.stories.d.ts.map +1 -0
  669. package/lib/core/Image/Image.stories.js +26 -0
  670. package/lib/core/Image/index.js +1 -2
  671. package/lib/core/Image/styles.js +0 -1
  672. package/lib/core/ImagePicker/IconWithBackground.js +0 -2
  673. package/lib/core/ImagePicker/ImagePicker.stories.d.ts +18 -0
  674. package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -0
  675. package/lib/core/ImagePicker/ImagePicker.stories.js +28 -0
  676. package/lib/core/ImagePicker/UploadButton.js +0 -2
  677. package/lib/core/ImagePicker/index.js +2 -5
  678. package/lib/core/ImagePicker/styles.js +0 -1
  679. package/lib/core/InfoButton/InfoButton.stories.d.ts +24 -0
  680. package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -0
  681. package/lib/core/InfoButton/InfoButton.stories.js +57 -0
  682. package/lib/core/InfoButton/index.js +0 -8
  683. package/lib/core/InfoButton/styles.js +2 -4
  684. package/lib/core/Input/Input.stories.d.ts +20 -0
  685. package/lib/core/Input/Input.stories.d.ts.map +1 -0
  686. package/lib/core/Input/Input.stories.js +158 -0
  687. package/lib/core/Input/index.js +4 -10
  688. package/lib/core/Input/styles.js +0 -1
  689. package/lib/core/Link/Link.stories.d.ts +40 -0
  690. package/lib/core/Link/Link.stories.d.ts.map +1 -0
  691. package/lib/core/Link/Link.stories.js +75 -0
  692. package/lib/core/Link/index.js +2 -3
  693. package/lib/core/Link/styles.js +1 -3
  694. package/lib/core/List/Item.js +1 -4
  695. package/lib/core/List/List.stories.d.ts +40 -0
  696. package/lib/core/List/List.stories.d.ts.map +1 -0
  697. package/lib/core/List/List.stories.js +157 -0
  698. package/lib/core/List/index.js +0 -3
  699. package/lib/core/List/styles.js +0 -4
  700. package/lib/core/ListPager/ListPager.stories.d.ts +8 -0
  701. package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -0
  702. package/lib/core/ListPager/ListPager.stories.js +16 -0
  703. package/lib/core/ListPager/index.js +0 -8
  704. package/lib/core/ListPager/styles.js +2 -4
  705. package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +12 -0
  706. package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts.map +1 -0
  707. package/lib/core/MediaCarousel/MediaCarousel.stories.js +34 -0
  708. package/lib/core/MediaCarousel/index.d.ts +25 -0
  709. package/lib/core/MediaCarousel/index.d.ts.map +1 -0
  710. package/lib/core/{ImageCarousel → MediaCarousel}/index.js +37 -23
  711. package/lib/core/{ImageCarousel → MediaCarousel}/styles.d.ts +2 -0
  712. package/lib/core/MediaCarousel/styles.d.ts.map +1 -0
  713. package/lib/core/MediaCarousel/styles.js +55 -0
  714. package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
  715. package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
  716. package/lib/core/Modal/ActionButtons/index.js +1 -4
  717. package/lib/core/Modal/Modal.stories.d.ts +24 -0
  718. package/lib/core/Modal/Modal.stories.d.ts.map +1 -0
  719. package/lib/core/Modal/Modal.stories.js +117 -0
  720. package/lib/core/Modal/index.d.ts +1 -1
  721. package/lib/core/Modal/index.js +1 -12
  722. package/lib/core/Modal/styles.js +7 -11
  723. package/lib/core/NoticeCard/NoticeCard.stories.d.ts +12 -0
  724. package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -0
  725. package/lib/core/NoticeCard/NoticeCard.stories.js +61 -0
  726. package/lib/core/NoticeCard/index.js +0 -4
  727. package/lib/core/NoticeCard/models.js +3 -4
  728. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +0 -2
  729. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -6
  730. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
  731. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -3
  732. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
  733. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -5
  734. package/lib/core/NoticeCard/styles.js +5 -7
  735. package/lib/core/NoticeCard/utils.d.ts +2 -1
  736. package/lib/core/NoticeCard/utils.d.ts.map +1 -1
  737. package/lib/core/NoticeCard/utils.js +0 -3
  738. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +12 -0
  739. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -0
  740. package/lib/core/NotificationCounter/NotificationCounter.stories.js +19 -0
  741. package/lib/core/NotificationCounter/index.js +1 -2
  742. package/lib/core/NotificationCounter/styles.js +0 -4
  743. package/lib/core/NotificationsMenu/NotificationBell/index.js +0 -2
  744. package/lib/core/NotificationsMenu/NotificationBell/styles.js +2 -2
  745. package/lib/core/NotificationsMenu/NotificationRow/index.js +0 -2
  746. package/lib/core/NotificationsMenu/NotificationRow/styles.js +1 -1
  747. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +12 -0
  748. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -0
  749. package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
  750. package/lib/core/NotificationsMenu/index.js +0 -8
  751. package/lib/core/NotificationsMenu/styles.js +2 -4
  752. package/lib/core/PieChart/ActiveShape/index.d.ts +2 -1
  753. package/lib/core/PieChart/ActiveShape/index.d.ts.map +1 -1
  754. package/lib/core/PieChart/ActiveShape/index.js +1 -3
  755. package/lib/core/PieChart/PieChart.stories.d.ts +21 -0
  756. package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -0
  757. package/lib/core/PieChart/PieChart.stories.js +81 -0
  758. package/lib/core/PieChart/index.js +6 -7
  759. package/lib/core/PieChart/renderTextContent/index.d.ts +2 -1
  760. package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
  761. package/lib/core/PieChart/renderTextContent/index.js +1 -3
  762. package/lib/core/PieChart/styles.js +2 -4
  763. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +8 -0
  764. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -0
  765. package/lib/core/PreemptionCard/PreemptionCard.stories.js +68 -0
  766. package/lib/core/PreemptionCard/index.js +0 -5
  767. package/lib/core/PreemptionCard/models.js +3 -4
  768. package/lib/core/PreemptionCard/styles.js +2 -4
  769. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +8 -0
  770. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -0
  771. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
  772. package/lib/core/PreemptionCardLoading/index.js +0 -2
  773. package/lib/core/PreemptionCardLoading/styles.js +3 -5
  774. package/lib/core/Radio/Radio.stories.d.ts +20 -0
  775. package/lib/core/Radio/Radio.stories.d.ts.map +1 -0
  776. package/lib/core/Radio/Radio.stories.js +66 -0
  777. package/lib/core/Radio/index.js +0 -2
  778. package/lib/core/Radio/styles.js +0 -1
  779. package/lib/core/SearchFilter/SearchFilter.stories.d.ts +20 -0
  780. package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -0
  781. package/lib/core/SearchFilter/SearchFilter.stories.js +113 -0
  782. package/lib/core/SearchFilter/index.js +2 -10
  783. package/lib/core/SearchFilter/styles.js +6 -10
  784. package/lib/core/SearchSelect/SearchSelect.stories.d.ts +13 -0
  785. package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -0
  786. package/lib/core/SearchSelect/SearchSelect.stories.js +52 -0
  787. package/lib/core/SearchSelect/hooks/useSelectSearch.js +2 -3
  788. package/lib/core/SearchSelect/index.js +4 -12
  789. package/lib/core/SearchSelect/styles.js +4 -6
  790. package/lib/core/Select/Option.js +0 -3
  791. package/lib/core/Select/Select.stories.d.ts +48 -0
  792. package/lib/core/Select/Select.stories.d.ts.map +1 -0
  793. package/lib/core/Select/Select.stories.js +246 -0
  794. package/lib/core/Select/index.js +2 -17
  795. package/lib/core/Select/styles.js +3 -13
  796. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +30 -0
  797. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -0
  798. package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
  799. package/lib/core/SimpleBarChart/index.js +0 -3
  800. package/lib/core/SimpleBarChart/styles.js +1 -1
  801. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +9 -0
  802. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -0
  803. package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
  804. package/lib/core/SimpleLineChart/index.js +0 -2
  805. package/lib/core/SimpleLineChart/styles.js +1 -1
  806. package/lib/core/Skeleton/Skeleton.stories.d.ts +37 -0
  807. package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -0
  808. package/lib/core/Skeleton/Skeleton.stories.js +46 -0
  809. package/lib/core/Skeleton/index.js +0 -4
  810. package/lib/core/Skeleton/styles.js +1 -3
  811. package/lib/core/Spinner/Spinner.stories.d.ts +20 -0
  812. package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -0
  813. package/lib/core/Spinner/Spinner.stories.js +30 -0
  814. package/lib/core/Spinner/index.js +0 -2
  815. package/lib/core/TabBar/TabBar.stories.d.ts +8 -0
  816. package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -0
  817. package/lib/core/TabBar/TabBar.stories.js +38 -0
  818. package/lib/core/TabBar/TabItem/index.js +0 -2
  819. package/lib/core/TabBar/TabItem/styles.js +1 -3
  820. package/lib/core/TabBar/index.js +0 -2
  821. package/lib/core/TabBar/styles.js +1 -3
  822. package/lib/core/TabNav/TabContext.js +8 -5
  823. package/lib/core/TabNav/TabNav.stories.d.ts +48 -0
  824. package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -0
  825. package/lib/core/TabNav/TabNav.stories.js +306 -0
  826. package/lib/core/TabNav/TabNavItem/index.js +2 -6
  827. package/lib/core/TabNav/TabNavItem/styles.js +3 -5
  828. package/lib/core/TabNav/index.js +11 -14
  829. package/lib/core/TabNav/styles.js +4 -6
  830. package/lib/core/TabNav/utils/useContainerDimensions.js +0 -1
  831. package/lib/core/Table/Cell.js +2 -3
  832. package/lib/core/Table/Row.js +2 -3
  833. package/lib/core/Table/Table.stories.d.ts +12 -0
  834. package/lib/core/Table/Table.stories.d.ts.map +1 -0
  835. package/lib/core/Table/Table.stories.js +83 -0
  836. package/lib/core/Table/index.js +0 -2
  837. package/lib/core/Table/styles.js +2 -4
  838. package/lib/core/Tag/Tag.stories.d.ts +60 -0
  839. package/lib/core/Tag/Tag.stories.d.ts.map +1 -0
  840. package/lib/core/Tag/Tag.stories.js +112 -0
  841. package/lib/core/Tag/index.js +0 -2
  842. package/lib/core/Tag/styles.js +0 -1
  843. package/lib/core/Text/Text.stories.d.ts +21 -0
  844. package/lib/core/Text/Text.stories.d.ts.map +1 -0
  845. package/lib/core/Text/Text.stories.js +132 -0
  846. package/lib/core/Text/index.js +0 -2
  847. package/lib/core/Text/styles.js +0 -1
  848. package/lib/core/Textarea/Textarea.stories.d.ts +20 -0
  849. package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -0
  850. package/lib/core/Textarea/Textarea.stories.js +33 -0
  851. package/lib/core/Textarea/index.js +0 -5
  852. package/lib/core/Textarea/styles.js +3 -5
  853. package/lib/core/Timeline/Timeline.stories.d.ts +8 -0
  854. package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -0
  855. package/lib/core/Timeline/Timeline.stories.js +25 -0
  856. package/lib/core/Timeline/TimelineStep/index.js +0 -2
  857. package/lib/core/Timeline/TimelineStep/styles.js +3 -5
  858. package/lib/core/Timeline/index.js +0 -2
  859. package/lib/core/Timeline/styles.js +1 -3
  860. package/lib/core/Timepicker/Timepicker.stories.d.ts +32 -0
  861. package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -0
  862. package/lib/core/Timepicker/Timepicker.stories.js +77 -0
  863. package/lib/core/Timepicker/index.js +7 -16
  864. package/lib/core/Timepicker/styles.js +2 -4
  865. package/lib/core/Tooltip/Tooptip.stories.d.ts +8 -0
  866. package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -0
  867. package/lib/core/Tooltip/Tooptip.stories.js +14 -0
  868. package/lib/core/Tooltip/index.js +0 -3
  869. package/lib/core/Tooltip/styles.js +0 -1
  870. package/lib/core/UnitIllustration/index.js +1 -9
  871. package/lib/core/UserMenu/UserMenu.stories.d.ts +20 -0
  872. package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -0
  873. package/lib/core/UserMenu/UserMenu.stories.js +91 -0
  874. package/lib/core/UserMenu/UserMenuOption.js +0 -2
  875. package/lib/core/UserMenu/index.js +0 -8
  876. package/lib/core/UserMenu/styles.js +6 -8
  877. package/lib/core/Video/Video.stories.d.ts +16 -0
  878. package/lib/core/Video/Video.stories.d.ts.map +1 -0
  879. package/lib/core/Video/Video.stories.js +31 -0
  880. package/lib/core/Video/index.d.ts +24 -0
  881. package/lib/core/Video/index.d.ts.map +1 -0
  882. package/lib/core/Video/index.js +28 -0
  883. package/lib/core/Video/styles.d.ts +7 -0
  884. package/lib/core/Video/styles.d.ts.map +1 -0
  885. package/lib/core/Video/styles.js +7 -0
  886. package/lib/core/YearWheel/YearWheel.stories.d.ts +12 -0
  887. package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -0
  888. package/lib/core/YearWheel/YearWheel.stories.js +20 -0
  889. package/lib/core/YearWheel/index.js +0 -2
  890. package/lib/core/YearWheel/styles.js +1 -3
  891. package/lib/core/private/ButtonOrLink.js +8 -13
  892. package/lib/core/private/preemption.js +0 -4
  893. package/lib/core/utils/debounce.js +0 -2
  894. package/lib/enums/Keyboard.js +3 -3
  895. package/lib/globals/styles/styles.js +0 -1
  896. package/lib/hooks/useIsMobile.js +0 -2
  897. package/lib/hooks/useScreenOrientation.js +0 -10
  898. package/lib/icons/General/IconApartment.js +0 -2
  899. package/lib/icons/General/IconArchives.js +0 -2
  900. package/lib/icons/General/IconArea.js +0 -2
  901. package/lib/icons/General/IconArrowDown.js +0 -2
  902. package/lib/icons/General/IconArrowLeft.js +0 -2
  903. package/lib/icons/General/IconArrowRight.js +0 -2
  904. package/lib/icons/General/IconArrowUp.js +0 -2
  905. package/lib/icons/General/IconAttachment.js +0 -2
  906. package/lib/icons/General/IconAuditorFilled.js +0 -2
  907. package/lib/icons/General/IconAuditorOutline.js +0 -2
  908. package/lib/icons/General/IconBack.js +0 -2
  909. package/lib/icons/General/IconBath.js +0 -2
  910. package/lib/icons/General/IconBblFlame.js +2 -3
  911. package/lib/icons/General/IconBblShield.js +2 -3
  912. package/lib/icons/General/IconBblWater.js +2 -3
  913. package/lib/icons/General/IconBellOutline.js +0 -2
  914. package/lib/icons/General/IconBlock.js +0 -2
  915. package/lib/icons/General/IconBoard.js +0 -2
  916. package/lib/icons/General/IconBookmarkFilled.js +0 -2
  917. package/lib/icons/General/IconBookmarkOutline.js +0 -2
  918. package/lib/icons/General/IconBus.js +0 -2
  919. package/lib/icons/General/IconCalendar.js +0 -2
  920. package/lib/icons/General/IconCamera.js +0 -2
  921. package/lib/icons/General/IconCar.js +0 -2
  922. package/lib/icons/General/IconCaretDown.js +0 -2
  923. package/lib/icons/General/IconCaretLeft.js +0 -2
  924. package/lib/icons/General/IconCaretRight.js +0 -2
  925. package/lib/icons/General/IconCaretUp.js +0 -2
  926. package/lib/icons/General/IconCases.js +0 -2
  927. package/lib/icons/General/IconCheck.js +0 -2
  928. package/lib/icons/General/IconCheckedFilled.js +0 -2
  929. package/lib/icons/General/IconCheckedOutline.js +0 -2
  930. package/lib/icons/General/IconChevronDown.js +0 -2
  931. package/lib/icons/General/IconChevronLeft.js +0 -2
  932. package/lib/icons/General/IconChevronRight.js +0 -2
  933. package/lib/icons/General/IconChoice.js +0 -2
  934. package/lib/icons/General/IconClose.js +0 -2
  935. package/lib/icons/General/IconCloseAlt.js +0 -2
  936. package/lib/icons/General/IconComment.js +0 -2
  937. package/lib/icons/General/IconCommunication.js +0 -2
  938. package/lib/icons/General/IconCommunicationFilled.js +0 -2
  939. package/lib/icons/General/IconCompanyBuilding.js +0 -2
  940. package/lib/icons/General/IconCompanyBuildingFilled.js +0 -2
  941. package/lib/icons/General/IconCompanyBuildingOutline.js +0 -2
  942. package/lib/icons/General/IconDashboard.js +0 -2
  943. package/lib/icons/General/IconDashboardFilled.js +0 -2
  944. package/lib/icons/General/IconDelete.js +0 -2
  945. package/lib/icons/General/IconDocument.js +0 -2
  946. package/lib/icons/General/IconDocumentFilled.js +0 -2
  947. package/lib/icons/General/IconDoor.js +0 -2
  948. package/lib/icons/General/IconDotFilled.js +0 -2
  949. package/lib/icons/General/IconDotOutline.js +0 -2
  950. package/lib/icons/General/IconDownload.js +0 -2
  951. package/lib/icons/General/IconDraft.js +0 -2
  952. package/lib/icons/General/IconEarth.js +0 -2
  953. package/lib/icons/General/IconEconomy.js +0 -2
  954. package/lib/icons/General/IconEconomyFilled.js +0 -2
  955. package/lib/icons/General/IconEdit.js +0 -2
  956. package/lib/icons/General/IconElevator.js +0 -2
  957. package/lib/icons/General/IconErrorFilled.js +0 -2
  958. package/lib/icons/General/IconErrorOutline.js +0 -2
  959. package/lib/icons/General/IconExternalLink.js +0 -2
  960. package/lib/icons/General/IconEye.js +0 -2
  961. package/lib/icons/General/IconEyeDeny.js +0 -2
  962. package/lib/icons/General/IconFamily.js +0 -2
  963. package/lib/icons/General/IconFerry.js +0 -2
  964. package/lib/icons/General/IconFile.js +0 -2
  965. package/lib/icons/General/IconFileAdd.js +0 -2
  966. package/lib/icons/General/IconFileCopy.js +0 -2
  967. package/lib/icons/General/IconFileEdit.js +0 -2
  968. package/lib/icons/General/IconFileExcel.js +0 -2
  969. package/lib/icons/General/IconFilePDF.js +0 -2
  970. package/lib/icons/General/IconFileWord.js +0 -2
  971. package/lib/icons/General/IconFillOut.js +0 -2
  972. package/lib/icons/General/IconFilterList.js +0 -2
  973. package/lib/icons/General/IconFloor.js +0 -2
  974. package/lib/icons/General/IconForward.js +0 -2
  975. package/lib/icons/General/IconFullscreenClose.js +0 -2
  976. package/lib/icons/General/IconFullscreenOpen.js +0 -2
  977. package/lib/icons/General/IconGarage.js +0 -2
  978. package/lib/icons/General/IconGrid.js +0 -2
  979. package/lib/icons/General/IconGym.js +0 -2
  980. package/lib/icons/General/IconHearth.js +0 -2
  981. package/lib/icons/General/IconHearthOutline.js +0 -2
  982. package/lib/icons/General/IconHelp.js +0 -2
  983. package/lib/icons/General/IconHistory.js +0 -2
  984. package/lib/icons/General/IconHomeFilled.js +0 -2
  985. package/lib/icons/General/IconHomeOutline.js +0 -2
  986. package/lib/icons/General/IconHouse.js +0 -2
  987. package/lib/icons/General/IconHouseBlockFilled.js +0 -2
  988. package/lib/icons/General/IconHouseBlockOutline.js +0 -2
  989. package/lib/icons/General/IconHouseOutline.js +0 -2
  990. package/lib/icons/General/IconHumans.js +0 -2
  991. package/lib/icons/General/IconImage.js +0 -2
  992. package/lib/icons/General/IconImportantComment.js +0 -2
  993. package/lib/icons/General/IconInbox.js +0 -2
  994. package/lib/icons/General/IconInfoFilled.js +0 -2
  995. package/lib/icons/General/IconInfoOutline.js +0 -2
  996. package/lib/icons/General/IconJanitorFilled.js +0 -2
  997. package/lib/icons/General/IconJanitorOutline.js +0 -2
  998. package/lib/icons/General/IconJointcost.js +0 -2
  999. package/lib/icons/General/IconJointcost2.js +0 -2
  1000. package/lib/icons/General/IconKey.js +0 -2
  1001. package/lib/icons/General/IconKitchen.js +0 -2
  1002. package/lib/icons/General/IconLabel.js +0 -2
  1003. package/lib/icons/General/IconLeafFilled.js +0 -2
  1004. package/lib/icons/General/IconLeafOutline.js +0 -2
  1005. package/lib/icons/General/IconLeisureTime.js +0 -2
  1006. package/lib/icons/General/IconLock.js +0 -2
  1007. package/lib/icons/General/IconLockLocked.js +0 -2
  1008. package/lib/icons/General/IconLockOpen.js +0 -2
  1009. package/lib/icons/General/IconLookup.js +0 -2
  1010. package/lib/icons/General/IconLookupFilled.js +0 -2
  1011. package/lib/icons/General/IconMail.js +0 -2
  1012. package/lib/icons/General/IconMap.js +0 -2
  1013. package/lib/icons/General/IconMembership.js +0 -2
  1014. package/lib/icons/General/IconMembershipFilled.js +0 -2
  1015. package/lib/icons/General/IconMenu.js +0 -2
  1016. package/lib/icons/General/IconMinus.js +0 -2
  1017. package/lib/icons/General/IconMinusAlt.js +0 -2
  1018. package/lib/icons/General/IconMinusAltFilled.js +0 -2
  1019. package/lib/icons/General/IconMoney.js +0 -2
  1020. package/lib/icons/General/IconParking.js +0 -2
  1021. package/lib/icons/General/IconPaymentCard.js +0 -2
  1022. package/lib/icons/General/IconPhone.js +0 -2
  1023. package/lib/icons/General/IconPinned.js +0 -2
  1024. package/lib/icons/General/IconPlus.js +0 -2
  1025. package/lib/icons/General/IconPlusAlt.js +0 -2
  1026. package/lib/icons/General/IconPortalUser.js +0 -2
  1027. package/lib/icons/General/IconPrint.js +0 -2
  1028. package/lib/icons/General/IconProfile.js +0 -2
  1029. package/lib/icons/General/IconProfileFilled.js +0 -2
  1030. package/lib/icons/General/IconRearrange.js +0 -2
  1031. package/lib/icons/General/IconReciept.js +0 -2
  1032. package/lib/icons/General/IconRedo.js +0 -2
  1033. package/lib/icons/General/IconRefresh.js +0 -2
  1034. package/lib/icons/General/IconReply.js +0 -2
  1035. package/lib/icons/General/IconReplyAll.js +0 -2
  1036. package/lib/icons/General/IconRoom.js +0 -2
  1037. package/lib/icons/General/IconSave.js +0 -2
  1038. package/lib/icons/General/IconSearch.js +0 -2
  1039. package/lib/icons/General/IconSend.js +0 -2
  1040. package/lib/icons/General/IconSettings.js +0 -2
  1041. package/lib/icons/General/IconShopping.js +0 -2
  1042. package/lib/icons/General/IconSign.js +0 -2
  1043. package/lib/icons/General/IconSliders.js +0 -2
  1044. package/lib/icons/General/IconSort.js +0 -2
  1045. package/lib/icons/General/IconStarFilled.js +0 -2
  1046. package/lib/icons/General/IconStarHalf.js +0 -2
  1047. package/lib/icons/General/IconStarOutline.js +0 -2
  1048. package/lib/icons/General/IconStore.js +0 -2
  1049. package/lib/icons/General/IconSubway.js +0 -2
  1050. package/lib/icons/General/IconSwitch.js +0 -2
  1051. package/lib/icons/General/IconTrain.js +0 -2
  1052. package/lib/icons/General/IconTram.js +0 -2
  1053. package/lib/icons/General/IconTransport.js +0 -2
  1054. package/lib/icons/General/IconTypeOfBuilding.js +0 -2
  1055. package/lib/icons/General/IconTypeOfBuildingOutline.js +0 -2
  1056. package/lib/icons/General/IconUndo.js +0 -2
  1057. package/lib/icons/General/IconUpload.js +0 -2
  1058. package/lib/icons/General/IconUser.js +0 -2
  1059. package/lib/icons/General/IconUserThin.js +0 -2
  1060. package/lib/icons/General/IconVote.js +0 -2
  1061. package/lib/icons/General/IconWalk.js +0 -2
  1062. package/lib/icons/General/IconWarning.js +0 -2
  1063. package/lib/icons/General/IconWarningBell.js +0 -2
  1064. package/lib/icons/General/IconWork.js +0 -2
  1065. package/lib/icons/General/IconWorkFilled.js +0 -2
  1066. package/lib/icons/General/IconZip.js +0 -2
  1067. package/lib/icons/Icon.stories.d.ts +61 -0
  1068. package/lib/icons/Icon.stories.d.ts.map +1 -0
  1069. package/lib/icons/Icon.stories.js +629 -0
  1070. package/lib/icons/Logos/IconAmericanExpress.js +0 -2
  1071. package/lib/icons/Logos/IconBankAxept.js +0 -2
  1072. package/lib/icons/Logos/IconGmail.js +0 -2
  1073. package/lib/icons/Logos/IconMasterCard.js +0 -2
  1074. package/lib/icons/Logos/IconOffice365.js +0 -2
  1075. package/lib/icons/Logos/IconVisa.js +0 -2
  1076. package/lib/icons/withIcon.js +2 -3
  1077. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +0 -2
  1078. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +0 -2
  1079. package/lib/illustrations/General/IllustrationError.js +0 -2
  1080. package/lib/illustrations/General/IllustrationErrorGeneric.js +0 -2
  1081. package/lib/illustrations/General/IllustrationHighHouse.js +0 -2
  1082. package/lib/illustrations/General/IllustrationHighHouseComposition.js +0 -2
  1083. package/lib/illustrations/General/IllustrationHouse.js +0 -2
  1084. package/lib/illustrations/General/IllustrationHouseComposition.js +0 -2
  1085. package/lib/illustrations/General/IllustrationHouseMissing.js +0 -2
  1086. package/lib/illustrations/General/IllustrationLowHouse.js +0 -2
  1087. package/lib/illustrations/General/IllustrationLowHouseComposition.js +0 -2
  1088. package/lib/illustrations/General/IllustrationPaperCompleted.js +0 -2
  1089. package/lib/illustrations/General/IllustrationPaperMissing.js +0 -2
  1090. package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +0 -2
  1091. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +0 -2
  1092. package/lib/illustrations/General/IllustrationSmallHouse.js +0 -2
  1093. package/lib/illustrations/General/IllustrationSmallHouseComposition.js +0 -2
  1094. package/lib/illustrations/General/IllustrationTerraceBlock.js +0 -2
  1095. package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +0 -2
  1096. package/lib/illustrations/General/IllustrationTownHouse.js +0 -2
  1097. package/lib/illustrations/General/IllustrationTownHouseComposition.js +0 -2
  1098. package/lib/illustrations/Illustration.stories.d.ts +27 -0
  1099. package/lib/illustrations/Illustration.stories.d.ts.map +1 -0
  1100. package/lib/illustrations/Illustration.stories.js +173 -0
  1101. package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +0 -2
  1102. package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +0 -2
  1103. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +0 -2
  1104. package/lib/illustrations/MySite/IllustrationMySiteComputer.js +0 -2
  1105. package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +0 -2
  1106. package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +0 -2
  1107. package/lib/illustrations/MySite/IllustrationMySiteGift.js +0 -2
  1108. package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +0 -2
  1109. package/lib/illustrations/MySite/IllustrationMySitePapers.js +0 -2
  1110. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +0 -2
  1111. package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +0 -2
  1112. package/lib/illustrations/styles.js +0 -1
  1113. package/lib/illustrations/withIllustration.js +2 -4
  1114. package/lib/index.d.ts +3 -1
  1115. package/lib/index.d.ts.map +1 -1
  1116. package/lib/index.js +3 -1
  1117. package/lib/layout/Footer/Footer.stories.d.ts +12 -0
  1118. package/lib/layout/Footer/Footer.stories.d.ts.map +1 -0
  1119. package/lib/layout/Footer/Footer.stories.js +62 -0
  1120. package/lib/layout/Footer/FooterButton/index.js +2 -3
  1121. package/lib/layout/Footer/FooterButton/styles.js +0 -2
  1122. package/lib/layout/Footer/FooterCol/index.js +0 -2
  1123. package/lib/layout/Footer/FooterCol/styles.js +1 -3
  1124. package/lib/layout/Footer/FooterGroup/index.js +0 -2
  1125. package/lib/layout/Footer/FooterGroup/styles.js +1 -3
  1126. package/lib/layout/Footer/FooterLabel/index.js +0 -2
  1127. package/lib/layout/Footer/FooterLabel/styles.js +1 -3
  1128. package/lib/layout/Footer/FooterLink/index.js +2 -3
  1129. package/lib/layout/Footer/FooterLink/styles.js +0 -2
  1130. package/lib/layout/Footer/index.js +0 -2
  1131. package/lib/layout/Footer/styles.js +1 -1
  1132. package/lib/layout/Layout/Layout.stories.d.ts +8 -0
  1133. package/lib/layout/Layout/Layout.stories.d.ts.map +1 -0
  1134. package/lib/layout/Layout/Layout.stories.js +14 -0
  1135. package/lib/layout/Layout/index.js +0 -2
  1136. package/lib/layout/Layout/styles.js +1 -1
  1137. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +16 -0
  1138. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -0
  1139. package/lib/layout/LayoutShell/LayoutShell.stories.js +116 -0
  1140. package/lib/layout/LayoutShell/index.js +0 -2
  1141. package/lib/layout/LayoutShell/styles.js +5 -7
  1142. package/lib/layout/Menu/AppPicker/index.js +3 -3
  1143. package/lib/layout/Menu/AppPicker/styles.js +2 -11
  1144. package/lib/layout/Menu/MainMenu/index.js +0 -2
  1145. package/lib/layout/Menu/MainMenu/styles.js +1 -1
  1146. package/lib/layout/Menu/MenuItem/index.js +0 -2
  1147. package/lib/layout/Menu/MenuItem/styles.js +2 -2
  1148. package/lib/layout/Menu/MenuSpacer/index.js +0 -2
  1149. package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
  1150. package/lib/layout/Menu/MenuTop/index.js +0 -2
  1151. package/lib/layout/Menu/MenuTop/styles.js +2 -4
  1152. package/lib/layout/Menu/SecondaryMenu/index.js +0 -2
  1153. package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
  1154. package/lib/layout/Menu/SecondaryMenuItem/index.js +0 -2
  1155. package/lib/layout/Menu/Sidemenu.stories.d.ts +20 -0
  1156. package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -0
  1157. package/lib/layout/Menu/Sidemenu.stories.js +323 -0
  1158. package/lib/layout/Menu/index.js +0 -2
  1159. package/lib/layout/Menu/styles.js +1 -1
  1160. package/lib/layout/Submenu/Submenu.stories.d.ts +28 -0
  1161. package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -0
  1162. package/lib/layout/Submenu/Submenu.stories.js +94 -0
  1163. package/lib/layout/Submenu/SubmenuItem/index.js +0 -7
  1164. package/lib/layout/Submenu/SubmenuItem/styles.js +1 -6
  1165. package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
  1166. package/lib/layout/Submenu/index.js +0 -11
  1167. package/lib/layout/Submenu/styles.js +6 -8
  1168. package/lib/layout/Topbar/Topbar.stories.d.ts +12 -0
  1169. package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -0
  1170. package/lib/layout/Topbar/Topbar.stories.js +23 -0
  1171. package/lib/layout/Topbar/index.js +0 -2
  1172. package/lib/layout/Topbar/styles.js +1 -1
  1173. package/lib/shared/components/SbIconGrid/index.d.ts +7 -0
  1174. package/lib/shared/components/SbIconGrid/index.d.ts.map +1 -0
  1175. package/lib/shared/components/SbIconGrid/index.js +27 -0
  1176. package/lib/shared/recharts/CustomLegend/styles.js +2 -4
  1177. package/lib/shared/recharts/CustomTooltip/index.js +0 -11
  1178. package/lib/shared/recharts/CustomTooltip/styles.js +3 -5
  1179. package/lib/shared/types/LoadedType.d.ts +7 -0
  1180. package/lib/shared/types/LoadedType.d.ts.map +1 -0
  1181. package/lib/shared/types/LoadedType.js +1 -0
  1182. package/lib/utils/accountNumber.js +1 -7
  1183. package/lib/utils/alpha.js +0 -1
  1184. package/lib/utils/array.js +1 -3
  1185. package/lib/utils/dates.js +0 -10
  1186. package/lib/utils/file.js +1 -0
  1187. package/lib/utils/format.js +3 -21
  1188. package/lib/utils/formatGraphPrice.js +0 -15
  1189. package/lib/utils/image.js +0 -3
  1190. package/lib/utils/pagination.js +0 -5
  1191. package/lib/utils/phone.js +8 -13
  1192. package/lib/utils/time.js +4 -14
  1193. package/lib/utils/url.js +0 -2
  1194. package/lib/utils/useSnorreTheme.d.ts +11 -0
  1195. package/lib/utils/useSnorreTheme.d.ts.map +1 -0
  1196. package/lib/utils/useSnorreTheme.js +31 -0
  1197. package/package.json +2 -1
  1198. package/esm/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
  1199. package/esm/core/Datepicker/yearMonthForm.js +0 -56
  1200. package/esm/core/EditorOld/config.js +0 -69
  1201. package/esm/core/EditorOld/index.js +0 -147
  1202. package/esm/core/EditorOld/styles.js +0 -65
  1203. package/esm/core/ImageCarousel/styles.js +0 -58
  1204. package/esm/enums/ModifierKey.js +0 -13
  1205. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +0 -7
  1206. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts.map +0 -1
  1207. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
  1208. package/lib/core/Datepicker/yearMonthForm.d.ts +0 -10
  1209. package/lib/core/Datepicker/yearMonthForm.d.ts.map +0 -1
  1210. package/lib/core/Datepicker/yearMonthForm.js +0 -56
  1211. package/lib/core/EditorOld/config.d.ts +0 -56
  1212. package/lib/core/EditorOld/config.d.ts.map +0 -1
  1213. package/lib/core/EditorOld/config.js +0 -69
  1214. package/lib/core/EditorOld/index.d.ts +0 -39
  1215. package/lib/core/EditorOld/index.d.ts.map +0 -1
  1216. package/lib/core/EditorOld/index.js +0 -147
  1217. package/lib/core/EditorOld/styles.d.ts +0 -23
  1218. package/lib/core/EditorOld/styles.d.ts.map +0 -1
  1219. package/lib/core/EditorOld/styles.js +0 -65
  1220. package/lib/core/ImageCarousel/index.d.ts +0 -11
  1221. package/lib/core/ImageCarousel/index.d.ts.map +0 -1
  1222. package/lib/core/ImageCarousel/styles.d.ts.map +0 -1
  1223. package/lib/core/ImageCarousel/styles.js +0 -58
  1224. package/lib/enums/ModifierKey.d.ts +0 -12
  1225. package/lib/enums/ModifierKey.d.ts.map +0 -1
  1226. package/lib/enums/ModifierKey.js +0 -13
@@ -0,0 +1,57 @@
1
+ import InfoButton from '.';
2
+ import IconHelp from '../../icons/General/IconHelp';
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ export default {
5
+ title: 'Core/InfoButton',
6
+ component: InfoButton
7
+ };
8
+ export const Default = {
9
+ render: () => /*#__PURE__*/_jsx(InfoButton, {
10
+ icon: /*#__PURE__*/_jsx(IconHelp, {
11
+ primary: true
12
+ }),
13
+ children: "This will be the content"
14
+ }),
15
+ name: 'Default'
16
+ };
17
+ export const Right = {
18
+ render: () => /*#__PURE__*/_jsx(InfoButton, {
19
+ icon: /*#__PURE__*/_jsx(IconHelp, {
20
+ primary: true
21
+ }),
22
+ place: "right",
23
+ children: "This will be the content. This very long and unnecessary text shows how the tooltip will handle responsiveness"
24
+ }),
25
+ name: 'Right'
26
+ };
27
+ export const Bottom = {
28
+ render: () => /*#__PURE__*/_jsx(InfoButton, {
29
+ icon: /*#__PURE__*/_jsx(IconHelp, {
30
+ primary: true
31
+ }),
32
+ place: "bottom",
33
+ children: "This will be the content"
34
+ }),
35
+ name: 'Bottom'
36
+ };
37
+ export const Left = {
38
+ render: () => /*#__PURE__*/_jsx(InfoButton, {
39
+ icon: /*#__PURE__*/_jsx(IconHelp, {
40
+ primary: true
41
+ }),
42
+ place: "left",
43
+ children: "This will be the content"
44
+ }),
45
+ name: 'Left'
46
+ };
47
+ export const Width = {
48
+ render: () => /*#__PURE__*/_jsx(InfoButton, {
49
+ icon: /*#__PURE__*/_jsx(IconHelp, {
50
+ primary: true
51
+ }),
52
+ place: "right",
53
+ width: "100px",
54
+ children: "Custom width"
55
+ }),
56
+ name: 'Width'
57
+ };
@@ -5,7 +5,6 @@ import { CSSTransition } from 'react-transition-group';
5
5
  import Text from '../Text';
6
6
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
7
7
  import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
8
-
9
8
  const InfoButton = ({
10
9
  trackingName,
11
10
  icon,
@@ -18,29 +17,23 @@ const InfoButton = ({
18
17
  }) => {
19
18
  const ref = /*#__PURE__*/createRef();
20
19
  const [showTooltip, setShowTooltip] = useState(false);
21
-
22
20
  const handleClick = e => {
23
21
  stopPropagation && e.stopPropagation();
24
22
  setShowTooltip(!showTooltip);
25
23
  };
26
-
27
24
  useEffect(() => {
28
25
  const handleClickOutside = e => {
29
26
  const node = ref.current;
30
-
31
27
  if (node && node.contains(e.target)) {
32
28
  return;
33
29
  }
34
-
35
30
  setShowTooltip(false);
36
31
  };
37
-
38
32
  if (showTooltip) {
39
33
  document.addEventListener('mousedown', handleClickOutside);
40
34
  } else {
41
35
  document.removeEventListener('mousedown', handleClickOutside);
42
36
  }
43
-
44
37
  return () => {
45
38
  document.removeEventListener('mousedown', handleClickOutside);
46
39
  };
@@ -67,5 +60,4 @@ const InfoButton = ({
67
60
  })]
68
61
  });
69
62
  };
70
-
71
63
  export default InfoButton;
@@ -1,7 +1,5 @@
1
1
  import _styled from "@emotion/styled/base";
2
-
3
2
  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)."; }
4
-
5
3
  import { css } from '@emotion/react';
6
4
  import bp from '../../globals/styles/breakpoints';
7
5
  import Button from '../Button';
@@ -35,7 +33,7 @@ export const styles = {
35
33
  left: /*#__PURE__*/css("top:0;right:calc(24px + 3px);box-shadow:1px 0px 4px 0px rgba(0, 0, 0, 0.2);@media screen and (max-width: ", bp.small, "){width:50vw;}@media screen and (max-width: ", bp.large, ") and (orientation: landscape){width:50vw;}&::after{top:8px;left:100%;border-color:transparent transparent transparent white;}" + (process.env.NODE_ENV === "production" ? "" : ";label:left;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0luZm9CdXR0b24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStFVyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9JbmZvQnV0dG9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgYnAgZnJvbSAnLi4vLi4vZ2xvYmFscy9zdHlsZXMvYnJlYWtwb2ludHMnXG5pbXBvcnQgQnV0dG9uIGZyb20gJy4uL0J1dHRvbidcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEJ1dHRvbiA9IHN0eWxlZChCdXR0b24pYFxuICBtYXJnaW4tbGVmdDogNXB4O1xuXG4gICY6Zm9jdXMtdmlzaWJsZSB7XG4gICAgb3V0bGluZTogMXB4IGRvdHRlZCAjMjEyMTIxO1xuICAgIG91dGxpbmU6IDVweCBhdXRvIC13ZWJraXQtZm9jdXMtcmluZy1jb2xvcjtcbi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cbiAgfVxuICAmLnRvb2x0aXAtZW50ZXItYWN0aXZlIHtcbiAgICBvcGFjaXR5OiAxO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgwKTtcbiAgICB0cmFuc2l0aW9uOiBvcGFjaXR5IDgwbXMsIHRyYW5zZm9ybSA4MG1zO1xuICB9XG4gICYudG9vbHRpcC1leGl0IHtcbiAgICBvcGFjaXR5OiAxO1xuICB9XG4gICYudG9vbHRpcC1leGl0LWFjdGl2ZSB7XG4gICAgb3BhY2l0eTogMDtcbiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuOSk7XG4gICAgdHJhbnNpdGlvbjogb3BhY2l0eSA4MG1zLCB0cmFuc2Zvcm0gODBtcztcbiAgfVxuXG4gICY6OmFmdGVyIHtcbiAgICBjb250ZW50OiAnJztcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgYm9yZGVyLXdpZHRoOiA1cHg7XG4gICAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5zcGFuYFxuICBkaXNwbGF5OiBibG9jaztcbiAgd2lkdGg6IG1heC1jb250ZW50O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG5gXG4iXX0= */"),
36
34
  width: (width, place) => /*#__PURE__*/css("width:", width, "!important;left:", place === 'top' || place === 'bottom' ? `calc((-${width} / 2) + 9px) !important` : place === 'right' ? '35px' : 'initial', ";" + (process.env.NODE_ENV === "production" ? "" : ";label:width;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0luZm9CdXR0b24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlHOEMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL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mBcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuc3BhbmBcbiAgZGlzcGxheTogYmxvY2s7XG4gIHdpZHRoOiBtYXgtY29udGVudDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuYFxuIl19 */")
37
35
  };
38
- export const Tooltip = _styled("div", process.env.NODE_ENV === "production" ? {
36
+ export const Tooltip = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
39
37
  target: "e169bjpw1"
40
38
  } : {
41
39
  target: "e169bjpw1",
@@ -49,7 +47,7 @@ export const Tooltip = _styled("div", process.env.NODE_ENV === "production" ? {
49
47
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0luZm9CdXR0b24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJHaUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW5mb0J1dHRvbi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuaW1wb3J0IEJ1dHRvbiBmcm9tICcuLi9CdXR0b24nXG5cbmV4cG9ydCBjb25zdCBTdHlsZWRCdXR0b24gPSBzdHlsZWQoQnV0dG9uKWBcbiAgbWFyZ2luLWxlZnQ6IDVweDtcblxuICAmOmZvY3VzLXZpc2libGUge1xuICAgIG91dGxpbmU6IDFweCBkb3R0ZWQgIzIxMjEyMTtcbiAgICBvdXRsaW5lOiA1cHggYXV0byAtd2Via2l0LWZvY3VzLXJpbmctY29sb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gICB0cmFuc2Zvcm06IHNjYWxlKDAuOCk7XG4gIH1cbiAgJi50b29sdGlwLWVudGVyLWFjdGl2ZSB7XG4gICAgb3BhY2l0eTogMTtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgdHJhbnNpdGlvbjogb3BhY2l0eSA4MG1zLCB0cmFuc2Zvcm0gODBtcztcbiAgfVxuICAmLnRvb2x0aXAtZXhpdCB7XG4gICAgb3BhY2l0eTogMTtcbiAgfVxuICAmLnRvb2x0aXAtZXhpdC1hY3RpdmUge1xuICAgIG9wYWNpdHk6IDA7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgwLjkpO1xuICAgIHRyYW5zaXRpb246IG9wYWNpdHkgODBtcywgdHJhbnNmb3JtIDgwbXM7XG4gIH1cblxuICAmOjphZnRlciB7XG4gICAgY29udGVudDogJyc7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGJvcmRlci13aWR0aDogNXB4O1xuICAgIGJvcmRlci1zdHlsZTogc29saWQ7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuc3BhbmBcbiAgZGlzcGxheTogYmxvY2s7XG4gIHdpZHRoOiBtYXgtY29udGVudDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuYFxuIl19 */",
50
48
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
51
49
  });
52
- export const Wrapper = _styled("span", process.env.NODE_ENV === "production" ? {
50
+ export const Wrapper = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
53
51
  target: "e169bjpw0"
54
52
  } : {
55
53
  target: "e169bjpw0",
@@ -0,0 +1,158 @@
1
+ import { action } from '@storybook/addon-actions';
2
+ import Input from '.';
3
+ const meta = {
4
+ title: 'Core/Input',
5
+ component: Input
6
+ };
7
+ export default meta;
8
+ export const Default = {
9
+ args: {
10
+ type: 'text',
11
+ label: 'Label',
12
+ placeholder: 'Placeholder text'
13
+ },
14
+ name: 'Default'
15
+ };
16
+ export const Focused = {
17
+ args: {
18
+ type: 'text',
19
+ label: 'Focused',
20
+ placeholder: 'Placeholder text',
21
+ focus: true
22
+ },
23
+ name: 'Focused'
24
+ };
25
+ export const Disabled = {
26
+ args: {
27
+ type: 'text',
28
+ label: 'Disabled',
29
+ placeholder: 'Field disabled',
30
+ disabled: true
31
+ },
32
+ name: 'Disabled'
33
+ };
34
+ export const Passsword = {
35
+ args: {
36
+ type: 'password',
37
+ label: 'Inputfield - password',
38
+ placeholder: 'Password field',
39
+ value: 'Secret password'
40
+ },
41
+ name: 'Passsword'
42
+ };
43
+ export const Search = {
44
+ args: {
45
+ type: 'search',
46
+ highlight: true,
47
+ placeholder: 'Placeholder text'
48
+ },
49
+ name: 'Search'
50
+ };
51
+ export const Highlighted = {
52
+ args: {
53
+ type: 'text',
54
+ placeholder: 'Placeholder text',
55
+ highlight: true
56
+ },
57
+ name: 'Highlighted'
58
+ };
59
+ export const Reset = {
60
+ args: {
61
+ type: 'text',
62
+ value: 'should be empty',
63
+ placeholder: 'Placeholder text',
64
+ highlight: true,
65
+ reset: true
66
+ },
67
+ name: 'Reset'
68
+ };
69
+ export const WithDebounce = {
70
+ args: {
71
+ type: 'text',
72
+ value: '',
73
+ onDebounceChange: value => {
74
+ action('debounce callback..');
75
+ console.log('debounce callback..', value);
76
+ },
77
+ placeholder: 'Placeholder text',
78
+ highlight: true,
79
+ debounceDelay: 500
80
+ },
81
+ name: 'WithDebounce'
82
+ };
83
+ export const WithMaxlength = {
84
+ args: {
85
+ type: 'text',
86
+ value: '',
87
+ onChange: value => {
88
+ action('value changed..');
89
+ console.log('value changed..', value);
90
+ },
91
+ placeholder: 'Placeholder text',
92
+ highlight: true,
93
+ maxlength: 50
94
+ },
95
+ name: 'With maxlength'
96
+ };
97
+ export const Format = {
98
+ args: {
99
+ type: 'text',
100
+ value: '123123123',
101
+ placeholder: 'Start typing a price',
102
+ format: 'price'
103
+ },
104
+ name: 'Format'
105
+ };
106
+ export const Height = {
107
+ args: {
108
+ type: 'search',
109
+ height: '50px',
110
+ highlight: true
111
+ },
112
+ name: 'Height'
113
+ };
114
+ export const Info = {
115
+ args: {
116
+ label: 'With info',
117
+ info: 'Hello, this is important information',
118
+ invalidMessage: 'error'
119
+ },
120
+ name: 'Info'
121
+ };
122
+ export const CardInput = {
123
+ args: {
124
+ cardInput: true,
125
+ placeholder: 'Im styled as a card',
126
+ highlight: true,
127
+ type: 'search'
128
+ },
129
+ name: 'CardInput'
130
+ };
131
+ export const Controls = {
132
+ args: {
133
+ label: 'With info',
134
+ info: 'Hello, this is important information',
135
+ invalidMessage: 'error',
136
+ value: '',
137
+ name: '',
138
+ cardInput: false,
139
+ className: '',
140
+ debounceDelay: 500,
141
+ disabled: false,
142
+ focus: false,
143
+ format: undefined,
144
+ height: '',
145
+ invalid: false,
146
+ maxlength: undefined,
147
+ highlight: false,
148
+ infoPlacement: undefined,
149
+ placeholder: 'Hello',
150
+ reset: false,
151
+ type: 'text',
152
+ onChange: action('value changed..'),
153
+ onBlur: action('on blur..'),
154
+ onDebounceChange: action('on debounce change..'),
155
+ onFocus: action('on focus..')
156
+ },
157
+ name: 'Controls'
158
+ };
@@ -23,44 +23,39 @@ const Input = /*#__PURE__*/React.forwardRef(({
23
23
  const [inputDirty, setInputDirty] = useState(false);
24
24
  const debouncedValue = useDebounce(value, debounceDelay ? debounceDelay : 0);
25
25
  const type = props.type ? props.type : 'text';
26
-
27
26
  const handleFormatting = val => {
28
27
  if (props.format === 'price' && val) {
29
28
  const value = val.replace(/\u00a0/g, '').replace(/ /g, '');
30
29
  return getFormattedPrice(value);
31
30
  }
32
-
33
31
  return val;
34
32
  };
35
-
36
33
  const onInputChange = e => {
37
34
  setInputDirty(true);
38
-
39
35
  if (props.format) {
40
36
  setValueChanged(handleFormatting(e.target.value));
41
37
  } else {
42
38
  setValueChanged(e.target.value);
43
39
  }
44
-
45
40
  if (props.onChange && !props.disabled) {
46
41
  props.onChange(e);
47
42
  }
48
43
  };
49
-
50
44
  useEffect(() => {
51
45
  if (props.reset) {
52
46
  setValueChanged('');
53
47
  }
54
- }, [props.reset]); // Handle debounce
48
+ }, [props.reset]);
55
49
 
50
+ // Handle debounce
56
51
  useEffect(() => {
57
52
  const handleDebounceChange = value => {
58
53
  if (onDebounceChange && inputDirty) {
59
54
  onDebounceChange(value);
60
55
  }
61
56
  };
62
-
63
- handleDebounceChange(debouncedValue); // eslint-disable-next-line react-hooks/exhaustive-deps
57
+ handleDebounceChange(debouncedValue);
58
+ // eslint-disable-next-line react-hooks/exhaustive-deps
64
59
  }, [debouncedValue]);
65
60
  return _jsxs("div", {
66
61
  css: styles.relative,
@@ -88,7 +83,6 @@ const Input = /*#__PURE__*/React.forwardRef(({
88
83
  if (!child) {
89
84
  return null;
90
85
  }
91
-
92
86
  return child;
93
87
  })
94
88
  }), type === 'search' && _jsx(IconSearch, {}), props.invalidMessage && _jsx(IconErrorOutline, {
@@ -1,5 +1,4 @@
1
1
  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)."; }
2
-
3
2
  import { css } from '@emotion/react';
4
3
  const styles = {
5
4
  default: theme => /*#__PURE__*/css("display:grid;grid-template-rows:min-content;&:focus-within span{color:", theme.primary, ";}span{line-height:22px;font-size:1em;font-weight:600;margin-bottom:4px;}input{height:36px;width:calc(100% - 20px - 2px);font-size:16px;line-height:20px;outline:none;border-width:1px;border-radius:5px;border-style:solid;padding:0 10px;&:focus{border-color:", theme.primary, ";}&:disabled{background-color:", theme.disabled, ";}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLC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GFkZGluZzogMCAxMHB4O1xuXG4gICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgIGJvcmRlci1jb2xvcjogJHt0aGVtZS5wcmltYXJ5fTtcbiAgICAgICAgfVxuICAgICAgICAmOmRpc2FibGVkIHtcbiAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmRpc2FibGVkfTtcbiAgICAgICAgfVxuICAgICAgICAmOjotd2Via2l0LW91dGVyLXNwaW4tYnV0dG9uLFxuICAgICAgICAmOjotd2Via2l0LWlubmVyLXNwaW4tYnV0dG9uIHtcbiAgICAgICAgICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XG4gICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICB9XG4gICAgICAgICZbdHlwZT0nbnVtYmVyJ10ge1xuICAgICAgICAgIC1tb3otYXBwZWFyYW5jZTogdGV4dGZpZWxkO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgYCxcbiAgaGlnaGxpZ3RlZDogKGhlaWdodD86IHN0cmluZykgPT4gY3NzYFxuICAgIGZvbnQtc2l6ZTogMThweDtcbiAgICAmIGlucHV0IHtcbiAgICAgIGhlaWdodDogJHtoZWlnaHQgPyBoZWlnaHQgOiAnNTBweCd9O1xuICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgIH1cbiAgICAmIGlucHV0W3R5cGU9J3NlYXJjaCddIHtcbiAgICAgIC13ZWJraXQtYXBwZWFyYW5jZTogdGV4dGZpZWxkO1xuICAgICAgaGVpZ2h0OiAke2hlaWdodCA/IGhlaWdodCA6ICc2MHB4J307XG4gICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICBib3JkZXItcmFkaXVzOiA1cHg7XG4gICAgICBib3gtc2hhZG93OiAwIDJweCA0cHggMCByZ2JhKDksIDI4LCA2OCwgMC4xKTtcbiAgICAgIGJvcmRlci1ib3R0b206IDA7XG4gICAgICBwYWRkaW5nOiAwIDE2cHg7XG4gICAgICBwYWRkaW5nLXJpZ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246IGFic29sdXRlO1xuICAgIHJpZ2h0OiAwO1xuICAgIHRvcDogMDtcblxuICAgIGJ1dHRvbiB7XG4gICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgIGhlaWdodDogMjRweDtcbiAgICB9XG4gIGAsXG4gIHJlbGF0aXZlOiBjc3NgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcblxuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */"),
@@ -0,0 +1,75 @@
1
+ import Link from '.';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export default {
4
+ title: 'Core/Link',
5
+ component: Link
6
+ };
7
+ export const Default = {
8
+ render: () => /*#__PURE__*/_jsx(Link, {
9
+ href: "#",
10
+ children: "Option"
11
+ }),
12
+ name: 'Default'
13
+ };
14
+ export const ButtonLink = {
15
+ render: () => /*#__PURE__*/_jsx(Link, {
16
+ onClick: () => console.log('hi'),
17
+ children: "Option"
18
+ }),
19
+ name: 'Button link'
20
+ };
21
+ export const NoStyle = {
22
+ render: () => /*#__PURE__*/_jsx(Link, {
23
+ href: "#",
24
+ nostyle: true,
25
+ children: "Unstyled link"
26
+ }),
27
+ name: 'No style'
28
+ };
29
+ export const ExternalLink = {
30
+ render: () => /*#__PURE__*/_jsx(Link, {
31
+ href: "#",
32
+ external: true,
33
+ children: "External link"
34
+ }),
35
+ name: 'External link'
36
+ };
37
+ export const TargetBlank = {
38
+ render: () => /*#__PURE__*/_jsx(Link, {
39
+ href: "#",
40
+ target: "_blank",
41
+ children: "Opens up new tab"
42
+ }),
43
+ name: 'Target blank'
44
+ };
45
+ export const DangerLink = {
46
+ render: () => /*#__PURE__*/_jsx(Link, {
47
+ href: "#",
48
+ danger: true,
49
+ children: "Danger link"
50
+ }),
51
+ name: 'Danger link'
52
+ };
53
+ export const DisabledLink = {
54
+ render: () => /*#__PURE__*/_jsx(Link, {
55
+ href: "#",
56
+ disabled: true,
57
+ children: "Danger link"
58
+ }),
59
+ name: 'Disabled link'
60
+ };
61
+ export const NoPadding = {
62
+ render: () => /*#__PURE__*/_jsx(Link, {
63
+ nopadding: true,
64
+ children: "No padding"
65
+ }),
66
+ name: 'No padding'
67
+ };
68
+ export const WordBreak = {
69
+ render: () => /*#__PURE__*/_jsx(Link, {
70
+ wordBreak: "break-word",
71
+ textAlign: "left",
72
+ children: "LangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtordLangtord"
73
+ }),
74
+ name: 'Word break'
75
+ };
@@ -5,7 +5,6 @@ import IconExternalLink from '../../icons/General/IconExternalLink';
5
5
  import { IconLinkWrapper, NoStyle, LinkStyle, dangerStyles, noPadding, setAlign, smallText, underlineNone, setWordBreak, setDisabled } from './styles';
6
6
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
7
7
  import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
8
-
9
8
  const Link = props => {
10
9
  const {
11
10
  disabled,
@@ -21,7 +20,8 @@ const Link = props => {
21
20
  wordBreak,
22
21
  ...restProps
23
22
  } = props;
24
- return _jsx(ButtonOrLink, { ...restProps,
23
+ return _jsx(ButtonOrLink, {
24
+ ...restProps,
25
25
  disabled: disabled,
26
26
  css: theme => [nostyle ? NoStyle : LinkStyle, danger && dangerStyles(theme), disabled && setDisabled(theme), nopadding && noPadding, setAlign(textAlign), small && smallText, removeUnderline && underlineNone, wordBreak && setWordBreak(wordBreak)],
27
27
  ...(target && {
@@ -37,5 +37,4 @@ const Link = props => {
37
37
  }) : children
38
38
  });
39
39
  };
40
-
41
40
  export default Link;
@@ -1,9 +1,7 @@
1
1
  import _styled from "@emotion/styled/base";
2
-
3
2
  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)."; }
4
-
5
3
  import { css } from '@emotion/react';
6
- export const IconLinkWrapper = _styled("span", process.env.NODE_ENV === "production" ? {
4
+ export const IconLinkWrapper = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
7
5
  target: "e1besegt0"
8
6
  } : {
9
7
  target: "e1besegt0",
@@ -1,8 +1,6 @@
1
1
  import _styled from "@emotion/styled/base";
2
-
3
2
  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)."; }
4
-
5
- const ListItem = _styled("li", process.env.NODE_ENV === "production" ? {
3
+ const ListItem = /*#__PURE__*/_styled("li", process.env.NODE_ENV === "production" ? {
6
4
  target: "e8hjcxt0"
7
5
  } : {
8
6
  target: "e8hjcxt0",
@@ -16,5 +14,4 @@ const ListItem = _styled("li", process.env.NODE_ENV === "production" ? {
16
14
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0xpc3QvSXRlbS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT21DIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0xpc3QvSXRlbS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuaW50ZXJmYWNlIElQcm9wcyB7XG4gIGNoaWxkcmVuPzogUmVhY3QuUmVhY3ROb2RlXG59XG5cbmNvbnN0IExpc3RJdGVtOiBSZWFjdC5GQzxJUHJvcHM+ID0gc3R5bGVkLmxpKHtcbiAgcGFkZGluZzogMCxcbn0pXG5cbmV4cG9ydCBkZWZhdWx0IExpc3RJdGVtXG4iXX0= */",
17
15
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
18
16
  });
19
-
20
17
  export default ListItem;
@@ -0,0 +1,157 @@
1
+ import List from '.';
2
+ import ListItem from './Item';
3
+ import Link from '../Link';
4
+ import IconArrowRight from '../../icons/General/IconArrowRight';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ export default {
8
+ title: 'Core/List',
9
+ component: List
10
+ };
11
+ export const Default = {
12
+ render: () => /*#__PURE__*/_jsx("div", {
13
+ className: "wrapper",
14
+ style: {
15
+ maxWidth: '300px'
16
+ },
17
+ children: /*#__PURE__*/_jsxs(List, {
18
+ children: [/*#__PURE__*/_jsx(ListItem, {
19
+ children: "Item 1"
20
+ }), /*#__PURE__*/_jsx(ListItem, {
21
+ children: "Item 2"
22
+ }), /*#__PURE__*/_jsx(ListItem, {
23
+ children: "Item 3"
24
+ })]
25
+ })
26
+ }),
27
+ name: 'Default'
28
+ };
29
+ export const ListWithLinks = {
30
+ render: () => /*#__PURE__*/_jsxs(List, {
31
+ links: true,
32
+ children: [/*#__PURE__*/_jsx(ListItem, {
33
+ children: /*#__PURE__*/_jsxs(Link, {
34
+ children: ["Item 1", /*#__PURE__*/_jsx(IconArrowRight, {
35
+ color: "#1657e2"
36
+ })]
37
+ })
38
+ }), /*#__PURE__*/_jsx(ListItem, {
39
+ children: /*#__PURE__*/_jsxs(Link, {
40
+ children: ["Lorem ipsum", /*#__PURE__*/_jsx(IconArrowRight, {
41
+ color: "#1657e2"
42
+ })]
43
+ })
44
+ }), /*#__PURE__*/_jsx(ListItem, {
45
+ children: /*#__PURE__*/_jsxs(Link, {
46
+ children: ["Lorem ipsum doro", /*#__PURE__*/_jsx(IconArrowRight, {
47
+ color: "#1657e2"
48
+ })]
49
+ })
50
+ })]
51
+ }),
52
+ name: 'List with links'
53
+ };
54
+ export const AlternativeListWithLinks = {
55
+ render: () => /*#__PURE__*/_jsxs(List, {
56
+ linksAlternate: true,
57
+ children: [/*#__PURE__*/_jsx(ListItem, {
58
+ children: /*#__PURE__*/_jsxs(Link, {
59
+ children: ["Item 1", /*#__PURE__*/_jsx(IconArrowRight, {
60
+ color: "#1657e2"
61
+ })]
62
+ })
63
+ }), /*#__PURE__*/_jsx(ListItem, {
64
+ children: /*#__PURE__*/_jsxs(Link, {
65
+ children: ["Lorem ipsum", /*#__PURE__*/_jsx(IconArrowRight, {
66
+ color: "#1657e2"
67
+ })]
68
+ })
69
+ }), /*#__PURE__*/_jsx(ListItem, {
70
+ children: /*#__PURE__*/_jsxs(Link, {
71
+ children: ["Lorem ipsum doro", /*#__PURE__*/_jsx(IconArrowRight, {
72
+ color: "#1657e2"
73
+ })]
74
+ })
75
+ })]
76
+ }),
77
+ name: 'Alternative list with links'
78
+ };
79
+ export const Pointlist = {
80
+ render: () => /*#__PURE__*/_jsxs(List, {
81
+ points: true,
82
+ children: [/*#__PURE__*/_jsx(ListItem, {
83
+ children: "Item 1"
84
+ }), /*#__PURE__*/_jsx(ListItem, {
85
+ children: "Item 2"
86
+ }), /*#__PURE__*/_jsx(ListItem, {
87
+ children: "Item 3"
88
+ })]
89
+ }),
90
+ name: 'Pointlist'
91
+ };
92
+ export const Numberedlist = {
93
+ render: () => /*#__PURE__*/_jsxs(List, {
94
+ numbers: true,
95
+ children: [/*#__PURE__*/_jsx(ListItem, {
96
+ children: "Item 1"
97
+ }), /*#__PURE__*/_jsx(ListItem, {
98
+ children: "Item 2"
99
+ }), /*#__PURE__*/_jsx(ListItem, {
100
+ children: "Item 3"
101
+ })]
102
+ }),
103
+ name: 'Numberedlist'
104
+ };
105
+ export const NumberedlistHighlighted = {
106
+ render: () => /*#__PURE__*/_jsxs(List, {
107
+ numbersHighlighted: true,
108
+ children: [/*#__PURE__*/_jsx(ListItem, {
109
+ children: "Item 1"
110
+ }), /*#__PURE__*/_jsx(ListItem, {
111
+ children: "Item 2"
112
+ }), /*#__PURE__*/_jsx(ListItem, {
113
+ children: "Item 3"
114
+ })]
115
+ }),
116
+ name: 'Numberedlist - Highlighted'
117
+ };
118
+ export const Darktheme = {
119
+ render: () => /*#__PURE__*/_jsxs(List, {
120
+ darkTheme: true,
121
+ children: [/*#__PURE__*/_jsx(ListItem, {
122
+ children: "Item 1"
123
+ }), /*#__PURE__*/_jsx(ListItem, {
124
+ children: "Item 2"
125
+ }), /*#__PURE__*/_jsx(ListItem, {
126
+ children: "Item 3"
127
+ })]
128
+ }),
129
+ name: 'Darktheme'
130
+ };
131
+ export const NostyleList = {
132
+ render: () => /*#__PURE__*/_jsxs(List, {
133
+ nostyle: true,
134
+ children: [/*#__PURE__*/_jsx(ListItem, {
135
+ children: "Item 1"
136
+ }), /*#__PURE__*/_jsx(ListItem, {
137
+ children: "Item 2"
138
+ }), /*#__PURE__*/_jsx(ListItem, {
139
+ children: "Item 3"
140
+ })]
141
+ }),
142
+ name: 'Nostyle list'
143
+ };
144
+ export const WithPadding = {
145
+ render: () => /*#__PURE__*/_jsxs(List, {
146
+ padding: "0.5em",
147
+ rowHeight: "100%",
148
+ children: [/*#__PURE__*/_jsxs(ListItem, {
149
+ children: ["Item 1", /*#__PURE__*/_jsx("br", {}), "new line", /*#__PURE__*/_jsx("br", {}), "another new line"]
150
+ }), /*#__PURE__*/_jsx(ListItem, {
151
+ children: "Item 2"
152
+ }), /*#__PURE__*/_jsx(ListItem, {
153
+ children: "Item 3"
154
+ })]
155
+ }),
156
+ name: 'With padding'
157
+ };