@bbl-digital/snorre 3.1.56 → 3.1.58

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1273) hide show
  1. package/dist/bundle.js +670 -1124
  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 +15 -17
  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/{ImageCarousel → MediaCarousel}/index.js +36 -22
  125. package/esm/core/MediaCarousel/styles.js +55 -0
  126. package/esm/core/Modal/ActionButtons/index.js +1 -4
  127. package/esm/core/Modal/Modal.stories.js +117 -0
  128. package/esm/core/Modal/index.js +1 -12
  129. package/esm/core/Modal/styles.js +7 -11
  130. package/esm/core/NoticeCard/NoticeCard.stories.js +61 -0
  131. package/esm/core/NoticeCard/index.js +0 -4
  132. package/esm/core/NoticeCard/models.js +3 -4
  133. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +0 -2
  134. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -6
  135. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
  136. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -3
  137. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
  138. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -5
  139. package/esm/core/NoticeCard/styles.js +5 -7
  140. package/esm/core/NoticeCard/utils.js +0 -3
  141. package/esm/core/NotificationCounter/NotificationCounter.stories.js +19 -0
  142. package/esm/core/NotificationCounter/index.js +1 -2
  143. package/esm/core/NotificationCounter/styles.js +0 -4
  144. package/esm/core/NotificationsMenu/NotificationBell/index.js +0 -2
  145. package/esm/core/NotificationsMenu/NotificationBell/styles.js +2 -2
  146. package/esm/core/NotificationsMenu/NotificationRow/index.js +0 -2
  147. package/esm/core/NotificationsMenu/NotificationRow/styles.js +1 -1
  148. package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
  149. package/esm/core/NotificationsMenu/index.js +0 -8
  150. package/esm/core/NotificationsMenu/styles.js +2 -4
  151. package/esm/core/PieChart/ActiveShape/index.js +1 -3
  152. package/esm/core/PieChart/PieChart.stories.js +81 -0
  153. package/esm/core/PieChart/index.js +6 -7
  154. package/esm/core/PieChart/renderTextContent/index.js +1 -3
  155. package/esm/core/PieChart/styles.js +2 -4
  156. package/esm/core/PreemptionCard/PreemptionCard.stories.js +68 -0
  157. package/esm/core/PreemptionCard/index.js +0 -5
  158. package/esm/core/PreemptionCard/models.js +3 -4
  159. package/esm/core/PreemptionCard/styles.js +2 -4
  160. package/esm/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
  161. package/esm/core/PreemptionCardLoading/index.js +0 -2
  162. package/esm/core/PreemptionCardLoading/styles.js +3 -5
  163. package/esm/core/Radio/Radio.stories.js +66 -0
  164. package/esm/core/Radio/index.js +0 -2
  165. package/esm/core/Radio/styles.js +0 -1
  166. package/esm/core/SearchFilter/SearchFilter.stories.js +113 -0
  167. package/esm/core/SearchFilter/index.js +2 -10
  168. package/esm/core/SearchFilter/styles.js +6 -10
  169. package/esm/core/SearchSelect/SearchSelect.stories.js +52 -0
  170. package/esm/core/SearchSelect/hooks/useSelectSearch.js +2 -3
  171. package/esm/core/SearchSelect/index.js +4 -12
  172. package/esm/core/SearchSelect/styles.js +4 -6
  173. package/esm/core/Select/Option.js +0 -3
  174. package/esm/core/Select/Select.stories.js +246 -0
  175. package/esm/core/Select/index.js +2 -17
  176. package/esm/core/Select/styles.js +3 -13
  177. package/esm/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
  178. package/esm/core/SimpleBarChart/index.js +0 -3
  179. package/esm/core/SimpleBarChart/styles.js +1 -1
  180. package/esm/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
  181. package/esm/core/SimpleLineChart/index.js +0 -2
  182. package/esm/core/SimpleLineChart/styles.js +1 -1
  183. package/esm/core/Skeleton/Skeleton.stories.js +46 -0
  184. package/esm/core/Skeleton/index.js +0 -4
  185. package/esm/core/Skeleton/styles.js +1 -3
  186. package/esm/core/Spinner/Spinner.stories.js +30 -0
  187. package/esm/core/Spinner/index.js +0 -2
  188. package/esm/core/TabBar/TabBar.stories.js +38 -0
  189. package/esm/core/TabBar/TabItem/index.js +0 -2
  190. package/esm/core/TabBar/TabItem/styles.js +1 -3
  191. package/esm/core/TabBar/index.js +0 -2
  192. package/esm/core/TabBar/styles.js +1 -3
  193. package/esm/core/TabNav/TabContext.js +8 -5
  194. package/esm/core/TabNav/TabNav.stories.js +306 -0
  195. package/esm/core/TabNav/TabNavItem/index.js +2 -6
  196. package/esm/core/TabNav/TabNavItem/styles.js +3 -5
  197. package/esm/core/TabNav/index.js +11 -14
  198. package/esm/core/TabNav/styles.js +4 -6
  199. package/esm/core/TabNav/utils/useContainerDimensions.js +0 -1
  200. package/esm/core/Table/Cell.js +2 -3
  201. package/esm/core/Table/Row.js +2 -3
  202. package/esm/core/Table/Table.stories.js +83 -0
  203. package/esm/core/Table/index.js +0 -2
  204. package/esm/core/Table/styles.js +2 -4
  205. package/esm/core/Tag/Tag.stories.js +112 -0
  206. package/esm/core/Tag/index.js +0 -2
  207. package/esm/core/Tag/styles.js +0 -1
  208. package/esm/core/Text/Text.stories.js +132 -0
  209. package/esm/core/Text/index.js +0 -2
  210. package/esm/core/Text/styles.js +0 -1
  211. package/esm/core/Textarea/Textarea.stories.js +33 -0
  212. package/esm/core/Textarea/index.js +0 -5
  213. package/esm/core/Textarea/styles.js +3 -5
  214. package/esm/core/Timeline/Timeline.stories.js +25 -0
  215. package/esm/core/Timeline/TimelineStep/index.js +0 -2
  216. package/esm/core/Timeline/TimelineStep/styles.js +3 -5
  217. package/esm/core/Timeline/index.js +0 -2
  218. package/esm/core/Timeline/styles.js +1 -3
  219. package/esm/core/Timepicker/Timepicker.stories.js +77 -0
  220. package/esm/core/Timepicker/index.js +7 -16
  221. package/esm/core/Timepicker/styles.js +2 -4
  222. package/esm/core/Tooltip/Tooptip.stories.js +14 -0
  223. package/esm/core/Tooltip/index.js +0 -3
  224. package/esm/core/Tooltip/styles.js +0 -1
  225. package/esm/core/UnitIllustration/index.js +1 -9
  226. package/esm/core/UserMenu/UserMenu.stories.js +91 -0
  227. package/esm/core/UserMenu/UserMenuOption.js +0 -2
  228. package/esm/core/UserMenu/index.js +0 -8
  229. package/esm/core/UserMenu/styles.js +6 -8
  230. package/esm/core/Video/Video.stories.js +23 -0
  231. package/esm/core/Video/index.js +28 -0
  232. package/esm/core/Video/styles.js +7 -0
  233. package/esm/core/YearWheel/YearWheel.stories.js +20 -0
  234. package/esm/core/YearWheel/index.js +0 -2
  235. package/esm/core/YearWheel/styles.js +1 -3
  236. package/esm/core/private/ButtonOrLink.js +8 -13
  237. package/esm/core/private/preemption.js +0 -4
  238. package/esm/core/utils/debounce.js +0 -2
  239. package/esm/enums/Keyboard.js +3 -3
  240. package/esm/globals/styles/styles.js +0 -1
  241. package/esm/hooks/useIsMobile.js +0 -2
  242. package/esm/hooks/useScreenOrientation.js +0 -10
  243. package/esm/icons/General/IconApartment.js +0 -2
  244. package/esm/icons/General/IconArchives.js +0 -2
  245. package/esm/icons/General/IconArea.js +0 -2
  246. package/esm/icons/General/IconArrowDown.js +0 -2
  247. package/esm/icons/General/IconArrowLeft.js +0 -2
  248. package/esm/icons/General/IconArrowRight.js +0 -2
  249. package/esm/icons/General/IconArrowUp.js +0 -2
  250. package/esm/icons/General/IconAttachment.js +0 -2
  251. package/esm/icons/General/IconAuditorFilled.js +0 -2
  252. package/esm/icons/General/IconAuditorOutline.js +0 -2
  253. package/esm/icons/General/IconBack.js +0 -2
  254. package/esm/icons/General/IconBath.js +0 -2
  255. package/esm/icons/General/IconBblFlame.js +2 -3
  256. package/esm/icons/General/IconBblShield.js +2 -3
  257. package/esm/icons/General/IconBblWater.js +2 -3
  258. package/esm/icons/General/IconBellOutline.js +0 -2
  259. package/esm/icons/General/IconBlock.js +0 -2
  260. package/esm/icons/General/IconBoard.js +0 -2
  261. package/esm/icons/General/IconBookmarkFilled.js +0 -2
  262. package/esm/icons/General/IconBookmarkOutline.js +0 -2
  263. package/esm/icons/General/IconBus.js +0 -2
  264. package/esm/icons/General/IconCalendar.js +0 -2
  265. package/esm/icons/General/IconCamera.js +0 -2
  266. package/esm/icons/General/IconCar.js +0 -2
  267. package/esm/icons/General/IconCaretDown.js +0 -2
  268. package/esm/icons/General/IconCaretLeft.js +0 -2
  269. package/esm/icons/General/IconCaretRight.js +0 -2
  270. package/esm/icons/General/IconCaretUp.js +0 -2
  271. package/esm/icons/General/IconCases.js +0 -2
  272. package/esm/icons/General/IconCheck.js +0 -2
  273. package/esm/icons/General/IconCheckedFilled.js +0 -2
  274. package/esm/icons/General/IconCheckedOutline.js +0 -2
  275. package/esm/icons/General/IconChevronDown.js +0 -2
  276. package/esm/icons/General/IconChevronLeft.js +0 -2
  277. package/esm/icons/General/IconChevronRight.js +0 -2
  278. package/esm/icons/General/IconChoice.js +0 -2
  279. package/esm/icons/General/IconClose.js +0 -2
  280. package/esm/icons/General/IconCloseAlt.js +0 -2
  281. package/esm/icons/General/IconComment.js +0 -2
  282. package/esm/icons/General/IconCommunication.js +0 -2
  283. package/esm/icons/General/IconCommunicationFilled.js +0 -2
  284. package/esm/icons/General/IconCompanyBuilding.js +0 -2
  285. package/esm/icons/General/IconCompanyBuildingFilled.js +0 -2
  286. package/esm/icons/General/IconCompanyBuildingOutline.js +0 -2
  287. package/esm/icons/General/IconDashboard.js +0 -2
  288. package/esm/icons/General/IconDashboardFilled.js +0 -2
  289. package/esm/icons/General/IconDelete.js +0 -2
  290. package/esm/icons/General/IconDocument.js +0 -2
  291. package/esm/icons/General/IconDocumentFilled.js +0 -2
  292. package/esm/icons/General/IconDoor.js +0 -2
  293. package/esm/icons/General/IconDotFilled.js +0 -2
  294. package/esm/icons/General/IconDotOutline.js +0 -2
  295. package/esm/icons/General/IconDownload.js +0 -2
  296. package/esm/icons/General/IconDraft.js +0 -2
  297. package/esm/icons/General/IconEarth.js +0 -2
  298. package/esm/icons/General/IconEconomy.js +0 -2
  299. package/esm/icons/General/IconEconomyFilled.js +0 -2
  300. package/esm/icons/General/IconEdit.js +0 -2
  301. package/esm/icons/General/IconElevator.js +0 -2
  302. package/esm/icons/General/IconErrorFilled.js +0 -2
  303. package/esm/icons/General/IconErrorOutline.js +0 -2
  304. package/esm/icons/General/IconExternalLink.js +0 -2
  305. package/esm/icons/General/IconEye.js +0 -2
  306. package/esm/icons/General/IconEyeDeny.js +0 -2
  307. package/esm/icons/General/IconFamily.js +0 -2
  308. package/esm/icons/General/IconFerry.js +0 -2
  309. package/esm/icons/General/IconFile.js +0 -2
  310. package/esm/icons/General/IconFileAdd.js +0 -2
  311. package/esm/icons/General/IconFileCopy.js +0 -2
  312. package/esm/icons/General/IconFileEdit.js +0 -2
  313. package/esm/icons/General/IconFileExcel.js +0 -2
  314. package/esm/icons/General/IconFilePDF.js +0 -2
  315. package/esm/icons/General/IconFileWord.js +0 -2
  316. package/esm/icons/General/IconFillOut.js +0 -2
  317. package/esm/icons/General/IconFilterList.js +0 -2
  318. package/esm/icons/General/IconFloor.js +0 -2
  319. package/esm/icons/General/IconForward.js +0 -2
  320. package/esm/icons/General/IconFullscreenClose.js +0 -2
  321. package/esm/icons/General/IconFullscreenOpen.js +0 -2
  322. package/esm/icons/General/IconGarage.js +0 -2
  323. package/esm/icons/General/IconGrid.js +0 -2
  324. package/esm/icons/General/IconGym.js +0 -2
  325. package/esm/icons/General/IconHearth.js +0 -2
  326. package/esm/icons/General/IconHearthOutline.js +0 -2
  327. package/esm/icons/General/IconHelp.js +0 -2
  328. package/esm/icons/General/IconHistory.js +0 -2
  329. package/esm/icons/General/IconHomeFilled.js +0 -2
  330. package/esm/icons/General/IconHomeOutline.js +0 -2
  331. package/esm/icons/General/IconHouse.js +0 -2
  332. package/esm/icons/General/IconHouseBlockFilled.js +0 -2
  333. package/esm/icons/General/IconHouseBlockOutline.js +0 -2
  334. package/esm/icons/General/IconHouseOutline.js +0 -2
  335. package/esm/icons/General/IconHumans.js +0 -2
  336. package/esm/icons/General/IconImage.js +0 -2
  337. package/esm/icons/General/IconImportantComment.js +0 -2
  338. package/esm/icons/General/IconInbox.js +0 -2
  339. package/esm/icons/General/IconInfoFilled.js +0 -2
  340. package/esm/icons/General/IconInfoOutline.js +0 -2
  341. package/esm/icons/General/IconJanitorFilled.js +0 -2
  342. package/esm/icons/General/IconJanitorOutline.js +0 -2
  343. package/esm/icons/General/IconJointcost.js +0 -2
  344. package/esm/icons/General/IconJointcost2.js +0 -2
  345. package/esm/icons/General/IconKey.js +0 -2
  346. package/esm/icons/General/IconKitchen.js +0 -2
  347. package/esm/icons/General/IconLabel.js +0 -2
  348. package/esm/icons/General/IconLeafFilled.js +0 -2
  349. package/esm/icons/General/IconLeafOutline.js +0 -2
  350. package/esm/icons/General/IconLeisureTime.js +0 -2
  351. package/esm/icons/General/IconLock.js +0 -2
  352. package/esm/icons/General/IconLockLocked.js +0 -2
  353. package/esm/icons/General/IconLockOpen.js +0 -2
  354. package/esm/icons/General/IconLookup.js +0 -2
  355. package/esm/icons/General/IconLookupFilled.js +0 -2
  356. package/esm/icons/General/IconMail.js +0 -2
  357. package/esm/icons/General/IconMap.js +0 -2
  358. package/esm/icons/General/IconMembership.js +0 -2
  359. package/esm/icons/General/IconMembershipFilled.js +0 -2
  360. package/esm/icons/General/IconMenu.js +0 -2
  361. package/esm/icons/General/IconMinus.js +0 -2
  362. package/esm/icons/General/IconMinusAlt.js +0 -2
  363. package/esm/icons/General/IconMinusAltFilled.js +0 -2
  364. package/esm/icons/General/IconMoney.js +0 -2
  365. package/esm/icons/General/IconParking.js +0 -2
  366. package/esm/icons/General/IconPaymentCard.js +0 -2
  367. package/esm/icons/General/IconPhone.js +0 -2
  368. package/esm/icons/General/IconPinned.js +0 -2
  369. package/esm/icons/General/IconPlus.js +0 -2
  370. package/esm/icons/General/IconPlusAlt.js +0 -2
  371. package/esm/icons/General/IconPortalUser.js +0 -2
  372. package/esm/icons/General/IconPrint.js +0 -2
  373. package/esm/icons/General/IconProfile.js +0 -2
  374. package/esm/icons/General/IconProfileFilled.js +0 -2
  375. package/esm/icons/General/IconRearrange.js +0 -2
  376. package/esm/icons/General/IconReciept.js +0 -2
  377. package/esm/icons/General/IconRedo.js +0 -2
  378. package/esm/icons/General/IconRefresh.js +0 -2
  379. package/esm/icons/General/IconReply.js +0 -2
  380. package/esm/icons/General/IconReplyAll.js +0 -2
  381. package/esm/icons/General/IconRoom.js +0 -2
  382. package/esm/icons/General/IconSave.js +0 -2
  383. package/esm/icons/General/IconSearch.js +0 -2
  384. package/esm/icons/General/IconSend.js +0 -2
  385. package/esm/icons/General/IconSettings.js +0 -2
  386. package/esm/icons/General/IconShopping.js +0 -2
  387. package/esm/icons/General/IconSign.js +0 -2
  388. package/esm/icons/General/IconSliders.js +0 -2
  389. package/esm/icons/General/IconSort.js +0 -2
  390. package/esm/icons/General/IconStarFilled.js +0 -2
  391. package/esm/icons/General/IconStarHalf.js +0 -2
  392. package/esm/icons/General/IconStarOutline.js +0 -2
  393. package/esm/icons/General/IconStore.js +0 -2
  394. package/esm/icons/General/IconSubway.js +0 -2
  395. package/esm/icons/General/IconSwitch.js +0 -2
  396. package/esm/icons/General/IconTrain.js +0 -2
  397. package/esm/icons/General/IconTram.js +0 -2
  398. package/esm/icons/General/IconTransport.js +0 -2
  399. package/esm/icons/General/IconTypeOfBuilding.js +0 -2
  400. package/esm/icons/General/IconTypeOfBuildingOutline.js +0 -2
  401. package/esm/icons/General/IconUndo.js +0 -2
  402. package/esm/icons/General/IconUpload.js +0 -2
  403. package/esm/icons/General/IconUser.js +0 -2
  404. package/esm/icons/General/IconUserThin.js +0 -2
  405. package/esm/icons/General/IconVote.js +0 -2
  406. package/esm/icons/General/IconWalk.js +0 -2
  407. package/esm/icons/General/IconWarning.js +0 -2
  408. package/esm/icons/General/IconWarningBell.js +0 -2
  409. package/esm/icons/General/IconWork.js +0 -2
  410. package/esm/icons/General/IconWorkFilled.js +0 -2
  411. package/esm/icons/General/IconZip.js +0 -2
  412. package/esm/icons/Icon.stories.js +629 -0
  413. package/esm/icons/Logos/IconAmericanExpress.js +0 -2
  414. package/esm/icons/Logos/IconBankAxept.js +0 -2
  415. package/esm/icons/Logos/IconGmail.js +0 -2
  416. package/esm/icons/Logos/IconMasterCard.js +0 -2
  417. package/esm/icons/Logos/IconOffice365.js +0 -2
  418. package/esm/icons/Logos/IconVisa.js +0 -2
  419. package/esm/icons/withIcon.js +2 -3
  420. package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +0 -2
  421. package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +0 -2
  422. package/esm/illustrations/General/IllustrationError.js +0 -2
  423. package/esm/illustrations/General/IllustrationErrorGeneric.js +0 -2
  424. package/esm/illustrations/General/IllustrationHighHouse.js +0 -2
  425. package/esm/illustrations/General/IllustrationHighHouseComposition.js +0 -2
  426. package/esm/illustrations/General/IllustrationHouse.js +0 -2
  427. package/esm/illustrations/General/IllustrationHouseComposition.js +0 -2
  428. package/esm/illustrations/General/IllustrationHouseMissing.js +0 -2
  429. package/esm/illustrations/General/IllustrationLowHouse.js +0 -2
  430. package/esm/illustrations/General/IllustrationLowHouseComposition.js +0 -2
  431. package/esm/illustrations/General/IllustrationPaperCompleted.js +0 -2
  432. package/esm/illustrations/General/IllustrationPaperMissing.js +0 -2
  433. package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +0 -2
  434. package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +0 -2
  435. package/esm/illustrations/General/IllustrationSmallHouse.js +0 -2
  436. package/esm/illustrations/General/IllustrationSmallHouseComposition.js +0 -2
  437. package/esm/illustrations/General/IllustrationTerraceBlock.js +0 -2
  438. package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +0 -2
  439. package/esm/illustrations/General/IllustrationTownHouse.js +0 -2
  440. package/esm/illustrations/General/IllustrationTownHouseComposition.js +0 -2
  441. package/esm/illustrations/Illustration.stories.js +173 -0
  442. package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +0 -2
  443. package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +0 -2
  444. package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +0 -2
  445. package/esm/illustrations/MySite/IllustrationMySiteComputer.js +0 -2
  446. package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +0 -2
  447. package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +0 -2
  448. package/esm/illustrations/MySite/IllustrationMySiteGift.js +0 -2
  449. package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +0 -2
  450. package/esm/illustrations/MySite/IllustrationMySitePapers.js +0 -2
  451. package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +0 -2
  452. package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +0 -2
  453. package/esm/illustrations/styles.js +0 -1
  454. package/esm/illustrations/withIllustration.js +2 -4
  455. package/esm/index.js +3 -1
  456. package/esm/layout/Footer/Footer.stories.js +62 -0
  457. package/esm/layout/Footer/FooterButton/index.js +2 -3
  458. package/esm/layout/Footer/FooterButton/styles.js +0 -2
  459. package/esm/layout/Footer/FooterCol/index.js +0 -2
  460. package/esm/layout/Footer/FooterCol/styles.js +1 -3
  461. package/esm/layout/Footer/FooterGroup/index.js +0 -2
  462. package/esm/layout/Footer/FooterGroup/styles.js +1 -3
  463. package/esm/layout/Footer/FooterLabel/index.js +0 -2
  464. package/esm/layout/Footer/FooterLabel/styles.js +1 -3
  465. package/esm/layout/Footer/FooterLink/index.js +2 -3
  466. package/esm/layout/Footer/FooterLink/styles.js +0 -2
  467. package/esm/layout/Footer/index.js +0 -2
  468. package/esm/layout/Footer/styles.js +1 -1
  469. package/esm/layout/Layout/Layout.stories.js +14 -0
  470. package/esm/layout/Layout/index.js +0 -2
  471. package/esm/layout/Layout/styles.js +1 -1
  472. package/esm/layout/LayoutShell/LayoutShell.stories.js +116 -0
  473. package/esm/layout/LayoutShell/index.js +0 -2
  474. package/esm/layout/LayoutShell/styles.js +5 -7
  475. package/esm/layout/Menu/AppPicker/index.js +3 -3
  476. package/esm/layout/Menu/AppPicker/styles.js +2 -11
  477. package/esm/layout/Menu/MainMenu/index.js +0 -2
  478. package/esm/layout/Menu/MainMenu/styles.js +1 -1
  479. package/esm/layout/Menu/MenuItem/index.js +0 -2
  480. package/esm/layout/Menu/MenuItem/styles.js +2 -2
  481. package/esm/layout/Menu/MenuSpacer/index.js +0 -2
  482. package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
  483. package/esm/layout/Menu/MenuTop/index.js +0 -2
  484. package/esm/layout/Menu/MenuTop/styles.js +2 -4
  485. package/esm/layout/Menu/SecondaryMenu/index.js +0 -2
  486. package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
  487. package/esm/layout/Menu/SecondaryMenuItem/index.js +0 -2
  488. package/esm/layout/Menu/Sidemenu.stories.js +323 -0
  489. package/esm/layout/Menu/index.js +0 -2
  490. package/esm/layout/Menu/styles.js +1 -1
  491. package/esm/layout/Submenu/Submenu.stories.js +94 -0
  492. package/esm/layout/Submenu/SubmenuItem/index.js +0 -7
  493. package/esm/layout/Submenu/SubmenuItem/styles.js +1 -6
  494. package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
  495. package/esm/layout/Submenu/index.js +0 -11
  496. package/esm/layout/Submenu/styles.js +6 -8
  497. package/esm/layout/Topbar/Topbar.stories.js +23 -0
  498. package/esm/layout/Topbar/index.js +0 -2
  499. package/esm/layout/Topbar/styles.js +1 -1
  500. package/esm/shared/components/SbIconGrid/index.js +27 -0
  501. package/esm/shared/recharts/CustomLegend/styles.js +2 -4
  502. package/esm/shared/recharts/CustomTooltip/index.js +0 -11
  503. package/esm/shared/recharts/CustomTooltip/styles.js +3 -5
  504. package/esm/shared/types/LoadedType.js +1 -0
  505. package/esm/utils/accountNumber.js +1 -7
  506. package/esm/utils/alpha.js +0 -1
  507. package/esm/utils/array.js +1 -3
  508. package/esm/utils/dates.js +0 -10
  509. package/esm/utils/file.js +1 -0
  510. package/esm/utils/format.js +3 -21
  511. package/esm/utils/formatGraphPrice.js +0 -15
  512. package/esm/utils/image.js +0 -3
  513. package/esm/utils/pagination.js +0 -5
  514. package/esm/utils/phone.js +8 -13
  515. package/esm/utils/time.js +4 -14
  516. package/esm/utils/url.js +0 -2
  517. package/esm/utils/useSnorreTheme.js +31 -0
  518. package/lib/app-shell/index.js +1 -4
  519. package/lib/app-shell/theme.js +2 -1
  520. package/lib/core/Alert/Alert.stories.d.ts +23 -0
  521. package/lib/core/Alert/Alert.stories.d.ts.map +1 -0
  522. package/lib/core/Alert/Alert.stories.js +43 -0
  523. package/lib/core/Alert/index.js +0 -2
  524. package/lib/core/Alert/styles.d.ts +6 -6
  525. package/lib/core/Alert/styles.js +0 -1
  526. package/lib/core/AppLoader/AppLoader.stories.d.ts +7 -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/AppLoader/styles.d.ts +1 -1
  531. package/lib/core/Autocomplete/Autocomplete.stories.d.ts +71 -0
  532. package/lib/core/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
  533. package/lib/core/Autocomplete/Autocomplete.stories.js +327 -0
  534. package/lib/core/Autocomplete/hooks/useAutocomplete.js +14 -49
  535. package/lib/core/Autocomplete/hooks/useHandleDimentions.js +2 -3
  536. package/lib/core/Autocomplete/index.js +2 -3
  537. package/lib/core/Autocomplete/styles.d.ts +18 -18
  538. package/lib/core/Autocomplete/styles.js +0 -2
  539. package/lib/core/Banner/Banner.stories.d.ts +23 -0
  540. package/lib/core/Banner/Banner.stories.d.ts.map +1 -0
  541. package/lib/core/Banner/Banner.stories.js +68 -0
  542. package/lib/core/Banner/index.js +0 -2
  543. package/lib/core/Banner/styles.js +4 -6
  544. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +8 -0
  545. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -0
  546. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +94 -0
  547. package/lib/core/BarAndLineComposedChart/index.js +0 -2
  548. package/lib/core/BarAndLineComposedChart/styles.js +1 -1
  549. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +14 -0
  550. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -0
  551. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +80 -0
  552. package/lib/core/BarChartWithCustomizedEvent/index.js +0 -3
  553. package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
  554. package/lib/core/Box/Box.stories.d.ts +39 -0
  555. package/lib/core/Box/Box.stories.d.ts.map +1 -0
  556. package/lib/core/Box/Box.stories.js +89 -0
  557. package/lib/core/Box/index.js +0 -4
  558. package/lib/core/Box/styles.d.ts +5 -5
  559. package/lib/core/Box/styles.js +2 -8
  560. package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -0
  561. package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -0
  562. package/lib/core/BoxedTable/BoxedTable.stories.js +351 -0
  563. package/lib/core/BoxedTable/DraggableRow/index.js +0 -2
  564. package/lib/core/BoxedTable/DraggableRow/styles.js +5 -7
  565. package/lib/core/BoxedTable/HeaderCell/index.js +0 -4
  566. package/lib/core/BoxedTable/HeaderCell/styles.d.ts +1 -1
  567. package/lib/core/BoxedTable/HeaderCell/styles.js +1 -1
  568. package/lib/core/BoxedTable/RowCell/index.js +0 -2
  569. package/lib/core/BoxedTable/RowCell/styles.d.ts +8 -8
  570. package/lib/core/BoxedTable/RowCell/styles.js +1 -3
  571. package/lib/core/BoxedTable/TableHeader/index.js +0 -2
  572. package/lib/core/BoxedTable/TableHeader/styles.js +1 -3
  573. package/lib/core/BoxedTable/TableRow/index.js +0 -7
  574. package/lib/core/BoxedTable/TableRow/styles.js +6 -8
  575. package/lib/core/BoxedTable/index.js +2 -5
  576. package/lib/core/BoxedTable/styles.js +2 -9
  577. package/lib/core/Button/Button.stories.d.ts +63 -0
  578. package/lib/core/Button/Button.stories.d.ts.map +1 -0
  579. package/lib/core/Button/Button.stories.js +121 -0
  580. package/lib/core/Button/index.js +0 -4
  581. package/lib/core/Button/styles.d.ts +18 -18
  582. package/lib/core/Button/styles.js +1 -5
  583. package/lib/core/Calendar/Calendar.stories.d.ts +15 -0
  584. package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -0
  585. package/lib/core/Calendar/Calendar.stories.js +39 -0
  586. package/lib/core/Calendar/CalendarEvent/index.js +0 -8
  587. package/lib/core/Calendar/CalendarEvent/styles.js +5 -7
  588. package/lib/core/Calendar/CalendarSmallEvent/index.js +0 -8
  589. package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -7
  590. package/lib/core/Calendar/index.js +0 -5
  591. package/lib/core/Calendar/styles.js +5 -7
  592. package/lib/core/Calendar/util.js +0 -2
  593. package/lib/core/Card/Card.stories.d.ts +49 -0
  594. package/lib/core/Card/Card.stories.d.ts.map +1 -0
  595. package/lib/core/Card/Card.stories.js +69 -0
  596. package/lib/core/Card/index.js +0 -3
  597. package/lib/core/Card/styles.d.ts +11 -11
  598. package/lib/core/Card/styles.js +0 -1
  599. package/lib/core/Checkbox/Checkbox.stories.d.ts +23 -0
  600. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
  601. package/lib/core/Checkbox/Checkbox.stories.js +43 -0
  602. package/lib/core/Checkbox/index.js +0 -4
  603. package/lib/core/Checkbox/styles.d.ts +5 -5
  604. package/lib/core/Checkbox/styles.js +0 -3
  605. package/lib/core/CheckboxController/index.js +6 -0
  606. package/lib/core/CollapseList/CollapseList.stories.d.ts +11 -0
  607. package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -0
  608. package/lib/core/CollapseList/CollapseList.stories.js +43 -0
  609. package/lib/core/CollapseList/Item.js +0 -4
  610. package/lib/core/CollapseList/index.js +0 -2
  611. package/lib/core/CollapseList/styles.d.ts +2 -2
  612. package/lib/core/CollapseList/styles.js +0 -2
  613. package/lib/core/CommentsTimeline/CommentLine/index.js +0 -2
  614. package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -6
  615. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +11 -0
  616. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -0
  617. package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +79 -0
  618. package/lib/core/CommentsTimeline/index.js +0 -2
  619. package/lib/core/CommentsTimeline/styles.js +1 -3
  620. package/lib/core/CustomText/CustomText.stories.d.ts +19 -0
  621. package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -0
  622. package/lib/core/CustomText/CustomText.stories.js +33 -0
  623. package/lib/core/CustomText/index.js +0 -6
  624. package/lib/core/CustomText/styles.d.ts +1 -1
  625. package/lib/core/CustomText/styles.js +1 -3
  626. package/lib/core/Datepicker/Datepicker.stories.d.ts +27 -0
  627. package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -0
  628. package/lib/core/Datepicker/Datepicker.stories.js +58 -0
  629. package/lib/core/Datepicker/index.js +0 -20
  630. package/lib/core/Datepicker/styles.d.ts +4 -4
  631. package/lib/core/Datepicker/styles.js +6 -8
  632. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +7 -0
  633. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -0
  634. package/lib/core/DatepickerRange/DatepickerRange.stories.js +21 -0
  635. package/lib/core/DatepickerRange/index.js +17 -5
  636. package/lib/core/DatepickerRange/styles.d.ts +4 -4
  637. package/lib/core/DatepickerRange/styles.js +6 -8
  638. package/lib/core/Divider/index.js +1 -2
  639. package/lib/core/Divider/styles.d.ts +5 -5
  640. package/lib/core/Divider/styles.js +0 -1
  641. package/lib/core/Dropdown/Dropdown.stories.d.ts +23 -0
  642. package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -0
  643. package/lib/core/Dropdown/Dropdown.stories.js +53 -0
  644. package/lib/core/Dropdown/index.js +0 -8
  645. package/lib/core/Dropdown/styles.d.ts +3 -3
  646. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +15 -0
  647. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
  648. package/lib/core/DropdownMenu/DropdownMenu.stories.js +47 -0
  649. package/lib/core/DropdownMenu/DropdownMenuOption.js +0 -2
  650. package/lib/core/DropdownMenu/index.js +0 -4
  651. package/lib/core/DropdownMenu/styles.d.ts +1 -1
  652. package/lib/core/DropdownMenu/styles.js +2 -4
  653. package/lib/core/Editor/Editor.stories.d.ts +23 -0
  654. package/lib/core/Editor/Editor.stories.d.ts.map +1 -0
  655. package/lib/core/Editor/Editor.stories.js +54 -0
  656. package/lib/core/Editor/index.js +2 -6
  657. package/lib/core/Editor/styles.d.ts +2 -2
  658. package/lib/core/Editor/styles.js +2 -4
  659. package/lib/core/FileInput/FileInput.stories.d.ts +15 -0
  660. package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -0
  661. package/lib/core/FileInput/FileInput.stories.js +77 -0
  662. package/lib/core/FileInput/index.js +2 -12
  663. package/lib/core/FileInput/styles.d.ts +1 -1
  664. package/lib/core/FileInput/styles.js +11 -13
  665. package/lib/core/GoogleButton/GoogleButton.stories.d.ts +7 -0
  666. package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -0
  667. package/lib/core/GoogleButton/GoogleButton.stories.js +12 -0
  668. package/lib/core/GoogleButton/index.js +0 -3
  669. package/lib/core/GoogleButton/styles.js +1 -3
  670. package/lib/core/Header/Header.stories.d.ts +35 -0
  671. package/lib/core/Header/Header.stories.d.ts.map +1 -0
  672. package/lib/core/Header/Header.stories.js +65 -0
  673. package/lib/core/Header/index.js +0 -2
  674. package/lib/core/Header/styles.d.ts +7 -7
  675. package/lib/core/HighlightText/HighlightText.stories.d.ts +11 -0
  676. package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -0
  677. package/lib/core/HighlightText/HighlightText.stories.js +22 -0
  678. package/lib/core/HighlightText/index.js +0 -2
  679. package/lib/core/HighlightText/styles.js +1 -3
  680. package/lib/core/Html/Html.stories.d.ts +19 -0
  681. package/lib/core/Html/Html.stories.d.ts.map +1 -0
  682. package/lib/core/Html/Html.stories.js +43 -0
  683. package/lib/core/Html/index.js +0 -2
  684. package/lib/core/Html/styles.d.ts +6 -6
  685. package/lib/core/Html/styles.js +0 -1
  686. package/lib/core/Image/Image.stories.d.ts +15 -0
  687. package/lib/core/Image/Image.stories.d.ts.map +1 -0
  688. package/lib/core/Image/Image.stories.js +26 -0
  689. package/lib/core/Image/index.js +1 -2
  690. package/lib/core/Image/styles.d.ts +4 -4
  691. package/lib/core/Image/styles.js +0 -1
  692. package/lib/core/ImagePicker/IconWithBackground.js +0 -2
  693. package/lib/core/ImagePicker/ImagePicker.stories.d.ts +17 -0
  694. package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -0
  695. package/lib/core/ImagePicker/ImagePicker.stories.js +28 -0
  696. package/lib/core/ImagePicker/UploadButton.js +0 -2
  697. package/lib/core/ImagePicker/index.js +2 -5
  698. package/lib/core/ImagePicker/styles.d.ts +11 -11
  699. package/lib/core/ImagePicker/styles.js +0 -1
  700. package/lib/core/InfoButton/InfoButton.stories.d.ts +23 -0
  701. package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -0
  702. package/lib/core/InfoButton/InfoButton.stories.js +57 -0
  703. package/lib/core/InfoButton/index.js +0 -8
  704. package/lib/core/InfoButton/styles.d.ts +7 -7
  705. package/lib/core/InfoButton/styles.d.ts.map +1 -1
  706. package/lib/core/InfoButton/styles.js +15 -17
  707. package/lib/core/Input/Input.stories.d.ts +20 -0
  708. package/lib/core/Input/Input.stories.d.ts.map +1 -0
  709. package/lib/core/Input/Input.stories.js +158 -0
  710. package/lib/core/Input/index.js +4 -10
  711. package/lib/core/Input/styles.d.ts +16 -16
  712. package/lib/core/Input/styles.js +0 -1
  713. package/lib/core/Link/Link.stories.d.ts +39 -0
  714. package/lib/core/Link/Link.stories.d.ts.map +1 -0
  715. package/lib/core/Link/Link.stories.js +75 -0
  716. package/lib/core/Link/index.js +2 -3
  717. package/lib/core/Link/styles.d.ts +9 -9
  718. package/lib/core/Link/styles.js +1 -3
  719. package/lib/core/List/Item.js +1 -4
  720. package/lib/core/List/List.stories.d.ts +39 -0
  721. package/lib/core/List/List.stories.d.ts.map +1 -0
  722. package/lib/core/List/List.stories.js +157 -0
  723. package/lib/core/List/index.js +0 -3
  724. package/lib/core/List/styles.d.ts +11 -11
  725. package/lib/core/List/styles.js +0 -4
  726. package/lib/core/ListPager/ListPager.stories.d.ts +7 -0
  727. package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -0
  728. package/lib/core/ListPager/ListPager.stories.js +16 -0
  729. package/lib/core/ListPager/index.js +0 -8
  730. package/lib/core/ListPager/styles.d.ts +1 -1
  731. package/lib/core/ListPager/styles.js +2 -4
  732. package/lib/core/MediaCarousel/index.d.ts +24 -0
  733. package/lib/core/MediaCarousel/index.d.ts.map +1 -0
  734. package/lib/core/{ImageCarousel → MediaCarousel}/index.js +36 -22
  735. package/lib/core/{ImageCarousel → MediaCarousel}/styles.d.ts +2 -0
  736. package/lib/core/MediaCarousel/styles.d.ts.map +1 -0
  737. package/lib/core/MediaCarousel/styles.js +55 -0
  738. package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
  739. package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
  740. package/lib/core/Modal/ActionButtons/index.js +1 -4
  741. package/lib/core/Modal/Modal.stories.d.ts +23 -0
  742. package/lib/core/Modal/Modal.stories.d.ts.map +1 -0
  743. package/lib/core/Modal/Modal.stories.js +117 -0
  744. package/lib/core/Modal/index.d.ts +1 -1
  745. package/lib/core/Modal/index.js +1 -12
  746. package/lib/core/Modal/styles.js +7 -11
  747. package/lib/core/NoticeCard/NoticeCard.stories.d.ts +11 -0
  748. package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -0
  749. package/lib/core/NoticeCard/NoticeCard.stories.js +61 -0
  750. package/lib/core/NoticeCard/index.js +0 -4
  751. package/lib/core/NoticeCard/models.js +3 -4
  752. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +0 -2
  753. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -6
  754. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
  755. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -3
  756. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
  757. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -5
  758. package/lib/core/NoticeCard/styles.js +5 -7
  759. package/lib/core/NoticeCard/utils.d.ts +2 -1
  760. package/lib/core/NoticeCard/utils.d.ts.map +1 -1
  761. package/lib/core/NoticeCard/utils.js +0 -3
  762. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +11 -0
  763. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -0
  764. package/lib/core/NotificationCounter/NotificationCounter.stories.js +19 -0
  765. package/lib/core/NotificationCounter/index.js +1 -2
  766. package/lib/core/NotificationCounter/styles.d.ts +1 -1
  767. package/lib/core/NotificationCounter/styles.js +0 -4
  768. package/lib/core/NotificationsMenu/NotificationBell/index.js +0 -2
  769. package/lib/core/NotificationsMenu/NotificationBell/styles.js +2 -2
  770. package/lib/core/NotificationsMenu/NotificationRow/index.js +0 -2
  771. package/lib/core/NotificationsMenu/NotificationRow/styles.js +1 -1
  772. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +11 -0
  773. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -0
  774. package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
  775. package/lib/core/NotificationsMenu/index.js +0 -8
  776. package/lib/core/NotificationsMenu/styles.js +2 -4
  777. package/lib/core/PieChart/ActiveShape/index.d.ts +2 -1
  778. package/lib/core/PieChart/ActiveShape/index.d.ts.map +1 -1
  779. package/lib/core/PieChart/ActiveShape/index.js +1 -3
  780. package/lib/core/PieChart/PieChart.stories.d.ts +20 -0
  781. package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -0
  782. package/lib/core/PieChart/PieChart.stories.js +81 -0
  783. package/lib/core/PieChart/index.js +6 -7
  784. package/lib/core/PieChart/renderTextContent/index.d.ts +2 -1
  785. package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
  786. package/lib/core/PieChart/renderTextContent/index.js +1 -3
  787. package/lib/core/PieChart/styles.js +2 -4
  788. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +7 -0
  789. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -0
  790. package/lib/core/PreemptionCard/PreemptionCard.stories.js +68 -0
  791. package/lib/core/PreemptionCard/index.js +0 -5
  792. package/lib/core/PreemptionCard/models.js +3 -4
  793. package/lib/core/PreemptionCard/styles.js +2 -4
  794. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +7 -0
  795. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -0
  796. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
  797. package/lib/core/PreemptionCardLoading/index.js +0 -2
  798. package/lib/core/PreemptionCardLoading/styles.js +3 -5
  799. package/lib/core/Radio/Radio.stories.d.ts +19 -0
  800. package/lib/core/Radio/Radio.stories.d.ts.map +1 -0
  801. package/lib/core/Radio/Radio.stories.js +66 -0
  802. package/lib/core/Radio/index.js +0 -2
  803. package/lib/core/Radio/styles.d.ts +4 -4
  804. package/lib/core/Radio/styles.js +0 -1
  805. package/lib/core/SearchFilter/SearchFilter.stories.d.ts +19 -0
  806. package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -0
  807. package/lib/core/SearchFilter/SearchFilter.stories.js +113 -0
  808. package/lib/core/SearchFilter/index.js +2 -10
  809. package/lib/core/SearchFilter/styles.d.ts +2 -2
  810. package/lib/core/SearchFilter/styles.js +6 -10
  811. package/lib/core/SearchSelect/SearchSelect.stories.d.ts +12 -0
  812. package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -0
  813. package/lib/core/SearchSelect/SearchSelect.stories.js +52 -0
  814. package/lib/core/SearchSelect/hooks/useSelectSearch.js +2 -3
  815. package/lib/core/SearchSelect/index.js +4 -12
  816. package/lib/core/SearchSelect/styles.d.ts +1 -1
  817. package/lib/core/SearchSelect/styles.js +4 -6
  818. package/lib/core/Select/Option.js +0 -3
  819. package/lib/core/Select/Select.stories.d.ts +47 -0
  820. package/lib/core/Select/Select.stories.d.ts.map +1 -0
  821. package/lib/core/Select/Select.stories.js +246 -0
  822. package/lib/core/Select/index.js +2 -17
  823. package/lib/core/Select/styles.d.ts +13 -13
  824. package/lib/core/Select/styles.js +3 -13
  825. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +29 -0
  826. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -0
  827. package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
  828. package/lib/core/SimpleBarChart/index.js +0 -3
  829. package/lib/core/SimpleBarChart/styles.js +1 -1
  830. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +8 -0
  831. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -0
  832. package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
  833. package/lib/core/SimpleLineChart/index.js +0 -2
  834. package/lib/core/SimpleLineChart/styles.js +1 -1
  835. package/lib/core/Skeleton/Skeleton.stories.d.ts +37 -0
  836. package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -0
  837. package/lib/core/Skeleton/Skeleton.stories.js +46 -0
  838. package/lib/core/Skeleton/index.js +0 -4
  839. package/lib/core/Skeleton/styles.js +1 -3
  840. package/lib/core/Spinner/Spinner.stories.d.ts +19 -0
  841. package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -0
  842. package/lib/core/Spinner/Spinner.stories.js +30 -0
  843. package/lib/core/Spinner/index.js +0 -2
  844. package/lib/core/Spinner/styles.d.ts +5 -5
  845. package/lib/core/TabBar/TabBar.stories.d.ts +7 -0
  846. package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -0
  847. package/lib/core/TabBar/TabBar.stories.js +38 -0
  848. package/lib/core/TabBar/TabItem/index.js +0 -2
  849. package/lib/core/TabBar/TabItem/styles.js +1 -3
  850. package/lib/core/TabBar/index.js +0 -2
  851. package/lib/core/TabBar/styles.js +1 -3
  852. package/lib/core/TabNav/TabContext.js +8 -5
  853. package/lib/core/TabNav/TabNav.stories.d.ts +47 -0
  854. package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -0
  855. package/lib/core/TabNav/TabNav.stories.js +306 -0
  856. package/lib/core/TabNav/TabNavItem/index.js +2 -6
  857. package/lib/core/TabNav/TabNavItem/styles.d.ts +1 -1
  858. package/lib/core/TabNav/TabNavItem/styles.js +3 -5
  859. package/lib/core/TabNav/index.js +11 -14
  860. package/lib/core/TabNav/styles.d.ts +4 -4
  861. package/lib/core/TabNav/styles.js +4 -6
  862. package/lib/core/TabNav/utils/useContainerDimensions.js +0 -1
  863. package/lib/core/Table/Cell.js +2 -3
  864. package/lib/core/Table/Row.js +2 -3
  865. package/lib/core/Table/Table.stories.d.ts +11 -0
  866. package/lib/core/Table/Table.stories.d.ts.map +1 -0
  867. package/lib/core/Table/Table.stories.js +83 -0
  868. package/lib/core/Table/index.js +0 -2
  869. package/lib/core/Table/styles.d.ts +14 -14
  870. package/lib/core/Table/styles.js +2 -4
  871. package/lib/core/Tag/Tag.stories.d.ts +59 -0
  872. package/lib/core/Tag/Tag.stories.d.ts.map +1 -0
  873. package/lib/core/Tag/Tag.stories.js +112 -0
  874. package/lib/core/Tag/index.js +0 -2
  875. package/lib/core/Tag/styles.d.ts +12 -12
  876. package/lib/core/Tag/styles.js +0 -1
  877. package/lib/core/Text/Text.stories.d.ts +21 -0
  878. package/lib/core/Text/Text.stories.d.ts.map +1 -0
  879. package/lib/core/Text/Text.stories.js +132 -0
  880. package/lib/core/Text/index.js +0 -2
  881. package/lib/core/Text/styles.d.ts +14 -14
  882. package/lib/core/Text/styles.js +0 -1
  883. package/lib/core/Textarea/Textarea.stories.d.ts +19 -0
  884. package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -0
  885. package/lib/core/Textarea/Textarea.stories.js +33 -0
  886. package/lib/core/Textarea/index.js +0 -5
  887. package/lib/core/Textarea/styles.d.ts +3 -3
  888. package/lib/core/Textarea/styles.js +3 -5
  889. package/lib/core/Timeline/Timeline.stories.d.ts +7 -0
  890. package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -0
  891. package/lib/core/Timeline/Timeline.stories.js +25 -0
  892. package/lib/core/Timeline/TimelineStep/index.js +0 -2
  893. package/lib/core/Timeline/TimelineStep/styles.d.ts +3 -3
  894. package/lib/core/Timeline/TimelineStep/styles.js +3 -5
  895. package/lib/core/Timeline/index.js +0 -2
  896. package/lib/core/Timeline/styles.js +1 -3
  897. package/lib/core/Timepicker/Timepicker.stories.d.ts +31 -0
  898. package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -0
  899. package/lib/core/Timepicker/Timepicker.stories.js +77 -0
  900. package/lib/core/Timepicker/index.js +7 -16
  901. package/lib/core/Timepicker/styles.d.ts +5 -5
  902. package/lib/core/Timepicker/styles.js +2 -4
  903. package/lib/core/Tooltip/Tooptip.stories.d.ts +7 -0
  904. package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -0
  905. package/lib/core/Tooltip/Tooptip.stories.js +14 -0
  906. package/lib/core/Tooltip/index.js +0 -3
  907. package/lib/core/Tooltip/styles.d.ts +2 -2
  908. package/lib/core/Tooltip/styles.js +0 -1
  909. package/lib/core/UnitIllustration/index.js +1 -9
  910. package/lib/core/UserMenu/UserMenu.stories.d.ts +19 -0
  911. package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -0
  912. package/lib/core/UserMenu/UserMenu.stories.js +91 -0
  913. package/lib/core/UserMenu/UserMenuOption.js +0 -2
  914. package/lib/core/UserMenu/index.js +0 -8
  915. package/lib/core/UserMenu/styles.d.ts +1 -1
  916. package/lib/core/UserMenu/styles.js +6 -8
  917. package/lib/core/Video/Video.stories.d.ts +15 -0
  918. package/lib/core/Video/Video.stories.d.ts.map +1 -0
  919. package/lib/core/Video/Video.stories.js +23 -0
  920. package/lib/core/Video/index.d.ts +24 -0
  921. package/lib/core/Video/index.d.ts.map +1 -0
  922. package/lib/core/Video/index.js +28 -0
  923. package/lib/core/Video/styles.d.ts +7 -0
  924. package/lib/core/Video/styles.d.ts.map +1 -0
  925. package/lib/core/Video/styles.js +7 -0
  926. package/lib/core/YearWheel/YearWheel.stories.d.ts +11 -0
  927. package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -0
  928. package/lib/core/YearWheel/YearWheel.stories.js +20 -0
  929. package/lib/core/YearWheel/index.js +0 -2
  930. package/lib/core/YearWheel/styles.d.ts +2 -2
  931. package/lib/core/YearWheel/styles.js +1 -3
  932. package/lib/core/private/ButtonOrLink.js +8 -13
  933. package/lib/core/private/preemption.js +0 -4
  934. package/lib/core/utils/debounce.js +0 -2
  935. package/lib/enums/Keyboard.js +3 -3
  936. package/lib/globals/styles/styles.d.ts +1 -1
  937. package/lib/globals/styles/styles.js +0 -1
  938. package/lib/hooks/useIsMobile.js +0 -2
  939. package/lib/hooks/useScreenOrientation.js +0 -10
  940. package/lib/icons/General/IconApartment.js +0 -2
  941. package/lib/icons/General/IconArchives.js +0 -2
  942. package/lib/icons/General/IconArea.js +0 -2
  943. package/lib/icons/General/IconArrowDown.js +0 -2
  944. package/lib/icons/General/IconArrowLeft.js +0 -2
  945. package/lib/icons/General/IconArrowRight.js +0 -2
  946. package/lib/icons/General/IconArrowUp.js +0 -2
  947. package/lib/icons/General/IconAttachment.js +0 -2
  948. package/lib/icons/General/IconAuditorFilled.js +0 -2
  949. package/lib/icons/General/IconAuditorOutline.js +0 -2
  950. package/lib/icons/General/IconBack.js +0 -2
  951. package/lib/icons/General/IconBath.js +0 -2
  952. package/lib/icons/General/IconBblFlame.js +2 -3
  953. package/lib/icons/General/IconBblShield.js +2 -3
  954. package/lib/icons/General/IconBblWater.js +2 -3
  955. package/lib/icons/General/IconBellOutline.js +0 -2
  956. package/lib/icons/General/IconBlock.js +0 -2
  957. package/lib/icons/General/IconBoard.js +0 -2
  958. package/lib/icons/General/IconBookmarkFilled.js +0 -2
  959. package/lib/icons/General/IconBookmarkOutline.js +0 -2
  960. package/lib/icons/General/IconBus.js +0 -2
  961. package/lib/icons/General/IconCalendar.js +0 -2
  962. package/lib/icons/General/IconCamera.js +0 -2
  963. package/lib/icons/General/IconCar.js +0 -2
  964. package/lib/icons/General/IconCaretDown.js +0 -2
  965. package/lib/icons/General/IconCaretLeft.js +0 -2
  966. package/lib/icons/General/IconCaretRight.js +0 -2
  967. package/lib/icons/General/IconCaretUp.js +0 -2
  968. package/lib/icons/General/IconCases.js +0 -2
  969. package/lib/icons/General/IconCheck.js +0 -2
  970. package/lib/icons/General/IconCheckedFilled.js +0 -2
  971. package/lib/icons/General/IconCheckedOutline.js +0 -2
  972. package/lib/icons/General/IconChevronDown.js +0 -2
  973. package/lib/icons/General/IconChevronLeft.js +0 -2
  974. package/lib/icons/General/IconChevronRight.js +0 -2
  975. package/lib/icons/General/IconChoice.js +0 -2
  976. package/lib/icons/General/IconClose.js +0 -2
  977. package/lib/icons/General/IconCloseAlt.js +0 -2
  978. package/lib/icons/General/IconComment.js +0 -2
  979. package/lib/icons/General/IconCommunication.js +0 -2
  980. package/lib/icons/General/IconCommunicationFilled.js +0 -2
  981. package/lib/icons/General/IconCompanyBuilding.js +0 -2
  982. package/lib/icons/General/IconCompanyBuildingFilled.js +0 -2
  983. package/lib/icons/General/IconCompanyBuildingOutline.js +0 -2
  984. package/lib/icons/General/IconDashboard.js +0 -2
  985. package/lib/icons/General/IconDashboardFilled.js +0 -2
  986. package/lib/icons/General/IconDelete.js +0 -2
  987. package/lib/icons/General/IconDocument.js +0 -2
  988. package/lib/icons/General/IconDocumentFilled.js +0 -2
  989. package/lib/icons/General/IconDoor.js +0 -2
  990. package/lib/icons/General/IconDotFilled.js +0 -2
  991. package/lib/icons/General/IconDotOutline.js +0 -2
  992. package/lib/icons/General/IconDownload.js +0 -2
  993. package/lib/icons/General/IconDraft.js +0 -2
  994. package/lib/icons/General/IconEarth.js +0 -2
  995. package/lib/icons/General/IconEconomy.js +0 -2
  996. package/lib/icons/General/IconEconomyFilled.js +0 -2
  997. package/lib/icons/General/IconEdit.js +0 -2
  998. package/lib/icons/General/IconElevator.js +0 -2
  999. package/lib/icons/General/IconErrorFilled.js +0 -2
  1000. package/lib/icons/General/IconErrorOutline.js +0 -2
  1001. package/lib/icons/General/IconExternalLink.js +0 -2
  1002. package/lib/icons/General/IconEye.js +0 -2
  1003. package/lib/icons/General/IconEyeDeny.js +0 -2
  1004. package/lib/icons/General/IconFamily.js +0 -2
  1005. package/lib/icons/General/IconFerry.js +0 -2
  1006. package/lib/icons/General/IconFile.js +0 -2
  1007. package/lib/icons/General/IconFileAdd.js +0 -2
  1008. package/lib/icons/General/IconFileCopy.js +0 -2
  1009. package/lib/icons/General/IconFileEdit.js +0 -2
  1010. package/lib/icons/General/IconFileExcel.js +0 -2
  1011. package/lib/icons/General/IconFilePDF.js +0 -2
  1012. package/lib/icons/General/IconFileWord.js +0 -2
  1013. package/lib/icons/General/IconFillOut.js +0 -2
  1014. package/lib/icons/General/IconFilterList.js +0 -2
  1015. package/lib/icons/General/IconFloor.js +0 -2
  1016. package/lib/icons/General/IconForward.js +0 -2
  1017. package/lib/icons/General/IconFullscreenClose.js +0 -2
  1018. package/lib/icons/General/IconFullscreenOpen.js +0 -2
  1019. package/lib/icons/General/IconGarage.js +0 -2
  1020. package/lib/icons/General/IconGrid.js +0 -2
  1021. package/lib/icons/General/IconGym.js +0 -2
  1022. package/lib/icons/General/IconHearth.js +0 -2
  1023. package/lib/icons/General/IconHearthOutline.js +0 -2
  1024. package/lib/icons/General/IconHelp.js +0 -2
  1025. package/lib/icons/General/IconHistory.js +0 -2
  1026. package/lib/icons/General/IconHomeFilled.js +0 -2
  1027. package/lib/icons/General/IconHomeOutline.js +0 -2
  1028. package/lib/icons/General/IconHouse.js +0 -2
  1029. package/lib/icons/General/IconHouseBlockFilled.js +0 -2
  1030. package/lib/icons/General/IconHouseBlockOutline.js +0 -2
  1031. package/lib/icons/General/IconHouseOutline.js +0 -2
  1032. package/lib/icons/General/IconHumans.js +0 -2
  1033. package/lib/icons/General/IconImage.js +0 -2
  1034. package/lib/icons/General/IconImportantComment.js +0 -2
  1035. package/lib/icons/General/IconInbox.js +0 -2
  1036. package/lib/icons/General/IconInfoFilled.js +0 -2
  1037. package/lib/icons/General/IconInfoOutline.js +0 -2
  1038. package/lib/icons/General/IconJanitorFilled.js +0 -2
  1039. package/lib/icons/General/IconJanitorOutline.js +0 -2
  1040. package/lib/icons/General/IconJointcost.js +0 -2
  1041. package/lib/icons/General/IconJointcost2.js +0 -2
  1042. package/lib/icons/General/IconKey.js +0 -2
  1043. package/lib/icons/General/IconKitchen.js +0 -2
  1044. package/lib/icons/General/IconLabel.js +0 -2
  1045. package/lib/icons/General/IconLeafFilled.js +0 -2
  1046. package/lib/icons/General/IconLeafOutline.js +0 -2
  1047. package/lib/icons/General/IconLeisureTime.js +0 -2
  1048. package/lib/icons/General/IconLock.js +0 -2
  1049. package/lib/icons/General/IconLockLocked.js +0 -2
  1050. package/lib/icons/General/IconLockOpen.js +0 -2
  1051. package/lib/icons/General/IconLookup.js +0 -2
  1052. package/lib/icons/General/IconLookupFilled.js +0 -2
  1053. package/lib/icons/General/IconMail.js +0 -2
  1054. package/lib/icons/General/IconMap.js +0 -2
  1055. package/lib/icons/General/IconMembership.js +0 -2
  1056. package/lib/icons/General/IconMembershipFilled.js +0 -2
  1057. package/lib/icons/General/IconMenu.js +0 -2
  1058. package/lib/icons/General/IconMinus.js +0 -2
  1059. package/lib/icons/General/IconMinusAlt.js +0 -2
  1060. package/lib/icons/General/IconMinusAltFilled.js +0 -2
  1061. package/lib/icons/General/IconMoney.js +0 -2
  1062. package/lib/icons/General/IconParking.js +0 -2
  1063. package/lib/icons/General/IconPaymentCard.js +0 -2
  1064. package/lib/icons/General/IconPhone.js +0 -2
  1065. package/lib/icons/General/IconPinned.js +0 -2
  1066. package/lib/icons/General/IconPlus.js +0 -2
  1067. package/lib/icons/General/IconPlusAlt.js +0 -2
  1068. package/lib/icons/General/IconPortalUser.js +0 -2
  1069. package/lib/icons/General/IconPrint.js +0 -2
  1070. package/lib/icons/General/IconProfile.js +0 -2
  1071. package/lib/icons/General/IconProfileFilled.js +0 -2
  1072. package/lib/icons/General/IconRearrange.js +0 -2
  1073. package/lib/icons/General/IconReciept.js +0 -2
  1074. package/lib/icons/General/IconRedo.js +0 -2
  1075. package/lib/icons/General/IconRefresh.js +0 -2
  1076. package/lib/icons/General/IconReply.js +0 -2
  1077. package/lib/icons/General/IconReplyAll.js +0 -2
  1078. package/lib/icons/General/IconRoom.js +0 -2
  1079. package/lib/icons/General/IconSave.js +0 -2
  1080. package/lib/icons/General/IconSearch.js +0 -2
  1081. package/lib/icons/General/IconSend.js +0 -2
  1082. package/lib/icons/General/IconSettings.js +0 -2
  1083. package/lib/icons/General/IconShopping.js +0 -2
  1084. package/lib/icons/General/IconSign.js +0 -2
  1085. package/lib/icons/General/IconSliders.js +0 -2
  1086. package/lib/icons/General/IconSort.js +0 -2
  1087. package/lib/icons/General/IconStarFilled.js +0 -2
  1088. package/lib/icons/General/IconStarHalf.js +0 -2
  1089. package/lib/icons/General/IconStarOutline.js +0 -2
  1090. package/lib/icons/General/IconStore.js +0 -2
  1091. package/lib/icons/General/IconSubway.js +0 -2
  1092. package/lib/icons/General/IconSwitch.js +0 -2
  1093. package/lib/icons/General/IconTrain.js +0 -2
  1094. package/lib/icons/General/IconTram.js +0 -2
  1095. package/lib/icons/General/IconTransport.js +0 -2
  1096. package/lib/icons/General/IconTypeOfBuilding.js +0 -2
  1097. package/lib/icons/General/IconTypeOfBuildingOutline.js +0 -2
  1098. package/lib/icons/General/IconUndo.js +0 -2
  1099. package/lib/icons/General/IconUpload.js +0 -2
  1100. package/lib/icons/General/IconUser.js +0 -2
  1101. package/lib/icons/General/IconUserThin.js +0 -2
  1102. package/lib/icons/General/IconVote.js +0 -2
  1103. package/lib/icons/General/IconWalk.js +0 -2
  1104. package/lib/icons/General/IconWarning.js +0 -2
  1105. package/lib/icons/General/IconWarningBell.js +0 -2
  1106. package/lib/icons/General/IconWork.js +0 -2
  1107. package/lib/icons/General/IconWorkFilled.js +0 -2
  1108. package/lib/icons/General/IconZip.js +0 -2
  1109. package/lib/icons/Icon.stories.d.ts +60 -0
  1110. package/lib/icons/Icon.stories.d.ts.map +1 -0
  1111. package/lib/icons/Icon.stories.js +629 -0
  1112. package/lib/icons/Logos/IconAmericanExpress.js +0 -2
  1113. package/lib/icons/Logos/IconBankAxept.js +0 -2
  1114. package/lib/icons/Logos/IconGmail.js +0 -2
  1115. package/lib/icons/Logos/IconMasterCard.js +0 -2
  1116. package/lib/icons/Logos/IconOffice365.js +0 -2
  1117. package/lib/icons/Logos/IconVisa.js +0 -2
  1118. package/lib/icons/withIcon.js +2 -3
  1119. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +0 -2
  1120. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +0 -2
  1121. package/lib/illustrations/General/IllustrationError.js +0 -2
  1122. package/lib/illustrations/General/IllustrationErrorGeneric.js +0 -2
  1123. package/lib/illustrations/General/IllustrationHighHouse.js +0 -2
  1124. package/lib/illustrations/General/IllustrationHighHouseComposition.js +0 -2
  1125. package/lib/illustrations/General/IllustrationHouse.js +0 -2
  1126. package/lib/illustrations/General/IllustrationHouseComposition.js +0 -2
  1127. package/lib/illustrations/General/IllustrationHouseMissing.js +0 -2
  1128. package/lib/illustrations/General/IllustrationLowHouse.js +0 -2
  1129. package/lib/illustrations/General/IllustrationLowHouseComposition.js +0 -2
  1130. package/lib/illustrations/General/IllustrationPaperCompleted.js +0 -2
  1131. package/lib/illustrations/General/IllustrationPaperMissing.js +0 -2
  1132. package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +0 -2
  1133. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +0 -2
  1134. package/lib/illustrations/General/IllustrationSmallHouse.js +0 -2
  1135. package/lib/illustrations/General/IllustrationSmallHouseComposition.js +0 -2
  1136. package/lib/illustrations/General/IllustrationTerraceBlock.js +0 -2
  1137. package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +0 -2
  1138. package/lib/illustrations/General/IllustrationTownHouse.js +0 -2
  1139. package/lib/illustrations/General/IllustrationTownHouseComposition.js +0 -2
  1140. package/lib/illustrations/Illustration.stories.d.ts +27 -0
  1141. package/lib/illustrations/Illustration.stories.d.ts.map +1 -0
  1142. package/lib/illustrations/Illustration.stories.js +173 -0
  1143. package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +0 -2
  1144. package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +0 -2
  1145. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +0 -2
  1146. package/lib/illustrations/MySite/IllustrationMySiteComputer.js +0 -2
  1147. package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +0 -2
  1148. package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +0 -2
  1149. package/lib/illustrations/MySite/IllustrationMySiteGift.js +0 -2
  1150. package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +0 -2
  1151. package/lib/illustrations/MySite/IllustrationMySitePapers.js +0 -2
  1152. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +0 -2
  1153. package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +0 -2
  1154. package/lib/illustrations/styles.d.ts +2 -2
  1155. package/lib/illustrations/styles.js +0 -1
  1156. package/lib/illustrations/withIllustration.js +2 -4
  1157. package/lib/index.d.ts +3 -1
  1158. package/lib/index.d.ts.map +1 -1
  1159. package/lib/index.js +3 -1
  1160. package/lib/layout/Footer/Footer.stories.d.ts +11 -0
  1161. package/lib/layout/Footer/Footer.stories.d.ts.map +1 -0
  1162. package/lib/layout/Footer/Footer.stories.js +62 -0
  1163. package/lib/layout/Footer/FooterButton/index.js +2 -3
  1164. package/lib/layout/Footer/FooterButton/styles.js +0 -2
  1165. package/lib/layout/Footer/FooterCol/index.js +0 -2
  1166. package/lib/layout/Footer/FooterCol/styles.js +1 -3
  1167. package/lib/layout/Footer/FooterGroup/index.js +0 -2
  1168. package/lib/layout/Footer/FooterGroup/styles.js +1 -3
  1169. package/lib/layout/Footer/FooterLabel/index.js +0 -2
  1170. package/lib/layout/Footer/FooterLabel/styles.js +1 -3
  1171. package/lib/layout/Footer/FooterLink/index.js +2 -3
  1172. package/lib/layout/Footer/FooterLink/styles.js +0 -2
  1173. package/lib/layout/Footer/index.js +0 -2
  1174. package/lib/layout/Footer/styles.d.ts +1 -1
  1175. package/lib/layout/Footer/styles.js +1 -1
  1176. package/lib/layout/Layout/Layout.stories.d.ts +7 -0
  1177. package/lib/layout/Layout/Layout.stories.d.ts.map +1 -0
  1178. package/lib/layout/Layout/Layout.stories.js +14 -0
  1179. package/lib/layout/Layout/index.js +0 -2
  1180. package/lib/layout/Layout/styles.js +1 -1
  1181. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +15 -0
  1182. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -0
  1183. package/lib/layout/LayoutShell/LayoutShell.stories.js +116 -0
  1184. package/lib/layout/LayoutShell/index.js +0 -2
  1185. package/lib/layout/LayoutShell/styles.d.ts +1 -1
  1186. package/lib/layout/LayoutShell/styles.js +5 -7
  1187. package/lib/layout/Menu/AppPicker/index.js +3 -3
  1188. package/lib/layout/Menu/AppPicker/styles.js +2 -11
  1189. package/lib/layout/Menu/MainMenu/index.js +0 -2
  1190. package/lib/layout/Menu/MainMenu/styles.js +1 -1
  1191. package/lib/layout/Menu/MenuItem/index.js +0 -2
  1192. package/lib/layout/Menu/MenuItem/styles.js +2 -2
  1193. package/lib/layout/Menu/MenuSpacer/index.js +0 -2
  1194. package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
  1195. package/lib/layout/Menu/MenuTop/index.js +0 -2
  1196. package/lib/layout/Menu/MenuTop/styles.js +2 -4
  1197. package/lib/layout/Menu/SecondaryMenu/index.js +0 -2
  1198. package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
  1199. package/lib/layout/Menu/SecondaryMenuItem/index.js +0 -2
  1200. package/lib/layout/Menu/Sidemenu.stories.d.ts +19 -0
  1201. package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -0
  1202. package/lib/layout/Menu/Sidemenu.stories.js +323 -0
  1203. package/lib/layout/Menu/index.js +0 -2
  1204. package/lib/layout/Menu/styles.js +1 -1
  1205. package/lib/layout/Submenu/Submenu.stories.d.ts +27 -0
  1206. package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -0
  1207. package/lib/layout/Submenu/Submenu.stories.js +94 -0
  1208. package/lib/layout/Submenu/SubmenuItem/index.js +0 -7
  1209. package/lib/layout/Submenu/SubmenuItem/styles.d.ts +2 -2
  1210. package/lib/layout/Submenu/SubmenuItem/styles.js +1 -6
  1211. package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
  1212. package/lib/layout/Submenu/index.js +0 -11
  1213. package/lib/layout/Submenu/styles.d.ts +4 -4
  1214. package/lib/layout/Submenu/styles.js +6 -8
  1215. package/lib/layout/Topbar/Topbar.stories.d.ts +11 -0
  1216. package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -0
  1217. package/lib/layout/Topbar/Topbar.stories.js +23 -0
  1218. package/lib/layout/Topbar/index.js +0 -2
  1219. package/lib/layout/Topbar/styles.js +1 -1
  1220. package/lib/shared/components/SbIconGrid/index.d.ts +7 -0
  1221. package/lib/shared/components/SbIconGrid/index.d.ts.map +1 -0
  1222. package/lib/shared/components/SbIconGrid/index.js +27 -0
  1223. package/lib/shared/recharts/CustomLegend/styles.js +2 -4
  1224. package/lib/shared/recharts/CustomTooltip/index.js +0 -11
  1225. package/lib/shared/recharts/CustomTooltip/styles.js +3 -5
  1226. package/lib/shared/types/LoadedType.d.ts +7 -0
  1227. package/lib/shared/types/LoadedType.d.ts.map +1 -0
  1228. package/lib/shared/types/LoadedType.js +1 -0
  1229. package/lib/utils/accountNumber.js +1 -7
  1230. package/lib/utils/alpha.js +0 -1
  1231. package/lib/utils/array.js +1 -3
  1232. package/lib/utils/dates.js +0 -10
  1233. package/lib/utils/file.js +1 -0
  1234. package/lib/utils/format.js +3 -21
  1235. package/lib/utils/formatGraphPrice.js +0 -15
  1236. package/lib/utils/image.js +0 -3
  1237. package/lib/utils/pagination.js +0 -5
  1238. package/lib/utils/phone.js +8 -13
  1239. package/lib/utils/time.js +4 -14
  1240. package/lib/utils/url.js +0 -2
  1241. package/lib/utils/useSnorreTheme.d.ts +11 -0
  1242. package/lib/utils/useSnorreTheme.d.ts.map +1 -0
  1243. package/lib/utils/useSnorreTheme.js +31 -0
  1244. package/package.json +2 -1
  1245. package/esm/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
  1246. package/esm/core/Datepicker/yearMonthForm.js +0 -56
  1247. package/esm/core/EditorOld/config.js +0 -69
  1248. package/esm/core/EditorOld/index.js +0 -147
  1249. package/esm/core/EditorOld/styles.js +0 -65
  1250. package/esm/core/ImageCarousel/styles.js +0 -58
  1251. package/esm/enums/ModifierKey.js +0 -13
  1252. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +0 -7
  1253. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts.map +0 -1
  1254. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
  1255. package/lib/core/Datepicker/yearMonthForm.d.ts +0 -10
  1256. package/lib/core/Datepicker/yearMonthForm.d.ts.map +0 -1
  1257. package/lib/core/Datepicker/yearMonthForm.js +0 -56
  1258. package/lib/core/EditorOld/config.d.ts +0 -56
  1259. package/lib/core/EditorOld/config.d.ts.map +0 -1
  1260. package/lib/core/EditorOld/config.js +0 -69
  1261. package/lib/core/EditorOld/index.d.ts +0 -39
  1262. package/lib/core/EditorOld/index.d.ts.map +0 -1
  1263. package/lib/core/EditorOld/index.js +0 -147
  1264. package/lib/core/EditorOld/styles.d.ts +0 -23
  1265. package/lib/core/EditorOld/styles.d.ts.map +0 -1
  1266. package/lib/core/EditorOld/styles.js +0 -65
  1267. package/lib/core/ImageCarousel/index.d.ts +0 -11
  1268. package/lib/core/ImageCarousel/index.d.ts.map +0 -1
  1269. package/lib/core/ImageCarousel/styles.d.ts.map +0 -1
  1270. package/lib/core/ImageCarousel/styles.js +0 -58
  1271. package/lib/enums/ModifierKey.d.ts +0 -12
  1272. package/lib/enums/ModifierKey.d.ts.map +0 -1
  1273. package/lib/enums/ModifierKey.js +0 -13
@@ -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
- export const NoticeMetaWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
3
+ export const NoticeMetaWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
6
4
  target: "evjeu6p2"
7
5
  } : {
8
6
  target: "evjeu6p2",
@@ -16,7 +14,7 @@ export const NoticeMetaWrapper = _styled("div", process.env.NODE_ENV === "produc
16
14
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvcHJpdmF0ZUNvbXBvbmVudHMvTm90aWNlTWV0YUluZm8vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUUyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpY2VDYXJkL3ByaXZhdGVDb21wb25lbnRzL05vdGljZU1ldGFJbmZvL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgTm90aWNlTWV0YVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuYFxuXG5leHBvcnQgY29uc3QgR3JvdXAgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IDIycHggMWZyO1xuICBncmlkLWNvbHVtbi1nYXA6IDAuNWVtO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBtYXJnaW4tcmlnaHQ6IDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IERpdiA9IHN0eWxlZC5kaXZgYFxuIl19 */",
17
15
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
18
16
  });
19
- export const Group = _styled("div", process.env.NODE_ENV === "production" ? {
17
+ export const Group = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
20
18
  target: "evjeu6p1"
21
19
  } : {
22
20
  target: "evjeu6p1",
@@ -30,7 +28,7 @@ export const Group = _styled("div", process.env.NODE_ENV === "production" ? {
30
28
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvcHJpdmF0ZUNvbXBvbmVudHMvTm90aWNlTWV0YUluZm8vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU0rQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpY2VDYXJkL3ByaXZhdGVDb21wb25lbnRzL05vdGljZU1ldGFJbmZvL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgTm90aWNlTWV0YVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuYFxuXG5leHBvcnQgY29uc3QgR3JvdXAgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IDIycHggMWZyO1xuICBncmlkLWNvbHVtbi1nYXA6IDAuNWVtO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBtYXJnaW4tcmlnaHQ6IDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IERpdiA9IHN0eWxlZC5kaXZgYFxuIl19 */",
31
29
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
30
  });
33
- export const Div = _styled("div", process.env.NODE_ENV === "production" ? {
31
+ export const Div = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
34
32
  target: "evjeu6p0"
35
33
  } : {
36
34
  target: "evjeu6p0",
@@ -1,22 +1,20 @@
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
- export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
5
+ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
8
6
  target: "eq76ntf3"
9
7
  } : {
10
8
  target: "eq76ntf3",
11
9
  label: "Wrapper"
12
10
  })(props => /*#__PURE__*/css("display:grid;grid-template-columns:", props.hasImage ? '200px 1fr' : '1fr', ";grid-column-gap:2em;grid-row-gap:1em;align-items:start;@media screen and (max-width: ", bp.medium, "){grid-template-columns:1fr;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpY2VDYXJkL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgYnAgZnJvbSAnLi4vLi4vZ2xvYmFscy9zdHlsZXMvYnJlYWtwb2ludHMnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiB7IGhhc0ltYWdlOiBib29sZWFuIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBncmlkO1xuICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogJHtwcm9wcy5oYXNJbWFnZSA/ICcyMDBweCAxZnInIDogJzFmcid9O1xuICAgIGdyaWQtY29sdW1uLWdhcDogMmVtO1xuICAgIGdyaWQtcm93LWdhcDogMWVtO1xuICAgIGFsaWduLWl0ZW1zOiBzdGFydDtcblxuICAgIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiAxZnI7XG4gICAgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBJbWFnZVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBvdmVyZmxvdzogaGlkZGVuO1xuICBtYXgtd2lkdGg6IDEwMCU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBiYXNlbGluZTtcblxuICBpbWcge1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIG1heC1oZWlnaHQ6IDEwMCU7XG4gICAgYm9yZGVyLXJhZGl1czogMTZweDtcblxuICAgIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgICAgbWF4LWhlaWdodDogMTc1cHg7XG4gICAgICB3aWR0aDogdW5zZXQ7XG4gICAgICBtYXgtd2lkdGg6IDEwMCU7XG4gICAgICBtaW4td2lkdGg6IDE1MHB4O1xuICAgIH1cbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgQ29udGVudFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IDFmcjtcbiAgZ3JpZC1yb3ctZ2FwOiAxLjVlbTtcbmBcblxuZXhwb3J0IGNvbnN0IERpdiA9IHN0eWxlZC5kaXZgXG4gIHAge1xuICAgIG1hcmdpbjogMDtcbiAgfVxuXG4gIGgxLFxuICBoMixcbiAgaDMsXG4gIGg0LFxuICBoNSB7XG4gICAgbWFyZ2luLXRvcDogMDtcbiAgICBtYXJnaW4tYm90dG9tOiAwO1xuICB9XG5cbiAgYnV0dG9uIHtcbiAgICBhbGlnbi1zZWxmOiBzdGFydDtcbiAgfVxuXG4gICYgPiBzcGFuIHtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgbWFyZ2luLWJvdHRvbTogMWVtO1xuICB9XG5gXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpY2VDYXJkL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgYnAgZnJvbSAnLi4vLi4vZ2xvYmFscy9zdHlsZXMvYnJlYWtwb2ludHMnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiB7IGhhc0ltYWdlOiBib29sZWFuIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBncmlkO1xuICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogJHtwcm9wcy5oYXNJbWFnZSA/ICcyMDBweCAxZnInIDogJzFmcid9O1xuICAgIGdyaWQtY29sdW1uLWdhcDogMmVtO1xuICAgIGdyaWQtcm93LWdhcDogMWVtO1xuICAgIGFsaWduLWl0ZW1zOiBzdGFydDtcblxuICAgIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiAxZnI7XG4gICAgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBJbWFnZVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBvdmVyZmxvdzogaGlkZGVuO1xuICBtYXgtd2lkdGg6IDEwMCU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBiYXNlbGluZTtcblxuICBpbWcge1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIG1heC1oZWlnaHQ6IDEwMCU7XG4gICAgYm9yZGVyLXJhZGl1czogMTZweDtcblxuICAgIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgICAgbWF4LWhlaWdodDogMTc1cHg7XG4gICAgICB3aWR0aDogdW5zZXQ7XG4gICAgICBtYXgtd2lkdGg6IDEwMCU7XG4gICAgICBtaW4td2lkdGg6IDE1MHB4O1xuICAgIH1cbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgQ29udGVudFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IDFmcjtcbiAgZ3JpZC1yb3ctZ2FwOiAxLjVlbTtcbmBcblxuZXhwb3J0IGNvbnN0IERpdiA9IHN0eWxlZC5kaXZgXG4gIHAge1xuICAgIG1hcmdpbjogMDtcbiAgfVxuXG4gIGgxLFxuICBoMixcbiAgaDMsXG4gIGg0LFxuICBoNSB7XG4gICAgbWFyZ2luLXRvcDogMDtcbiAgICBtYXJnaW4tYm90dG9tOiAwO1xuICB9XG5cbiAgYnV0dG9uIHtcbiAgICBhbGlnbi1zZWxmOiBzdGFydDtcbiAgfVxuXG4gICYgPiBzcGFuIHtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgbWFyZ2luLWJvdHRvbTogMWVtO1xuICB9XG5gXG4iXX0= */");
13
- export const ImageWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
11
+ export const ImageWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
14
12
  target: "eq76ntf2"
15
13
  } : {
16
14
  target: "eq76ntf2",
17
15
  label: "ImageWrapper"
18
- })("overflow:hidden;max-width:100%;display:flex;align-items:baseline;img{width:100%;max-height:100%;border-radius:16px;@media screen and (max-width: ", bp.medium, "){img{}max-height:175px;width:unset;max-width:100%;min-width:150px;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCc0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWNlQ2FyZC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBoYXNJbWFnZTogYm9vbGVhbiB9KSA9PiBjc3NgXG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6ICR7cHJvcHMuaGFzSW1hZ2UgPyAnMjAwcHggMWZyJyA6ICcxZnInfTtcbiAgICBncmlkLWNvbHVtbi1nYXA6IDJlbTtcbiAgICBncmlkLXJvdy1nYXA6IDFlbTtcbiAgICBhbGlnbi1pdGVtczogc3RhcnQ7XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogMWZyO1xuICAgIH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgbWF4LXdpZHRoOiAxMDAlO1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogYmFzZWxpbmU7XG5cbiAgaW1nIHtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICAgIG1heC1oZWlnaHQ6IDE3NXB4O1xuICAgICAgd2lkdGg6IHVuc2V0O1xuICAgICAgbWF4LXdpZHRoOiAxMDAlO1xuICAgICAgbWluLXdpZHRoOiAxNTBweDtcbiAgICB9XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IENvbnRlbnRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiAxZnI7XG4gIGdyaWQtcm93LWdhcDogMS41ZW07XG5gXG5cbmV4cG9ydCBjb25zdCBEaXYgPSBzdHlsZWQuZGl2YFxuICBwIHtcbiAgICBtYXJnaW46IDA7XG4gIH1cblxuICBoMSxcbiAgaDIsXG4gIGgzLFxuICBoNCxcbiAgaDUge1xuICAgIG1hcmdpbi10b3A6IDA7XG4gICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgfVxuXG4gIGJ1dHRvbiB7XG4gICAgYWxpZ24tc2VsZjogc3RhcnQ7XG4gIH1cblxuICAmID4gc3BhbiB7XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIG1hcmdpbi1ib3R0b206IDFlbTtcbiAgfVxuYFxuIl19 */"));
19
- export const ContentWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
16
+ })("overflow:hidden;max-width:100%;display:flex;align-items:baseline;img{width:100%;max-height:100%;border-radius:16px;@media screen and (max-width: ", bp.medium, "){max-height:175px;width:unset;max-width:100%;min-width:150px;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCc0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWNlQ2FyZC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBoYXNJbWFnZTogYm9vbGVhbiB9KSA9PiBjc3NgXG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6ICR7cHJvcHMuaGFzSW1hZ2UgPyAnMjAwcHggMWZyJyA6ICcxZnInfTtcbiAgICBncmlkLWNvbHVtbi1nYXA6IDJlbTtcbiAgICBncmlkLXJvdy1nYXA6IDFlbTtcbiAgICBhbGlnbi1pdGVtczogc3RhcnQ7XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogMWZyO1xuICAgIH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgbWF4LXdpZHRoOiAxMDAlO1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogYmFzZWxpbmU7XG5cbiAgaW1nIHtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICAgIG1heC1oZWlnaHQ6IDE3NXB4O1xuICAgICAgd2lkdGg6IHVuc2V0O1xuICAgICAgbWF4LXdpZHRoOiAxMDAlO1xuICAgICAgbWluLXdpZHRoOiAxNTBweDtcbiAgICB9XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IENvbnRlbnRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiAxZnI7XG4gIGdyaWQtcm93LWdhcDogMS41ZW07XG5gXG5cbmV4cG9ydCBjb25zdCBEaXYgPSBzdHlsZWQuZGl2YFxuICBwIHtcbiAgICBtYXJnaW46IDA7XG4gIH1cblxuICBoMSxcbiAgaDIsXG4gIGgzLFxuICBoNCxcbiAgaDUge1xuICAgIG1hcmdpbi10b3A6IDA7XG4gICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgfVxuXG4gIGJ1dHRvbiB7XG4gICAgYWxpZ24tc2VsZjogc3RhcnQ7XG4gIH1cblxuICAmID4gc3BhbiB7XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIG1hcmdpbi1ib3R0b206IDFlbTtcbiAgfVxuYFxuIl19 */"));
17
+ export const ContentWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
20
18
  target: "eq76ntf1"
21
19
  } : {
22
20
  target: "eq76ntf1",
@@ -30,7 +28,7 @@ export const ContentWrapper = _styled("div", process.env.NODE_ENV === "productio
30
28
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGljZUNhcmQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNDd0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWNlQ2FyZC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBoYXNJbWFnZTogYm9vbGVhbiB9KSA9PiBjc3NgXG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6ICR7cHJvcHMuaGFzSW1hZ2UgPyAnMjAwcHggMWZyJyA6ICcxZnInfTtcbiAgICBncmlkLWNvbHVtbi1nYXA6IDJlbTtcbiAgICBncmlkLXJvdy1nYXA6IDFlbTtcbiAgICBhbGlnbi1pdGVtczogc3RhcnQ7XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogMWZyO1xuICAgIH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgbWF4LXdpZHRoOiAxMDAlO1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogYmFzZWxpbmU7XG5cbiAgaW1nIHtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICAgIG1heC1oZWlnaHQ6IDE3NXB4O1xuICAgICAgd2lkdGg6IHVuc2V0O1xuICAgICAgbWF4LXdpZHRoOiAxMDAlO1xuICAgICAgbWluLXdpZHRoOiAxNTBweDtcbiAgICB9XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IENvbnRlbnRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiAxZnI7XG4gIGdyaWQtcm93LWdhcDogMS41ZW07XG5gXG5cbmV4cG9ydCBjb25zdCBEaXYgPSBzdHlsZWQuZGl2YFxuICBwIHtcbiAgICBtYXJnaW46IDA7XG4gIH1cblxuICBoMSxcbiAgaDIsXG4gIGgzLFxuICBoNCxcbiAgaDUge1xuICAgIG1hcmdpbi10b3A6IDA7XG4gICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgfVxuXG4gIGJ1dHRvbiB7XG4gICAgYWxpZ24tc2VsZjogc3RhcnQ7XG4gIH1cblxuICAmID4gc3BhbiB7XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIG1hcmdpbi1ib3R0b206IDFlbTtcbiAgfVxuYFxuIl19 */",
31
29
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
30
  });
33
- export const Div = _styled("div", process.env.NODE_ENV === "production" ? {
31
+ export const Div = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
34
32
  target: "eq76ntf0"
35
33
  } : {
36
34
  target: "eq76ntf0",
@@ -10,17 +10,14 @@ export const getFileIcon = type => {
10
10
  return /*#__PURE__*/_jsx(IconCalendar, {
11
11
  primary: true
12
12
  });
13
-
14
13
  case 'application/pdf':
15
14
  return /*#__PURE__*/_jsx(IconFilePDF, {
16
15
  primary: true
17
16
  });
18
-
19
17
  case 'application/docx':
20
18
  return /*#__PURE__*/_jsx(IconFileWord, {
21
19
  primary: true
22
20
  });
23
-
24
21
  case 'default':
25
22
  default:
26
23
  return /*#__PURE__*/_jsx(IconFile, {
@@ -0,0 +1,19 @@
1
+ import NotificationCounter from '.';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export default {
4
+ title: 'Core/NotificationCounter',
5
+ component: NotificationCounter
6
+ };
7
+ export const Default = {
8
+ render: () => /*#__PURE__*/_jsx(NotificationCounter, {
9
+ amount: 80
10
+ }),
11
+ name: 'Default'
12
+ };
13
+ export const Persist = {
14
+ render: () => /*#__PURE__*/_jsx(NotificationCounter, {
15
+ amount: 0,
16
+ persist: true
17
+ }),
18
+ name: 'Persist'
19
+ };
@@ -1,7 +1,7 @@
1
1
  /** @jsxImportSource @emotion/react */
2
+
2
3
  import { styles } from './styles';
3
4
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
4
-
5
5
  const NotificationCounter = ({
6
6
  amount,
7
7
  persist,
@@ -14,5 +14,4 @@ const NotificationCounter = ({
14
14
  children: amount && amount > 999 ? '999+' : amount || 0
15
15
  }) : null;
16
16
  };
17
-
18
17
  export default NotificationCounter;
@@ -1,18 +1,14 @@
1
1
  import { css } from '@emotion/react';
2
-
3
2
  const getFontSize = digits => {
4
3
  switch (digits) {
5
4
  case 3:
6
5
  return '12px';
7
-
8
6
  case 4:
9
7
  return '10px';
10
-
11
8
  default:
12
9
  return '14px';
13
10
  }
14
11
  };
15
-
16
12
  export const styles = {
17
13
  default: (theme, amountDigits) => /*#__PURE__*/css("display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:", theme.primary5darker, ";overflow:hidden;color:white;font-size:", getFontSize(amountDigits), ";line-height:23px;width:23px;height:23px;" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbkNvdW50ZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWUyRCIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25Db3VudGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBnZXRGb250U2l6ZSA9IChkaWdpdHM/OiBudW1iZXIpID0+IHtcbiAgc3dpdGNoIChkaWdpdHMpIHtcbiAgICBjYXNlIDM6XG4gICAgICByZXR1cm4gJzEycHgnXG4gICAgY2FzZSA0OlxuICAgICAgcmV0dXJuICcxMHB4J1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gJzE0cHgnXG4gIH1cbn1cblxuZXhwb3J0IGNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUsIGFtb3VudERpZ2l0cz86IG51bWJlcikgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5wcmltYXJ5NWRhcmtlcn07XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBjb2xvcjogd2hpdGU7XG4gICAgZm9udC1zaXplOiAke2dldEZvbnRTaXplKGFtb3VudERpZ2l0cyl9O1xuICAgIGxpbmUtaGVpZ2h0OiAyM3B4O1xuICAgIHdpZHRoOiAyM3B4O1xuICAgIGhlaWdodDogMjNweDtcbiAgYCxcbn1cbiJdfQ== */")
18
14
  };
@@ -4,7 +4,6 @@ import IconBellOutline from '../../../icons/General/IconBellOutline';
4
4
  import { UnreadMark, Wrapper } from './styles';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
-
8
7
  const NotificationBell = ({
9
8
  unread
10
9
  }) => {
@@ -17,5 +16,4 @@ const NotificationBell = ({
17
16
  })]
18
17
  });
19
18
  };
20
-
21
19
  export default NotificationBell;
@@ -1,11 +1,11 @@
1
1
  import _styled from "@emotion/styled/base";
2
- export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
2
+ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
3
3
  target: "e1vzi48j1"
4
4
  } : {
5
5
  target: "e1vzi48j1",
6
6
  label: "Wrapper"
7
7
  })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvbkJlbGwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVpQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25CZWxsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgYFxuXG5leHBvcnQgY29uc3QgVW5yZWFkTWFyayA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBgXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAtMnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAke3Byb3BzLmNvbG9yfTtcbiAgaGVpZ2h0OiAxMHB4O1xuICB3aWR0aDogMTBweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbilcbiJdfQ== */");
8
- export const UnreadMark = _styled("div", process.env.NODE_ENV === "production" ? {
8
+ export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
9
9
  target: "e1vzi48j0"
10
10
  } : {
11
11
  target: "e1vzi48j0",
@@ -4,7 +4,6 @@ import Text from '../../Text';
4
4
  import { Wrapper } from './styles';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
-
8
7
  const NotificationRow = ({
9
8
  title,
10
9
  description,
@@ -26,5 +25,4 @@ const NotificationRow = ({
26
25
  })]
27
26
  })
28
27
  });
29
-
30
28
  export default NotificationRow;
@@ -1,5 +1,5 @@
1
1
  import _styled from "@emotion/styled/base";
2
- export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
2
+ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
3
3
  target: "exqwsp80"
4
4
  } : {
5
5
  target: "exqwsp80",
@@ -0,0 +1,33 @@
1
+ import NotificationsMenu from '.';
2
+ import NotificationRow from './NotificationRow';
3
+ import IconAttachment from '../../icons/General/IconAttachment';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { jsxs as _jsxs } from "react/jsx-runtime";
6
+ export default {
7
+ title: 'Core/NotificationsMenu',
8
+ component: NotificationsMenu
9
+ };
10
+ export const Default = {
11
+ render: () => /*#__PURE__*/_jsxs(NotificationsMenu, {
12
+ unread: false,
13
+ onBellClick: () => console.log('hi'),
14
+ children: ["Her kan man legge hva man vil", /*#__PURE__*/_jsx(NotificationRow, {
15
+ title: "Dette er en test",
16
+ description: "beskrivelse kommer her",
17
+ icon: /*#__PURE__*/_jsx(IconAttachment, {
18
+ size: "14px",
19
+ primary: true
20
+ }),
21
+ onClick: () => console.log('hi')
22
+ })]
23
+ }),
24
+ name: 'Default'
25
+ };
26
+ export const UnreadNotification = {
27
+ render: () => /*#__PURE__*/_jsx(NotificationsMenu, {
28
+ unread: true,
29
+ onBellClick: () => console.log('bell click'),
30
+ children: "Her kan man legge hva man vil"
31
+ }),
32
+ name: 'Unread notification'
33
+ };
@@ -4,7 +4,6 @@ import NotificationBell from './NotificationBell';
4
4
  import Button from '../Button';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
-
8
7
  const NotificationsMenu = ({
9
8
  unread,
10
9
  triggerClose,
@@ -16,20 +15,16 @@ const NotificationsMenu = ({
16
15
  useEffect(() => {
17
16
  const handleClickOutside = e => {
18
17
  const node = ref.current;
19
-
20
18
  if (node && node.contains(e.target)) {
21
19
  return;
22
20
  }
23
-
24
21
  setOpen(false);
25
22
  };
26
-
27
23
  if (open) {
28
24
  document.addEventListener('mousedown', handleClickOutside);
29
25
  } else {
30
26
  document.removeEventListener('mousedown', handleClickOutside);
31
27
  }
32
-
33
28
  return () => {
34
29
  document.removeEventListener('mousedown', handleClickOutside);
35
30
  };
@@ -37,12 +32,10 @@ const NotificationsMenu = ({
37
32
  useEffect(() => {
38
33
  if (triggerClose) setOpen(false);
39
34
  }, [triggerClose]);
40
-
41
35
  const onClick = () => {
42
36
  setOpen(true);
43
37
  onBellClick();
44
38
  };
45
-
46
39
  return /*#__PURE__*/_jsxs(NotificationsWrapper, {
47
40
  children: [/*#__PURE__*/_jsx(Button, {
48
41
  nostyle: true,
@@ -58,5 +51,4 @@ const NotificationsMenu = ({
58
51
  })]
59
52
  });
60
53
  };
61
-
62
54
  export default NotificationsMenu;
@@ -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
- export const NotificationsWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
3
+ export const NotificationsWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
6
4
  target: "ebh5fga1"
7
5
  } : {
8
6
  target: "ebh5fga1",
@@ -16,7 +14,7 @@ export const NotificationsWrapper = _styled("div", process.env.NODE_ENV === "pro
16
14
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFOEMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWZpY2F0aW9uc01lbnUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBOb3RpZmljYXRpb25zV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuXG4gICYgPiBzdmcge1xuICAgIG1hcmdpbi1sZWZ0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc0NvbnRlbnQgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICByaWdodDogMDtcbiAgdG9wOiAzMHB4O1xuXG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIHdpZHRoOiAzMDBweDtcbiAgYm9yZGVyOiAxcHggc29saWQgI2NmZDllYTtcblxuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xuICBib3gtc2hhZG93OiAwIDEwcHggMTVweCAwIHJnYmEoMCwgMCwgMCwgMC4xKTtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgcGFkZGluZzogMC41ZW0gMWVtO1xuYFxuIl19 */",
17
15
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
18
16
  });
19
- export const NotificationsContent = _styled("div", process.env.NODE_ENV === "production" ? {
17
+ export const NotificationsContent = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
20
18
  target: "ebh5fga0"
21
19
  } : {
22
20
  target: "ebh5fga0",
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Sector } from 'recharts';
3
- /** Renders outer line on the pie chart */
4
3
 
4
+ /** Renders outer line on the pie chart */
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
-
8
7
  const ActiveShape = props => {
9
8
  const {
10
9
  cx,
@@ -35,5 +34,4 @@ const ActiveShape = props => {
35
34
  })]
36
35
  });
37
36
  };
38
-
39
37
  export default ActiveShape;
@@ -0,0 +1,81 @@
1
+ import PieChart from '.';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export default {
4
+ title: 'Core/PieChart',
5
+ component: PieChart
6
+ };
7
+ const constructDataWithTheme = theme => [{
8
+ title: 'Eiere',
9
+ value: 400,
10
+ color: theme.success
11
+ }, {
12
+ title: 'Leietakere',
13
+ value: 300,
14
+ color: theme.alert
15
+ }, {
16
+ title: 'Medboere',
17
+ value: 300,
18
+ color: theme.info
19
+ }, {
20
+ title: 'Fullmaktshavere',
21
+ value: 200,
22
+ color: theme.illustrationPrimary40
23
+ }, {
24
+ title: 'Ikke innlogget',
25
+ value: 200,
26
+ color: theme.bgMedium
27
+ }];
28
+ export const Default = {
29
+ render: (_args, {
30
+ loaded: {
31
+ theme
32
+ }
33
+ }) => /*#__PURE__*/_jsx(PieChart, {
34
+ height: "300px",
35
+ width: "300px",
36
+ defaultSubtitle: "beboere",
37
+ subtitlePrefix: "Totalt antall",
38
+ data: constructDataWithTheme(theme)
39
+ }),
40
+ name: 'Default'
41
+ };
42
+ export const WithoutPrefix = {
43
+ render: (_args, {
44
+ loaded: {
45
+ theme
46
+ }
47
+ }) => /*#__PURE__*/_jsx(PieChart, {
48
+ height: "300px",
49
+ width: "300px",
50
+ defaultSubtitle: "Beboere",
51
+ data: constructDataWithTheme(theme)
52
+ }),
53
+ name: 'Without prefix'
54
+ };
55
+ export const Responsive = {
56
+ render: (_args, {
57
+ loaded: {
58
+ theme
59
+ }
60
+ }) => /*#__PURE__*/_jsx(PieChart, {
61
+ height: '200px',
62
+ defaultSubtitle: "Beboere",
63
+ data: constructDataWithTheme(theme)
64
+ }),
65
+ name: 'Responsive'
66
+ };
67
+ export const Opacity = {
68
+ render: (_args, {
69
+ loaded: {
70
+ theme
71
+ }
72
+ }) => /*#__PURE__*/_jsx(PieChart, {
73
+ height: "300px",
74
+ width: "300px",
75
+ opacity: 40,
76
+ defaultSubtitle: "beboere",
77
+ subtitlePrefix: "Totalt antall",
78
+ data: constructDataWithTheme(theme)
79
+ }),
80
+ name: 'Opacity'
81
+ };
@@ -6,7 +6,6 @@ import renderTextContent from './renderTextContent';
6
6
  import { PieChartWrapper } from './styles';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  import { jsxs as _jsxs } from "react/jsx-runtime";
9
-
10
9
  const PieChart = ({
11
10
  width,
12
11
  height,
@@ -20,8 +19,8 @@ const PieChart = ({
20
19
  }) => {
21
20
  const [activeIndex, setActiveIndex] = useState();
22
21
  const [hoverIndex, setHoverIndex] = useState(null);
23
- /** When active is handled from the outside */
24
22
 
23
+ /** When active is handled from the outside */
25
24
  useEffect(() => {
26
25
  setActiveIndex(active);
27
26
  }, [active]);
@@ -31,13 +30,12 @@ const PieChart = ({
31
30
  onActiveChange?.(undefined);
32
31
  return;
33
32
  }
34
-
35
33
  onActiveChange?.(index);
36
34
  setActiveIndex(index);
37
35
  }, [activeIndex, onActiveChange]);
38
36
  const onCellHover = useCallback((_, index) => setHoverIndex(index), [setHoverIndex]);
39
- /** Avoids re-renders by memoizing parameters */
40
37
 
38
+ /** Avoids re-renders by memoizing parameters */
41
39
  const calculateTitle = useMemo(() => {
42
40
  const activeItemTitle = activeIndex !== undefined ? data[activeIndex].title : defaultSubtitle;
43
41
  return subtitlePrefix ? `${subtitlePrefix} ${activeItemTitle?.toLocaleLowerCase()}` : activeItemTitle;
@@ -57,13 +55,15 @@ const PieChart = ({
57
55
  activeIndex: activeIndex,
58
56
  activeShape: ActiveShape,
59
57
  onMouseEnter: onCellHover,
60
- onMouseOut: () => setHoverIndex(null) // Thickness of the graph, higher % = thinner
58
+ onMouseOut: () => setHoverIndex(null)
59
+ // Thickness of the graph, higher % = thinner
61
60
  ,
62
61
  innerRadius: "65%",
63
62
  dataKey: "value",
64
63
  ...rest,
65
64
  children: [/*#__PURE__*/_jsx(LabelList, {
66
- valueAccessor: () => {} // @ts-ignore
65
+ valueAccessor: () => {}
66
+ // @ts-ignore
67
67
  ,
68
68
  content: renderTextContent(activeItemValue, calculateTitle)
69
69
  }), data.map((entry, index) => /*#__PURE__*/_jsx(Cell, {
@@ -74,5 +74,4 @@ const PieChart = ({
74
74
  })
75
75
  });
76
76
  };
77
-
78
77
  export default PieChart;
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { TextContent } from '../styles';
3
- /** Renders central text in the pie chart*/
4
3
 
4
+ /** Renders central text in the pie chart*/
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
-
8
7
  const renderTextContent = (num, title) => props => {
9
8
  const {
10
9
  cx,
@@ -40,5 +39,4 @@ const renderTextContent = (num, title) => props => {
40
39
  })
41
40
  });
42
41
  };
43
-
44
42
  export default renderTextContent;
@@ -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 TextContent = _styled("g", process.env.NODE_ENV === "production" ? {
4
+ export const TextContent = /*#__PURE__*/_styled("g", process.env.NODE_ENV === "production" ? {
7
5
  target: "e14yfkwz1"
8
6
  } : {
9
7
  target: "e14yfkwz1",
@@ -17,7 +15,7 @@ export const TextContent = _styled("g", process.env.NODE_ENV === "production" ?
17
15
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1BpZUNoYXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRbUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUGllQ2hhcnQvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuaW50ZXJmYWNlIElQaWVDaGFydFN0eWxlUHJvcHMge1xuICB3aWR0aD86IHN0cmluZ1xuICBoZWlnaHQ/OiBzdHJpbmdcbn1cblxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkLmdgXG4gIHVzZXItc2VsZWN0OiBub25lO1xuYFxuXG5leHBvcnQgY29uc3QgUGllQ2hhcnRXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgd2lkdGggPSAnMTAwJScsIGhlaWdodCA9ICczMDBweCcgfTogSVBpZUNoYXJ0U3R5bGVQcm9wcykgPT4gY3NzYFxuICAgIHdpZHRoOiAke3dpZHRofTtcbiAgICBoZWlnaHQ6ICR7aGVpZ2h0fTtcbiAgYFxuKVxuIl19 */",
18
16
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
19
17
  });
20
- export const PieChartWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
18
+ export const PieChartWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
21
19
  target: "e14yfkwz0"
22
20
  } : {
23
21
  target: "e14yfkwz0",
@@ -0,0 +1,68 @@
1
+ import PreemptionCard from '.';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export default {
4
+ title: 'Core/PreemptionCard',
5
+ component: PreemptionCard
6
+ };
7
+ const dummypreemption = {
8
+ accept: null,
9
+ advertisement: null,
10
+ boardApprovalDeadline: null,
11
+ calculatedDeadline: '11/26/2020 00:00:00',
12
+ deadline: '11/26/2021 12:00:00',
13
+ handover: null,
14
+ id: 'E4009F32F14B495E8B4EA6F217A2380D',
15
+ newOwnerApproved: null,
16
+ newOwnerReportedToBbl: null,
17
+ pricing: {
18
+ addedJointCost: '200.0',
19
+ addedJointDebt: '300.0',
20
+ askingPrice: '100000.0',
21
+ fixedPrice: null,
22
+ jointCosts: '0.0',
23
+ jointDebt: '0.0',
24
+ preemptionFee: '4300.0',
25
+ totalPrice: '100000.0'
26
+ },
27
+ processingDeadline: null,
28
+ received: '11/16/2020 00:00:00',
29
+ seniorityrules: {
30
+ designation: null,
31
+ priority: '1',
32
+ ruleText: 'Andel BBL'
33
+ },
34
+ status: 'Mottatt',
35
+ trialNo: '202000002',
36
+ unit: {
37
+ address: 'Testsvingen 30',
38
+ area: null,
39
+ building: {
40
+ buildingCode: 'Lavblokk',
41
+ buildingType: 'Lav blokk'
42
+ },
43
+ city: 'OSLO',
44
+ geoLocation: '',
45
+ id: '1DE619F7BC5A41CDBF8870C5A5362DCE',
46
+ subArea: null
47
+ },
48
+ viewing: {
49
+ date: '11/20/2020 11:03:46',
50
+ dateString: 'Onsdag 12.05.19 kl 16-17',
51
+ info: 'megler',
52
+ telephone: '22225555',
53
+ text: 'tilknyttet uten forvaltning',
54
+ url: null
55
+ }
56
+ };
57
+ export const Default = {
58
+ render: () => /*#__PURE__*/_jsx("div", {
59
+ style: {
60
+ maxWidth: '300px'
61
+ },
62
+ children: /*#__PURE__*/_jsx(PreemptionCard, {
63
+ preemption: dummypreemption,
64
+ onClick: () => console.log('clicked preemption')
65
+ })
66
+ }),
67
+ name: 'Default'
68
+ };
@@ -1,5 +1,4 @@
1
1
  import { css as _css } from "@emotion/react";
2
-
3
2
  /** @jsxImportSource @emotion/react */
4
3
  import React from 'react';
5
4
  import { useTheme } from '@emotion/react';
@@ -13,17 +12,14 @@ import Header from '../Header';
13
12
  import { getPriceWithLabel, getFormattedPrice, getFormattedDate } from '../../utils/format';
14
13
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
15
14
  import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
16
-
17
15
  const PreemptionCard = ({
18
16
  preemption,
19
17
  onClick
20
18
  }) => {
21
19
  const theme = useTheme();
22
-
23
20
  const Kvm = _jsx("sup", {
24
21
  children: "2"
25
22
  });
26
-
27
23
  return _jsxs(Card, {
28
24
  onClick: () => onClick(preemption.id),
29
25
  withhover: true,
@@ -70,5 +66,4 @@ const PreemptionCard = ({
70
66
  })]
71
67
  });
72
68
  };
73
-
74
69
  export default PreemptionCard;
@@ -1,8 +1,7 @@
1
- export let PreemptionTypeEnum;
2
-
3
- (function (PreemptionTypeEnum) {
1
+ export let PreemptionTypeEnum = /*#__PURE__*/function (PreemptionTypeEnum) {
4
2
  PreemptionTypeEnum["Avklaring_FastprisOgTilknyttet"] = "MANAGED_FIXED_PRICE";
5
3
  PreemptionTypeEnum["Avklaring_FastprisOgFrittstaende"] = "UNMANAGED_FIXED_PRICE";
6
4
  PreemptionTypeEnum["Avklaring_ForhandsavklaringOgTilknyttet"] = "MANAGED_ADVANCE_CLARIFICATION";
7
5
  PreemptionTypeEnum["Avklaring_ForhandsavklaringOgFrittstaende"] = "UNMANAGED_ADVANCE_CLARIFICATION";
8
- })(PreemptionTypeEnum || (PreemptionTypeEnum = {}));
6
+ return PreemptionTypeEnum;
7
+ }({});
@@ -1,16 +1,14 @@
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 { Tag } from '../..';
6
4
  import bp from '../../globals/styles/breakpoints';
7
- export const SvgHead = _styled("div", process.env.NODE_ENV === "production" ? {
5
+ export const SvgHead = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
8
6
  target: "e1awlddl2"
9
7
  } : {
10
8
  target: "e1awlddl2",
11
9
  label: "SvgHead"
12
10
  })("display:flex;justify-content:center;align-items:center;height:93px;margin:-10px -20px;margin-bottom:0;&>div{padding:5px 0;height:calc(100% - 10px);}@media screen and (max-width: ", bp.small, "){margin-top:-20px;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1ByZWVtcHRpb25DYXJkL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJaUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUHJlZW1wdGlvbkNhcmQvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBUYWcgfSBmcm9tICcuLi8uLidcbmltcG9ydCBicCBmcm9tICcuLi8uLi9nbG9iYWxzL3N0eWxlcy9icmVha3BvaW50cydcblxuZXhwb3J0IGNvbnN0IFN2Z0hlYWQgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgaGVpZ2h0OiA5M3B4O1xuICBtYXJnaW46IC0xMHB4IC0yMHB4O1xuICBtYXJnaW4tYm90dG9tOiAwO1xuXG4gICYgPiBkaXYge1xuICAgIHBhZGRpbmc6IDVweCAwO1xuICAgIGhlaWdodDogY2FsYygxMDAlIC0gMTBweCk7XG4gIH1cblxuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLnNtYWxsfSkge1xuICAgIG1hcmdpbi10b3A6IC0yMHB4O1xuICB9XG5gXG5cbmV4cG9ydCBjb25zdCBVbml0SW5mbyA9IHN0eWxlZC5kaXZgXG4gIHBhZGRpbmctdG9wOiAxNnB4O1xuXG4gICYgPiBoNSB7XG4gICAgbWFyZ2luLWJvdHRvbTogNHB4O1xuICB9XG5cbiAgPiAqIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgU3R5bGVkVGFnOiBhbnkgPSBzdHlsZWQoVGFnKWBcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBtYXJnaW4tdG9wOiAxLjVlbTtcbiAgZm9udC1zaXplOiAxMnB4O1xuICB3aWR0aDogY2FsYygxMDAlIC0gMTZweCk7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgbWFyZ2luLWJvdHRvbTogLTAuNWVtO1xuYFxuIl19 */"));
13
- export const UnitInfo = _styled("div", process.env.NODE_ENV === "production" ? {
11
+ export const UnitInfo = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
14
12
  target: "e1awlddl1"
15
13
  } : {
16
14
  target: "e1awlddl1",