@bbl-digital/snorre 4.0.45 → 4.0.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (859) hide show
  1. package/.husky/_/husky.sh +30 -30
  2. package/.prettierrc +6 -6
  3. package/.vscode/settings.json +3 -3
  4. package/README.md +3 -3
  5. package/dist/bundle.js +623 -604
  6. package/esm/app-shell/index.js +2 -2
  7. package/esm/core/Alert/styles.js +6 -6
  8. package/esm/core/AppLoader/styles.js +1 -1
  9. package/esm/core/Autocomplete/styles.js +18 -18
  10. package/esm/core/Banner/styles.js +4 -4
  11. package/esm/core/BarAndLineComposedChart/styles.js +1 -1
  12. package/esm/core/BarChartWithCustomizedEvent/styles.js +1 -1
  13. package/esm/core/Box/styles.js +7 -7
  14. package/esm/core/BoxedTable/DraggableRow/styles.js +5 -5
  15. package/esm/core/BoxedTable/HeaderCell/styles.js +2 -2
  16. package/esm/core/BoxedTable/RowCell/index.js +1 -1
  17. package/esm/core/BoxedTable/RowCell/styles.js +9 -9
  18. package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
  19. package/esm/core/BoxedTable/TableRow/styles.js +8 -8
  20. package/esm/core/BoxedTable/styles.js +11 -11
  21. package/esm/core/Button/styles.js +19 -19
  22. package/esm/core/Calendar/CalendarEvent/styles.js +5 -5
  23. package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -5
  24. package/esm/core/Calendar/styles.js +5 -5
  25. package/esm/core/Card/styles.js +11 -11
  26. package/esm/core/Checkbox/styles.js +5 -5
  27. package/esm/core/CollapseList/styles.js +2 -2
  28. package/esm/core/CommentsTimeline/CommentLine/styles.js +4 -4
  29. package/esm/core/CommentsTimeline/styles.js +1 -1
  30. package/esm/core/CustomText/styles.js +2 -2
  31. package/esm/core/Datepicker/styles.js +9 -9
  32. package/esm/core/DatepickerRange/styles.js +9 -9
  33. package/esm/core/Divider/styles.js +5 -5
  34. package/esm/core/Dropdown/styles.js +3 -3
  35. package/esm/core/DropdownMenu/styles.js +3 -3
  36. package/esm/core/Editor/styles.js +4 -4
  37. package/esm/core/FileInput/styles.js +14 -14
  38. package/esm/core/GoogleButton/styles.js +1 -1
  39. package/esm/core/Header/styles.js +7 -7
  40. package/esm/core/HighlightText/styles.js +1 -1
  41. package/esm/core/Html/styles.js +6 -6
  42. package/esm/core/Image/styles.js +6 -6
  43. package/esm/core/ImagePicker/IconWithBackground.js +1 -1
  44. package/esm/core/ImagePicker/UploadButton.js +1 -1
  45. package/esm/core/ImagePicker/styles.js +11 -11
  46. package/esm/core/ImageViewer/index.js +1 -1
  47. package/esm/core/ImageViewer/styles.js +7 -7
  48. package/esm/core/InfoButton/styles.js +9 -9
  49. package/esm/core/Input/styles.js +18 -18
  50. package/esm/core/Link/styles.js +10 -10
  51. package/esm/core/List/Item.js +1 -1
  52. package/esm/core/List/styles.js +11 -11
  53. package/esm/core/ListPager/styles.js +3 -3
  54. package/esm/core/MediaCarousel/styles.js +6 -6
  55. package/esm/core/Modal/ActionButtons/index.js +1 -1
  56. package/esm/core/Modal/styles.js +8 -8
  57. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
  58. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
  59. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
  60. package/esm/core/NoticeCard/styles.js +4 -4
  61. package/esm/core/NotificationCounter/styles.js +1 -1
  62. package/esm/core/NotificationsMenu/NotificationRow/styles.js +3 -3
  63. package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +3 -1
  64. package/esm/core/NotificationsMenu/index.js +33 -17
  65. package/esm/core/NotificationsMenu/styles.js +3 -3
  66. package/esm/core/PieChart/styles.js +2 -2
  67. package/esm/core/PreemptionCard/PreemptionCard.stories.js +9 -12
  68. package/esm/core/PreemptionCard/index.js +2 -2
  69. package/esm/core/PreemptionCard/styles.js +3 -3
  70. package/esm/core/PreemptionCardLoading/styles.js +3 -3
  71. package/esm/core/Radio/styles.js +4 -4
  72. package/esm/core/SearchFilter/index.js +1 -1
  73. package/esm/core/SearchFilter/styles.js +14 -14
  74. package/esm/core/SearchSelect/styles.js +5 -5
  75. package/esm/core/Select/index.js +1 -1
  76. package/esm/core/Select/styles.js +18 -18
  77. package/esm/core/SimpleBarChart/styles.js +1 -1
  78. package/esm/core/SimpleLineChart/styles.js +1 -1
  79. package/esm/core/Skeleton/styles.js +4 -4
  80. package/esm/core/Spinner/styles.js +5 -5
  81. package/esm/core/Stepper/MobileStep/styles.js +7 -7
  82. package/esm/core/Stepper/Step/index.js +1 -1
  83. package/esm/core/Stepper/Step/styles.js +5 -5
  84. package/esm/core/Stepper/styles.js +3 -3
  85. package/esm/core/TabBar/TabItem/styles.js +1 -1
  86. package/esm/core/TabBar/styles.js +1 -1
  87. package/esm/core/TabNav/TabNavItem/styles.js +5 -5
  88. package/esm/core/TabNav/styles.js +8 -8
  89. package/esm/core/Table/styles.js +16 -16
  90. package/esm/core/Tag/styles.js +13 -13
  91. package/esm/core/Text/styles.js +16 -16
  92. package/esm/core/Textarea/styles.js +7 -7
  93. package/esm/core/Timeline/TimelineStep/styles.js +6 -6
  94. package/esm/core/Timeline/styles.js +1 -1
  95. package/esm/core/Timepicker/index.js +3 -3
  96. package/esm/core/Timepicker/styles.js +7 -7
  97. package/esm/core/Tooltip/styles.js +2 -2
  98. package/esm/core/UnitIllustration/index.js +9 -9
  99. package/esm/core/UserMenu/styles.js +7 -7
  100. package/esm/core/Video/styles.js +1 -1
  101. package/esm/core/YearWheel/styles.js +3 -3
  102. package/esm/enums/Keyboard.js +2 -2
  103. package/esm/globals/styles/styles.js +1 -1
  104. package/esm/illustrations/styles.js +2 -2
  105. package/esm/layout/Footer/FooterButton/styles.js +1 -1
  106. package/esm/layout/Footer/FooterCol/styles.js +1 -1
  107. package/esm/layout/Footer/FooterGroup/styles.js +1 -1
  108. package/esm/layout/Footer/FooterLabel/styles.js +1 -1
  109. package/esm/layout/Footer/FooterLink/styles.js +1 -1
  110. package/esm/layout/Footer/styles.js +2 -2
  111. package/esm/layout/Layout/styles.js +1 -1
  112. package/esm/layout/LayoutShell/styles.js +8 -8
  113. package/esm/layout/Menu/AppPicker/styles.js +5 -5
  114. package/esm/layout/Menu/MainMenu/styles.js +1 -1
  115. package/esm/layout/Menu/MenuItem/styles.js +2 -2
  116. package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
  117. package/esm/layout/Menu/MenuTop/styles.js +3 -3
  118. package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
  119. package/esm/layout/Menu/SecondaryMenuItem/styles.js +1 -1
  120. package/esm/layout/Menu/styles.js +1 -1
  121. package/esm/layout/Submenu/SubmenuItem/styles.js +3 -3
  122. package/esm/layout/Submenu/styles.js +10 -10
  123. package/esm/layout/Topbar/styles.js +1 -1
  124. package/esm/shared/components/SbIconGrid/index.js +1 -1
  125. package/esm/shared/components/VisuallyHidden/index.js +4 -4
  126. package/esm/shared/recharts/CustomLegend/styles.js +2 -2
  127. package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
  128. package/esm/utils/format.js +14 -10
  129. package/esm/utils/time.js +14 -14
  130. package/infrastructure/azure-pipelines.yml +34 -34
  131. package/jest.config.js +29 -29
  132. package/lib/app-shell/index.d.ts +13 -13
  133. package/lib/app-shell/index.js +2 -2
  134. package/lib/app-shell/theme.d.ts +187 -187
  135. package/lib/core/Alert/Alert.stories.d.ts +10 -10
  136. package/lib/core/Alert/index.d.ts +25 -25
  137. package/lib/core/Alert/styles.d.ts +11 -11
  138. package/lib/core/Alert/styles.js +6 -6
  139. package/lib/core/AppLoader/AppLoader.stories.d.ts +6 -6
  140. package/lib/core/AppLoader/index.d.ts +8 -8
  141. package/lib/core/AppLoader/styles.d.ts +6 -6
  142. package/lib/core/AppLoader/styles.js +1 -1
  143. package/lib/core/Autocomplete/Autocomplete.stories.d.ts +70 -70
  144. package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +20 -20
  145. package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +7 -7
  146. package/lib/core/Autocomplete/index.d.ts +6 -6
  147. package/lib/core/Autocomplete/index.interfaces.d.ts +82 -82
  148. package/lib/core/Autocomplete/styles.d.ts +64 -64
  149. package/lib/core/Autocomplete/styles.js +18 -18
  150. package/lib/core/Banner/Banner.stories.d.ts +11 -11
  151. package/lib/core/Banner/index.d.ts +18 -18
  152. package/lib/core/Banner/styles.d.ts +17 -17
  153. package/lib/core/Banner/styles.js +4 -4
  154. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +8 -8
  155. package/lib/core/BarAndLineComposedChart/index.d.ts +58 -58
  156. package/lib/core/BarAndLineComposedChart/styles.d.ts +8 -8
  157. package/lib/core/BarAndLineComposedChart/styles.js +1 -1
  158. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +14 -14
  159. package/lib/core/BarChartWithCustomizedEvent/index.d.ts +56 -56
  160. package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +10 -10
  161. package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
  162. package/lib/core/Box/Box.stories.d.ts +14 -14
  163. package/lib/core/Box/index.d.ts +30 -30
  164. package/lib/core/Box/styles.d.ts +61 -61
  165. package/lib/core/Box/styles.js +7 -7
  166. package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -35
  167. package/lib/core/BoxedTable/DraggableRow/index.d.ts +16 -16
  168. package/lib/core/BoxedTable/DraggableRow/styles.d.ts +21 -21
  169. package/lib/core/BoxedTable/DraggableRow/styles.js +5 -5
  170. package/lib/core/BoxedTable/HeaderCell/index.d.ts +24 -24
  171. package/lib/core/BoxedTable/HeaderCell/styles.d.ts +3 -3
  172. package/lib/core/BoxedTable/HeaderCell/styles.js +2 -2
  173. package/lib/core/BoxedTable/RowCell/index.d.ts +26 -26
  174. package/lib/core/BoxedTable/RowCell/index.js +1 -1
  175. package/lib/core/BoxedTable/RowCell/styles.d.ts +12 -12
  176. package/lib/core/BoxedTable/RowCell/styles.js +9 -9
  177. package/lib/core/BoxedTable/TableHeader/index.d.ts +7 -7
  178. package/lib/core/BoxedTable/TableHeader/styles.d.ts +5 -5
  179. package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
  180. package/lib/core/BoxedTable/TableRow/index.d.ts +19 -19
  181. package/lib/core/BoxedTable/TableRow/styles.d.ts +25 -25
  182. package/lib/core/BoxedTable/TableRow/styles.js +8 -8
  183. package/lib/core/BoxedTable/index.d.ts +18 -18
  184. package/lib/core/BoxedTable/models.d.ts +5 -5
  185. package/lib/core/BoxedTable/styles.d.ts +15 -15
  186. package/lib/core/BoxedTable/styles.js +11 -11
  187. package/lib/core/Button/Button.stories.d.ts +20 -20
  188. package/lib/core/Button/index.d.ts +85 -85
  189. package/lib/core/Button/styles.d.ts +25 -25
  190. package/lib/core/Button/styles.js +19 -19
  191. package/lib/core/Calendar/Calendar.stories.d.ts +15 -15
  192. package/lib/core/Calendar/CalendarEvent/index.d.ts +9 -9
  193. package/lib/core/Calendar/CalendarEvent/styles.d.ts +18 -18
  194. package/lib/core/Calendar/CalendarEvent/styles.js +5 -5
  195. package/lib/core/Calendar/CalendarSmallEvent/index.d.ts +9 -9
  196. package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +18 -18
  197. package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -5
  198. package/lib/core/Calendar/index.d.ts +14 -14
  199. package/lib/core/Calendar/styles.d.ts +20 -20
  200. package/lib/core/Calendar/styles.js +5 -5
  201. package/lib/core/Calendar/util.d.ts +2 -2
  202. package/lib/core/Card/Card.stories.d.ts +34 -34
  203. package/lib/core/Card/index.d.ts +32 -32
  204. package/lib/core/Card/styles.d.ts +16 -16
  205. package/lib/core/Card/styles.js +11 -11
  206. package/lib/core/Checkbox/Checkbox.stories.d.ts +10 -10
  207. package/lib/core/Checkbox/index.d.ts +32 -32
  208. package/lib/core/Checkbox/styles.d.ts +10 -10
  209. package/lib/core/Checkbox/styles.js +5 -5
  210. package/lib/core/CollapseList/CollapseList.stories.d.ts +7 -7
  211. package/lib/core/CollapseList/Item.d.ts +11 -11
  212. package/lib/core/CollapseList/index.d.ts +8 -8
  213. package/lib/core/CollapseList/styles.d.ts +46 -46
  214. package/lib/core/CollapseList/styles.js +2 -2
  215. package/lib/core/CommentsTimeline/CommentLine/index.d.ts +23 -23
  216. package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +14 -14
  217. package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
  218. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +7 -7
  219. package/lib/core/CommentsTimeline/index.d.ts +7 -7
  220. package/lib/core/CommentsTimeline/styles.d.ts +5 -5
  221. package/lib/core/CommentsTimeline/styles.js +1 -1
  222. package/lib/core/CustomText/CustomText.stories.d.ts +9 -9
  223. package/lib/core/CustomText/index.d.ts +24 -24
  224. package/lib/core/CustomText/styles.d.ts +6 -6
  225. package/lib/core/CustomText/styles.js +2 -2
  226. package/lib/core/Datepicker/Datepicker.stories.d.ts +27 -27
  227. package/lib/core/Datepicker/index.d.ts +30 -30
  228. package/lib/core/Datepicker/styles.d.ts +38 -28
  229. package/lib/core/Datepicker/styles.d.ts.map +1 -1
  230. package/lib/core/Datepicker/styles.js +9 -9
  231. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +6 -6
  232. package/lib/core/DatepickerRange/index.d.ts +49 -49
  233. package/lib/core/DatepickerRange/styles.d.ts +28 -28
  234. package/lib/core/DatepickerRange/styles.js +9 -9
  235. package/lib/core/Divider/index.d.ts +21 -21
  236. package/lib/core/Divider/styles.d.ts +10 -10
  237. package/lib/core/Divider/styles.js +5 -5
  238. package/lib/core/Dropdown/Dropdown.stories.d.ts +10 -10
  239. package/lib/core/Dropdown/index.d.ts +25 -25
  240. package/lib/core/Dropdown/styles.d.ts +8 -8
  241. package/lib/core/Dropdown/styles.js +3 -3
  242. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +8 -8
  243. package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +12 -12
  244. package/lib/core/DropdownMenu/index.d.ts +11 -11
  245. package/lib/core/DropdownMenu/styles.d.ts +11 -11
  246. package/lib/core/DropdownMenu/styles.js +3 -3
  247. package/lib/core/Editor/Editor.stories.d.ts +10 -10
  248. package/lib/core/Editor/config.d.ts +5 -5
  249. package/lib/core/Editor/index.d.ts +40 -40
  250. package/lib/core/Editor/styles.d.ts +14 -14
  251. package/lib/core/Editor/styles.js +4 -4
  252. package/lib/core/FileInput/FileInput.stories.d.ts +15 -15
  253. package/lib/core/FileInput/index.d.ts +37 -37
  254. package/lib/core/FileInput/styles.d.ts +91 -91
  255. package/lib/core/FileInput/styles.js +14 -14
  256. package/lib/core/GoogleButton/GoogleButton.stories.d.ts +6 -6
  257. package/lib/core/GoogleButton/index.d.ts +8 -8
  258. package/lib/core/GoogleButton/styles.d.ts +5 -5
  259. package/lib/core/GoogleButton/styles.js +1 -1
  260. package/lib/core/Header/Header.stories.d.ts +13 -13
  261. package/lib/core/Header/index.d.ts +24 -24
  262. package/lib/core/Header/styles.d.ts +12 -12
  263. package/lib/core/Header/styles.js +7 -7
  264. package/lib/core/HighlightText/HighlightText.stories.d.ts +7 -7
  265. package/lib/core/HighlightText/index.d.ts +11 -11
  266. package/lib/core/HighlightText/styles.d.ts +5 -5
  267. package/lib/core/HighlightText/styles.js +1 -1
  268. package/lib/core/Html/Html.stories.d.ts +9 -9
  269. package/lib/core/Html/index.d.ts +20 -20
  270. package/lib/core/Html/styles.d.ts +11 -11
  271. package/lib/core/Html/styles.js +6 -6
  272. package/lib/core/Image/Image.stories.d.ts +10 -10
  273. package/lib/core/Image/index.d.ts +29 -29
  274. package/lib/core/Image/styles.d.ts +11 -11
  275. package/lib/core/Image/styles.js +6 -6
  276. package/lib/core/ImagePicker/IconWithBackground.d.ts +8 -8
  277. package/lib/core/ImagePicker/IconWithBackground.js +1 -1
  278. package/lib/core/ImagePicker/ImagePicker.stories.d.ts +6 -6
  279. package/lib/core/ImagePicker/UploadButton.d.ts +9 -9
  280. package/lib/core/ImagePicker/UploadButton.js +1 -1
  281. package/lib/core/ImagePicker/index.d.ts +14 -14
  282. package/lib/core/ImagePicker/styles.d.ts +19 -19
  283. package/lib/core/ImagePicker/styles.js +11 -11
  284. package/lib/core/ImageViewer/ImageViewer.stories.d.ts +6 -6
  285. package/lib/core/ImageViewer/index.d.ts +10 -10
  286. package/lib/core/ImageViewer/index.js +1 -1
  287. package/lib/core/ImageViewer/styles.d.ts +9 -9
  288. package/lib/core/ImageViewer/styles.js +7 -7
  289. package/lib/core/InfoButton/InfoButton.stories.d.ts +10 -10
  290. package/lib/core/InfoButton/index.d.ts +22 -22
  291. package/lib/core/InfoButton/styles.d.ts +58 -58
  292. package/lib/core/InfoButton/styles.js +9 -9
  293. package/lib/core/Input/Input.stories.d.ts +22 -22
  294. package/lib/core/Input/index.d.ts +59 -59
  295. package/lib/core/Input/styles.d.ts +23 -23
  296. package/lib/core/Input/styles.js +18 -18
  297. package/lib/core/Link/Link.stories.d.ts +14 -14
  298. package/lib/core/Link/index.d.ts +25 -25
  299. package/lib/core/Link/styles.d.ts +15 -15
  300. package/lib/core/Link/styles.js +10 -10
  301. package/lib/core/List/Item.d.ts +6 -6
  302. package/lib/core/List/Item.js +1 -1
  303. package/lib/core/List/List.stories.d.ts +14 -14
  304. package/lib/core/List/index.d.ts +35 -35
  305. package/lib/core/List/styles.d.ts +34 -34
  306. package/lib/core/List/styles.js +11 -11
  307. package/lib/core/ListPager/ListPager.stories.d.ts +6 -6
  308. package/lib/core/ListPager/index.d.ts +15 -15
  309. package/lib/core/ListPager/styles.d.ts +10 -10
  310. package/lib/core/ListPager/styles.js +3 -3
  311. package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +7 -7
  312. package/lib/core/MediaCarousel/index.d.ts +28 -28
  313. package/lib/core/MediaCarousel/styles.d.ts +27 -27
  314. package/lib/core/MediaCarousel/styles.js +6 -6
  315. package/lib/core/Modal/ActionButtons/index.d.ts +9 -9
  316. package/lib/core/Modal/ActionButtons/index.js +1 -1
  317. package/lib/core/Modal/Modal.stories.d.ts +11 -11
  318. package/lib/core/Modal/index.d.ts +52 -52
  319. package/lib/core/Modal/styles.d.ts +42 -42
  320. package/lib/core/Modal/styles.js +8 -8
  321. package/lib/core/NoticeCard/NoticeCard.stories.d.ts +11 -11
  322. package/lib/core/NoticeCard/index.d.ts +22 -22
  323. package/lib/core/NoticeCard/models.d.ts +30 -30
  324. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.d.ts +9 -9
  325. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +19 -19
  326. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
  327. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.d.ts +8 -8
  328. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +5 -5
  329. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
  330. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +11 -11
  331. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +13 -13
  332. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
  333. package/lib/core/NoticeCard/styles.d.ts +19 -19
  334. package/lib/core/NoticeCard/styles.js +4 -4
  335. package/lib/core/NoticeCard/utils.d.ts +3 -3
  336. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +11 -11
  337. package/lib/core/NotificationCounter/index.d.ts +12 -12
  338. package/lib/core/NotificationCounter/styles.d.ts +4 -4
  339. package/lib/core/NotificationCounter/styles.js +1 -1
  340. package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +17 -17
  341. package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +52 -52
  342. package/lib/core/NotificationsMenu/NotificationRow/styles.js +3 -3
  343. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +7 -7
  344. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
  345. package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +3 -1
  346. package/lib/core/NotificationsMenu/index.d.ts +17 -15
  347. package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
  348. package/lib/core/NotificationsMenu/index.js +33 -17
  349. package/lib/core/NotificationsMenu/styles.d.ts +15 -15
  350. package/lib/core/NotificationsMenu/styles.js +3 -3
  351. package/lib/core/PieChart/ActiveShape/index.d.ts +4 -4
  352. package/lib/core/PieChart/PieChart.stories.d.ts +20 -20
  353. package/lib/core/PieChart/index.d.ts +30 -30
  354. package/lib/core/PieChart/renderTextContent/index.d.ts +4 -4
  355. package/lib/core/PieChart/styles.d.ts +14 -14
  356. package/lib/core/PieChart/styles.js +2 -2
  357. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +7 -6
  358. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
  359. package/lib/core/PreemptionCard/PreemptionCard.stories.js +9 -12
  360. package/lib/core/PreemptionCard/index.d.ts +9 -9
  361. package/lib/core/PreemptionCard/index.d.ts.map +1 -1
  362. package/lib/core/PreemptionCard/index.js +2 -2
  363. package/lib/core/PreemptionCard/models.d.ts +115 -115
  364. package/lib/core/PreemptionCard/styles.d.ts +10 -10
  365. package/lib/core/PreemptionCard/styles.js +3 -3
  366. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +7 -7
  367. package/lib/core/PreemptionCardLoading/index.d.ts +5 -5
  368. package/lib/core/PreemptionCardLoading/styles.d.ts +13 -13
  369. package/lib/core/PreemptionCardLoading/styles.js +3 -3
  370. package/lib/core/Radio/Radio.stories.d.ts +19 -19
  371. package/lib/core/Radio/index.d.ts +24 -24
  372. package/lib/core/Radio/styles.d.ts +9 -9
  373. package/lib/core/Radio/styles.js +4 -4
  374. package/lib/core/SearchFilter/SearchFilter.stories.d.ts +19 -19
  375. package/lib/core/SearchFilter/index.d.ts +29 -29
  376. package/lib/core/SearchFilter/index.js +1 -1
  377. package/lib/core/SearchFilter/styles.d.ts +33 -33
  378. package/lib/core/SearchFilter/styles.js +14 -14
  379. package/lib/core/SearchSelect/SearchSelect.stories.d.ts +12 -12
  380. package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +10 -10
  381. package/lib/core/SearchSelect/index.d.ts +5 -5
  382. package/lib/core/SearchSelect/interface/IProps.d.ts +38 -38
  383. package/lib/core/SearchSelect/styles.d.ts +20 -20
  384. package/lib/core/SearchSelect/styles.js +5 -5
  385. package/lib/core/Select/Option.d.ts +22 -22
  386. package/lib/core/Select/Select.stories.d.ts +47 -47
  387. package/lib/core/Select/index.d.ts +53 -53
  388. package/lib/core/Select/index.js +1 -1
  389. package/lib/core/Select/styles.d.ts +32 -32
  390. package/lib/core/Select/styles.js +18 -18
  391. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +29 -29
  392. package/lib/core/SimpleBarChart/index.d.ts +56 -56
  393. package/lib/core/SimpleBarChart/styles.d.ts +8 -8
  394. package/lib/core/SimpleBarChart/styles.js +1 -1
  395. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +8 -8
  396. package/lib/core/SimpleLineChart/index.d.ts +65 -65
  397. package/lib/core/SimpleLineChart/styles.d.ts +8 -8
  398. package/lib/core/SimpleLineChart/styles.js +1 -1
  399. package/lib/core/Skeleton/Skeleton.stories.d.ts +36 -36
  400. package/lib/core/Skeleton/index.d.ts +15 -15
  401. package/lib/core/Skeleton/styles.d.ts +20 -20
  402. package/lib/core/Skeleton/styles.js +4 -4
  403. package/lib/core/Spinner/Spinner.stories.d.ts +19 -19
  404. package/lib/core/Spinner/index.d.ts +11 -11
  405. package/lib/core/Spinner/styles.d.ts +10 -10
  406. package/lib/core/Spinner/styles.js +5 -5
  407. package/lib/core/Stepper/MobileStep/index.d.ts +8 -8
  408. package/lib/core/Stepper/MobileStep/styles.d.ts +31 -31
  409. package/lib/core/Stepper/MobileStep/styles.js +7 -7
  410. package/lib/core/Stepper/Step/index.d.ts +11 -11
  411. package/lib/core/Stepper/Step/index.js +1 -1
  412. package/lib/core/Stepper/Step/styles.d.ts +27 -27
  413. package/lib/core/Stepper/Step/styles.js +5 -5
  414. package/lib/core/Stepper/Stepper.stories.d.ts +6 -6
  415. package/lib/core/Stepper/index.d.ts +17 -17
  416. package/lib/core/Stepper/styles.d.ts +13 -13
  417. package/lib/core/Stepper/styles.js +3 -3
  418. package/lib/core/TabBar/TabBar.stories.d.ts +7 -7
  419. package/lib/core/TabBar/TabItem/index.d.ts +13 -13
  420. package/lib/core/TabBar/TabItem/styles.d.ts +5 -5
  421. package/lib/core/TabBar/TabItem/styles.js +1 -1
  422. package/lib/core/TabBar/index.d.ts +7 -7
  423. package/lib/core/TabBar/styles.d.ts +5 -5
  424. package/lib/core/TabBar/styles.js +1 -1
  425. package/lib/core/TabNav/TabContext.d.ts +18 -18
  426. package/lib/core/TabNav/TabNav.stories.d.ts +47 -47
  427. package/lib/core/TabNav/TabNavItem/index.d.ts +34 -34
  428. package/lib/core/TabNav/TabNavItem/styles.d.ts +26 -26
  429. package/lib/core/TabNav/TabNavItem/styles.js +5 -5
  430. package/lib/core/TabNav/index.d.ts +30 -30
  431. package/lib/core/TabNav/styles.d.ts +24 -24
  432. package/lib/core/TabNav/styles.js +8 -8
  433. package/lib/core/TabNav/utils/useContainerDimensions.d.ts +7 -7
  434. package/lib/core/Table/Cell.d.ts +22 -22
  435. package/lib/core/Table/Row.d.ts +21 -21
  436. package/lib/core/Table/Table.stories.d.ts +11 -11
  437. package/lib/core/Table/index.d.ts +14 -14
  438. package/lib/core/Table/styles.d.ts +26 -26
  439. package/lib/core/Table/styles.js +16 -16
  440. package/lib/core/Tag/Tag.stories.d.ts +20 -20
  441. package/lib/core/Tag/index.d.ts +48 -48
  442. package/lib/core/Tag/styles.d.ts +18 -18
  443. package/lib/core/Tag/styles.js +13 -13
  444. package/lib/core/Text/Text.stories.d.ts +20 -20
  445. package/lib/core/Text/index.d.ts +47 -47
  446. package/lib/core/Text/styles.d.ts +20 -20
  447. package/lib/core/Text/styles.js +16 -16
  448. package/lib/core/Textarea/Textarea.stories.d.ts +10 -10
  449. package/lib/core/Textarea/index.d.ts +28 -28
  450. package/lib/core/Textarea/styles.d.ts +17 -17
  451. package/lib/core/Textarea/styles.js +7 -7
  452. package/lib/core/Timeline/Timeline.stories.d.ts +7 -7
  453. package/lib/core/Timeline/TimelineStep/index.d.ts +14 -14
  454. package/lib/core/Timeline/TimelineStep/styles.d.ts +16 -16
  455. package/lib/core/Timeline/TimelineStep/styles.js +6 -6
  456. package/lib/core/Timeline/index.d.ts +7 -7
  457. package/lib/core/Timeline/styles.d.ts +5 -5
  458. package/lib/core/Timeline/styles.js +1 -1
  459. package/lib/core/Timepicker/Timepicker.stories.d.ts +31 -31
  460. package/lib/core/Timepicker/index.d.ts +38 -38
  461. package/lib/core/Timepicker/index.js +3 -3
  462. package/lib/core/Timepicker/styles.d.ts +19 -19
  463. package/lib/core/Timepicker/styles.js +7 -7
  464. package/lib/core/Tooltip/Tooptip.stories.d.ts +7 -7
  465. package/lib/core/Tooltip/index.d.ts +11 -11
  466. package/lib/core/Tooltip/styles.d.ts +5 -5
  467. package/lib/core/Tooltip/styles.js +2 -2
  468. package/lib/core/UnitIllustration/index.d.ts +6 -6
  469. package/lib/core/UnitIllustration/index.js +9 -9
  470. package/lib/core/UserMenu/UserMenu.stories.d.ts +19 -19
  471. package/lib/core/UserMenu/UserMenuOption.d.ts +10 -10
  472. package/lib/core/UserMenu/index.d.ts +25 -25
  473. package/lib/core/UserMenu/styles.d.ts +34 -34
  474. package/lib/core/UserMenu/styles.js +7 -7
  475. package/lib/core/Video/Video.stories.d.ts +15 -15
  476. package/lib/core/Video/index.d.ts +31 -31
  477. package/lib/core/Video/styles.d.ts +5 -5
  478. package/lib/core/Video/styles.js +1 -1
  479. package/lib/core/YearWheel/YearWheel.stories.d.ts +11 -11
  480. package/lib/core/YearWheel/index.d.ts +10 -10
  481. package/lib/core/YearWheel/styles.d.ts +8 -8
  482. package/lib/core/YearWheel/styles.js +3 -3
  483. package/lib/core/private/ButtonOrLink.d.ts +91 -91
  484. package/lib/core/private/preemption.d.ts +5 -5
  485. package/lib/core/utils/debounce.d.ts +2 -2
  486. package/lib/enums/Keyboard.d.ts +14 -14
  487. package/lib/enums/Keyboard.js +2 -2
  488. package/lib/globals/styles/breakpoints.d.ts +9 -9
  489. package/lib/globals/styles/paddings.d.ts +8 -8
  490. package/lib/globals/styles/styles.d.ts +1 -1
  491. package/lib/globals/styles/styles.js +1 -1
  492. package/lib/globals/validation/regularExpressions.d.ts +10 -10
  493. package/lib/hooks/useIsMobile.d.ts +1 -1
  494. package/lib/hooks/useScreenOrientation.d.ts +2 -2
  495. package/lib/icons/General/IconApartment.d.ts +3 -3
  496. package/lib/icons/General/IconArchives.d.ts +3 -3
  497. package/lib/icons/General/IconArea.d.ts +3 -3
  498. package/lib/icons/General/IconArrowDown.d.ts +3 -3
  499. package/lib/icons/General/IconArrowLeft.d.ts +3 -3
  500. package/lib/icons/General/IconArrowRight.d.ts +3 -3
  501. package/lib/icons/General/IconArrowUp.d.ts +3 -3
  502. package/lib/icons/General/IconAttachment.d.ts +3 -3
  503. package/lib/icons/General/IconAuditorFilled.d.ts +3 -3
  504. package/lib/icons/General/IconAuditorOutline.d.ts +3 -3
  505. package/lib/icons/General/IconBack.d.ts +3 -3
  506. package/lib/icons/General/IconBath.d.ts +3 -3
  507. package/lib/icons/General/IconBblFlame.d.ts +3 -3
  508. package/lib/icons/General/IconBblShield.d.ts +3 -3
  509. package/lib/icons/General/IconBblWater.d.ts +3 -3
  510. package/lib/icons/General/IconBellFilled.d.ts +3 -3
  511. package/lib/icons/General/IconBellOutline.d.ts +3 -3
  512. package/lib/icons/General/IconBlock.d.ts +3 -3
  513. package/lib/icons/General/IconBoard.d.ts +3 -3
  514. package/lib/icons/General/IconBookmarkFilled.d.ts +3 -3
  515. package/lib/icons/General/IconBookmarkOutline.d.ts +3 -3
  516. package/lib/icons/General/IconBus.d.ts +3 -3
  517. package/lib/icons/General/IconCalendar.d.ts +3 -3
  518. package/lib/icons/General/IconCamera.d.ts +3 -3
  519. package/lib/icons/General/IconCar.d.ts +3 -3
  520. package/lib/icons/General/IconCaretDown.d.ts +3 -3
  521. package/lib/icons/General/IconCaretLeft.d.ts +3 -3
  522. package/lib/icons/General/IconCaretRight.d.ts +3 -3
  523. package/lib/icons/General/IconCaretUp.d.ts +3 -3
  524. package/lib/icons/General/IconCases.d.ts +3 -3
  525. package/lib/icons/General/IconCheck.d.ts +3 -3
  526. package/lib/icons/General/IconCheckedFilled.d.ts +3 -3
  527. package/lib/icons/General/IconCheckedOutline.d.ts +3 -3
  528. package/lib/icons/General/IconChevronDown.d.ts +3 -3
  529. package/lib/icons/General/IconChevronLeft.d.ts +3 -3
  530. package/lib/icons/General/IconChevronRight.d.ts +3 -3
  531. package/lib/icons/General/IconChoice.d.ts +3 -3
  532. package/lib/icons/General/IconClose.d.ts +3 -3
  533. package/lib/icons/General/IconCloseAlt.d.ts +3 -3
  534. package/lib/icons/General/IconComment.d.ts +3 -3
  535. package/lib/icons/General/IconCommunication.d.ts +3 -3
  536. package/lib/icons/General/IconCommunicationFilled.d.ts +3 -3
  537. package/lib/icons/General/IconCompanyBuilding.d.ts +3 -3
  538. package/lib/icons/General/IconCompanyBuildingFilled.d.ts +3 -3
  539. package/lib/icons/General/IconCompanyBuildingOutline.d.ts +3 -3
  540. package/lib/icons/General/IconDashboard.d.ts +3 -3
  541. package/lib/icons/General/IconDashboardFilled.d.ts +3 -3
  542. package/lib/icons/General/IconDelete.d.ts +3 -3
  543. package/lib/icons/General/IconDocument.d.ts +3 -3
  544. package/lib/icons/General/IconDocumentFilled.d.ts +3 -3
  545. package/lib/icons/General/IconDoor.d.ts +3 -3
  546. package/lib/icons/General/IconDotFilled.d.ts +3 -3
  547. package/lib/icons/General/IconDotOutline.d.ts +3 -3
  548. package/lib/icons/General/IconDownload.d.ts +3 -3
  549. package/lib/icons/General/IconDraft.d.ts +3 -3
  550. package/lib/icons/General/IconEarth.d.ts +3 -3
  551. package/lib/icons/General/IconEconomy.d.ts +3 -3
  552. package/lib/icons/General/IconEconomyFilled.d.ts +3 -3
  553. package/lib/icons/General/IconEdit.d.ts +3 -3
  554. package/lib/icons/General/IconElevator.d.ts +3 -3
  555. package/lib/icons/General/IconErrorFilled.d.ts +3 -3
  556. package/lib/icons/General/IconErrorOutline.d.ts +3 -3
  557. package/lib/icons/General/IconExternalLink.d.ts +3 -3
  558. package/lib/icons/General/IconEye.d.ts +3 -3
  559. package/lib/icons/General/IconEyeDeny.d.ts +3 -3
  560. package/lib/icons/General/IconFamily.d.ts +3 -3
  561. package/lib/icons/General/IconFerry.d.ts +3 -3
  562. package/lib/icons/General/IconFile.d.ts +3 -3
  563. package/lib/icons/General/IconFileAdd.d.ts +3 -3
  564. package/lib/icons/General/IconFileCopy.d.ts +3 -3
  565. package/lib/icons/General/IconFileEdit.d.ts +3 -3
  566. package/lib/icons/General/IconFileExcel.d.ts +3 -3
  567. package/lib/icons/General/IconFilePDF.d.ts +3 -3
  568. package/lib/icons/General/IconFileWord.d.ts +3 -3
  569. package/lib/icons/General/IconFillOut.d.ts +3 -3
  570. package/lib/icons/General/IconFilterList.d.ts +3 -3
  571. package/lib/icons/General/IconFloor.d.ts +3 -3
  572. package/lib/icons/General/IconForward.d.ts +3 -3
  573. package/lib/icons/General/IconFullscreenClose.d.ts +3 -3
  574. package/lib/icons/General/IconFullscreenOpen.d.ts +3 -3
  575. package/lib/icons/General/IconGarage.d.ts +3 -3
  576. package/lib/icons/General/IconGrid.d.ts +3 -3
  577. package/lib/icons/General/IconGym.d.ts +3 -3
  578. package/lib/icons/General/IconHearth.d.ts +3 -3
  579. package/lib/icons/General/IconHearthOutline.d.ts +3 -3
  580. package/lib/icons/General/IconHelp.d.ts +3 -3
  581. package/lib/icons/General/IconHistory.d.ts +3 -3
  582. package/lib/icons/General/IconHomeFilled.d.ts +3 -3
  583. package/lib/icons/General/IconHomeOutline.d.ts +3 -3
  584. package/lib/icons/General/IconHouse.d.ts +3 -3
  585. package/lib/icons/General/IconHouseBlockFilled.d.ts +3 -3
  586. package/lib/icons/General/IconHouseBlockOutline.d.ts +3 -3
  587. package/lib/icons/General/IconHouseOutline.d.ts +3 -3
  588. package/lib/icons/General/IconHumans.d.ts +3 -3
  589. package/lib/icons/General/IconImage.d.ts +3 -3
  590. package/lib/icons/General/IconImportantComment.d.ts +3 -3
  591. package/lib/icons/General/IconInbox.d.ts +3 -3
  592. package/lib/icons/General/IconInfoFilled.d.ts +3 -3
  593. package/lib/icons/General/IconInfoOutline.d.ts +3 -3
  594. package/lib/icons/General/IconJanitorFilled.d.ts +3 -3
  595. package/lib/icons/General/IconJanitorOutline.d.ts +3 -3
  596. package/lib/icons/General/IconJointcost.d.ts +3 -3
  597. package/lib/icons/General/IconJointcost2.d.ts +3 -3
  598. package/lib/icons/General/IconKey.d.ts +3 -3
  599. package/lib/icons/General/IconKitchen.d.ts +3 -3
  600. package/lib/icons/General/IconLabel.d.ts +3 -3
  601. package/lib/icons/General/IconLeafFilled.d.ts +3 -3
  602. package/lib/icons/General/IconLeafOutline.d.ts +3 -3
  603. package/lib/icons/General/IconLeisureTime.d.ts +3 -3
  604. package/lib/icons/General/IconLock.d.ts +3 -3
  605. package/lib/icons/General/IconLockLocked.d.ts +3 -3
  606. package/lib/icons/General/IconLockOpen.d.ts +3 -3
  607. package/lib/icons/General/IconLookup.d.ts +3 -3
  608. package/lib/icons/General/IconLookupFilled.d.ts +3 -3
  609. package/lib/icons/General/IconMail.d.ts +3 -3
  610. package/lib/icons/General/IconMap.d.ts +3 -3
  611. package/lib/icons/General/IconMembership.d.ts +3 -3
  612. package/lib/icons/General/IconMembershipFilled.d.ts +3 -3
  613. package/lib/icons/General/IconMenu.d.ts +3 -3
  614. package/lib/icons/General/IconMinus.d.ts +3 -3
  615. package/lib/icons/General/IconMinusAlt.d.ts +3 -3
  616. package/lib/icons/General/IconMinusAltFilled.d.ts +3 -3
  617. package/lib/icons/General/IconMoney.d.ts +3 -3
  618. package/lib/icons/General/IconParking.d.ts +3 -3
  619. package/lib/icons/General/IconPaymentCard.d.ts +3 -3
  620. package/lib/icons/General/IconPhone.d.ts +3 -3
  621. package/lib/icons/General/IconPinned.d.ts +3 -3
  622. package/lib/icons/General/IconPlus.d.ts +3 -3
  623. package/lib/icons/General/IconPlusAlt.d.ts +3 -3
  624. package/lib/icons/General/IconPortalUser.d.ts +3 -3
  625. package/lib/icons/General/IconPrint.d.ts +3 -3
  626. package/lib/icons/General/IconProfile.d.ts +3 -3
  627. package/lib/icons/General/IconProfileFilled.d.ts +3 -3
  628. package/lib/icons/General/IconRearrange.d.ts +3 -3
  629. package/lib/icons/General/IconReciept.d.ts +3 -3
  630. package/lib/icons/General/IconRedo.d.ts +3 -3
  631. package/lib/icons/General/IconRefresh.d.ts +3 -3
  632. package/lib/icons/General/IconReply.d.ts +3 -3
  633. package/lib/icons/General/IconReplyAll.d.ts +3 -3
  634. package/lib/icons/General/IconRoom.d.ts +3 -3
  635. package/lib/icons/General/IconSave.d.ts +3 -3
  636. package/lib/icons/General/IconSearch.d.ts +3 -3
  637. package/lib/icons/General/IconSend.d.ts +3 -3
  638. package/lib/icons/General/IconSettings.d.ts +3 -3
  639. package/lib/icons/General/IconShopping.d.ts +3 -3
  640. package/lib/icons/General/IconSign.d.ts +3 -3
  641. package/lib/icons/General/IconSliders.d.ts +3 -3
  642. package/lib/icons/General/IconSort.d.ts +3 -3
  643. package/lib/icons/General/IconStarFilled.d.ts +3 -3
  644. package/lib/icons/General/IconStarHalf.d.ts +3 -3
  645. package/lib/icons/General/IconStarOutline.d.ts +3 -3
  646. package/lib/icons/General/IconStore.d.ts +3 -3
  647. package/lib/icons/General/IconSubway.d.ts +3 -3
  648. package/lib/icons/General/IconSwitch.d.ts +3 -3
  649. package/lib/icons/General/IconTrain.d.ts +3 -3
  650. package/lib/icons/General/IconTram.d.ts +3 -3
  651. package/lib/icons/General/IconTransport.d.ts +3 -3
  652. package/lib/icons/General/IconTypeOfBuilding.d.ts +3 -3
  653. package/lib/icons/General/IconTypeOfBuildingOutline.d.ts +3 -3
  654. package/lib/icons/General/IconUndo.d.ts +3 -3
  655. package/lib/icons/General/IconUpload.d.ts +3 -3
  656. package/lib/icons/General/IconUser.d.ts +3 -3
  657. package/lib/icons/General/IconUserThin.d.ts +3 -3
  658. package/lib/icons/General/IconVote.d.ts +3 -3
  659. package/lib/icons/General/IconWalk.d.ts +3 -3
  660. package/lib/icons/General/IconWarning.d.ts +3 -3
  661. package/lib/icons/General/IconWarningBell.d.ts +3 -3
  662. package/lib/icons/General/IconWork.d.ts +3 -3
  663. package/lib/icons/General/IconWorkFilled.d.ts +3 -3
  664. package/lib/icons/General/IconZip.d.ts +3 -3
  665. package/lib/icons/Icon.stories.d.ts +60 -60
  666. package/lib/icons/Logos/IconAmericanExpress.d.ts +3 -3
  667. package/lib/icons/Logos/IconBankAxept.d.ts +3 -3
  668. package/lib/icons/Logos/IconGmail.d.ts +3 -3
  669. package/lib/icons/Logos/IconMasterCard.d.ts +3 -3
  670. package/lib/icons/Logos/IconOffice365.d.ts +3 -3
  671. package/lib/icons/Logos/IconVisa.d.ts +3 -3
  672. package/lib/icons/withIcon.d.ts +29 -29
  673. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.d.ts +3 -3
  674. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.d.ts +3 -3
  675. package/lib/illustrations/General/IllustrationBudget.d.ts +3 -3
  676. package/lib/illustrations/General/IllustrationError.d.ts +3 -3
  677. package/lib/illustrations/General/IllustrationErrorGeneric.d.ts +3 -3
  678. package/lib/illustrations/General/IllustrationHighHouse.d.ts +3 -3
  679. package/lib/illustrations/General/IllustrationHighHouseComposition.d.ts +3 -3
  680. package/lib/illustrations/General/IllustrationHouse.d.ts +3 -3
  681. package/lib/illustrations/General/IllustrationHouseComposition.d.ts +3 -3
  682. package/lib/illustrations/General/IllustrationHouseMissing.d.ts +3 -3
  683. package/lib/illustrations/General/IllustrationLowHouse.d.ts +3 -3
  684. package/lib/illustrations/General/IllustrationLowHouseComposition.d.ts +3 -3
  685. package/lib/illustrations/General/IllustrationPaperCompleted.d.ts +3 -3
  686. package/lib/illustrations/General/IllustrationPaperMissing.d.ts +3 -3
  687. package/lib/illustrations/General/IllustrationSemiDetachedHouse.d.ts +3 -3
  688. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.d.ts +3 -3
  689. package/lib/illustrations/General/IllustrationServiceMessage.d.ts +5 -5
  690. package/lib/illustrations/General/IllustrationSmallHouse.d.ts +3 -3
  691. package/lib/illustrations/General/IllustrationSmallHouseComposition.d.ts +3 -3
  692. package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +5 -5
  693. package/lib/illustrations/General/IllustrationTerraceBlock.d.ts +3 -3
  694. package/lib/illustrations/General/IllustrationTerraceBlockComposition.d.ts +3 -3
  695. package/lib/illustrations/General/IllustrationTownHouse.d.ts +3 -3
  696. package/lib/illustrations/General/IllustrationTownHouseComposition.d.ts +3 -3
  697. package/lib/illustrations/Illustration.stories.d.ts +26 -26
  698. package/lib/illustrations/MySite/IllustrationMySiteAssociation.d.ts +3 -3
  699. package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +3 -3
  700. package/lib/illustrations/MySite/IllustrationMySiteBuilding.d.ts +3 -3
  701. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.d.ts +3 -3
  702. package/lib/illustrations/MySite/IllustrationMySiteComputer.d.ts +3 -3
  703. package/lib/illustrations/MySite/IllustrationMySiteCooperative.d.ts +3 -3
  704. package/lib/illustrations/MySite/IllustrationMySiteDashboard.d.ts +3 -3
  705. package/lib/illustrations/MySite/IllustrationMySiteGift.d.ts +3 -3
  706. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +3 -3
  707. package/lib/illustrations/MySite/IllustrationMySiteMailbox.d.ts +3 -3
  708. package/lib/illustrations/MySite/IllustrationMySitePapers.d.ts +3 -3
  709. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.d.ts +3 -3
  710. package/lib/illustrations/MySite/IllustrationMySiteTransfer.d.ts +3 -3
  711. package/lib/illustrations/styles.d.ts +3 -3
  712. package/lib/illustrations/styles.js +2 -2
  713. package/lib/illustrations/withIllustration.d.ts +24 -24
  714. package/lib/index.d.ts +323 -323
  715. package/lib/layout/Footer/Footer.stories.d.ts +11 -11
  716. package/lib/layout/Footer/FooterButton/index.d.ts +15 -15
  717. package/lib/layout/Footer/FooterButton/styles.d.ts +38 -38
  718. package/lib/layout/Footer/FooterButton/styles.js +1 -1
  719. package/lib/layout/Footer/FooterCol/index.d.ts +7 -7
  720. package/lib/layout/Footer/FooterCol/styles.d.ts +5 -5
  721. package/lib/layout/Footer/FooterCol/styles.js +1 -1
  722. package/lib/layout/Footer/FooterGroup/index.d.ts +7 -7
  723. package/lib/layout/Footer/FooterGroup/styles.d.ts +5 -5
  724. package/lib/layout/Footer/FooterGroup/styles.js +1 -1
  725. package/lib/layout/Footer/FooterLabel/index.d.ts +7 -7
  726. package/lib/layout/Footer/FooterLabel/styles.d.ts +5 -5
  727. package/lib/layout/Footer/FooterLabel/styles.js +1 -1
  728. package/lib/layout/Footer/FooterLink/index.d.ts +19 -19
  729. package/lib/layout/Footer/FooterLink/styles.d.ts +38 -38
  730. package/lib/layout/Footer/FooterLink/styles.js +1 -1
  731. package/lib/layout/Footer/index.d.ts +8 -8
  732. package/lib/layout/Footer/styles.d.ts +7 -7
  733. package/lib/layout/Footer/styles.js +2 -2
  734. package/lib/layout/Layout/Layout.stories.d.ts +7 -7
  735. package/lib/layout/Layout/index.d.ts +8 -8
  736. package/lib/layout/Layout/styles.d.ts +7 -7
  737. package/lib/layout/Layout/styles.js +1 -1
  738. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +15 -15
  739. package/lib/layout/LayoutShell/index.d.ts +22 -22
  740. package/lib/layout/LayoutShell/styles.d.ts +24 -24
  741. package/lib/layout/LayoutShell/styles.js +8 -8
  742. package/lib/layout/Menu/AppPicker/index.d.ts +19 -19
  743. package/lib/layout/Menu/AppPicker/styles.d.ts +7 -7
  744. package/lib/layout/Menu/AppPicker/styles.js +5 -5
  745. package/lib/layout/Menu/MainMenu/index.d.ts +9 -9
  746. package/lib/layout/Menu/MainMenu/styles.d.ts +2 -2
  747. package/lib/layout/Menu/MainMenu/styles.js +1 -1
  748. package/lib/layout/Menu/MenuItem/index.d.ts +17 -17
  749. package/lib/layout/Menu/MenuItem/styles.d.ts +3 -3
  750. package/lib/layout/Menu/MenuItem/styles.js +2 -2
  751. package/lib/layout/Menu/MenuSpacer/index.d.ts +7 -7
  752. package/lib/layout/Menu/MenuSpacer/styles.d.ts +5 -5
  753. package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
  754. package/lib/layout/Menu/MenuTop/index.d.ts +13 -13
  755. package/lib/layout/Menu/MenuTop/styles.d.ts +43 -43
  756. package/lib/layout/Menu/MenuTop/styles.js +3 -3
  757. package/lib/layout/Menu/SecondaryMenu/index.d.ts +15 -15
  758. package/lib/layout/Menu/SecondaryMenu/styles.d.ts +11 -11
  759. package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
  760. package/lib/layout/Menu/SecondaryMenuItem/index.d.ts +15 -15
  761. package/lib/layout/Menu/SecondaryMenuItem/styles.d.ts +1 -1
  762. package/lib/layout/Menu/SecondaryMenuItem/styles.js +1 -1
  763. package/lib/layout/Menu/Sidemenu.stories.d.ts +19 -19
  764. package/lib/layout/Menu/index.d.ts +11 -11
  765. package/lib/layout/Menu/styles.d.ts +12 -12
  766. package/lib/layout/Menu/styles.js +1 -1
  767. package/lib/layout/Submenu/Submenu.stories.d.ts +27 -27
  768. package/lib/layout/Submenu/SubmenuItem/index.d.ts +20 -20
  769. package/lib/layout/Submenu/SubmenuItem/styles.d.ts +4 -4
  770. package/lib/layout/Submenu/SubmenuItem/styles.js +3 -3
  771. package/lib/layout/Submenu/SubmenuLightThemeBg/index.d.ts +7 -7
  772. package/lib/layout/Submenu/index.d.ts +16 -16
  773. package/lib/layout/Submenu/styles.d.ts +29 -29
  774. package/lib/layout/Submenu/styles.js +10 -10
  775. package/lib/layout/Topbar/Topbar.stories.d.ts +11 -11
  776. package/lib/layout/Topbar/index.d.ts +11 -11
  777. package/lib/layout/Topbar/styles.d.ts +2 -2
  778. package/lib/layout/Topbar/styles.js +1 -1
  779. package/lib/shared/components/SbIconGrid/index.d.ts +6 -6
  780. package/lib/shared/components/SbIconGrid/index.js +1 -1
  781. package/lib/shared/components/VisuallyHidden/index.d.ts +10 -10
  782. package/lib/shared/components/VisuallyHidden/index.js +4 -4
  783. package/lib/shared/recharts/CustomLegend/index.d.ts +3 -3
  784. package/lib/shared/recharts/CustomLegend/styles.d.ts +13 -13
  785. package/lib/shared/recharts/CustomLegend/styles.js +2 -2
  786. package/lib/shared/recharts/CustomTooltip/index.d.ts +10 -10
  787. package/lib/shared/recharts/CustomTooltip/styles.d.ts +16 -16
  788. package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
  789. package/lib/shared/types/LoadedType.d.ts +6 -6
  790. package/lib/utils/accountNumber.d.ts +3 -3
  791. package/lib/utils/alpha.d.ts +2 -2
  792. package/lib/utils/array.d.ts +2 -2
  793. package/lib/utils/dates.d.ts +15 -15
  794. package/lib/utils/file.d.ts +2 -2
  795. package/lib/utils/format.d.ts +21 -21
  796. package/lib/utils/format.d.ts.map +1 -1
  797. package/lib/utils/format.js +14 -10
  798. package/lib/utils/formatGraphPrice.d.ts +2 -2
  799. package/lib/utils/image.d.ts +2 -2
  800. package/lib/utils/pagination.d.ts +6 -6
  801. package/lib/utils/phone.d.ts +2 -2
  802. package/lib/utils/removeFocusOnMouseUp.d.ts +2 -2
  803. package/lib/utils/time.d.ts +32 -32
  804. package/lib/utils/time.js +14 -14
  805. package/lib/utils/url.d.ts +3 -3
  806. package/lib/utils/useSnorreTheme.d.ts +11 -11
  807. package/package.json +2 -1
  808. package/rollup.config.js +13 -13
  809. package/theme-bbls.js +467 -467
  810. package/theme-generator.js +448 -448
  811. package/theme-helpers.js +62 -62
  812. package/esm/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
  813. package/esm/core/CheckboxController/index.js +0 -22
  814. package/esm/core/Datepicker/yearMonthForm.js +0 -56
  815. package/esm/core/EditorOld/config.js +0 -69
  816. package/esm/core/EditorOld/index.js +0 -147
  817. package/esm/core/EditorOld/styles.js +0 -65
  818. package/esm/core/ImageCarousel/index.js +0 -70
  819. package/esm/core/ImageCarousel/styles.js +0 -58
  820. package/esm/core/NotificationsMenu/NotificationBell/index.js +0 -19
  821. package/esm/core/NotificationsMenu/NotificationBell/styles.js +0 -21
  822. package/esm/enums/ModifierKey.js +0 -13
  823. package/esm/shared/types/Accessibility.js +0 -1
  824. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +0 -7
  825. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts.map +0 -1
  826. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
  827. package/lib/core/CheckboxController/index.d.ts +0 -1
  828. package/lib/core/CheckboxController/index.d.ts.map +0 -1
  829. package/lib/core/CheckboxController/index.js +0 -22
  830. package/lib/core/Datepicker/yearMonthForm.d.ts +0 -10
  831. package/lib/core/Datepicker/yearMonthForm.d.ts.map +0 -1
  832. package/lib/core/Datepicker/yearMonthForm.js +0 -56
  833. package/lib/core/EditorOld/config.d.ts +0 -56
  834. package/lib/core/EditorOld/config.d.ts.map +0 -1
  835. package/lib/core/EditorOld/config.js +0 -69
  836. package/lib/core/EditorOld/index.d.ts +0 -39
  837. package/lib/core/EditorOld/index.d.ts.map +0 -1
  838. package/lib/core/EditorOld/index.js +0 -147
  839. package/lib/core/EditorOld/styles.d.ts +0 -23
  840. package/lib/core/EditorOld/styles.d.ts.map +0 -1
  841. package/lib/core/EditorOld/styles.js +0 -65
  842. package/lib/core/ImageCarousel/index.d.ts +0 -11
  843. package/lib/core/ImageCarousel/index.d.ts.map +0 -1
  844. package/lib/core/ImageCarousel/index.js +0 -70
  845. package/lib/core/ImageCarousel/styles.d.ts +0 -26
  846. package/lib/core/ImageCarousel/styles.d.ts.map +0 -1
  847. package/lib/core/ImageCarousel/styles.js +0 -58
  848. package/lib/core/NotificationsMenu/NotificationBell/index.d.ts +0 -8
  849. package/lib/core/NotificationsMenu/NotificationBell/index.d.ts.map +0 -1
  850. package/lib/core/NotificationsMenu/NotificationBell/index.js +0 -19
  851. package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts +0 -7
  852. package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts.map +0 -1
  853. package/lib/core/NotificationsMenu/NotificationBell/styles.js +0 -21
  854. package/lib/enums/ModifierKey.d.ts +0 -12
  855. package/lib/enums/ModifierKey.d.ts.map +0 -1
  856. package/lib/enums/ModifierKey.js +0 -13
  857. package/lib/shared/types/Accessibility.d.ts +0 -55
  858. package/lib/shared/types/Accessibility.d.ts.map +0 -1
  859. package/lib/shared/types/Accessibility.js +0 -1
@@ -1,58 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
-
3
- function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
4
-
5
- import { css } from '@emotion/react';
6
- const background = 'rgba(0, 0, 0, 0.5)';
7
- export const CarouselWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
8
- target: "e104918b3"
9
- } : {
10
- target: "e104918b3",
11
- label: "CarouselWrapper"
12
- })(({
13
- height,
14
- theme
15
- }) => /*#__PURE__*/css("box-shadow:", theme.shadowSmall, ";width:100%;height:100%;max-height:", height, ";display:flex;align-items:baseline;border-radius:4px;overflow:hidden;" + (process.env.NODE_ENV === "production" ? "" : ";label:CarouselWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI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c1ZW07XG4gICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICR7ZGlyZWN0aW9uID09PSAnbGVmdCdcbiAgICAgID8gY3NzYFxuICAgICAgICAgIG1hcmdpbi1sZWZ0OiAzcHg7XG4gICAgICAgIGBcbiAgICAgIDogY3NzYFxuICAgICAgICAgIG1hcmdpbi1yaWdodDogM3B4O1xuICAgICAgICBgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBCb3R0b21DYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUsrQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9JbWFnZUNhcm91c2VsL3N0eWxlcy50cyIsInNvdXJjZXND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ICBgXG4pXG5cbmV4cG9ydCBjb25zdCBCb3R0b21DYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */");
16
-
17
- var _ref = process.env.NODE_ENV === "production" ? {
18
- name: "1pt2o8x",
19
- styles: "margin-right:3px"
20
- } : {
21
- name: "9g5zwe-ControlButton",
22
- styles: "margin-right:3px;label:ControlButton;",
23
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQThCVyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9JbWFnZUNhcm91c2VsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcywgVGhlbWUgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb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dXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */",
24
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
25
- };
26
-
27
- var _ref2 = process.env.NODE_ENV === "production" ? {
28
- name: "1i7v2bx",
29
- styles: "margin-left:3px"
30
- } : {
31
- name: "1arqgkz-ControlButton",
32
- styles: "margin-left:3px;label:ControlButton;",
33
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCVyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9JbWFnZUNhcm91c2VsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcywgVGhlbWUgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5jb25zdCBiYWNrZ3JvdW5kID0gJ3JnYmEoMCwgMCwgMCwg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cbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */",
34
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
35
- };
36
-
37
- export const ControlButton = _styled("button", process.env.NODE_ENV === "production" ? {
38
- target: "e104918b2"
39
- } : {
40
- target: "e104918b2",
41
- label: "ControlButton"
42
- })(({
43
- direction
44
- }) => /*#__PURE__*/css("background-color:", background, ";border:none;border-radius:50%;padding:0.75em;cursor:pointer;", direction === 'left' ? _ref2 : _ref, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:ControlButton;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9CeUQiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW1hZ2VDYXJvdXNlbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0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xlZC5kaXYoXG4gICh7IGhlaWdodCB9OiB7IGhlaWdodDogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */");
45
- export const BottomCarouselWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
46
- target: "e104918b1"
47
- } : {
48
- target: "e104918b1",
49
- label: "BottomCarouselWrapper"
50
- })("display:flex;justify-content:center;padding:0.25em 1em;border-radius:5px;background-color:", background, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DK0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW1hZ2VDYXJvdXNlbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgYmFja2dyb3VuZCA9ICdyZ2JhKDAsIDAsIDAsIDAuNSknXG5cbmV4cG9ydCBjb25zdCBDYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAoeyBoZWlnaHQsIHRoZW1lIH06IHsgaGVpZ2h0OiBzdHJpbmc7IHRoZW1lOiBUaGVtZSB9KSA9PiBjc3NgXG4gICAgYm94LXNoYWRvdzogJHt0aGVt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W5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */"));
51
- export const ImageWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
52
- target: "e104918b0"
53
- } : {
54
- target: "e104918b0",
55
- label: "ImageWrapper"
56
- })(({
57
- height
58
- }) => /*#__PURE__*/css("display:flex;height:100%;& img{width:100%;max-height:", height, ";scale:1.015;}" + (process.env.NODE_ENV === "production" ? "" : ";label:ImageWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZDeUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW1hZ2VDYXJvdXNlbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgYmFja2dyb3VuZCA9ICdyZ2JhKDAsIDAsIDAsIDAuNSknXG5cbmV4cG9ydCBjb25zdCBDYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAoeyBoZWlnaHQsIHRoZW1lIH06IHsgaGVpZ2h0OiBzdHJpbmc7IHRoZW1lOiBUaGVtZSB9KSA9PiBjc3NgXG4gICAgYm94LXNoYWRvdzogJHt0aGVt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xuIl19 */");
@@ -1,19 +0,0 @@
1
- import { useTheme } from '@emotion/react';
2
- import React from 'react';
3
- import IconBellOutline from '../../../icons/General/IconBellOutline';
4
- import { UnreadMark, Wrapper } from './styles';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
- const NotificationBell = ({
8
- unread
9
- }) => {
10
- const theme = useTheme();
11
- return /*#__PURE__*/_jsxs(Wrapper, {
12
- children: [/*#__PURE__*/_jsx(IconBellOutline, {
13
- secondary: true
14
- }), unread && /*#__PURE__*/_jsx(UnreadMark, {
15
- color: theme.primary
16
- })]
17
- });
18
- };
19
- export default NotificationBell;
@@ -1,21 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
- export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
3
- target: "e1vzi48j1"
4
- } : {
5
- target: "e1vzi48j1",
6
- label: "Wrapper"
7
- })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvbkJlbGwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVpQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25CZWxsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgYFxuXG5leHBvcnQgY29uc3QgVW5yZWFkTWFyayA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBgXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAtMnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAke3Byb3BzLmNvbG9yfTtcbiAgaGVpZ2h0OiAxMHB4O1xuICB3aWR0aDogMTBweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbilcbiJdfQ== */");
8
- export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
9
- target: "e1vzi48j0"
10
- } : {
11
- target: "e1vzi48j0",
12
- label: "UnreadMark"
13
- })(props => `
14
- position: absolute;
15
- top: -2px;
16
- left: 10px;
17
- background: ${props.color};
18
- height: 10px;
19
- width: 10px;
20
- border-radius: 10px;
21
- `, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvbkJlbGwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUkwQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25CZWxsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgYFxuXG5leHBvcnQgY29uc3QgVW5yZWFkTWFyayA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBgXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAtMnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAke3Byb3BzLmNvbG9yfTtcbiAgaGVpZ2h0OiAxMHB4O1xuICB3aWR0aDogMTBweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbilcbiJdfQ== */");
@@ -1,13 +0,0 @@
1
- export let ModifierKey;
2
-
3
- (function (ModifierKey) {
4
- ModifierKey["enter"] = "Enter";
5
- ModifierKey["tab"] = "Tab";
6
- ModifierKey["space"] = " ";
7
- ModifierKey["escape"] = "Escape";
8
- ModifierKey["shift"] = "Shift";
9
- ModifierKey["right"] = "ArrowRight";
10
- ModifierKey["left"] = "ArrowLeft";
11
- ModifierKey["up"] = "ArrowUp";
12
- ModifierKey["down"] = "ArrowDown";
13
- })(ModifierKey || (ModifierKey = {}));
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useHandleOptionsHeight: () => {
3
- optionsHeight: number;
4
- optionsRef: import("react").RefObject<HTMLDivElement>;
5
- };
6
- export default useHandleOptionsHeight;
7
- //# sourceMappingURL=useHandleOptionsHeight.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useHandleOptionsHeight.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Autocomplete/utils/useHandleOptionsHeight.ts"],"names":[],"mappings":";AAEA,QAAA,MAAM,sBAAsB;;;CAW3B,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -1,16 +0,0 @@
1
- import { createRef, useEffect, useState } from 'react';
2
-
3
- const useHandleOptionsHeight = () => {
4
- const [optionsHeight, setOptionsHeight] = useState(0);
5
- const optionsRef = /*#__PURE__*/createRef();
6
- useEffect(() => {
7
- const rect = optionsRef.current?.getBoundingClientRect();
8
- setOptionsHeight(rect?.height || 0); // eslint-disable-next-line react-hooks/exhaustive-deps
9
- }, [optionsRef.current]);
10
- return {
11
- optionsHeight,
12
- optionsRef
13
- };
14
- };
15
-
16
- export default useHandleOptionsHeight;
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/CheckboxController/index.tsx"],"names":[],"mappings":""}
@@ -1,22 +0,0 @@
1
- // import React from 'react'
2
- // interface IProps {
3
- // /** Function children in which CheckBox components can be rendered. */
4
- // children: (component: React.ComponentType, values: string[], id: string) => void;
5
- // /** Unique name of the field. */
6
- // name: string,;
7
- // /** Callback that is triggered when a child CheckBox is clicked. */
8
- // onChange: (values: string[], event: React.ChangeEvent<HTMLInputElement>) => void;
9
- // /** Default checked values. */
10
- // value?: string,[];
11
- // }
12
- // const CheckboxController: React.FC<IProps> = props => {
13
- // const type: string = 'checkbox'
14
- // const onChange = (e: React.ChangeEvent<HTMLInputElement>) => {
15
- // if (props.onChange) {
16
- // props.onChange(e.target.checked)
17
- // }
18
- // }
19
- // return (
20
- // )
21
- // }
22
- // export default Checkbox
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- date: Date;
4
- onChange: (e: Date) => void;
5
- fromDate: Date;
6
- toDate: Date;
7
- }
8
- declare const YearMonthForm: React.FC<IProps>;
9
- export default YearMonthForm;
10
- //# sourceMappingURL=yearMonthForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yearMonthForm.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Datepicker/yearMonthForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,MAAM;IACd,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;IAC3B,QAAQ,EAAE,IAAI,CAAA;IACd,MAAM,EAAE,IAAI,CAAA;CACb;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmDnC,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,56 +0,0 @@
1
- import React from 'react';
2
- import { MONTHS } from '../../utils/dates';
3
- import { StyledSelect, Div } from './styles';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
-
7
- const YearMonthForm = ({
8
- onChange,
9
- date,
10
- fromDate,
11
- toDate
12
- }) => {
13
- const months = MONTHS;
14
- const years = [];
15
-
16
- for (let i = fromDate.getFullYear(); i <= toDate.getFullYear(); i += 1) {
17
- years.push(i);
18
- }
19
-
20
- const changeMonth = e => {
21
- let newDate = date;
22
- newDate.setMonth(e.target.value);
23
- if (newDate > toDate) newDate = toDate;
24
- onChange(newDate);
25
- };
26
-
27
- const changeYear = e => {
28
- let newDate = date;
29
- newDate.setFullYear(e.target.value);
30
- if (newDate > toDate) newDate = toDate;
31
- onChange(newDate);
32
- };
33
-
34
- return /*#__PURE__*/_jsxs(Div, {
35
- className: "DayPicker-Caption",
36
- children: [/*#__PURE__*/_jsx(StyledSelect, {
37
- name: "month",
38
- onChange: changeMonth,
39
- value: date.getMonth(),
40
- children: months.map((month, i) => /*#__PURE__*/_jsx("option", {
41
- value: i,
42
- children: month
43
- }, month))
44
- }), /*#__PURE__*/_jsx(StyledSelect, {
45
- name: "year",
46
- onChange: changeYear,
47
- value: date.getFullYear(),
48
- children: years.map(year => /*#__PURE__*/_jsx("option", {
49
- value: year,
50
- children: year
51
- }, year))
52
- })]
53
- });
54
- };
55
-
56
- export default YearMonthForm;
@@ -1,56 +0,0 @@
1
- import { ExtendedHTMLElement } from 'draft-convert';
2
- export declare const basicToolbar: {
3
- options: string[];
4
- inline: {
5
- options: string[];
6
- };
7
- };
8
- export declare const richToolbar: {
9
- options: string[];
10
- inline: {
11
- options: string[];
12
- };
13
- textAlign: {
14
- options: string[];
15
- };
16
- blockType: {
17
- inDropdown: boolean;
18
- options: string[];
19
- };
20
- link: {
21
- showOpenOptionOnHover: boolean;
22
- defaultTargetOption: string;
23
- options: string[];
24
- };
25
- };
26
- export declare const htmlToEntity: (nodeName: string, node: ExtendedHTMLElement<DOMStringMap>, createEntity: any) => any;
27
- export declare const getStrippedHtml: (html: string) => string;
28
- export declare const editorLabels: {
29
- 'generic.add': string;
30
- 'generic.cancel': string;
31
- 'components.controls.inline.bold': string;
32
- 'components.controls.inline.italic': string;
33
- 'components.controls.inline.underline': string;
34
- 'components.controls.list.unordered': string;
35
- 'components.controls.list.ordered': string;
36
- 'components.controls.list.indent': string;
37
- 'components.controls.list.outdent': string;
38
- 'components.controls.textAlign.left': string;
39
- 'components.controls.textAlign.center': string;
40
- 'components.controls.textAlign.right': string;
41
- 'components.controls.textAlign.justify': string;
42
- 'components.controls.blocktype.normal': string;
43
- 'components.controls.blocktype.h1': string;
44
- 'components.controls.blocktype.h2': string;
45
- 'components.controls.blocktype.h3': string;
46
- 'components.controls.blocktype.h4': string;
47
- 'components.controls.blocktype.h5': string;
48
- 'components.controls.blocktype.h6': string;
49
- 'components.controls.link.linkTitle': string;
50
- 'components.controls.link.linkTarget': string;
51
- 'components.controls.link.linkTargetOption': string;
52
- 'components.controls.link.link': string;
53
- 'components.controls.link.unlink': string;
54
- 'components.controls.remove.remove': string;
55
- };
56
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/packages/core/EditorOld/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAEnD,eAAO,MAAM,YAAY;;;;;CAKxB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAiBvB,CAAA;AAED,eAAO,MAAM,YAAY,aACb,MAAM,QACV,oBAAoB,YAAY,CAAC,gBACzB,GAAG,QAKlB,CAAA;AAED,eAAO,MAAM,eAAe,SAAU,MAAM,WAE3C,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCxB,CAAA"}
@@ -1,69 +0,0 @@
1
- export const basicToolbar = {
2
- options: ['inline', 'list'],
3
- inline: {
4
- options: ['bold', 'italic', 'underline']
5
- }
6
- };
7
- export const richToolbar = {
8
- options: ['blockType', 'inline', 'list', 'textAlign', 'link'],
9
- inline: {
10
- options: ['bold', 'italic', 'underline']
11
- },
12
- textAlign: {
13
- options: ['left', 'center', 'right', 'justify']
14
- },
15
- blockType: {
16
- inDropdown: true,
17
- options: ['Normal', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6']
18
- },
19
- link: {
20
- showOpenOptionOnHover: true,
21
- defaultTargetOption: '_blank',
22
- options: ['link', 'unlink']
23
- }
24
- };
25
- export const htmlToEntity = (nodeName, node, createEntity) => {
26
- if (nodeName === 'a') {
27
- return createEntity('LINK', 'MUTABLE', {
28
- url: node.href
29
- });
30
- }
31
- };
32
- export const getStrippedHtml = html => {
33
- return html.replace(/<img[^>]*>/g, '');
34
- };
35
- export const editorLabels = {
36
- // Generic
37
- 'generic.add': 'Legg til',
38
- 'generic.cancel': 'Avbryt',
39
- // Inline
40
- 'components.controls.inline.bold': 'Fet',
41
- 'components.controls.inline.italic': 'Kursiv',
42
- 'components.controls.inline.underline': 'Understrek',
43
- // List
44
- 'components.controls.list.unordered': 'Punktliste',
45
- 'components.controls.list.ordered': 'Nummerliste',
46
- 'components.controls.list.indent': 'Innrykk',
47
- 'components.controls.list.outdent': 'Utrykk',
48
- // Text align
49
- 'components.controls.textAlign.left': 'Venstrejuster',
50
- 'components.controls.textAlign.center': 'Midtstill',
51
- 'components.controls.textAlign.right': 'Høyrejuster',
52
- 'components.controls.textAlign.justify': 'Blokkjuster',
53
- // Block type
54
- 'components.controls.blocktype.normal': 'Avsnitt',
55
- 'components.controls.blocktype.h1': 'Overskrift 1',
56
- 'components.controls.blocktype.h2': 'Overskrift 2',
57
- 'components.controls.blocktype.h3': 'Overskrift 3',
58
- 'components.controls.blocktype.h4': 'Overskrift 4',
59
- 'components.controls.blocktype.h5': 'Overskrift 5',
60
- 'components.controls.blocktype.h6': 'Overskrift 6',
61
- // Link
62
- 'components.controls.link.linkTitle': 'Tittel',
63
- 'components.controls.link.linkTarget': 'URL',
64
- 'components.controls.link.linkTargetOption': 'Åpne i ny fane',
65
- 'components.controls.link.link': 'Legg til lenke',
66
- 'components.controls.link.unlink': 'Fjern lenke',
67
- // Remove
68
- 'components.controls.remove.remove': 'Fjern'
69
- };
@@ -1,39 +0,0 @@
1
- /** @jsxImportSource @emotion/react */
2
- import React from 'react';
3
- import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
4
- interface IProps {
5
- /** Input text */
6
- initialValue?: string;
7
- /** Editor type, defaults to basic */
8
- type?: 'basic' | 'rich' | 'custom';
9
- /** Adds a custom toolbar if type is set to custom */
10
- customToolbar?: object;
11
- /** Height of textarea */
12
- label?: string;
13
- /** Deafult height of texteditor */
14
- height?: number;
15
- /** Max resize height of texteditor */
16
- maxHeight?: number;
17
- /** Maxlength of input */
18
- maxlength?: number;
19
- /** Specifies whether maxlength should include html or not, defaults to 'plaintext' */
20
- maxlengthType?: 'plaintext' | 'html';
21
- /** Adds an error message if text is too long */
22
- maxlengthText?: string;
23
- /** Adds a counter of characters compared to maxlength, if maxlength is specified */
24
- withCounter?: boolean;
25
- /** Error message */
26
- invalidMessage?: string;
27
- /** Cb on blur */
28
- onBlur?: () => void;
29
- /** Cb on change */
30
- onChange: (value: string) => void;
31
- }
32
- /**
33
- *
34
- * TODO: REMOVE AND CLEANUP PACKAGES
35
- *
36
- */
37
- declare const EditorOld: React.FC<IProps>;
38
- export default EditorOld;
39
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/EditorOld/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,OAAO,kDAAkD,CAAA;AAqBzD,UAAU,MAAM;IACd,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;IAClC,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sFAAsF;IACtF,aAAa,CAAC,EAAE,WAAW,GAAG,MAAM,CAAA;IACpC,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oFAAoF;IACpF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,iBAAiB;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mBAAmB;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;GAIG;AAEH,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA8I/B,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -1,147 +0,0 @@
1
- /** @jsxImportSource @emotion/react */
2
- import React, { useState } from 'react';
3
- import { Editor as Wysiwyg } from 'react-draft-wysiwyg';
4
- import { convertToRaw, EditorState, Modifier } from 'draft-js';
5
- import { stateFromHTML } from 'draft-js-import-html';
6
- import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
7
- import { CounterWrapper, ErrorWrapper, Label, RelativeDiv, styles } from './styles';
8
- import { basicToolbar, editorLabels, getStrippedHtml, htmlToEntity, richToolbar } from './config';
9
- import { convertToHTML, convertFromHTML } from 'draft-convert';
10
- import Text from '../Text';
11
- import { useTheme } from '@emotion/react';
12
- import IconErrorOutline from '../../icons/General/IconErrorOutline';
13
- import draftToHtml from 'draftjs-to-html';
14
- import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
15
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
16
-
17
- /**
18
- *
19
- * TODO: REMOVE AND CLEANUP PACKAGES
20
- *
21
- */
22
- const EditorOld = ({
23
- initialValue,
24
- height = 300,
25
- maxHeight,
26
- maxlength,
27
- maxlengthType = 'plaintext',
28
- maxlengthText,
29
- withCounter,
30
- invalidMessage,
31
- label,
32
- customToolbar,
33
- type = 'basic',
34
- onChange,
35
- onBlur
36
- }) => {
37
- const theme = useTheme();
38
- const [maxlengthError, setMaxlengthError] = useState(null);
39
- const [charCount, setCharCount] = useState(0);
40
- const [editorState, setEditorState] = useState(initialValue ? EditorState.createWithContent(convertFromHTML({
41
- htmlToEntity
42
- })(initialValue)) : EditorState.createEmpty());
43
-
44
- const handleEditorChange = state => {
45
- handleValidity(state);
46
- setEditorState(state);
47
- const plainText = state.getCurrentContent().getPlainText();
48
- const html = draftToHtml(convertToRaw(state.getCurrentContent()));
49
- onChange(plainText.length > 0 ? html : ''); // return empty if no content
50
-
51
- if (withCounter && maxlength) {
52
- setCharCount(maxlengthType === 'html' ? html.length : plainText.length);
53
- }
54
- };
55
-
56
- const handleValidity = state => {
57
- if (!maxlength) {
58
- setMaxlengthError(null);
59
- return;
60
- }
61
-
62
- const plaintext = state.getCurrentContent().getPlainText();
63
- const html = convertToHTML(state.getCurrentContent());
64
-
65
- if (maxlengthType === 'html' && html.length > maxlength) {
66
- setMaxlengthError(maxlengthText ? maxlengthText : 'Text is too long');
67
- return;
68
- }
69
-
70
- if (maxlengthType === 'plaintext' && plaintext.length > maxlength) {
71
- setMaxlengthError(maxlengthText ? maxlengthText : 'Text is too long');
72
- return;
73
- }
74
-
75
- setMaxlengthError(null);
76
- };
77
-
78
- const Counter = _jsx(CounterWrapper, {
79
- children: _jsxs(Text, {
80
- children: [charCount, "/", maxlength]
81
- })
82
- });
83
-
84
- const handlePaste = (text, html, editorState, onChange) => {
85
- if (!html) return false;
86
- const strippedHtml = getStrippedHtml(html);
87
- const blockMap = stateFromHTML(strippedHtml).blockMap;
88
- const newState = Modifier.replaceWithFragment(editorState.getCurrentContent(), editorState.getSelection(), blockMap);
89
- onChange(EditorState.push(editorState, newState, 'insert-fragment'));
90
- return true;
91
- };
92
-
93
- const getToolbar = () => {
94
- switch (type) {
95
- case 'basic':
96
- return basicToolbar;
97
-
98
- case 'rich':
99
- return richToolbar;
100
-
101
- case 'custom':
102
- return customToolbar;
103
-
104
- default:
105
- return undefined;
106
- }
107
- };
108
-
109
- return _jsxs("div", {
110
- css: theme => [styles.default(theme, height), maxHeight && styles.maxHeight(maxHeight)],
111
- children: [label && _jsx(Label, {
112
- children: label
113
- }), _jsxs(RelativeDiv, {
114
- children: [_jsx(Wysiwyg, {
115
- editorState: editorState,
116
- toolbarClassName: "toolbar-wrapper",
117
- wrapperClassName: "editor-wrapper",
118
- editorClassName: "content-wrapper",
119
- onEditorStateChange: handleEditorChange,
120
- toolbar: getToolbar(),
121
- localization: {
122
- locale: 'nb_NO',
123
- translations: editorLabels
124
- },
125
- stripPastedStyles: type !== 'rich',
126
- onBlur: () => onBlur && onBlur(),
127
- handlePastedText: handlePaste
128
- }), maxlength && withCounter && Counter]
129
- }), (maxlengthError || invalidMessage) && _jsxs(ErrorWrapper, {
130
- children: [maxlengthError && _jsxs(Text, {
131
- color: theme.alert,
132
- children: [_jsx(IconErrorOutline, {
133
- size: "16px",
134
- color: theme.alert
135
- }), ' ', maxlengthError]
136
- }), invalidMessage && _jsxs(Text, {
137
- color: theme.alert,
138
- children: [_jsx(IconErrorOutline, {
139
- size: "16px",
140
- color: theme.alert
141
- }), ' ', invalidMessage]
142
- })]
143
- })]
144
- });
145
- };
146
-
147
- export default EditorOld;
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { IAppTheme } from '../../app-shell/theme';
3
- export declare const styles: {
4
- default: (theme: IAppTheme, height: number) => import("@emotion/react").SerializedStyles;
5
- maxHeight: (height: number) => import("@emotion/react").SerializedStyles;
6
- };
7
- export declare const RelativeDiv: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
10
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
- export declare const Label: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
14
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
15
- export declare const ErrorWrapper: import("@emotion/styled").StyledComponent<{
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
18
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
- export declare const CounterWrapper: import("@emotion/styled").StyledComponent<{
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
22
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/EditorOld/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,eAAO,MAAM,MAAM;qBACA,SAAS,UAAU,MAAM;wBAkItB,MAAM;CAK3B,CAAA;AAED,eAAO,MAAM,WAAW;;;yGAEvB,CAAA;AAED,eAAO,MAAM,KAAK;;;2GAKjB,CAAA;AAED,eAAO,MAAM,YAAY;;;yGASxB,CAAA;AAED,eAAO,MAAM,cAAc;;;yGAI1B,CAAA"}