@bbl-digital/snorre 4.2.74 → 4.2.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1204) hide show
  1. package/dist/DailyMotion-BlSi_Pi6.mjs +135 -0
  2. package/dist/Facebook-C_Gfm8ah.mjs +120 -0
  3. package/dist/FilePlayer-ELk7Q4ZX.mjs +201 -0
  4. package/dist/Kaltura-DouYsB04.mjs +120 -0
  5. package/dist/Mixcloud-CdI5m1l6.mjs +112 -0
  6. package/dist/Mux-H2xDlzEG.mjs +164 -0
  7. package/dist/Preview-kxhr2P2o.mjs +127 -0
  8. package/dist/SoundCloud-EhBryb8K.mjs +122 -0
  9. package/dist/Streamable-D8dAC2_e.mjs +114 -0
  10. package/dist/Twitch-6mnwt71C.mjs +116 -0
  11. package/dist/Vidyard-B6qlM5nY.mjs +112 -0
  12. package/dist/Vimeo-C3CbKxjA.mjs +145 -0
  13. package/dist/Wistia-rd8PWSxZ.mjs +123 -0
  14. package/dist/YouTube-DFe-8eml.mjs +175 -0
  15. package/dist/index-4sQ1LeGA.mjs +92519 -0
  16. package/dist/snorre.mjs +349 -0
  17. package/dist/snorre.umd.js +5540 -0
  18. package/dist/style.css +7 -0
  19. package/lib/app-shell/index.d.ts +0 -1
  20. package/lib/app-shell/index.js +20 -44
  21. package/lib/app-shell/theme.d.ts +0 -1
  22. package/lib/app-shell/theme.js +6 -13
  23. package/lib/core/Alert/Alert.stories.d.ts +0 -1
  24. package/lib/core/Alert/Alert.stories.js +37 -44
  25. package/lib/core/Alert/index.d.ts +0 -1
  26. package/lib/core/Alert/index.js +38 -68
  27. package/lib/core/Alert/styles.d.ts +0 -1
  28. package/lib/core/Alert/styles.js +54 -22
  29. package/lib/core/AppLoader/AppLoader.stories.d.ts +0 -1
  30. package/lib/core/AppLoader/AppLoader.stories.js +7 -14
  31. package/lib/core/AppLoader/index.d.ts +0 -1
  32. package/lib/core/AppLoader/index.js +9 -28
  33. package/lib/core/AppLoader/styles.d.ts +0 -1
  34. package/lib/core/AppLoader/styles.js +58 -10
  35. package/lib/core/Autocomplete/Autocomplete.stories.d.ts +16 -17
  36. package/lib/core/Autocomplete/Autocomplete.stories.js +164 -332
  37. package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +0 -1
  38. package/lib/core/Autocomplete/hooks/useAutocomplete.js +201 -208
  39. package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +0 -1
  40. package/lib/core/Autocomplete/hooks/useHandleDimentions.js +12 -22
  41. package/lib/core/Autocomplete/index.d.ts +0 -1
  42. package/lib/core/Autocomplete/index.interfaces.d.ts +0 -1
  43. package/lib/core/Autocomplete/index.interfaces.js +1 -5
  44. package/lib/core/Autocomplete/index.js +67 -147
  45. package/lib/core/Autocomplete/styles.d.ts +0 -1
  46. package/lib/core/Autocomplete/styles.js +217 -74
  47. package/lib/core/Banner/Banner.stories.d.ts +0 -1
  48. package/lib/core/Banner/Banner.stories.js +49 -93
  49. package/lib/core/Banner/index.d.ts +0 -1
  50. package/lib/core/Banner/index.js +7 -42
  51. package/lib/core/Banner/styles.d.ts +0 -1
  52. package/lib/core/Banner/styles.js +41 -40
  53. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +2 -3
  54. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +70 -187
  55. package/lib/core/BarAndLineComposedChart/index.d.ts +0 -1
  56. package/lib/core/BarAndLineComposedChart/index.js +22 -115
  57. package/lib/core/BarAndLineComposedChart/styles.d.ts +0 -1
  58. package/lib/core/BarAndLineComposedChart/styles.js +5 -14
  59. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +1 -2
  60. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +83 -86
  61. package/lib/core/BarChartWithCustomizedEvent/index.d.ts +0 -1
  62. package/lib/core/BarChartWithCustomizedEvent/index.js +31 -115
  63. package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +0 -1
  64. package/lib/core/BarChartWithCustomizedEvent/styles.js +15 -19
  65. package/lib/core/Box/Box.stories.d.ts +0 -1
  66. package/lib/core/Box/Box.stories.js +65 -87
  67. package/lib/core/Box/index.d.ts +0 -1
  68. package/lib/core/Box/index.js +25 -70
  69. package/lib/core/Box/styles.d.ts +0 -1
  70. package/lib/core/Box/styles.js +36 -55
  71. package/lib/core/BoxedTable/BoxedTable.stories.d.ts +8 -9
  72. package/lib/core/BoxedTable/BoxedTable.stories.js +43 -356
  73. package/lib/core/BoxedTable/DraggableRow/index.d.ts +0 -1
  74. package/lib/core/BoxedTable/DraggableRow/index.js +6 -42
  75. package/lib/core/BoxedTable/DraggableRow/styles.d.ts +0 -1
  76. package/lib/core/BoxedTable/DraggableRow/styles.js +29 -60
  77. package/lib/core/BoxedTable/HeaderCell/index.d.ts +0 -1
  78. package/lib/core/BoxedTable/HeaderCell/index.js +21 -39
  79. package/lib/core/BoxedTable/HeaderCell/styles.d.ts +0 -1
  80. package/lib/core/BoxedTable/HeaderCell/styles.js +12 -17
  81. package/lib/core/BoxedTable/RowCell/index.d.ts +0 -1
  82. package/lib/core/BoxedTable/RowCell/index.js +14 -34
  83. package/lib/core/BoxedTable/RowCell/styles.d.ts +0 -1
  84. package/lib/core/BoxedTable/RowCell/styles.js +48 -53
  85. package/lib/core/BoxedTable/TableHeader/index.d.ts +0 -1
  86. package/lib/core/BoxedTable/TableHeader/index.js +5 -18
  87. package/lib/core/BoxedTable/TableHeader/styles.d.ts +0 -1
  88. package/lib/core/BoxedTable/TableHeader/styles.js +7 -22
  89. package/lib/core/BoxedTable/TableRow/index.d.ts +0 -1
  90. package/lib/core/BoxedTable/TableRow/index.js +18 -71
  91. package/lib/core/BoxedTable/TableRow/styles.d.ts +0 -1
  92. package/lib/core/BoxedTable/TableRow/styles.js +64 -75
  93. package/lib/core/BoxedTable/index.d.ts +0 -1
  94. package/lib/core/BoxedTable/index.js +26 -54
  95. package/lib/core/BoxedTable/models.d.ts +0 -1
  96. package/lib/core/BoxedTable/models.js +1 -5
  97. package/lib/core/BoxedTable/styles.d.ts +0 -1
  98. package/lib/core/BoxedTable/styles.js +213 -78
  99. package/lib/core/Button/Button.stories.d.ts +0 -1
  100. package/lib/core/Button/Button.stories.js +118 -127
  101. package/lib/core/Button/index.d.ts +0 -1
  102. package/lib/core/Button/index.js +52 -71
  103. package/lib/core/Button/styles.d.ts +0 -1
  104. package/lib/core/Button/styles.js +203 -92
  105. package/lib/core/Calendar/Calendar.stories.d.ts +3 -4
  106. package/lib/core/Calendar/Calendar.stories.js +29 -42
  107. package/lib/core/Calendar/CalendarEvent/index.d.ts +0 -1
  108. package/lib/core/Calendar/CalendarEvent/index.js +36 -90
  109. package/lib/core/Calendar/CalendarEvent/styles.d.ts +0 -1
  110. package/lib/core/Calendar/CalendarEvent/styles.js +53 -68
  111. package/lib/core/Calendar/CalendarSmallEvent/index.d.ts +0 -1
  112. package/lib/core/Calendar/CalendarSmallEvent/index.js +37 -91
  113. package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +0 -1
  114. package/lib/core/Calendar/CalendarSmallEvent/styles.js +71 -68
  115. package/lib/core/Calendar/index.d.ts +0 -1
  116. package/lib/core/Calendar/index.js +30 -78
  117. package/lib/core/Calendar/styles.d.ts +0 -1
  118. package/lib/core/Calendar/styles.js +75 -62
  119. package/lib/core/Calendar/util.d.ts +0 -1
  120. package/lib/core/Calendar/util.js +8 -14
  121. package/lib/core/Card/Card.stories.d.ts +5 -6
  122. package/lib/core/Card/Card.stories.js +33 -68
  123. package/lib/core/Card/index.d.ts +0 -1
  124. package/lib/core/Card/index.js +26 -34
  125. package/lib/core/Card/styles.d.ts +0 -1
  126. package/lib/core/Card/styles.js +47 -63
  127. package/lib/core/Checkbox/Checkbox.stories.d.ts +0 -1
  128. package/lib/core/Checkbox/Checkbox.stories.js +37 -44
  129. package/lib/core/Checkbox/index.d.ts +0 -1
  130. package/lib/core/Checkbox/index.js +23 -61
  131. package/lib/core/Checkbox/styles.d.ts +0 -1
  132. package/lib/core/Checkbox/styles.js +100 -37
  133. package/lib/core/CollapseList/CollapseList.stories.d.ts +0 -1
  134. package/lib/core/CollapseList/CollapseList.stories.js +19 -54
  135. package/lib/core/CollapseList/Item.d.ts +0 -1
  136. package/lib/core/CollapseList/Item.js +29 -71
  137. package/lib/core/CollapseList/index.d.ts +0 -1
  138. package/lib/core/CollapseList/index.js +6 -22
  139. package/lib/core/CollapseList/styles.d.ts +0 -1
  140. package/lib/core/CollapseList/styles.js +35 -26
  141. package/lib/core/CommentsTimeline/CommentLine/index.d.ts +0 -1
  142. package/lib/core/CommentsTimeline/CommentLine/index.js +11 -67
  143. package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +0 -1
  144. package/lib/core/CommentsTimeline/CommentLine/styles.js +59 -41
  145. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +0 -1
  146. package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +19 -87
  147. package/lib/core/CommentsTimeline/index.d.ts +0 -1
  148. package/lib/core/CommentsTimeline/index.js +5 -19
  149. package/lib/core/CommentsTimeline/styles.d.ts +0 -1
  150. package/lib/core/CommentsTimeline/styles.js +9 -21
  151. package/lib/core/CustomText/CustomText.stories.d.ts +0 -1
  152. package/lib/core/CustomText/CustomText.stories.js +28 -35
  153. package/lib/core/CustomText/index.d.ts +0 -1
  154. package/lib/core/CustomText/index.js +17 -39
  155. package/lib/core/CustomText/styles.d.ts +0 -1
  156. package/lib/core/CustomText/styles.js +10 -31
  157. package/lib/core/Datepicker/Datepicker.stories.d.ts +5 -6
  158. package/lib/core/Datepicker/Datepicker.stories.js +28 -59
  159. package/lib/core/Datepicker/index.d.ts +0 -1
  160. package/lib/core/Datepicker/index.js +109 -176
  161. package/lib/core/Datepicker/styles.d.ts +0 -1
  162. package/lib/core/Datepicker/styles.js +233 -60
  163. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +0 -1
  164. package/lib/core/DatepickerRange/DatepickerRange.stories.js +12 -27
  165. package/lib/core/DatepickerRange/index.d.ts +0 -1
  166. package/lib/core/DatepickerRange/index.js +61 -104
  167. package/lib/core/DatepickerRange/styles.d.ts +0 -1
  168. package/lib/core/DatepickerRange/styles.js +169 -54
  169. package/lib/core/Divider/index.d.ts +0 -1
  170. package/lib/core/Divider/index.js +12 -26
  171. package/lib/core/Divider/styles.d.ts +0 -1
  172. package/lib/core/Divider/styles.js +22 -22
  173. package/lib/core/Dropdown/Dropdown.stories.d.ts +0 -1
  174. package/lib/core/Dropdown/Dropdown.stories.js +38 -55
  175. package/lib/core/Dropdown/index.d.ts +0 -1
  176. package/lib/core/Dropdown/index.js +64 -100
  177. package/lib/core/Dropdown/styles.d.ts +0 -1
  178. package/lib/core/Dropdown/styles.js +27 -12
  179. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +0 -1
  180. package/lib/core/DropdownMenu/DropdownMenu.stories.js +27 -56
  181. package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +0 -1
  182. package/lib/core/DropdownMenu/DropdownMenuOption.js +8 -30
  183. package/lib/core/DropdownMenu/index.d.ts +0 -1
  184. package/lib/core/DropdownMenu/index.js +37 -64
  185. package/lib/core/DropdownMenu/styles.d.ts +0 -1
  186. package/lib/core/DropdownMenu/styles.js +48 -38
  187. package/lib/core/FileInput/FileInput.stories.d.ts +0 -1
  188. package/lib/core/FileInput/FileInput.stories.js +73 -80
  189. package/lib/core/FileInput/index.d.ts +0 -1
  190. package/lib/core/FileInput/index.js +66 -144
  191. package/lib/core/FileInput/styles.d.ts +0 -1
  192. package/lib/core/FileInput/styles.js +90 -149
  193. package/lib/core/GoogleButton/GoogleButton.stories.d.ts +0 -1
  194. package/lib/core/GoogleButton/GoogleButton.stories.js +10 -17
  195. package/lib/core/GoogleButton/index.d.ts +0 -1
  196. package/lib/core/GoogleButton/index.js +15 -30
  197. package/lib/core/GoogleButton/styles.d.ts +0 -1
  198. package/lib/core/GoogleButton/styles.js +24 -21
  199. package/lib/core/Header/Header.stories.d.ts +0 -1
  200. package/lib/core/Header/Header.stories.js +60 -67
  201. package/lib/core/Header/index.d.ts +0 -1
  202. package/lib/core/Header/index.js +16 -31
  203. package/lib/core/Header/styles.d.ts +0 -1
  204. package/lib/core/Header/styles.js +46 -20
  205. package/lib/core/HighlightText/HighlightText.stories.d.ts +0 -1
  206. package/lib/core/HighlightText/HighlightText.stories.js +19 -26
  207. package/lib/core/HighlightText/index.d.ts +0 -1
  208. package/lib/core/HighlightText/index.js +12 -37
  209. package/lib/core/HighlightText/styles.d.ts +0 -1
  210. package/lib/core/HighlightText/styles.js +6 -22
  211. package/lib/core/Html/Html.stories.d.ts +0 -1
  212. package/lib/core/Html/Html.stories.js +35 -51
  213. package/lib/core/Html/index.d.ts +2 -3
  214. package/lib/core/Html/index.js +27 -42
  215. package/lib/core/Html/styles.d.ts +0 -1
  216. package/lib/core/Html/styles.js +137 -29
  217. package/lib/core/Image/Image.stories.d.ts +0 -1
  218. package/lib/core/Image/Image.stories.js +39 -46
  219. package/lib/core/Image/index.d.ts +0 -1
  220. package/lib/core/Image/index.js +31 -55
  221. package/lib/core/Image/styles.d.ts +0 -1
  222. package/lib/core/Image/styles.js +23 -23
  223. package/lib/core/ImagePicker/IconWithBackground.d.ts +0 -1
  224. package/lib/core/ImagePicker/IconWithBackground.js +13 -20
  225. package/lib/core/ImagePicker/ImagePicker.stories.d.ts +0 -1
  226. package/lib/core/ImagePicker/ImagePicker.stories.js +12 -33
  227. package/lib/core/ImagePicker/UploadButton.d.ts +0 -1
  228. package/lib/core/ImagePicker/UploadButton.js +11 -40
  229. package/lib/core/ImagePicker/index.d.ts +0 -1
  230. package/lib/core/ImagePicker/index.js +29 -136
  231. package/lib/core/ImagePicker/styles.d.ts +0 -1
  232. package/lib/core/ImagePicker/styles.js +114 -74
  233. package/lib/core/ImageViewer/ImageViewer.stories.d.ts +0 -1
  234. package/lib/core/ImageViewer/ImageViewer.stories.js +17 -19
  235. package/lib/core/ImageViewer/index.d.ts +0 -1
  236. package/lib/core/ImageViewer/index.js +28 -110
  237. package/lib/core/ImageViewer/styles.d.ts +0 -1
  238. package/lib/core/ImageViewer/styles.js +88 -37
  239. package/lib/core/InfoButton/InfoButton.stories.d.ts +0 -1
  240. package/lib/core/InfoButton/InfoButton.stories.js +42 -59
  241. package/lib/core/InfoButton/index.d.ts +0 -1
  242. package/lib/core/InfoButton/index.js +38 -84
  243. package/lib/core/InfoButton/styles.d.ts +0 -1
  244. package/lib/core/InfoButton/styles.js +124 -65
  245. package/lib/core/Input/Input.stories.d.ts +0 -1
  246. package/lib/core/Input/Input.stories.js +193 -200
  247. package/lib/core/Input/index.d.ts +0 -1
  248. package/lib/core/Input/index.js +105 -151
  249. package/lib/core/Input/styles.d.ts +0 -1
  250. package/lib/core/Input/styles.js +199 -65
  251. package/lib/core/Link/Link.stories.d.ts +0 -1
  252. package/lib/core/Link/Link.stories.js +67 -74
  253. package/lib/core/Link/index.d.ts +0 -1
  254. package/lib/core/Link/index.js +18 -50
  255. package/lib/core/Link/styles.d.ts +0 -1
  256. package/lib/core/Link/styles.js +64 -72
  257. package/lib/core/List/Item.d.ts +0 -1
  258. package/lib/core/List/Item.js +5 -22
  259. package/lib/core/List/List.stories.d.ts +0 -1
  260. package/lib/core/List/List.stories.js +63 -166
  261. package/lib/core/List/index.d.ts +0 -1
  262. package/lib/core/List/index.js +33 -38
  263. package/lib/core/List/styles.d.ts +0 -1
  264. package/lib/core/List/styles.js +220 -129
  265. package/lib/core/ListPager/ListPager.stories.d.ts +0 -1
  266. package/lib/core/ListPager/ListPager.stories.js +14 -21
  267. package/lib/core/ListPager/index.d.ts +0 -1
  268. package/lib/core/ListPager/index.js +21 -56
  269. package/lib/core/ListPager/styles.d.ts +0 -1
  270. package/lib/core/ListPager/styles.js +20 -38
  271. package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +0 -1
  272. package/lib/core/MediaCarousel/MediaCarousel.stories.js +38 -38
  273. package/lib/core/MediaCarousel/index.d.ts +0 -1
  274. package/lib/core/MediaCarousel/index.js +17 -98
  275. package/lib/core/MediaCarousel/styles.d.ts +0 -1
  276. package/lib/core/MediaCarousel/styles.js +57 -60
  277. package/lib/core/Modal/ActionButtons/index.d.ts +0 -1
  278. package/lib/core/Modal/ActionButtons/index.js +11 -29
  279. package/lib/core/Modal/Modal.stories.d.ts +0 -1
  280. package/lib/core/Modal/Modal.stories.js +71 -133
  281. package/lib/core/Modal/index.d.ts +0 -1
  282. package/lib/core/Modal/index.js +74 -176
  283. package/lib/core/Modal/styles.d.ts +0 -1
  284. package/lib/core/Modal/styles.js +94 -93
  285. package/lib/core/NoticeCard/NoticeCard.stories.d.ts +2 -3
  286. package/lib/core/NoticeCard/NoticeCard.stories.js +47 -61
  287. package/lib/core/NoticeCard/index.d.ts +0 -1
  288. package/lib/core/NoticeCard/index.js +21 -106
  289. package/lib/core/NoticeCard/models.d.ts +0 -1
  290. package/lib/core/NoticeCard/models.js +5 -11
  291. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.d.ts +0 -1
  292. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +11 -47
  293. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +0 -1
  294. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +51 -41
  295. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.d.ts +0 -1
  296. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +7 -28
  297. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +0 -1
  298. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +6 -22
  299. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +0 -1
  300. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +9 -45
  301. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +0 -1
  302. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +12 -41
  303. package/lib/core/NoticeCard/styles.d.ts +0 -1
  304. package/lib/core/NoticeCard/styles.js +60 -48
  305. package/lib/core/NoticeCard/utils.d.ts +0 -1
  306. package/lib/core/NoticeCard/utils.js +16 -34
  307. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +2 -3
  308. package/lib/core/NotificationCounter/NotificationCounter.stories.js +12 -24
  309. package/lib/core/NotificationCounter/index.d.ts +0 -1
  310. package/lib/core/NotificationCounter/index.js +10 -26
  311. package/lib/core/NotificationCounter/styles.d.ts +0 -1
  312. package/lib/core/NotificationCounter/styles.js +25 -19
  313. package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +0 -1
  314. package/lib/core/NotificationsMenu/NotificationRow/index.js +5 -43
  315. package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +0 -1
  316. package/lib/core/NotificationsMenu/NotificationRow/styles.js +37 -42
  317. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +0 -1
  318. package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +24 -59
  319. package/lib/core/NotificationsMenu/index.d.ts +0 -1
  320. package/lib/core/NotificationsMenu/index.js +48 -94
  321. package/lib/core/NotificationsMenu/styles.d.ts +0 -1
  322. package/lib/core/NotificationsMenu/styles.js +47 -37
  323. package/lib/core/PieChart/ActiveShape/index.d.ts +0 -1
  324. package/lib/core/PieChart/ActiveShape/index.js +7 -40
  325. package/lib/core/PieChart/PieChart.stories.d.ts +4 -5
  326. package/lib/core/PieChart/PieChart.stories.js +25 -84
  327. package/lib/core/PieChart/index.d.ts +0 -1
  328. package/lib/core/PieChart/index.js +44 -90
  329. package/lib/core/PieChart/renderTextContent/index.d.ts +0 -1
  330. package/lib/core/PieChart/renderTextContent/index.js +7 -47
  331. package/lib/core/PieChart/styles.d.ts +0 -1
  332. package/lib/core/PieChart/styles.js +9 -32
  333. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +0 -1
  334. package/lib/core/PreemptionCard/PreemptionCard.stories.js +62 -75
  335. package/lib/core/PreemptionCard/index.d.ts +0 -1
  336. package/lib/core/PreemptionCard/index.js +31 -80
  337. package/lib/core/PreemptionCard/models.d.ts +0 -1
  338. package/lib/core/PreemptionCard/models.js +7 -13
  339. package/lib/core/PreemptionCard/styles.d.ts +0 -1
  340. package/lib/core/PreemptionCard/styles.js +43 -55
  341. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +1 -2
  342. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +11 -21
  343. package/lib/core/PreemptionCardLoading/index.d.ts +0 -1
  344. package/lib/core/PreemptionCardLoading/index.js +7 -24
  345. package/lib/core/PreemptionCardLoading/styles.d.ts +0 -1
  346. package/lib/core/PreemptionCardLoading/styles.js +26 -47
  347. package/lib/core/QuillEditor/QuillEditor.stories.d.ts +8 -9
  348. package/lib/core/QuillEditor/QuillEditor.stories.js +44 -106
  349. package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts +0 -1
  350. package/lib/core/QuillEditor/classes/LinkSanitizer.js +28 -28
  351. package/lib/core/QuillEditor/classes/ListItem.d.ts +0 -1
  352. package/lib/core/QuillEditor/classes/ListItem.js +20 -25
  353. package/lib/core/QuillEditor/config.d.ts +3 -4
  354. package/lib/core/QuillEditor/config.js +15 -30
  355. package/lib/core/QuillEditor/index.d.ts +0 -1
  356. package/lib/core/QuillEditor/index.js +225 -287
  357. package/lib/core/QuillEditor/models.d.ts +0 -1
  358. package/lib/core/QuillEditor/models.js +1 -5
  359. package/lib/core/QuillEditor/styles.d.ts +0 -1
  360. package/lib/core/QuillEditor/styles.js +198 -38
  361. package/lib/core/Radio/Radio.stories.d.ts +4 -5
  362. package/lib/core/Radio/Radio.stories.js +18 -68
  363. package/lib/core/Radio/index.d.ts +0 -1
  364. package/lib/core/Radio/index.js +11 -36
  365. package/lib/core/Radio/styles.d.ts +0 -1
  366. package/lib/core/Radio/styles.js +95 -20
  367. package/lib/core/SearchFilter/SearchFilter.stories.d.ts +4 -5
  368. package/lib/core/SearchFilter/SearchFilter.stories.js +47 -115
  369. package/lib/core/SearchFilter/index.d.ts +0 -1
  370. package/lib/core/SearchFilter/index.js +77 -180
  371. package/lib/core/SearchFilter/styles.d.ts +0 -1
  372. package/lib/core/SearchFilter/styles.js +132 -106
  373. package/lib/core/SearchSelect/SearchSelect.stories.d.ts +2 -3
  374. package/lib/core/SearchSelect/SearchSelect.stories.js +47 -57
  375. package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +0 -1
  376. package/lib/core/SearchSelect/hooks/useSelectSearch.js +19 -25
  377. package/lib/core/SearchSelect/index.d.ts +0 -1
  378. package/lib/core/SearchSelect/index.js +57 -101
  379. package/lib/core/SearchSelect/interface/IProps.d.ts +0 -1
  380. package/lib/core/SearchSelect/interface/IProps.js +1 -5
  381. package/lib/core/SearchSelect/styles.d.ts +0 -1
  382. package/lib/core/SearchSelect/styles.js +64 -70
  383. package/lib/core/Select/Option.d.ts +0 -1
  384. package/lib/core/Select/Option.js +15 -39
  385. package/lib/core/Select/Select.stories.d.ts +11 -12
  386. package/lib/core/Select/Select.stories.js +58 -251
  387. package/lib/core/Select/index.d.ts +0 -1
  388. package/lib/core/Select/index.js +96 -152
  389. package/lib/core/Select/styles.d.ts +0 -1
  390. package/lib/core/Select/styles.js +177 -100
  391. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +4 -5
  392. package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +169 -177
  393. package/lib/core/SimpleBarChart/index.d.ts +0 -1
  394. package/lib/core/SimpleBarChart/index.js +24 -101
  395. package/lib/core/SimpleBarChart/styles.d.ts +0 -1
  396. package/lib/core/SimpleBarChart/styles.js +5 -14
  397. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +1 -2
  398. package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +56 -59
  399. package/lib/core/SimpleLineChart/index.d.ts +0 -1
  400. package/lib/core/SimpleLineChart/index.js +16 -95
  401. package/lib/core/SimpleLineChart/styles.d.ts +0 -1
  402. package/lib/core/SimpleLineChart/styles.js +5 -14
  403. package/lib/core/Skeleton/Skeleton.stories.d.ts +0 -1
  404. package/lib/core/Skeleton/Skeleton.stories.js +41 -48
  405. package/lib/core/Skeleton/index.d.ts +0 -1
  406. package/lib/core/Skeleton/index.js +17 -41
  407. package/lib/core/Skeleton/styles.d.ts +0 -1
  408. package/lib/core/Skeleton/styles.js +25 -34
  409. package/lib/core/Spinner/Spinner.stories.d.ts +4 -5
  410. package/lib/core/Spinner/Spinner.stories.js +18 -33
  411. package/lib/core/Spinner/index.d.ts +0 -1
  412. package/lib/core/Spinner/index.js +12 -20
  413. package/lib/core/Spinner/styles.d.ts +0 -1
  414. package/lib/core/Spinner/styles.js +56 -13
  415. package/lib/core/Stepper/MobileStep/index.d.ts +0 -1
  416. package/lib/core/Stepper/MobileStep/index.js +9 -39
  417. package/lib/core/Stepper/MobileStep/styles.d.ts +0 -1
  418. package/lib/core/Stepper/MobileStep/styles.js +45 -91
  419. package/lib/core/Stepper/Step/index.d.ts +0 -1
  420. package/lib/core/Stepper/Step/index.js +14 -91
  421. package/lib/core/Stepper/Step/styles.d.ts +0 -1
  422. package/lib/core/Stepper/Step/styles.js +60 -53
  423. package/lib/core/Stepper/Stepper.stories.d.ts +0 -1
  424. package/lib/core/Stepper/Stepper.stories.js +31 -34
  425. package/lib/core/Stepper/index.d.ts +0 -1
  426. package/lib/core/Stepper/index.js +17 -59
  427. package/lib/core/Stepper/styles.d.ts +0 -1
  428. package/lib/core/Stepper/styles.js +22 -29
  429. package/lib/core/TabBar/TabBar.stories.d.ts +1 -2
  430. package/lib/core/TabBar/TabBar.stories.js +18 -43
  431. package/lib/core/TabBar/TabItem/index.d.ts +0 -1
  432. package/lib/core/TabBar/TabItem/index.js +6 -28
  433. package/lib/core/TabBar/TabItem/styles.d.ts +0 -1
  434. package/lib/core/TabBar/TabItem/styles.js +10 -22
  435. package/lib/core/TabBar/index.d.ts +0 -1
  436. package/lib/core/TabBar/index.js +5 -17
  437. package/lib/core/TabBar/styles.d.ts +0 -1
  438. package/lib/core/TabBar/styles.js +15 -21
  439. package/lib/core/TabNav/TabContext.d.ts +0 -1
  440. package/lib/core/TabNav/TabContext.js +32 -59
  441. package/lib/core/TabNav/TabNav.stories.d.ts +11 -12
  442. package/lib/core/TabNav/TabNav.stories.js +162 -301
  443. package/lib/core/TabNav/TabNavItem/index.d.ts +0 -1
  444. package/lib/core/TabNav/TabNavItem/index.js +41 -107
  445. package/lib/core/TabNav/TabNavItem/styles.d.ts +0 -1
  446. package/lib/core/TabNav/TabNavItem/styles.js +101 -38
  447. package/lib/core/TabNav/index.d.ts +0 -1
  448. package/lib/core/TabNav/index.js +58 -132
  449. package/lib/core/TabNav/styles.d.ts +0 -1
  450. package/lib/core/TabNav/styles.js +80 -53
  451. package/lib/core/TabNav/utils/useContainerDimensions.d.ts +0 -1
  452. package/lib/core/TabNav/utils/useContainerDimensions.js +26 -32
  453. package/lib/core/Table/Cell.d.ts +0 -1
  454. package/lib/core/Table/Cell.js +13 -30
  455. package/lib/core/Table/Row.d.ts +0 -1
  456. package/lib/core/Table/Row.js +13 -27
  457. package/lib/core/Table/Table.stories.d.ts +2 -3
  458. package/lib/core/Table/Table.stories.js +14 -87
  459. package/lib/core/Table/index.d.ts +0 -1
  460. package/lib/core/Table/index.js +9 -30
  461. package/lib/core/Table/styles.d.ts +0 -1
  462. package/lib/core/Table/styles.js +61 -86
  463. package/lib/core/Tag/Tag.stories.d.ts +0 -1
  464. package/lib/core/Tag/Tag.stories.js +117 -126
  465. package/lib/core/Tag/index.d.ts +0 -1
  466. package/lib/core/Tag/index.js +23 -52
  467. package/lib/core/Tag/styles.d.ts +0 -1
  468. package/lib/core/Tag/styles.js +98 -85
  469. package/lib/core/Text/Text.stories.d.ts +0 -1
  470. package/lib/core/Text/Text.stories.js +109 -116
  471. package/lib/core/Text/index.d.ts +0 -1
  472. package/lib/core/Text/index.js +24 -44
  473. package/lib/core/Text/styles.d.ts +0 -1
  474. package/lib/core/Text/styles.js +58 -89
  475. package/lib/core/Textarea/Textarea.stories.d.ts +0 -1
  476. package/lib/core/Textarea/Textarea.stories.js +34 -41
  477. package/lib/core/Textarea/index.d.ts +0 -1
  478. package/lib/core/Textarea/index.js +25 -65
  479. package/lib/core/Textarea/styles.d.ts +0 -1
  480. package/lib/core/Textarea/styles.js +53 -46
  481. package/lib/core/Timeline/Timeline.stories.d.ts +1 -2
  482. package/lib/core/Timeline/Timeline.stories.js +10 -30
  483. package/lib/core/Timeline/TimelineStep/index.d.ts +0 -1
  484. package/lib/core/Timeline/TimelineStep/index.js +12 -37
  485. package/lib/core/Timeline/TimelineStep/styles.d.ts +0 -1
  486. package/lib/core/Timeline/TimelineStep/styles.js +45 -46
  487. package/lib/core/Timeline/index.d.ts +0 -1
  488. package/lib/core/Timeline/index.js +5 -17
  489. package/lib/core/Timeline/styles.d.ts +0 -1
  490. package/lib/core/Timeline/styles.js +9 -21
  491. package/lib/core/Timepicker/Timepicker.stories.d.ts +7 -8
  492. package/lib/core/Timepicker/Timepicker.stories.js +27 -77
  493. package/lib/core/Timepicker/index.d.ts +0 -1
  494. package/lib/core/Timepicker/index.js +133 -141
  495. package/lib/core/Timepicker/styles.d.ts +0 -1
  496. package/lib/core/Timepicker/styles.js +90 -53
  497. package/lib/core/Tooltip/Tooptip.stories.d.ts +1 -2
  498. package/lib/core/Tooltip/Tooptip.stories.js +9 -20
  499. package/lib/core/Tooltip/index.d.ts +0 -1
  500. package/lib/core/Tooltip/index.js +14 -43
  501. package/lib/core/Tooltip/styles.d.ts +0 -1
  502. package/lib/core/Tooltip/styles.js +43 -18
  503. package/lib/core/UnitIllustration/index.d.ts +0 -1
  504. package/lib/core/UnitIllustration/index.js +29 -65
  505. package/lib/core/UserMenu/UserMenu.stories.d.ts +4 -5
  506. package/lib/core/UserMenu/UserMenu.stories.js +20 -93
  507. package/lib/core/UserMenu/UserMenuOption.d.ts +1 -2
  508. package/lib/core/UserMenu/UserMenuOption.js +6 -27
  509. package/lib/core/UserMenu/index.d.ts +0 -1
  510. package/lib/core/UserMenu/index.js +48 -121
  511. package/lib/core/UserMenu/styles.d.ts +0 -1
  512. package/lib/core/UserMenu/styles.js +109 -80
  513. package/lib/core/Video/Video.stories.d.ts +4 -6
  514. package/lib/core/Video/Video.stories.js +14 -34
  515. package/lib/core/Video/index.d.ts +0 -1
  516. package/lib/core/Video/index.js +55 -91
  517. package/lib/core/Video/styles.d.ts +0 -1
  518. package/lib/core/Video/styles.js +8 -22
  519. package/lib/core/YearWheel/YearWheel.stories.d.ts +2 -3
  520. package/lib/core/YearWheel/YearWheel.stories.js +12 -25
  521. package/lib/core/YearWheel/index.d.ts +0 -1
  522. package/lib/core/YearWheel/index.js +41 -215
  523. package/lib/core/YearWheel/styles.d.ts +0 -1
  524. package/lib/core/YearWheel/styles.js +21 -26
  525. package/lib/core/private/ButtonOrLink.d.ts +0 -1
  526. package/lib/core/private/ButtonOrLink.js +60 -98
  527. package/lib/core/private/preemption.d.ts +0 -1
  528. package/lib/core/private/preemption.js +22 -28
  529. package/lib/core/utils/debounce.d.ts +0 -1
  530. package/lib/core/utils/debounce.js +13 -19
  531. package/lib/enums/Keyboard.d.ts +0 -1
  532. package/lib/enums/Keyboard.js +12 -18
  533. package/lib/globals/styles/breakpoints.d.ts +0 -1
  534. package/lib/globals/styles/breakpoints.js +7 -13
  535. package/lib/globals/styles/paddings.d.ts +0 -1
  536. package/lib/globals/styles/paddings.js +6 -12
  537. package/lib/globals/styles/styles.d.ts +0 -1
  538. package/lib/globals/styles/styles.js +5 -16
  539. package/lib/globals/validation/regularExpressions.d.ts +0 -1
  540. package/lib/globals/validation/regularExpressions.js +8 -14
  541. package/lib/hooks/useIsMobile.d.ts +0 -1
  542. package/lib/hooks/useIsMobile.js +16 -23
  543. package/lib/hooks/useScreenOrientation.d.ts +0 -1
  544. package/lib/hooks/useScreenOrientation.js +33 -37
  545. package/lib/icons/General/IconApartment.d.ts +0 -1
  546. package/lib/icons/General/IconApartment.js +5 -19
  547. package/lib/icons/General/IconArchives.d.ts +0 -1
  548. package/lib/icons/General/IconArchives.js +4 -18
  549. package/lib/icons/General/IconArea.d.ts +0 -1
  550. package/lib/icons/General/IconArea.js +4 -18
  551. package/lib/icons/General/IconArrowDown.d.ts +0 -1
  552. package/lib/icons/General/IconArrowDown.js +4 -18
  553. package/lib/icons/General/IconArrowLeft.d.ts +0 -1
  554. package/lib/icons/General/IconArrowLeft.js +4 -18
  555. package/lib/icons/General/IconArrowRight.d.ts +0 -1
  556. package/lib/icons/General/IconArrowRight.js +4 -18
  557. package/lib/icons/General/IconArrowUp.d.ts +0 -1
  558. package/lib/icons/General/IconArrowUp.js +4 -18
  559. package/lib/icons/General/IconAttachment.d.ts +0 -1
  560. package/lib/icons/General/IconAttachment.js +4 -18
  561. package/lib/icons/General/IconAuditorFilled.d.ts +0 -1
  562. package/lib/icons/General/IconAuditorFilled.js +5 -57
  563. package/lib/icons/General/IconAuditorOutline.d.ts +0 -1
  564. package/lib/icons/General/IconAuditorOutline.js +5 -58
  565. package/lib/icons/General/IconBack.d.ts +0 -1
  566. package/lib/icons/General/IconBack.js +4 -18
  567. package/lib/icons/General/IconBath.d.ts +0 -1
  568. package/lib/icons/General/IconBath.js +4 -18
  569. package/lib/icons/General/IconBblFlame.d.ts +0 -1
  570. package/lib/icons/General/IconBblFlame.js +5 -28
  571. package/lib/icons/General/IconBblShield.d.ts +0 -1
  572. package/lib/icons/General/IconBblShield.js +5 -28
  573. package/lib/icons/General/IconBblWater.d.ts +0 -1
  574. package/lib/icons/General/IconBblWater.js +5 -28
  575. package/lib/icons/General/IconBellFilled.d.ts +0 -1
  576. package/lib/icons/General/IconBellFilled.js +4 -18
  577. package/lib/icons/General/IconBellOutline.d.ts +0 -1
  578. package/lib/icons/General/IconBellOutline.js +4 -18
  579. package/lib/icons/General/IconBlock.d.ts +0 -1
  580. package/lib/icons/General/IconBlock.js +5 -19
  581. package/lib/icons/General/IconBoard.d.ts +0 -1
  582. package/lib/icons/General/IconBoard.js +4 -18
  583. package/lib/icons/General/IconBookmarkFilled.d.ts +0 -1
  584. package/lib/icons/General/IconBookmarkFilled.js +4 -18
  585. package/lib/icons/General/IconBookmarkOutline.d.ts +0 -1
  586. package/lib/icons/General/IconBookmarkOutline.js +4 -18
  587. package/lib/icons/General/IconBus.d.ts +0 -1
  588. package/lib/icons/General/IconBus.js +4 -18
  589. package/lib/icons/General/IconCalendar.d.ts +0 -1
  590. package/lib/icons/General/IconCalendar.js +5 -19
  591. package/lib/icons/General/IconCamera.d.ts +0 -1
  592. package/lib/icons/General/IconCamera.js +4 -24
  593. package/lib/icons/General/IconCar.d.ts +0 -1
  594. package/lib/icons/General/IconCar.js +5 -19
  595. package/lib/icons/General/IconCaretDown.d.ts +0 -1
  596. package/lib/icons/General/IconCaretDown.js +4 -18
  597. package/lib/icons/General/IconCaretLeft.d.ts +0 -1
  598. package/lib/icons/General/IconCaretLeft.js +4 -18
  599. package/lib/icons/General/IconCaretRight.d.ts +0 -1
  600. package/lib/icons/General/IconCaretRight.js +4 -18
  601. package/lib/icons/General/IconCaretUp.d.ts +0 -1
  602. package/lib/icons/General/IconCaretUp.js +4 -18
  603. package/lib/icons/General/IconCases.d.ts +0 -1
  604. package/lib/icons/General/IconCases.js +5 -60
  605. package/lib/icons/General/IconCheck.d.ts +0 -1
  606. package/lib/icons/General/IconCheck.js +5 -19
  607. package/lib/icons/General/IconCheckedFilled.d.ts +0 -1
  608. package/lib/icons/General/IconCheckedFilled.js +5 -19
  609. package/lib/icons/General/IconCheckedOutline.d.ts +0 -1
  610. package/lib/icons/General/IconCheckedOutline.js +4 -18
  611. package/lib/icons/General/IconChevronDown.d.ts +0 -1
  612. package/lib/icons/General/IconChevronDown.js +5 -20
  613. package/lib/icons/General/IconChevronLeft.d.ts +0 -1
  614. package/lib/icons/General/IconChevronLeft.js +5 -19
  615. package/lib/icons/General/IconChevronRight.d.ts +0 -1
  616. package/lib/icons/General/IconChevronRight.js +5 -19
  617. package/lib/icons/General/IconChoice.d.ts +0 -1
  618. package/lib/icons/General/IconChoice.js +5 -19
  619. package/lib/icons/General/IconClose.d.ts +0 -1
  620. package/lib/icons/General/IconClose.js +4 -18
  621. package/lib/icons/General/IconCloseAlt.d.ts +0 -1
  622. package/lib/icons/General/IconCloseAlt.js +5 -19
  623. package/lib/icons/General/IconComment.d.ts +0 -1
  624. package/lib/icons/General/IconComment.js +4 -18
  625. package/lib/icons/General/IconCommunication.d.ts +0 -1
  626. package/lib/icons/General/IconCommunication.js +5 -19
  627. package/lib/icons/General/IconCommunicationFilled.d.ts +0 -1
  628. package/lib/icons/General/IconCommunicationFilled.js +5 -20
  629. package/lib/icons/General/IconCompanyBuilding.d.ts +0 -1
  630. package/lib/icons/General/IconCompanyBuilding.js +5 -19
  631. package/lib/icons/General/IconCompanyBuildingFilled.d.ts +0 -1
  632. package/lib/icons/General/IconCompanyBuildingFilled.js +5 -19
  633. package/lib/icons/General/IconCompanyBuildingOutline.d.ts +0 -1
  634. package/lib/icons/General/IconCompanyBuildingOutline.js +5 -19
  635. package/lib/icons/General/IconDashboard.d.ts +0 -1
  636. package/lib/icons/General/IconDashboard.js +5 -19
  637. package/lib/icons/General/IconDashboardFilled.d.ts +0 -1
  638. package/lib/icons/General/IconDashboardFilled.js +5 -19
  639. package/lib/icons/General/IconDelete.d.ts +0 -1
  640. package/lib/icons/General/IconDelete.js +5 -19
  641. package/lib/icons/General/IconDocument.d.ts +0 -1
  642. package/lib/icons/General/IconDocument.js +5 -57
  643. package/lib/icons/General/IconDocumentFilled.d.ts +0 -1
  644. package/lib/icons/General/IconDocumentFilled.js +5 -57
  645. package/lib/icons/General/IconDoor.d.ts +0 -1
  646. package/lib/icons/General/IconDoor.js +5 -19
  647. package/lib/icons/General/IconDotFilled.d.ts +0 -1
  648. package/lib/icons/General/IconDotFilled.js +4 -20
  649. package/lib/icons/General/IconDotOutline.d.ts +0 -1
  650. package/lib/icons/General/IconDotOutline.js +4 -18
  651. package/lib/icons/General/IconDownload.d.ts +0 -1
  652. package/lib/icons/General/IconDownload.js +4 -18
  653. package/lib/icons/General/IconDraft.d.ts +0 -1
  654. package/lib/icons/General/IconDraft.js +4 -18
  655. package/lib/icons/General/IconEarth.d.ts +0 -1
  656. package/lib/icons/General/IconEarth.js +5 -19
  657. package/lib/icons/General/IconEconomy.d.ts +0 -1
  658. package/lib/icons/General/IconEconomy.js +5 -19
  659. package/lib/icons/General/IconEconomyFilled.d.ts +0 -1
  660. package/lib/icons/General/IconEconomyFilled.js +5 -19
  661. package/lib/icons/General/IconEdit.d.ts +0 -1
  662. package/lib/icons/General/IconEdit.js +5 -19
  663. package/lib/icons/General/IconElevator.d.ts +0 -1
  664. package/lib/icons/General/IconElevator.js +4 -18
  665. package/lib/icons/General/IconEmailMarkAsRead.d.ts +0 -1
  666. package/lib/icons/General/IconEmailMarkAsRead.js +5 -18
  667. package/lib/icons/General/IconErrorFilled.d.ts +0 -1
  668. package/lib/icons/General/IconErrorFilled.js +4 -18
  669. package/lib/icons/General/IconErrorOutline.d.ts +0 -1
  670. package/lib/icons/General/IconErrorOutline.js +4 -18
  671. package/lib/icons/General/IconExternalLink.d.ts +0 -1
  672. package/lib/icons/General/IconExternalLink.js +4 -18
  673. package/lib/icons/General/IconEye.d.ts +0 -1
  674. package/lib/icons/General/IconEye.js +4 -18
  675. package/lib/icons/General/IconEyeDeny.d.ts +0 -1
  676. package/lib/icons/General/IconEyeDeny.js +5 -19
  677. package/lib/icons/General/IconFamily.d.ts +0 -1
  678. package/lib/icons/General/IconFamily.js +5 -19
  679. package/lib/icons/General/IconFerry.d.ts +0 -1
  680. package/lib/icons/General/IconFerry.js +4 -18
  681. package/lib/icons/General/IconFile.d.ts +0 -1
  682. package/lib/icons/General/IconFile.js +4 -18
  683. package/lib/icons/General/IconFileAdd.d.ts +0 -1
  684. package/lib/icons/General/IconFileAdd.js +5 -19
  685. package/lib/icons/General/IconFileCopy.d.ts +0 -1
  686. package/lib/icons/General/IconFileCopy.js +5 -19
  687. package/lib/icons/General/IconFileEdit.d.ts +0 -1
  688. package/lib/icons/General/IconFileEdit.js +4 -18
  689. package/lib/icons/General/IconFileExcel.d.ts +0 -1
  690. package/lib/icons/General/IconFileExcel.js +4 -18
  691. package/lib/icons/General/IconFilePDF.d.ts +0 -1
  692. package/lib/icons/General/IconFilePDF.js +4 -18
  693. package/lib/icons/General/IconFileWord.d.ts +0 -1
  694. package/lib/icons/General/IconFileWord.js +4 -18
  695. package/lib/icons/General/IconFillOut.d.ts +0 -1
  696. package/lib/icons/General/IconFillOut.js +4 -22
  697. package/lib/icons/General/IconFilterList.d.ts +0 -1
  698. package/lib/icons/General/IconFilterList.js +5 -19
  699. package/lib/icons/General/IconFloor.d.ts +0 -1
  700. package/lib/icons/General/IconFloor.js +4 -18
  701. package/lib/icons/General/IconForward.d.ts +0 -1
  702. package/lib/icons/General/IconForward.js +5 -19
  703. package/lib/icons/General/IconFullscreenClose.d.ts +0 -1
  704. package/lib/icons/General/IconFullscreenClose.js +5 -19
  705. package/lib/icons/General/IconFullscreenOpen.d.ts +0 -1
  706. package/lib/icons/General/IconFullscreenOpen.js +5 -19
  707. package/lib/icons/General/IconGarage.d.ts +0 -1
  708. package/lib/icons/General/IconGarage.js +4 -18
  709. package/lib/icons/General/IconGrid.d.ts +0 -1
  710. package/lib/icons/General/IconGrid.js +4 -18
  711. package/lib/icons/General/IconGym.d.ts +0 -1
  712. package/lib/icons/General/IconGym.js +4 -18
  713. package/lib/icons/General/IconHearth.d.ts +0 -1
  714. package/lib/icons/General/IconHearth.js +4 -18
  715. package/lib/icons/General/IconHearthOutline.d.ts +0 -1
  716. package/lib/icons/General/IconHearthOutline.js +4 -18
  717. package/lib/icons/General/IconHelp.d.ts +0 -1
  718. package/lib/icons/General/IconHelp.js +4 -18
  719. package/lib/icons/General/IconHistory.d.ts +0 -1
  720. package/lib/icons/General/IconHistory.js +4 -18
  721. package/lib/icons/General/IconHomeFilled.d.ts +0 -1
  722. package/lib/icons/General/IconHomeFilled.js +4 -36
  723. package/lib/icons/General/IconHomeOutline.d.ts +0 -1
  724. package/lib/icons/General/IconHomeOutline.js +4 -36
  725. package/lib/icons/General/IconHouse.d.ts +0 -1
  726. package/lib/icons/General/IconHouse.js +4 -18
  727. package/lib/icons/General/IconHouseBlockFilled.d.ts +0 -1
  728. package/lib/icons/General/IconHouseBlockFilled.js +4 -36
  729. package/lib/icons/General/IconHouseBlockOutline.d.ts +0 -1
  730. package/lib/icons/General/IconHouseBlockOutline.js +4 -36
  731. package/lib/icons/General/IconHouseOutline.d.ts +0 -1
  732. package/lib/icons/General/IconHouseOutline.js +5 -19
  733. package/lib/icons/General/IconHumans.d.ts +0 -1
  734. package/lib/icons/General/IconHumans.js +5 -19
  735. package/lib/icons/General/IconImage.d.ts +0 -1
  736. package/lib/icons/General/IconImage.js +4 -29
  737. package/lib/icons/General/IconImportantComment.d.ts +0 -1
  738. package/lib/icons/General/IconImportantComment.js +4 -18
  739. package/lib/icons/General/IconInbox.d.ts +0 -1
  740. package/lib/icons/General/IconInbox.js +4 -18
  741. package/lib/icons/General/IconInfoFilled.d.ts +0 -1
  742. package/lib/icons/General/IconInfoFilled.js +5 -19
  743. package/lib/icons/General/IconInfoOutline.d.ts +0 -1
  744. package/lib/icons/General/IconInfoOutline.js +5 -19
  745. package/lib/icons/General/IconJanitorFilled.d.ts +0 -1
  746. package/lib/icons/General/IconJanitorFilled.js +5 -58
  747. package/lib/icons/General/IconJanitorOutline.d.ts +0 -1
  748. package/lib/icons/General/IconJanitorOutline.js +5 -58
  749. package/lib/icons/General/IconJointcost.d.ts +0 -1
  750. package/lib/icons/General/IconJointcost.js +4 -18
  751. package/lib/icons/General/IconJointcost2.d.ts +0 -1
  752. package/lib/icons/General/IconJointcost2.js +4 -18
  753. package/lib/icons/General/IconKey.d.ts +0 -1
  754. package/lib/icons/General/IconKey.js +4 -18
  755. package/lib/icons/General/IconKitchen.d.ts +0 -1
  756. package/lib/icons/General/IconKitchen.js +4 -18
  757. package/lib/icons/General/IconLabel.d.ts +0 -1
  758. package/lib/icons/General/IconLabel.js +5 -19
  759. package/lib/icons/General/IconLeafFilled.d.ts +0 -1
  760. package/lib/icons/General/IconLeafFilled.js +4 -42
  761. package/lib/icons/General/IconLeafOutline.d.ts +0 -1
  762. package/lib/icons/General/IconLeafOutline.js +4 -47
  763. package/lib/icons/General/IconLeisureTime.d.ts +0 -1
  764. package/lib/icons/General/IconLeisureTime.js +5 -19
  765. package/lib/icons/General/IconLock.d.ts +0 -1
  766. package/lib/icons/General/IconLock.js +4 -18
  767. package/lib/icons/General/IconLockLocked.d.ts +0 -1
  768. package/lib/icons/General/IconLockLocked.js +4 -18
  769. package/lib/icons/General/IconLockOpen.d.ts +0 -1
  770. package/lib/icons/General/IconLockOpen.js +4 -18
  771. package/lib/icons/General/IconLookup.d.ts +0 -1
  772. package/lib/icons/General/IconLookup.js +5 -19
  773. package/lib/icons/General/IconLookupFilled.d.ts +0 -1
  774. package/lib/icons/General/IconLookupFilled.js +5 -19
  775. package/lib/icons/General/IconMail.d.ts +0 -1
  776. package/lib/icons/General/IconMail.js +5 -19
  777. package/lib/icons/General/IconMap.d.ts +0 -1
  778. package/lib/icons/General/IconMap.js +5 -19
  779. package/lib/icons/General/IconMedal.d.ts +0 -1
  780. package/lib/icons/General/IconMedal.js +5 -18
  781. package/lib/icons/General/IconMembership.d.ts +0 -1
  782. package/lib/icons/General/IconMembership.js +5 -19
  783. package/lib/icons/General/IconMembershipFilled.d.ts +0 -1
  784. package/lib/icons/General/IconMembershipFilled.js +5 -19
  785. package/lib/icons/General/IconMenu.d.ts +0 -1
  786. package/lib/icons/General/IconMenu.js +4 -18
  787. package/lib/icons/General/IconMinus.d.ts +0 -1
  788. package/lib/icons/General/IconMinus.js +4 -18
  789. package/lib/icons/General/IconMinusAlt.d.ts +0 -1
  790. package/lib/icons/General/IconMinusAlt.js +5 -19
  791. package/lib/icons/General/IconMinusAltFilled.d.ts +0 -1
  792. package/lib/icons/General/IconMinusAltFilled.js +5 -19
  793. package/lib/icons/General/IconMoney.d.ts +0 -1
  794. package/lib/icons/General/IconMoney.js +4 -18
  795. package/lib/icons/General/IconParking.d.ts +0 -1
  796. package/lib/icons/General/IconParking.js +4 -18
  797. package/lib/icons/General/IconPaymentCard.d.ts +0 -1
  798. package/lib/icons/General/IconPaymentCard.js +4 -18
  799. package/lib/icons/General/IconPercent.d.ts +0 -1
  800. package/lib/icons/General/IconPercent.js +5 -18
  801. package/lib/icons/General/IconPhone.d.ts +0 -1
  802. package/lib/icons/General/IconPhone.js +5 -19
  803. package/lib/icons/General/IconPinned.d.ts +0 -1
  804. package/lib/icons/General/IconPinned.js +5 -19
  805. package/lib/icons/General/IconPlus.d.ts +0 -1
  806. package/lib/icons/General/IconPlus.js +4 -18
  807. package/lib/icons/General/IconPlusAlt.d.ts +0 -1
  808. package/lib/icons/General/IconPlusAlt.js +5 -19
  809. package/lib/icons/General/IconPortalUser.d.ts +0 -1
  810. package/lib/icons/General/IconPortalUser.js +5 -19
  811. package/lib/icons/General/IconPrint.d.ts +0 -1
  812. package/lib/icons/General/IconPrint.js +5 -19
  813. package/lib/icons/General/IconProfile.d.ts +0 -1
  814. package/lib/icons/General/IconProfile.js +5 -19
  815. package/lib/icons/General/IconProfileFilled.d.ts +0 -1
  816. package/lib/icons/General/IconProfileFilled.js +5 -19
  817. package/lib/icons/General/IconRearrange.d.ts +0 -1
  818. package/lib/icons/General/IconRearrange.js +4 -56
  819. package/lib/icons/General/IconReciept.d.ts +0 -1
  820. package/lib/icons/General/IconReciept.js +4 -18
  821. package/lib/icons/General/IconRedo.d.ts +0 -1
  822. package/lib/icons/General/IconRedo.js +4 -18
  823. package/lib/icons/General/IconRefresh.d.ts +0 -1
  824. package/lib/icons/General/IconRefresh.js +4 -18
  825. package/lib/icons/General/IconReply.d.ts +0 -1
  826. package/lib/icons/General/IconReply.js +5 -19
  827. package/lib/icons/General/IconReplyAll.d.ts +0 -1
  828. package/lib/icons/General/IconReplyAll.js +5 -19
  829. package/lib/icons/General/IconRoom.d.ts +0 -1
  830. package/lib/icons/General/IconRoom.js +4 -18
  831. package/lib/icons/General/IconSave.d.ts +0 -1
  832. package/lib/icons/General/IconSave.js +4 -18
  833. package/lib/icons/General/IconSearch.d.ts +0 -1
  834. package/lib/icons/General/IconSearch.js +4 -18
  835. package/lib/icons/General/IconSend.d.ts +0 -1
  836. package/lib/icons/General/IconSend.js +4 -18
  837. package/lib/icons/General/IconSettings.d.ts +0 -1
  838. package/lib/icons/General/IconSettings.js +4 -18
  839. package/lib/icons/General/IconShopping.d.ts +0 -1
  840. package/lib/icons/General/IconShopping.js +5 -19
  841. package/lib/icons/General/IconSign.d.ts +0 -1
  842. package/lib/icons/General/IconSign.js +4 -18
  843. package/lib/icons/General/IconSliders.d.ts +0 -1
  844. package/lib/icons/General/IconSliders.js +5 -19
  845. package/lib/icons/General/IconSort.d.ts +0 -1
  846. package/lib/icons/General/IconSort.js +5 -19
  847. package/lib/icons/General/IconStarFilled.d.ts +0 -1
  848. package/lib/icons/General/IconStarFilled.js +4 -18
  849. package/lib/icons/General/IconStarHalf.d.ts +0 -1
  850. package/lib/icons/General/IconStarHalf.js +4 -18
  851. package/lib/icons/General/IconStarOutline.d.ts +0 -1
  852. package/lib/icons/General/IconStarOutline.js +4 -18
  853. package/lib/icons/General/IconStore.d.ts +0 -1
  854. package/lib/icons/General/IconStore.js +4 -18
  855. package/lib/icons/General/IconSubway.d.ts +0 -1
  856. package/lib/icons/General/IconSubway.js +4 -18
  857. package/lib/icons/General/IconSwitch.d.ts +0 -1
  858. package/lib/icons/General/IconSwitch.js +4 -18
  859. package/lib/icons/General/IconTrain.d.ts +0 -1
  860. package/lib/icons/General/IconTrain.js +4 -18
  861. package/lib/icons/General/IconTram.d.ts +0 -1
  862. package/lib/icons/General/IconTram.js +4 -18
  863. package/lib/icons/General/IconTransport.d.ts +0 -1
  864. package/lib/icons/General/IconTransport.js +4 -18
  865. package/lib/icons/General/IconTypeOfBuilding.d.ts +0 -1
  866. package/lib/icons/General/IconTypeOfBuilding.js +5 -19
  867. package/lib/icons/General/IconTypeOfBuildingOutline.d.ts +0 -1
  868. package/lib/icons/General/IconTypeOfBuildingOutline.js +5 -19
  869. package/lib/icons/General/IconUndo.d.ts +0 -1
  870. package/lib/icons/General/IconUndo.js +5 -19
  871. package/lib/icons/General/IconUpload.d.ts +0 -1
  872. package/lib/icons/General/IconUpload.js +4 -18
  873. package/lib/icons/General/IconUser.d.ts +0 -1
  874. package/lib/icons/General/IconUser.js +5 -19
  875. package/lib/icons/General/IconUserThin.d.ts +0 -1
  876. package/lib/icons/General/IconUserThin.js +5 -19
  877. package/lib/icons/General/IconVote.d.ts +0 -1
  878. package/lib/icons/General/IconVote.js +4 -18
  879. package/lib/icons/General/IconWalk.d.ts +0 -1
  880. package/lib/icons/General/IconWalk.js +4 -18
  881. package/lib/icons/General/IconWarning.d.ts +0 -1
  882. package/lib/icons/General/IconWarning.js +4 -18
  883. package/lib/icons/General/IconWarningBell.d.ts +0 -1
  884. package/lib/icons/General/IconWarningBell.js +4 -18
  885. package/lib/icons/General/IconWork.d.ts +0 -1
  886. package/lib/icons/General/IconWork.js +5 -19
  887. package/lib/icons/General/IconWorkFilled.d.ts +0 -1
  888. package/lib/icons/General/IconWorkFilled.js +5 -19
  889. package/lib/icons/General/IconZip.d.ts +0 -1
  890. package/lib/icons/General/IconZip.js +4 -18
  891. package/lib/icons/Icon.stories.d.ts +12 -13
  892. package/lib/icons/Icon.stories.js +227 -625
  893. package/lib/icons/Logos/IconAmericanExpress.d.ts +0 -1
  894. package/lib/icons/Logos/IconAmericanExpress.js +5 -21
  895. package/lib/icons/Logos/IconBankAxept.d.ts +0 -1
  896. package/lib/icons/Logos/IconBankAxept.js +5 -44
  897. package/lib/icons/Logos/IconGmail.d.ts +0 -1
  898. package/lib/icons/Logos/IconGmail.js +3 -38
  899. package/lib/icons/Logos/IconMasterCard.d.ts +0 -1
  900. package/lib/icons/Logos/IconMasterCard.js +5 -39
  901. package/lib/icons/Logos/IconOffice365.d.ts +0 -1
  902. package/lib/icons/Logos/IconOffice365.js +5 -130
  903. package/lib/icons/Logos/IconVisa.d.ts +0 -1
  904. package/lib/icons/Logos/IconVisa.js +5 -38
  905. package/lib/icons/withIcon.d.ts +0 -1
  906. package/lib/icons/withIcon.js +48 -64
  907. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.d.ts +0 -1
  908. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +5 -7125
  909. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.d.ts +0 -1
  910. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +6 -8489
  911. package/lib/illustrations/General/IllustrationBudget.d.ts +0 -1
  912. package/lib/illustrations/General/IllustrationBudget.js +5 -191
  913. package/lib/illustrations/General/IllustrationError.d.ts +0 -1
  914. package/lib/illustrations/General/IllustrationError.js +5 -530
  915. package/lib/illustrations/General/IllustrationErrorGeneric.d.ts +0 -1
  916. package/lib/illustrations/General/IllustrationErrorGeneric.js +5 -468
  917. package/lib/illustrations/General/IllustrationHighHouse.d.ts +0 -1
  918. package/lib/illustrations/General/IllustrationHighHouse.js +4 -212
  919. package/lib/illustrations/General/IllustrationHighHouseComposition.d.ts +0 -1
  920. package/lib/illustrations/General/IllustrationHighHouseComposition.js +4 -292
  921. package/lib/illustrations/General/IllustrationHouse.d.ts +0 -1
  922. package/lib/illustrations/General/IllustrationHouse.js +4 -81
  923. package/lib/illustrations/General/IllustrationHouseComposition.d.ts +0 -1
  924. package/lib/illustrations/General/IllustrationHouseComposition.js +4 -141
  925. package/lib/illustrations/General/IllustrationHouseMissing.d.ts +0 -1
  926. package/lib/illustrations/General/IllustrationHouseMissing.js +5 -186
  927. package/lib/illustrations/General/IllustrationLowHouse.d.ts +0 -1
  928. package/lib/illustrations/General/IllustrationLowHouse.js +4 -122
  929. package/lib/illustrations/General/IllustrationLowHouseComposition.d.ts +0 -1
  930. package/lib/illustrations/General/IllustrationLowHouseComposition.js +4 -202
  931. package/lib/illustrations/General/IllustrationPaperCompleted.d.ts +0 -1
  932. package/lib/illustrations/General/IllustrationPaperCompleted.js +5 -255
  933. package/lib/illustrations/General/IllustrationPaperMissing.d.ts +0 -1
  934. package/lib/illustrations/General/IllustrationPaperMissing.js +5 -293
  935. package/lib/illustrations/General/IllustrationSemiDetachedHouse.d.ts +0 -1
  936. package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +4 -80
  937. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.d.ts +0 -1
  938. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +4 -154
  939. package/lib/illustrations/General/IllustrationServiceMessage.d.ts +0 -1
  940. package/lib/illustrations/General/IllustrationServiceMessage.js +5 -47
  941. package/lib/illustrations/General/IllustrationSmallHouse.d.ts +0 -1
  942. package/lib/illustrations/General/IllustrationSmallHouse.js +4 -56
  943. package/lib/illustrations/General/IllustrationSmallHouseComposition.d.ts +0 -1
  944. package/lib/illustrations/General/IllustrationSmallHouseComposition.js +4 -129
  945. package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +0 -1
  946. package/lib/illustrations/General/IllustrationTechninalDifficulties.js +7 -126
  947. package/lib/illustrations/General/IllustrationTerraceBlock.d.ts +0 -1
  948. package/lib/illustrations/General/IllustrationTerraceBlock.js +4 -176
  949. package/lib/illustrations/General/IllustrationTerraceBlockComposition.d.ts +0 -1
  950. package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +4 -240
  951. package/lib/illustrations/General/IllustrationTownHouse.d.ts +0 -1
  952. package/lib/illustrations/General/IllustrationTownHouse.js +4 -104
  953. package/lib/illustrations/General/IllustrationTownHouseComposition.d.ts +0 -1
  954. package/lib/illustrations/General/IllustrationTownHouseComposition.js +4 -184
  955. package/lib/illustrations/Illustration.stories.d.ts +5 -6
  956. package/lib/illustrations/Illustration.stories.js +57 -190
  957. package/lib/illustrations/MySite/IllustrationMySiteAssociation.d.ts +0 -1
  958. package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +4 -85
  959. package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +0 -1
  960. package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +5 -186
  961. package/lib/illustrations/MySite/IllustrationMySiteBuilding.d.ts +0 -1
  962. package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +5 -173
  963. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.d.ts +0 -1
  964. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +5 -157
  965. package/lib/illustrations/MySite/IllustrationMySiteComputer.d.ts +0 -1
  966. package/lib/illustrations/MySite/IllustrationMySiteComputer.js +5 -140
  967. package/lib/illustrations/MySite/IllustrationMySiteCooperative.d.ts +0 -1
  968. package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +4 -123
  969. package/lib/illustrations/MySite/IllustrationMySiteDashboard.d.ts +0 -1
  970. package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +4 -137
  971. package/lib/illustrations/MySite/IllustrationMySiteGift.d.ts +0 -1
  972. package/lib/illustrations/MySite/IllustrationMySiteGift.js +5 -304
  973. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +0 -1
  974. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +5 -83
  975. package/lib/illustrations/MySite/IllustrationMySiteMailbox.d.ts +0 -1
  976. package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +4 -105
  977. package/lib/illustrations/MySite/IllustrationMySitePapers.d.ts +0 -1
  978. package/lib/illustrations/MySite/IllustrationMySitePapers.js +5 -254
  979. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.d.ts +0 -1
  980. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +5 -257
  981. package/lib/illustrations/MySite/IllustrationMySiteTransfer.d.ts +0 -1
  982. package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +5 -141
  983. package/lib/illustrations/styles.d.ts +0 -1
  984. package/lib/illustrations/styles.js +93 -21
  985. package/lib/illustrations/withIllustration.d.ts +0 -1
  986. package/lib/illustrations/withIllustration.js +41 -57
  987. package/lib/index.d.ts +0 -1
  988. package/lib/index.d.ts.map +1 -1
  989. package/lib/index.js +327 -2409
  990. package/lib/layout/Footer/Footer.stories.d.ts +2 -3
  991. package/lib/layout/Footer/Footer.stories.js +17 -66
  992. package/lib/layout/Footer/FooterButton/index.d.ts +0 -1
  993. package/lib/layout/Footer/FooterButton/index.js +5 -22
  994. package/lib/layout/Footer/FooterButton/styles.d.ts +0 -1
  995. package/lib/layout/Footer/FooterButton/styles.js +14 -22
  996. package/lib/layout/Footer/FooterCol/index.d.ts +0 -1
  997. package/lib/layout/Footer/FooterCol/index.js +5 -17
  998. package/lib/layout/Footer/FooterCol/styles.d.ts +0 -1
  999. package/lib/layout/Footer/FooterCol/styles.js +7 -22
  1000. package/lib/layout/Footer/FooterGroup/index.d.ts +0 -1
  1001. package/lib/layout/Footer/FooterGroup/index.js +5 -17
  1002. package/lib/layout/Footer/FooterGroup/styles.d.ts +0 -1
  1003. package/lib/layout/Footer/FooterGroup/styles.js +8 -21
  1004. package/lib/layout/Footer/FooterLabel/index.d.ts +0 -1
  1005. package/lib/layout/Footer/FooterLabel/index.js +5 -17
  1006. package/lib/layout/Footer/FooterLabel/styles.d.ts +0 -1
  1007. package/lib/layout/Footer/FooterLabel/styles.js +8 -22
  1008. package/lib/layout/Footer/FooterLink/index.d.ts +0 -1
  1009. package/lib/layout/Footer/FooterLink/index.js +5 -23
  1010. package/lib/layout/Footer/FooterLink/styles.d.ts +0 -1
  1011. package/lib/layout/Footer/FooterLink/styles.js +18 -22
  1012. package/lib/layout/Footer/index.d.ts +0 -1
  1013. package/lib/layout/Footer/index.js +5 -22
  1014. package/lib/layout/Footer/styles.d.ts +0 -1
  1015. package/lib/layout/Footer/styles.js +24 -17
  1016. package/lib/layout/Layout/Layout.stories.d.ts +1 -2
  1017. package/lib/layout/Layout/Layout.stories.js +9 -20
  1018. package/lib/layout/Layout/index.d.ts +0 -1
  1019. package/lib/layout/Layout/index.js +5 -19
  1020. package/lib/layout/Layout/styles.d.ts +0 -1
  1021. package/lib/layout/Layout/styles.js +13 -16
  1022. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +3 -4
  1023. package/lib/layout/LayoutShell/LayoutShell.stories.js +65 -120
  1024. package/lib/layout/LayoutShell/index.d.ts +0 -1
  1025. package/lib/layout/LayoutShell/index.js +10 -55
  1026. package/lib/layout/LayoutShell/styles.d.ts +0 -1
  1027. package/lib/layout/LayoutShell/styles.js +58 -72
  1028. package/lib/layout/Menu/AppPicker/index.d.ts +0 -1
  1029. package/lib/layout/Menu/AppPicker/index.js +20 -63
  1030. package/lib/layout/Menu/AppPicker/styles.d.ts +0 -1
  1031. package/lib/layout/Menu/AppPicker/styles.js +85 -55
  1032. package/lib/layout/Menu/MainMenu/index.d.ts +0 -1
  1033. package/lib/layout/Menu/MainMenu/index.js +5 -24
  1034. package/lib/layout/Menu/MainMenu/styles.d.ts +0 -1
  1035. package/lib/layout/Menu/MainMenu/styles.js +28 -21
  1036. package/lib/layout/Menu/MenuItem/index.d.ts +0 -1
  1037. package/lib/layout/Menu/MenuItem/index.js +8 -46
  1038. package/lib/layout/Menu/MenuItem/styles.d.ts +0 -1
  1039. package/lib/layout/Menu/MenuItem/styles.js +78 -36
  1040. package/lib/layout/Menu/MenuSpacer/index.d.ts +0 -1
  1041. package/lib/layout/Menu/MenuSpacer/index.js +5 -17
  1042. package/lib/layout/Menu/MenuSpacer/styles.d.ts +0 -1
  1043. package/lib/layout/Menu/MenuSpacer/styles.js +16 -14
  1044. package/lib/layout/Menu/MenuTop/index.d.ts +0 -1
  1045. package/lib/layout/Menu/MenuTop/index.js +6 -33
  1046. package/lib/layout/Menu/MenuTop/styles.d.ts +0 -1
  1047. package/lib/layout/Menu/MenuTop/styles.js +43 -36
  1048. package/lib/layout/Menu/SecondaryMenu/index.d.ts +0 -1
  1049. package/lib/layout/Menu/SecondaryMenu/index.js +11 -46
  1050. package/lib/layout/Menu/SecondaryMenu/styles.d.ts +0 -1
  1051. package/lib/layout/Menu/SecondaryMenu/styles.js +82 -34
  1052. package/lib/layout/Menu/SecondaryMenuItem/index.d.ts +0 -1
  1053. package/lib/layout/Menu/SecondaryMenuItem/index.js +11 -34
  1054. package/lib/layout/Menu/SecondaryMenuItem/styles.d.ts +0 -1
  1055. package/lib/layout/Menu/SecondaryMenuItem/styles.js +34 -15
  1056. package/lib/layout/Menu/Sidemenu.stories.d.ts +4 -5
  1057. package/lib/layout/Menu/Sidemenu.stories.js +33 -329
  1058. package/lib/layout/Menu/index.d.ts +0 -1
  1059. package/lib/layout/Menu/index.js +7 -24
  1060. package/lib/layout/Menu/styles.d.ts +0 -1
  1061. package/lib/layout/Menu/styles.js +29 -15
  1062. package/lib/layout/Submenu/Submenu.stories.d.ts +6 -7
  1063. package/lib/layout/Submenu/Submenu.stories.js +29 -94
  1064. package/lib/layout/Submenu/SubmenuItem/index.d.ts +0 -1
  1065. package/lib/layout/Submenu/SubmenuItem/index.js +28 -88
  1066. package/lib/layout/Submenu/SubmenuItem/styles.d.ts +0 -1
  1067. package/lib/layout/Submenu/SubmenuItem/styles.js +29 -26
  1068. package/lib/layout/Submenu/SubmenuLightThemeBg/index.d.ts +0 -1
  1069. package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +4 -51
  1070. package/lib/layout/Submenu/index.d.ts +0 -1
  1071. package/lib/layout/Submenu/index.js +76 -128
  1072. package/lib/layout/Submenu/styles.d.ts +0 -1
  1073. package/lib/layout/Submenu/styles.js +151 -79
  1074. package/lib/layout/Topbar/Topbar.stories.d.ts +2 -3
  1075. package/lib/layout/Topbar/Topbar.stories.js +19 -28
  1076. package/lib/layout/Topbar/index.d.ts +0 -1
  1077. package/lib/layout/Topbar/index.js +5 -22
  1078. package/lib/layout/Topbar/styles.d.ts +0 -1
  1079. package/lib/layout/Topbar/styles.js +3 -15
  1080. package/lib/shared/components/SbIconGrid/index.d.ts +0 -1
  1081. package/lib/shared/components/SbIconGrid/index.js +14 -33
  1082. package/lib/shared/components/VisuallyHidden/index.d.ts +0 -1
  1083. package/lib/shared/components/VisuallyHidden/index.js +13 -24
  1084. package/lib/shared/recharts/CustomLegend/index.d.ts +0 -1
  1085. package/lib/shared/recharts/CustomLegend/index.js +7 -43
  1086. package/lib/shared/recharts/CustomLegend/styles.d.ts +0 -1
  1087. package/lib/shared/recharts/CustomLegend/styles.js +29 -29
  1088. package/lib/shared/recharts/CustomTooltip/index.d.ts +0 -1
  1089. package/lib/shared/recharts/CustomTooltip/index.js +39 -81
  1090. package/lib/shared/recharts/CustomTooltip/styles.d.ts +0 -1
  1091. package/lib/shared/recharts/CustomTooltip/styles.js +29 -42
  1092. package/lib/utils/accountNumber.d.ts +0 -1
  1093. package/lib/utils/accountNumber.js +29 -33
  1094. package/lib/utils/alpha.d.ts +0 -1
  1095. package/lib/utils/alpha.js +9 -14
  1096. package/lib/utils/array.d.ts +0 -1
  1097. package/lib/utils/array.js +9 -15
  1098. package/lib/utils/contrastColor.d.ts +0 -1
  1099. package/lib/utils/contrastColor.js +17 -23
  1100. package/lib/utils/dates.d.ts +0 -1
  1101. package/lib/utils/dates.js +116 -85
  1102. package/lib/utils/file.d.ts +0 -1
  1103. package/lib/utils/file.js +11 -19
  1104. package/lib/utils/format.d.ts +0 -1
  1105. package/lib/utils/format.js +83 -83
  1106. package/lib/utils/formatGraphPrice.d.ts +0 -1
  1107. package/lib/utils/formatGraphPrice.js +18 -21
  1108. package/lib/utils/image.d.ts +0 -1
  1109. package/lib/utils/image.js +8 -14
  1110. package/lib/utils/pagination.d.ts +0 -1
  1111. package/lib/utils/pagination.js +16 -21
  1112. package/lib/utils/phone.d.ts +0 -1
  1113. package/lib/utils/phone.js +30 -37
  1114. package/lib/utils/removeFocusOnMouseUp.d.ts +0 -1
  1115. package/lib/utils/removeFocusOnMouseUp.js +6 -15
  1116. package/lib/utils/time.d.ts +0 -1
  1117. package/lib/utils/time.js +67 -80
  1118. package/lib/utils/url.d.ts +0 -1
  1119. package/lib/utils/url.js +10 -16
  1120. package/lib/utils/useSnorreTheme.d.ts +0 -1
  1121. package/lib/utils/useSnorreTheme.js +27 -36
  1122. package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.d.ts +1 -2
  1123. package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.js +67 -82
  1124. package/lib/v2/Memberbenefits/MemberbenefitsCard/index.d.ts +0 -1
  1125. package/lib/v2/Memberbenefits/MemberbenefitsCard/index.js +34 -108
  1126. package/lib/v2/Memberbenefits/MemberbenefitsCard/model.d.ts +0 -1
  1127. package/lib/v2/Memberbenefits/MemberbenefitsCard/model.js +5 -11
  1128. package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.d.ts +0 -1
  1129. package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.js +106 -149
  1130. package/lib/v2/core/Box/Box.stories.d.ts +0 -1
  1131. package/lib/v2/core/Box/Box.stories.js +76 -105
  1132. package/lib/v2/core/Box/index.d.ts +0 -1
  1133. package/lib/v2/core/Box/index.js +27 -81
  1134. package/lib/v2/core/Box/styles.d.ts +0 -1
  1135. package/lib/v2/core/Box/styles.js +67 -56
  1136. package/lib/v2/core/BoxedTable/BoxedTable.stories.d.ts +8 -9
  1137. package/lib/v2/core/BoxedTable/BoxedTable.stories.js +43 -357
  1138. package/lib/v2/core/BoxedTable/DraggableRow/index.d.ts +0 -1
  1139. package/lib/v2/core/BoxedTable/DraggableRow/index.js +6 -42
  1140. package/lib/v2/core/BoxedTable/DraggableRow/styles.d.ts +0 -1
  1141. package/lib/v2/core/BoxedTable/DraggableRow/styles.js +29 -60
  1142. package/lib/v2/core/BoxedTable/HeaderCell/index.d.ts +0 -1
  1143. package/lib/v2/core/BoxedTable/HeaderCell/index.js +23 -41
  1144. package/lib/v2/core/BoxedTable/HeaderCell/styles.d.ts +0 -1
  1145. package/lib/v2/core/BoxedTable/HeaderCell/styles.js +12 -17
  1146. package/lib/v2/core/BoxedTable/RowCell/index.d.ts +0 -1
  1147. package/lib/v2/core/BoxedTable/RowCell/index.js +14 -34
  1148. package/lib/v2/core/BoxedTable/RowCell/styles.d.ts +0 -1
  1149. package/lib/v2/core/BoxedTable/RowCell/styles.js +48 -53
  1150. package/lib/v2/core/BoxedTable/TableHeader/index.d.ts +0 -1
  1151. package/lib/v2/core/BoxedTable/TableHeader/index.js +5 -18
  1152. package/lib/v2/core/BoxedTable/TableHeader/styles.d.ts +0 -1
  1153. package/lib/v2/core/BoxedTable/TableHeader/styles.js +7 -22
  1154. package/lib/v2/core/BoxedTable/TableRow/index.d.ts +0 -1
  1155. package/lib/v2/core/BoxedTable/TableRow/index.js +18 -71
  1156. package/lib/v2/core/BoxedTable/TableRow/styles.d.ts +0 -1
  1157. package/lib/v2/core/BoxedTable/TableRow/styles.js +64 -75
  1158. package/lib/v2/core/BoxedTable/index.d.ts +0 -1
  1159. package/lib/v2/core/BoxedTable/index.js +31 -71
  1160. package/lib/v2/core/BoxedTable/models.d.ts +0 -1
  1161. package/lib/v2/core/BoxedTable/models.js +1 -5
  1162. package/lib/v2/core/BoxedTable/styles.d.ts +0 -1
  1163. package/lib/v2/core/BoxedTable/styles.js +262 -116
  1164. package/lib/v2/core/Button/Button.stories.d.ts +0 -1
  1165. package/lib/v2/core/Button/Button.stories.js +184 -193
  1166. package/lib/v2/core/Button/index.d.ts +0 -1
  1167. package/lib/v2/core/Button/index.js +52 -73
  1168. package/lib/v2/core/Button/styles.d.ts +0 -1
  1169. package/lib/v2/core/Button/styles.js +233 -86
  1170. package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.d.ts +0 -1
  1171. package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.js +29 -41
  1172. package/lib/v2/core/ButtonsFilter/index.d.ts +0 -1
  1173. package/lib/v2/core/ButtonsFilter/index.js +40 -78
  1174. package/lib/v2/core/ButtonsFilter/styles.d.ts +0 -1
  1175. package/lib/v2/core/ButtonsFilter/styles.js +7 -22
  1176. package/lib/v2/core/Chip/Chip.stories.d.ts +0 -1
  1177. package/lib/v2/core/Chip/Chip.stories.js +72 -85
  1178. package/lib/v2/core/Chip/index.d.ts +0 -1
  1179. package/lib/v2/core/Chip/index.js +47 -68
  1180. package/lib/v2/core/Chip/styles.d.ts +0 -1
  1181. package/lib/v2/core/Chip/styles.js +76 -42
  1182. package/lib/v2/core/TabNav/TabContext.d.ts +0 -1
  1183. package/lib/v2/core/TabNav/TabContext.js +32 -59
  1184. package/lib/v2/core/TabNav/TabNav.stories.d.ts +11 -12
  1185. package/lib/v2/core/TabNav/TabNav.stories.js +162 -300
  1186. package/lib/v2/core/TabNav/TabNavItem/index.d.ts +0 -1
  1187. package/lib/v2/core/TabNav/TabNavItem/index.js +44 -108
  1188. package/lib/v2/core/TabNav/TabNavItem/styles.d.ts +0 -1
  1189. package/lib/v2/core/TabNav/TabNavItem/styles.js +96 -47
  1190. package/lib/v2/core/TabNav/index.d.ts +0 -1
  1191. package/lib/v2/core/TabNav/index.js +56 -130
  1192. package/lib/v2/core/TabNav/styles.d.ts +0 -1
  1193. package/lib/v2/core/TabNav/styles.js +60 -59
  1194. package/lib/v2/core/TabNav/utils/useContainerDimensions.d.ts +0 -1
  1195. package/lib/v2/core/TabNav/utils/useContainerDimensions.js +26 -32
  1196. package/lib/v2/hooks/useOverflow.d.ts +0 -1
  1197. package/lib/v2/hooks/useOverflow.js +31 -48
  1198. package/lib/v2/index.d.ts +0 -1
  1199. package/lib/v2/index.js +14 -97
  1200. package/package.json +11 -7
  1201. package/tsconfig.node.json +11 -0
  1202. package/vite.config.js +24 -1
  1203. package/dist/bundle.js +0 -5
  1204. package/dist/stats.html +0 -4949
@@ -1,55 +1,92 @@
1
- "use strict";
1
+ import { css } from '@emotion/react';
2
+ import styled from '@emotion/styled';
3
+ export const Label = styled.span `
4
+ line-height: 22px;
5
+ font-size: 1em;
6
+ font-weight: 600;
7
+ margin-bottom: 4px;
8
+ `;
9
+ export const ErrorMessage = styled.span `
10
+ font-size: 14px;
11
+ padding-left: 25px;
12
+ line-height: 30px;
13
+ font-weight: 600;
14
+ margin-bottom: 0;
15
+ color: ${(props) => props.theme.alert};
16
+ `;
17
+ const styles = {
18
+ default: (theme, height, width) => css `
19
+ position: relative;
20
+ display: grid;
21
+ grid-template-rows: min-content;
2
22
 
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.styles = exports.default = exports.Label = exports.ErrorMessage = void 0;
7
- var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
- var _react = require("@emotion/react");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
11
- const Label = exports.Label = /*#__PURE__*/(0, _base.default)("span", process.env.NODE_ENV === "production" ? {
12
- target: "edalgqg1"
13
- } : {
14
- target: "edalgqg1",
15
- label: "Label"
16
- })(process.env.NODE_ENV === "production" ? {
17
- name: "1ge8ozm",
18
- styles: "line-height:22px;font-size:1em;font-weight:600;margin-bottom:4px"
19
- } : {
20
- name: "1ge8ozm",
21
- styles: "line-height:22px;font-size:1em;font-weight:600;margin-bottom:4px",
22
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
23
- });
24
- const ErrorMessage = exports.ErrorMessage = /*#__PURE__*/(0, _base.default)("span", process.env.NODE_ENV === "production" ? {
25
- target: "edalgqg0"
26
- } : {
27
- target: "edalgqg0",
28
- label: "ErrorMessage"
29
- })("font-size:14px;padding-left:25px;line-height:30px;font-weight:600;margin-bottom:0;color:", props => props.theme.alert, ";");
30
- const styles = exports.styles = {
31
- default: (theme, height, width) => /*#__PURE__*/(0, _react.css)("position:relative;display:grid;grid-template-rows:min-content;&:focus-within span{color:", theme.primary, ";}input{height:", height, ";width:", width, ";font-size:16px;line-height:20px;outline:none;border-color:", theme.border, ";border-width:1px;border-radius:5px;border-style:solid;padding:0 10px;&:focus{border-color:", theme.primary, ";}&:disabled{background-color:", theme.disabled, ";}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
32
- disabled: theme => /*#__PURE__*/(0, _react.css)({
33
- cursor: 'not-allowed',
34
- backgroundColor: theme.disabled,
35
- borderColor: theme.disabled
36
- }, process.env.NODE_ENV === "production" ? "" : ";label:disabled;"),
37
- nullable: process.env.NODE_ENV === "production" ? {
38
- name: "1azakc",
39
- styles: "text-align:center"
40
- } : {
41
- name: "1lryr3e-nullable",
42
- styles: "text-align:center;label:nullable;",
43
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
44
- },
45
- validation: process.env.NODE_ENV === "production" ? {
46
- name: "dbzhw2",
47
- styles: "&>svg{position:absolute;bottom:7px;left:3px;}"
48
- } : {
49
- name: "1c4etbp-validation",
50
- styles: "&>svg{position:absolute;bottom:7px;left:3px;};label:validation;",
51
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
52
- },
53
- invalid: theme => /*#__PURE__*/(0, _react.css)("&:focus-within span{color:black;}input{border-color:", theme.alert, ";&:active,&:focus,&:hover{border-color:", theme.alert, ";}}svg{path{fill:", theme.alert, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:invalid;"))
23
+ &:focus-within span {
24
+ color: ${theme.primary};
25
+ }
26
+
27
+ input {
28
+ height: ${height};
29
+ width: ${width};
30
+ font-size: 16px;
31
+ line-height: 20px;
32
+ outline: none;
33
+ border-color: ${theme.border};
34
+ border-width: 1px;
35
+ border-radius: 5px;
36
+ border-style: solid;
37
+ padding: 0 10px;
38
+
39
+ &:focus {
40
+ border-color: ${theme.primary};
41
+ }
42
+ &:disabled {
43
+ background-color: ${theme.disabled};
44
+ }
45
+ &::-webkit-outer-spin-button,
46
+ &::-webkit-inner-spin-button {
47
+ -webkit-appearance: none;
48
+ margin: 0;
49
+ }
50
+ &[type='number'] {
51
+ -moz-appearance: textfield;
52
+ }
53
+ }
54
+ `,
55
+ disabled: (theme) => css({
56
+ cursor: 'not-allowed',
57
+ backgroundColor: theme.disabled,
58
+ borderColor: theme.disabled,
59
+ }),
60
+ nullable: css `
61
+ text-align: center;
62
+ `,
63
+ validation: css `
64
+ & > svg {
65
+ position: absolute;
66
+ bottom: 7px;
67
+ left: 3px;
68
+ }
69
+ `,
70
+ invalid: (theme) => css `
71
+ &:focus-within span {
72
+ color: black;
73
+ }
74
+ input {
75
+ border-color: ${theme.alert};
76
+
77
+ &:active,
78
+ &:focus,
79
+ &:hover {
80
+ border-color: ${theme.alert};
81
+ }
82
+ }
83
+
84
+ svg {
85
+ path {
86
+ fill: ${theme.alert};
87
+ }
88
+ }
89
+ `,
54
90
  };
55
- var _default = exports.default = styles;
91
+ export default styles;
92
+ export { styles };
@@ -2,7 +2,6 @@ import { Meta } from '@storybook/react';
2
2
  declare const _default: Meta;
3
3
  export default _default;
4
4
  export declare const TooltipDefault: {
5
- render: () => import("react").JSX.Element;
5
+ render: () => import("react/jsx-runtime").JSX.Element;
6
6
  name: string;
7
7
  };
8
- //# sourceMappingURL=Tooptip.stories.d.ts.map
@@ -1,21 +1,10 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.TooltipDefault = void 0;
7
- var _ = _interopRequireDefault(require("."));
8
- var _jsxRuntime = require("react/jsx-runtime");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- var _default = exports.default = {
11
- title: 'Core/Tooltip',
12
- component: _.default
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import Tooltip from '.';
3
+ export default {
4
+ title: 'Core/Tooltip',
5
+ component: Tooltip,
6
+ };
7
+ export const TooltipDefault = {
8
+ render: () => (_jsx(Tooltip, { tooltip: "I React", delay: 0, children: "geaugaeuhgaehugaehu" })),
9
+ name: 'Tooltip',
13
10
  };
14
- const TooltipDefault = exports.TooltipDefault = {
15
- render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
16
- tooltip: "I React",
17
- delay: 0,
18
- children: "geaugaeuhgaehugaehu"
19
- }),
20
- name: 'Tooltip'
21
- };
@@ -9,4 +9,3 @@ interface IProps extends TooltipTriggerProps, AriaTooltipProps {
9
9
  }
10
10
  declare const Tooltip: React.FC<IProps>;
11
11
  export default Tooltip;
12
- //# sourceMappingURL=index.d.ts.map
@@ -1,46 +1,17 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactAria = require("react-aria");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _reactStately = require("react-stately");
10
- var _styles = require("./styles");
11
- var _jsxRuntime = require("@emotion/react/jsx-runtime");
12
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
13
2
  /** @jsxImportSource @emotion/react */
14
-
15
- const TooltipChild = ({
16
- state,
17
- ...props
18
- }) => {
19
- let {
20
- tooltipProps
21
- } = (0, _reactAria.useTooltip)(props, state);
22
- return (0, _jsxRuntime.jsx)("span", {
23
- css: theme => [_styles.styles.tooltip(theme)],
24
- ...(0, _reactAria.mergeProps)(props, tooltipProps),
25
- children: props.children
26
- });
3
+ import { mergeProps, useTooltip, useTooltipTrigger, } from 'react-aria';
4
+ import React from 'react';
5
+ import { useTooltipTriggerState } from 'react-stately';
6
+ import { styles } from './styles';
7
+ const TooltipChild = ({ state, ...props }) => {
8
+ let { tooltipProps } = useTooltip(props, state);
9
+ return (_jsx("span", { css: (theme) => [styles.tooltip(theme)], ...mergeProps(props, tooltipProps), children: props.children }));
27
10
  };
28
- const Tooltip = props => {
29
- let state = (0, _reactStately.useTooltipTriggerState)(props);
30
- let ref = _react.default.useRef(null);
31
- let {
32
- triggerProps,
33
- tooltipProps
34
- } = (0, _reactAria.useTooltipTrigger)(props, state, ref);
35
- return (0, _jsxRuntime.jsxs)("span", {
36
- css: () => [_styles.styles.default],
37
- ref: ref,
38
- ...triggerProps,
39
- children: [props.children, state.isOpen && (0, _jsxRuntime.jsx)(TooltipChild, {
40
- state: state,
41
- ...tooltipProps,
42
- children: props.tooltip
43
- })]
44
- });
11
+ const Tooltip = (props) => {
12
+ let state = useTooltipTriggerState(props);
13
+ let ref = React.useRef(null);
14
+ let { triggerProps, tooltipProps } = useTooltipTrigger(props, state, ref);
15
+ return (_jsxs("span", { css: () => [styles.default], ref: ref, ...triggerProps, children: [props.children, state.isOpen && (_jsx(TooltipChild, { state: state, ...tooltipProps, children: props.tooltip }))] }));
45
16
  };
46
- var _default = exports.default = Tooltip;
17
+ export default Tooltip;
@@ -3,4 +3,3 @@ export declare const styles: {
3
3
  default: import("@emotion/react").SerializedStyles;
4
4
  tooltip: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
5
5
  };
6
- //# sourceMappingURL=styles.d.ts.map
@@ -1,19 +1,44 @@
1
- "use strict";
1
+ import { css } from '@emotion/react';
2
+ export const styles = {
3
+ default: css `
4
+ position: relative;
5
+ `,
6
+ tooltip: (theme) => css `
7
+ position: absolute;
8
+ left: 0;
9
+ top: 100%;
10
+ max-width: 150px;
11
+ margin-top: 0.5em;
12
+ padding: 0.5em;
13
+ background: #fff;
14
+ border: 1px solid ${theme.border};
15
+ box-shadow: ${theme.shadowSmallDarker};
16
+ border-radius: 5px;
2
17
 
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.styles = void 0;
7
- var _react = require("@emotion/react");
8
- 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)."; }
9
- const styles = exports.styles = {
10
- default: process.env.NODE_ENV === "production" ? {
11
- name: "bjn8wh",
12
- styles: "position:relative"
13
- } : {
14
- name: "1qtb3fn-default",
15
- styles: "position:relative;label:default;",
16
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
17
- },
18
- tooltip: theme => /*#__PURE__*/(0, _react.css)("position:absolute;left:0;top:100%;max-width:150px;margin-top:0.5em;padding:0.5em;background:#fff;border:1px solid ", theme.border, ";box-shadow:", theme.shadowSmallDarker, ";border-radius:5px;&::before{content:'';position:absolute;left:10px;top:-7px;width:0;height:0;border-style:solid;border-width:0 7px 7px 7px;border-color:transparent transparent ", theme.border, " transparent;z-index:9998;}&::after{content:'';position:absolute;left:12px;top:-5px;width:0;height:0;border-style:solid;border-width:0 5px 6px 5px;border-color:transparent transparent #fff transparent;z-index:9999;}" + (process.env.NODE_ENV === "production" ? "" : ";label:tooltip;"))
19
- };
18
+ &::before {
19
+ content: '';
20
+ position: absolute;
21
+ left: 10px;
22
+ top: -7px;
23
+ width: 0;
24
+ height: 0;
25
+ border-style: solid;
26
+ border-width: 0 7px 7px 7px;
27
+ border-color: transparent transparent ${theme.border} transparent;
28
+ z-index: 9998;
29
+ }
30
+
31
+ &::after {
32
+ content: '';
33
+ position: absolute;
34
+ left: 12px;
35
+ top: -5px; /*suppose to be identical to border-width*/
36
+ width: 0;
37
+ height: 0;
38
+ border-style: solid;
39
+ border-width: 0 5px 6px 5px;
40
+ border-color: transparent transparent #fff transparent;
41
+ z-index: 9999;
42
+ }
43
+ `,
44
+ };
@@ -4,4 +4,3 @@ interface IProps {
4
4
  }
5
5
  declare const UnitIllustration: React.FC<IProps>;
6
6
  export default UnitIllustration;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1,66 +1,30 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _IllustrationHighHouseComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationHighHouseComposition"));
9
- var _IllustrationHouseComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationHouseComposition"));
10
- var _IllustrationLowHouseComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationLowHouseComposition"));
11
- var _IllustrationSemiDetachedHouseComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationSemiDetachedHouseComposition"));
12
- var _IllustrationSmallHouseComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationSmallHouseComposition"));
13
- var _IllustrationTerraceBlockComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationTerraceBlockComposition"));
14
- var _IllustrationTownHouseComposition = _interopRequireDefault(require("../../illustrations/General/IllustrationTownHouseComposition"));
15
- var _jsxRuntime = require("react/jsx-runtime");
16
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
- const UnitIllustration = ({
18
- type
19
- }) => {
20
- switch (type) {
21
- case 'Lavblokk':
22
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationLowHouseComposition.default, {
23
- withBackground: true
24
- });
25
- case 'Rekkehus':
26
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationTownHouseComposition.default, {
27
- withBackground: true
28
- });
29
- case 'Høyblokk':
30
- case 'Blokk':
31
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationHighHouseComposition.default, {
32
- withBackground: true
33
- });
34
- case 'Terrasseblokk':
35
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationTerraceBlockComposition.default, {
36
- withBackground: true
37
- });
38
- case 'Hus':
39
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationHouseComposition.default, {
40
- withBackground: true
41
- });
42
- case 'Småhus':
43
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationSmallHouseComposition.default, {
44
- withBackground: true
45
- });
46
- case 'Flermannsbolig':
47
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationSemiDetachedHouseComposition.default, {
48
- withBackground: true
49
- });
50
- default:
51
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IllustrationHouseComposition.default, {
52
- withBackground: true
53
- });
54
- }
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import IllustrationHighHouseComposition from '../../illustrations/General/IllustrationHighHouseComposition';
3
+ import IllustrationHouseComposition from '../../illustrations/General/IllustrationHouseComposition';
4
+ import IllustrationLowHouseComposition from '../../illustrations/General/IllustrationLowHouseComposition';
5
+ import IllustrationSemiDetachedHouseComposition from '../../illustrations/General/IllustrationSemiDetachedHouseComposition';
6
+ import IllustrationSmallHouseComposition from '../../illustrations/General/IllustrationSmallHouseComposition';
7
+ import IllustrationTerraceBlockComposition from '../../illustrations/General/IllustrationTerraceBlockComposition';
8
+ import IllustrationTownHouseComposition from '../../illustrations/General/IllustrationTownHouseComposition';
9
+ const UnitIllustration = ({ type }) => {
10
+ switch (type) {
11
+ case 'Lavblokk':
12
+ return _jsx(IllustrationLowHouseComposition, { withBackground: true });
13
+ case 'Rekkehus':
14
+ return _jsx(IllustrationTownHouseComposition, { withBackground: true });
15
+ case 'Høyblokk':
16
+ case 'Blokk':
17
+ return _jsx(IllustrationHighHouseComposition, { withBackground: true });
18
+ case 'Terrasseblokk':
19
+ return _jsx(IllustrationTerraceBlockComposition, { withBackground: true });
20
+ case 'Hus':
21
+ return _jsx(IllustrationHouseComposition, { withBackground: true });
22
+ case 'Småhus':
23
+ return _jsx(IllustrationSmallHouseComposition, { withBackground: true });
24
+ case 'Flermannsbolig':
25
+ return _jsx(IllustrationSemiDetachedHouseComposition, { withBackground: true });
26
+ default:
27
+ return _jsx(IllustrationHouseComposition, { withBackground: true });
28
+ }
55
29
  };
56
- var _default = exports.default = UnitIllustration;
57
- /*
58
- Lavblokk
59
- Høyblokk
60
- Blokk
61
- Terrasseblokk
62
- Enebolig
63
- Småhus
64
- Flermannsbolig
65
- Rekkehus
66
- */
30
+ export default UnitIllustration;
@@ -2,19 +2,18 @@ import { Meta } from '@storybook/react';
2
2
  declare const _default: Meta;
3
3
  export default _default;
4
4
  export declare const Default: {
5
- render: () => import("react").JSX.Element;
5
+ render: () => import("react/jsx-runtime").JSX.Element;
6
6
  name: string;
7
7
  };
8
8
  export declare const TypeMysite: {
9
- render: () => import("react").JSX.Element;
9
+ render: () => import("react/jsx-runtime").JSX.Element;
10
10
  name: string;
11
11
  };
12
12
  export declare const Avatar: {
13
- render: () => import("react").JSX.Element;
13
+ render: () => import("react/jsx-runtime").JSX.Element;
14
14
  name: string;
15
15
  };
16
16
  export declare const WithoutText: {
17
- render: () => import("react").JSX.Element;
17
+ render: () => import("react/jsx-runtime").JSX.Element;
18
18
  name: string;
19
19
  };
20
- //# sourceMappingURL=UserMenu.stories.d.ts.map
@@ -1,97 +1,24 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.WithoutText = exports.TypeMysite = exports.Default = exports.Avatar = void 0;
7
- var _ = _interopRequireDefault(require("."));
8
- var _UserMenuOption = _interopRequireDefault(require("./UserMenuOption"));
9
- var _Button = _interopRequireDefault(require("../Button"));
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- var _default = exports.default = {
13
- title: 'Core/UserMenu',
14
- component: _.default
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import UserMenu from '.';
3
+ import UserMenuOption from './UserMenuOption';
4
+ import Button from '../Button';
5
+ export default {
6
+ title: 'Core/UserMenu',
7
+ component: UserMenu,
15
8
  };
16
- const Default = exports.Default = {
17
- render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
18
- name: "Donald Duck",
19
- firstname: "Donald",
20
- email: "dd@andeby.no",
21
- logout: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
22
- outline: true,
23
- children: "Logg ut"
24
- }),
25
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
26
- onClick: () => console.log('Option 1 clicked'),
27
- children: "Option 1"
28
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
29
- onClick: () => console.log('Option 2 clicked'),
30
- children: "Option 2"
31
- })]
32
- }),
33
- name: 'Default'
9
+ export const Default = {
10
+ render: () => (_jsxs(UserMenu, { name: "Donald Duck", firstname: "Donald", email: "dd@andeby.no", logout: _jsx(Button, { outline: true, children: "Logg ut" }), children: [_jsx(UserMenuOption, { onClick: () => console.log('Option 1 clicked'), children: "Option 1" }), _jsx(UserMenuOption, { onClick: () => console.log('Option 2 clicked'), children: "Option 2" })] })),
11
+ name: 'Default',
34
12
  };
35
- const TypeMysite = exports.TypeMysite = {
36
- render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
37
- type: "mysite",
38
- name: "Donald Duck",
39
- firstname: "hello",
40
- email: "dd@andeby.no",
41
- logout: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
42
- outline: true,
43
- children: "Logg ut"
44
- }),
45
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
46
- onClick: () => console.log('Option 1 clicked'),
47
- children: "Option 1"
48
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
49
- onClick: () => console.log('Option 2 clicked'),
50
- children: "Option 2"
51
- })]
52
- }),
53
- name: 'Type mysite'
13
+ export const TypeMysite = {
14
+ render: () => (_jsxs(UserMenu, { type: "mysite", name: "Donald Duck", firstname: "hello", email: "dd@andeby.no", logout: _jsx(Button, { outline: true, children: "Logg ut" }), children: [_jsx(UserMenuOption, { onClick: () => console.log('Option 1 clicked'), children: "Option 1" }), _jsx(UserMenuOption, { onClick: () => console.log('Option 2 clicked'), children: "Option 2" })] })),
15
+ name: 'Type mysite',
54
16
  };
55
- const Avatar = exports.Avatar = {
56
- render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
57
- type: "mysite",
58
- name: "Donald Duck",
59
- firstname: "Donald",
60
- email: "dd@andeby.no",
61
- avatarUrl: "https://bblid-api.test.bbl.no/api/user/navneregister/1EC3310EA1174233A3197E6864790030/image?2021-04-16T20:31:19.241Z",
62
- logout: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
63
- outline: true,
64
- children: "Logg ut"
65
- }),
66
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
67
- onClick: () => console.log('Option 1 clicked'),
68
- children: "Option 1"
69
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
70
- onClick: () => console.log('Option 2 clicked'),
71
- children: "Option 2"
72
- })]
73
- }),
74
- name: 'Avatar'
17
+ export const Avatar = {
18
+ render: () => (_jsxs(UserMenu, { type: "mysite", name: "Donald Duck", firstname: "Donald", email: "dd@andeby.no", avatarUrl: "https://bblid-api.test.bbl.no/api/user/navneregister/1EC3310EA1174233A3197E6864790030/image?2021-04-16T20:31:19.241Z", logout: _jsx(Button, { outline: true, children: "Logg ut" }), children: [_jsx(UserMenuOption, { onClick: () => console.log('Option 1 clicked'), children: "Option 1" }), _jsx(UserMenuOption, { onClick: () => console.log('Option 2 clicked'), children: "Option 2" })] })),
19
+ name: 'Avatar',
20
+ };
21
+ export const WithoutText = {
22
+ render: () => (_jsxs(UserMenu, { name: "Donald Duck", email: "dd@andeby.no", iconSize: 30, iconType: "thin", hideAvatarOnButton: true, avatarUrl: "https://bblid-api.test.bbl.no/api/user/navneregister/1EC3310EA1174233A3197E6864790030/image?2021-04-16T20:31:19.241Z", logout: _jsx(Button, { outline: true, children: "Logg ut" }), children: [_jsx(UserMenuOption, { onClick: () => console.log('Option 1 clicked'), children: "Option 1" }), _jsx(UserMenuOption, { onClick: () => console.log('Option 2 clicked'), children: "Option 2" })] })),
23
+ name: 'Without text',
75
24
  };
76
- const WithoutText = exports.WithoutText = {
77
- render: () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
78
- name: "Donald Duck",
79
- email: "dd@andeby.no",
80
- iconSize: 30,
81
- iconType: "thin",
82
- hideAvatarOnButton: true,
83
- avatarUrl: "https://bblid-api.test.bbl.no/api/user/navneregister/1EC3310EA1174233A3197E6864790030/image?2021-04-16T20:31:19.241Z",
84
- logout: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
85
- outline: true,
86
- children: "Logg ut"
87
- }),
88
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
89
- onClick: () => console.log('Option 1 clicked'),
90
- children: "Option 1"
91
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserMenuOption.default, {
92
- onClick: () => console.log('Option 2 clicked'),
93
- children: "Option 2"
94
- })]
95
- }),
96
- name: 'Without text'
97
- };
@@ -2,10 +2,9 @@
2
2
  import React from 'react';
3
3
  interface IProps {
4
4
  /** On click CB */
5
- onClick: () => void;
5
+ onClick?: () => void;
6
6
  /** Children */
7
7
  children?: React.ReactNode;
8
8
  }
9
9
  declare const UserMenuOption: React.FC<IProps>;
10
10
  export default UserMenuOption;
11
- //# sourceMappingURL=UserMenuOption.d.ts.map
@@ -1,28 +1,7 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _styles = require("./styles");
9
- var _Link = _interopRequireDefault(require("../Link"));
10
- var _jsxRuntime = require("@emotion/react/jsx-runtime");
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- /** @jsxImportSource @emotion/react */
13
-
14
- const UserMenuOption = ({
15
- onClick,
16
- children
17
- }) => {
18
- return (0, _jsxRuntime.jsx)(_Link.default, {
19
- trackingName: "Topbar",
20
- trackingEvent: 'Usermenu click: ' + (children ? children : ''),
21
- css: theme => [(0, _styles.userMenuOption)(theme)],
22
- onClick: onClick,
23
- removeUnderline: true,
24
- small: true,
25
- children: children ? children : ''
26
- });
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
+ import { userMenuOption } from './styles';
3
+ import Link from '../Link';
4
+ const UserMenuOption = ({ onClick, children }) => {
5
+ return (_jsx(Link, { trackingName: "Topbar", trackingEvent: 'Usermenu click: ' + (children ? children : ''), css: (theme) => [userMenuOption(theme)], onClick: onClick, removeUnderline: true, small: true, children: children ? children : '' }));
27
6
  };
28
- var _default = exports.default = UserMenuOption;
7
+ export default UserMenuOption;
@@ -23,4 +23,3 @@ interface IProps {
23
23
  }
24
24
  declare const UserMenu: React.FC<IProps>;
25
25
  export default UserMenu;
26
- //# sourceMappingURL=index.d.ts.map