@bbl-digital/snorre 4.0.0-beta.4 → 4.0.0-beta.5

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