@bbl-digital/snorre 2.2.153 → 2.2.154

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 (629) 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 +410 -410
  6. package/esm/app-shell/index.js +1 -1
  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 +17 -17
  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/HeaderCell/styles.js +2 -2
  15. package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
  16. package/esm/core/BoxedTable/styles.js +9 -9
  17. package/esm/core/Button/styles.js +18 -18
  18. package/esm/core/Calendar/CalendarEvent/styles.js +5 -5
  19. package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -5
  20. package/esm/core/Calendar/styles.js +6 -6
  21. package/esm/core/Card/styles.js +11 -11
  22. package/esm/core/Checkbox/styles.js +5 -5
  23. package/esm/core/CollapseList/styles.js +2 -2
  24. package/esm/core/CommentsTimeline/CommentLine/styles.js +4 -4
  25. package/esm/core/CommentsTimeline/styles.js +1 -1
  26. package/esm/core/CustomText/styles.js +2 -2
  27. package/esm/core/Datepicker/styles.js +8 -8
  28. package/esm/core/Divider/styles.js +5 -5
  29. package/esm/core/Dropdown/styles.js +3 -3
  30. package/esm/core/DropdownMenu/styles.js +3 -3
  31. package/esm/core/Editor/styles.js +4 -4
  32. package/esm/core/EditorOld/index.js +4 -4
  33. package/esm/core/EditorOld/styles.js +6 -6
  34. package/esm/core/FileInput/styles.js +12 -12
  35. package/esm/core/GoogleButton/styles.js +1 -1
  36. package/esm/core/Header/styles.js +7 -7
  37. package/esm/core/HighlightText/styles.js +1 -1
  38. package/esm/core/Html/styles.js +6 -6
  39. package/esm/core/Image/styles.js +3 -3
  40. package/esm/core/Input/styles.js +14 -14
  41. package/esm/core/List/Item.js +1 -1
  42. package/esm/core/List/styles.js +11 -11
  43. package/esm/core/ListPager/styles.js +3 -3
  44. package/esm/core/Modal/styles.js +8 -8
  45. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
  46. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
  47. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
  48. package/esm/core/NoticeCard/styles.js +4 -4
  49. package/esm/core/NotificationCounter/index.js +1 -1
  50. package/esm/core/NotificationCounter/styles.js +1 -1
  51. package/esm/core/NotificationsMenu/NotificationBell/styles.js +2 -2
  52. package/esm/core/NotificationsMenu/NotificationRow/styles.js +1 -1
  53. package/esm/core/NotificationsMenu/styles.js +2 -2
  54. package/esm/core/PreemptionCard/index.js +1 -1
  55. package/esm/core/PreemptionCardLoading/styles.js +3 -3
  56. package/esm/core/Radio/styles.js +3 -3
  57. package/esm/core/Select/index.js +1 -1
  58. package/esm/core/Select/styles.js +15 -15
  59. package/esm/core/SimpleLineChart/styles.js +1 -1
  60. package/esm/core/Skeleton/styles.js +4 -4
  61. package/esm/core/Spinner/styles.js +5 -5
  62. package/esm/core/TabBar/TabItem/styles.js +1 -1
  63. package/esm/core/TabBar/styles.js +1 -1
  64. package/esm/core/TabNav/TabNavItem/styles.js +2 -2
  65. package/esm/core/Table/styles.js +16 -16
  66. package/esm/core/Tag/styles.js +12 -12
  67. package/esm/core/Text/styles.js +14 -14
  68. package/esm/core/Textarea/styles.js +6 -6
  69. package/esm/core/Timeline/TimelineStep/styles.js +6 -6
  70. package/esm/core/Timeline/styles.js +1 -1
  71. package/esm/core/Timepicker/styles.js +6 -6
  72. package/esm/core/UnitIllustration/index.js +9 -9
  73. package/esm/core/UserMenu/styles.js +7 -7
  74. package/esm/core/YearWheel/styles.js +3 -3
  75. package/esm/illustrations/styles.js +2 -2
  76. package/esm/layout/Footer/FooterButton/styles.js +1 -1
  77. package/esm/layout/Footer/FooterCol/styles.js +1 -1
  78. package/esm/layout/Footer/FooterGroup/styles.js +1 -1
  79. package/esm/layout/Footer/FooterLabel/styles.js +1 -1
  80. package/esm/layout/Footer/FooterLink/styles.js +1 -1
  81. package/esm/layout/Footer/styles.js +2 -2
  82. package/esm/layout/Layout/styles.js +1 -1
  83. package/esm/layout/LayoutShell/styles.js +10 -10
  84. package/esm/layout/Menu/AppPicker/styles.js +3 -3
  85. package/esm/layout/Menu/MenuItem/styles.js +2 -2
  86. package/esm/layout/Menu/styles.js +1 -1
  87. package/esm/layout/Submenu/SubmenuItem/styles.js +3 -3
  88. package/esm/layout/Submenu/styles.js +10 -10
  89. package/esm/layout/Topbar/styles.js +1 -1
  90. package/esm/shared/recharts/CustomLegend/styles.js +2 -2
  91. package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
  92. package/esm/utils/format.js +6 -6
  93. package/esm/utils/time.js +14 -14
  94. package/infrastructure/azure-pipelines.yml +29 -29
  95. package/jest.config.js +33 -33
  96. package/lib/app-shell/index.d.ts +8 -8
  97. package/lib/app-shell/index.js +1 -1
  98. package/lib/app-shell/theme.d.ts +122 -122
  99. package/lib/core/Alert/index.d.ts +21 -21
  100. package/lib/core/Alert/styles.d.ts +11 -11
  101. package/lib/core/Alert/styles.js +6 -6
  102. package/lib/core/AppLoader/index.d.ts +8 -8
  103. package/lib/core/AppLoader/styles.d.ts +6 -6
  104. package/lib/core/AppLoader/styles.js +1 -1
  105. package/lib/core/Autocomplete/index.d.ts +78 -78
  106. package/lib/core/Autocomplete/styles.d.ts +22 -22
  107. package/lib/core/Autocomplete/styles.js +17 -17
  108. package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +6 -6
  109. package/lib/core/Banner/index.d.ts +18 -18
  110. package/lib/core/Banner/styles.d.ts +17 -17
  111. package/lib/core/Banner/styles.js +4 -4
  112. package/lib/core/BarAndLineComposedChart/index.d.ts +56 -56
  113. package/lib/core/BarAndLineComposedChart/styles.d.ts +8 -8
  114. package/lib/core/BarAndLineComposedChart/styles.js +1 -1
  115. package/lib/core/BarChartWithCustomizedEvent/index.d.ts +55 -55
  116. package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +9 -9
  117. package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
  118. package/lib/core/Box/index.d.ts +25 -25
  119. package/lib/core/Box/styles.d.ts +39 -39
  120. package/lib/core/Box/styles.js +7 -7
  121. package/lib/core/BoxedTable/HeaderCell/index.d.ts +22 -22
  122. package/lib/core/BoxedTable/HeaderCell/styles.d.ts +3 -3
  123. package/lib/core/BoxedTable/HeaderCell/styles.js +2 -2
  124. package/lib/core/BoxedTable/RowCell/index.d.ts +24 -24
  125. package/lib/core/BoxedTable/RowCell/styles.d.ts +12 -12
  126. package/lib/core/BoxedTable/TableHeader/index.d.ts +5 -5
  127. package/lib/core/BoxedTable/TableHeader/styles.d.ts +5 -5
  128. package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
  129. package/lib/core/BoxedTable/TableRow/index.d.ts +17 -17
  130. package/lib/core/BoxedTable/TableRow/styles.d.ts +55 -55
  131. package/lib/core/BoxedTable/index.d.ts +13 -13
  132. package/lib/core/BoxedTable/styles.d.ts +14 -14
  133. package/lib/core/BoxedTable/styles.js +9 -9
  134. package/lib/core/Button/index.d.ts +34 -34
  135. package/lib/core/Button/styles.d.ts +24 -24
  136. package/lib/core/Button/styles.js +18 -18
  137. package/lib/core/Calendar/CalendarEvent/index.d.ts +9 -9
  138. package/lib/core/Calendar/CalendarEvent/styles.d.ts +18 -18
  139. package/lib/core/Calendar/CalendarEvent/styles.js +5 -5
  140. package/lib/core/Calendar/CalendarSmallEvent/index.d.ts +9 -9
  141. package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +18 -18
  142. package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -5
  143. package/lib/core/Calendar/index.d.ts +14 -14
  144. package/lib/core/Calendar/styles.d.ts +12 -12
  145. package/lib/core/Calendar/styles.js +6 -6
  146. package/lib/core/Calendar/util.d.ts +2 -2
  147. package/lib/core/Card/index.d.ts +29 -29
  148. package/lib/core/Card/styles.d.ts +16 -16
  149. package/lib/core/Card/styles.js +11 -11
  150. package/lib/core/Checkbox/index.d.ts +32 -32
  151. package/lib/core/Checkbox/styles.d.ts +10 -10
  152. package/lib/core/Checkbox/styles.js +5 -5
  153. package/lib/core/CollapseList/Item.d.ts +11 -11
  154. package/lib/core/CollapseList/index.d.ts +4 -4
  155. package/lib/core/CollapseList/styles.d.ts +24 -24
  156. package/lib/core/CollapseList/styles.js +2 -2
  157. package/lib/core/CommentsTimeline/CommentLine/index.d.ts +23 -23
  158. package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +14 -14
  159. package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
  160. package/lib/core/CommentsTimeline/index.d.ts +5 -5
  161. package/lib/core/CommentsTimeline/styles.d.ts +5 -5
  162. package/lib/core/CommentsTimeline/styles.js +1 -1
  163. package/lib/core/CustomText/index.d.ts +24 -24
  164. package/lib/core/CustomText/styles.d.ts +6 -6
  165. package/lib/core/CustomText/styles.js +2 -2
  166. package/lib/core/Datepicker/index.d.ts +28 -28
  167. package/lib/core/Datepicker/styles.d.ts +27 -27
  168. package/lib/core/Datepicker/styles.js +8 -8
  169. package/lib/core/Datepicker/yearMonthForm.d.ts +9 -9
  170. package/lib/core/Divider/index.d.ts +21 -21
  171. package/lib/core/Divider/styles.d.ts +10 -10
  172. package/lib/core/Divider/styles.js +5 -5
  173. package/lib/core/Dropdown/index.d.ts +25 -25
  174. package/lib/core/Dropdown/styles.d.ts +8 -8
  175. package/lib/core/Dropdown/styles.js +3 -3
  176. package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +10 -10
  177. package/lib/core/DropdownMenu/index.d.ts +9 -9
  178. package/lib/core/DropdownMenu/styles.d.ts +11 -11
  179. package/lib/core/DropdownMenu/styles.js +3 -3
  180. package/lib/core/Editor/config.d.ts +5 -5
  181. package/lib/core/Editor/index.d.ts +38 -38
  182. package/lib/core/Editor/styles.d.ts +14 -14
  183. package/lib/core/Editor/styles.js +4 -4
  184. package/lib/core/EditorOld/config.d.ts +55 -55
  185. package/lib/core/EditorOld/index.d.ts +38 -38
  186. package/lib/core/EditorOld/index.js +4 -4
  187. package/lib/core/EditorOld/styles.d.ts +22 -22
  188. package/lib/core/EditorOld/styles.js +6 -6
  189. package/lib/core/FileInput/index.d.ts +27 -27
  190. package/lib/core/FileInput/styles.d.ts +66 -66
  191. package/lib/core/FileInput/styles.js +12 -12
  192. package/lib/core/GoogleButton/index.d.ts +8 -8
  193. package/lib/core/GoogleButton/styles.d.ts +5 -5
  194. package/lib/core/GoogleButton/styles.js +1 -1
  195. package/lib/core/Header/index.d.ts +18 -18
  196. package/lib/core/Header/styles.d.ts +12 -12
  197. package/lib/core/Header/styles.js +7 -7
  198. package/lib/core/HighlightText/index.d.ts +11 -11
  199. package/lib/core/HighlightText/styles.d.ts +5 -5
  200. package/lib/core/HighlightText/styles.js +1 -1
  201. package/lib/core/Html/index.d.ts +20 -20
  202. package/lib/core/Html/styles.d.ts +11 -11
  203. package/lib/core/Html/styles.js +6 -6
  204. package/lib/core/Image/index.d.ts +20 -20
  205. package/lib/core/Image/styles.d.ts +7 -7
  206. package/lib/core/Image/styles.js +3 -3
  207. package/lib/core/InfoButton/index.d.ts +18 -18
  208. package/lib/core/InfoButton/styles.d.ts +36 -36
  209. package/lib/core/Input/index.d.ts +53 -53
  210. package/lib/core/Input/styles.d.ts +19 -19
  211. package/lib/core/Input/styles.js +14 -14
  212. package/lib/core/Link/index.d.ts +25 -25
  213. package/lib/core/Link/styles.d.ts +14 -14
  214. package/lib/core/List/Item.d.ts +3 -3
  215. package/lib/core/List/Item.js +1 -1
  216. package/lib/core/List/index.d.ts +32 -32
  217. package/lib/core/List/styles.d.ts +34 -34
  218. package/lib/core/List/styles.js +11 -11
  219. package/lib/core/ListPager/index.d.ts +15 -15
  220. package/lib/core/ListPager/styles.d.ts +10 -10
  221. package/lib/core/ListPager/styles.js +3 -3
  222. package/lib/core/Modal/index.d.ts +39 -39
  223. package/lib/core/Modal/styles.d.ts +42 -42
  224. package/lib/core/Modal/styles.js +8 -8
  225. package/lib/core/NoticeCard/index.d.ts +22 -22
  226. package/lib/core/NoticeCard/models.d.ts +29 -29
  227. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.d.ts +9 -9
  228. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +18 -18
  229. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
  230. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.d.ts +8 -8
  231. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +5 -5
  232. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
  233. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +10 -10
  234. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +13 -13
  235. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
  236. package/lib/core/NoticeCard/styles.d.ts +19 -19
  237. package/lib/core/NoticeCard/styles.js +4 -4
  238. package/lib/core/NoticeCard/utils.d.ts +3 -3
  239. package/lib/core/NotificationCounter/index.d.ts +12 -12
  240. package/lib/core/NotificationCounter/index.js +1 -1
  241. package/lib/core/NotificationCounter/styles.d.ts +4 -4
  242. package/lib/core/NotificationCounter/styles.d.ts.map +1 -1
  243. package/lib/core/NotificationCounter/styles.js +1 -1
  244. package/lib/core/NotificationsMenu/NotificationBell/index.d.ts +7 -7
  245. package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts +6 -6
  246. package/lib/core/NotificationsMenu/NotificationBell/styles.js +2 -2
  247. package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +15 -15
  248. package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +2 -2
  249. package/lib/core/NotificationsMenu/NotificationRow/styles.js +1 -1
  250. package/lib/core/NotificationsMenu/index.d.ts +11 -11
  251. package/lib/core/NotificationsMenu/styles.d.ts +9 -9
  252. package/lib/core/NotificationsMenu/styles.js +2 -2
  253. package/lib/core/PieChart/ActiveShape/index.d.ts +4 -4
  254. package/lib/core/PieChart/index.d.ts +30 -30
  255. package/lib/core/PieChart/renderTextContent/index.d.ts +4 -4
  256. package/lib/core/PieChart/styles.d.ts +14 -14
  257. package/lib/core/PreemptionCard/index.d.ts +9 -9
  258. package/lib/core/PreemptionCard/index.js +1 -1
  259. package/lib/core/PreemptionCard/models.d.ts +115 -115
  260. package/lib/core/PreemptionCard/styles.d.ts +10 -10
  261. package/lib/core/PreemptionCardLoading/index.d.ts +5 -5
  262. package/lib/core/PreemptionCardLoading/styles.d.ts +13 -13
  263. package/lib/core/PreemptionCardLoading/styles.js +3 -3
  264. package/lib/core/Radio/index.d.ts +14 -14
  265. package/lib/core/Radio/styles.d.ts +8 -8
  266. package/lib/core/Radio/styles.js +3 -3
  267. package/lib/core/Select/Option.d.ts +16 -16
  268. package/lib/core/Select/index.d.ts +49 -49
  269. package/lib/core/Select/index.js +1 -1
  270. package/lib/core/Select/styles.d.ts +29 -29
  271. package/lib/core/Select/styles.js +15 -15
  272. package/lib/core/SimpleBarChart/index.d.ts +45 -45
  273. package/lib/core/SimpleBarChart/styles.d.ts +8 -8
  274. package/lib/core/SimpleLineChart/index.d.ts +61 -61
  275. package/lib/core/SimpleLineChart/styles.d.ts +8 -8
  276. package/lib/core/SimpleLineChart/styles.js +1 -1
  277. package/lib/core/Skeleton/index.d.ts +10 -10
  278. package/lib/core/Skeleton/styles.d.ts +26 -26
  279. package/lib/core/Skeleton/styles.js +4 -4
  280. package/lib/core/Spinner/index.d.ts +11 -11
  281. package/lib/core/Spinner/styles.d.ts +10 -10
  282. package/lib/core/Spinner/styles.js +5 -5
  283. package/lib/core/TabBar/TabItem/index.d.ts +13 -13
  284. package/lib/core/TabBar/TabItem/styles.d.ts +5 -5
  285. package/lib/core/TabBar/TabItem/styles.js +1 -1
  286. package/lib/core/TabBar/index.d.ts +5 -5
  287. package/lib/core/TabBar/styles.d.ts +5 -5
  288. package/lib/core/TabBar/styles.js +1 -1
  289. package/lib/core/TabNav/TabContext.d.ts +17 -17
  290. package/lib/core/TabNav/TabNavItem/index.d.ts +16 -16
  291. package/lib/core/TabNav/TabNavItem/styles.d.ts +9 -9
  292. package/lib/core/TabNav/TabNavItem/styles.js +2 -2
  293. package/lib/core/TabNav/index.d.ts +26 -26
  294. package/lib/core/TabNav/styles.d.ts +20 -20
  295. package/lib/core/TabNav/utils/useContainerDimensions.d.ts +4 -4
  296. package/lib/core/Table/Cell.d.ts +22 -22
  297. package/lib/core/Table/Row.d.ts +21 -21
  298. package/lib/core/Table/index.d.ts +10 -10
  299. package/lib/core/Table/styles.d.ts +26 -26
  300. package/lib/core/Table/styles.js +16 -16
  301. package/lib/core/Tag/index.d.ts +38 -38
  302. package/lib/core/Tag/styles.d.ts +17 -17
  303. package/lib/core/Tag/styles.js +12 -12
  304. package/lib/core/Text/index.d.ts +44 -44
  305. package/lib/core/Text/styles.d.ts +19 -19
  306. package/lib/core/Text/styles.js +14 -14
  307. package/lib/core/Textarea/index.d.ts +28 -28
  308. package/lib/core/Textarea/styles.d.ts +16 -16
  309. package/lib/core/Textarea/styles.js +6 -6
  310. package/lib/core/Timeline/TimelineStep/index.d.ts +14 -14
  311. package/lib/core/Timeline/TimelineStep/styles.d.ts +16 -16
  312. package/lib/core/Timeline/TimelineStep/styles.js +6 -6
  313. package/lib/core/Timeline/index.d.ts +3 -3
  314. package/lib/core/Timeline/styles.d.ts +5 -5
  315. package/lib/core/Timeline/styles.js +1 -1
  316. package/lib/core/Timepicker/index.d.ts +34 -34
  317. package/lib/core/Timepicker/styles.d.ts +18 -18
  318. package/lib/core/Timepicker/styles.js +6 -6
  319. package/lib/core/UnitIllustration/index.d.ts +6 -6
  320. package/lib/core/UnitIllustration/index.js +9 -9
  321. package/lib/core/UserMenu/UserMenuOption.d.ts +7 -7
  322. package/lib/core/UserMenu/index.d.ts +17 -17
  323. package/lib/core/UserMenu/styles.d.ts +27 -27
  324. package/lib/core/UserMenu/styles.js +7 -7
  325. package/lib/core/YearWheel/index.d.ts +10 -10
  326. package/lib/core/YearWheel/styles.d.ts +8 -8
  327. package/lib/core/YearWheel/styles.js +3 -3
  328. package/lib/core/private/ButtonOrLink.d.ts +39 -39
  329. package/lib/core/private/preemption.d.ts +5 -5
  330. package/lib/core/utils/debounce.d.ts +2 -2
  331. package/lib/globals/styles/breakpoints.d.ts +9 -9
  332. package/lib/globals/styles/paddings.d.ts +8 -8
  333. package/lib/globals/validation/regularExpressions.d.ts +10 -10
  334. package/lib/hooks/useIsMobile.d.ts +1 -1
  335. package/lib/hooks/useScreenOrientation.d.ts +2 -2
  336. package/lib/icons/General/IconApartment.d.ts +3 -3
  337. package/lib/icons/General/IconArchives.d.ts +3 -3
  338. package/lib/icons/General/IconArea.d.ts +3 -3
  339. package/lib/icons/General/IconArrowDown.d.ts +3 -3
  340. package/lib/icons/General/IconArrowLeft.d.ts +3 -3
  341. package/lib/icons/General/IconArrowRight.d.ts +3 -3
  342. package/lib/icons/General/IconArrowUp.d.ts +3 -3
  343. package/lib/icons/General/IconAttachment.d.ts +3 -3
  344. package/lib/icons/General/IconBack.d.ts +3 -3
  345. package/lib/icons/General/IconBath.d.ts +3 -3
  346. package/lib/icons/General/IconBblFlame.d.ts +3 -3
  347. package/lib/icons/General/IconBblShield.d.ts +3 -3
  348. package/lib/icons/General/IconBblWater.d.ts +3 -3
  349. package/lib/icons/General/IconBellOutline.d.ts +3 -3
  350. package/lib/icons/General/IconBlock.d.ts +3 -3
  351. package/lib/icons/General/IconBoard.d.ts +3 -3
  352. package/lib/icons/General/IconBookmarkFilled.d.ts +3 -3
  353. package/lib/icons/General/IconBookmarkOutline.d.ts +3 -3
  354. package/lib/icons/General/IconBus.d.ts +3 -3
  355. package/lib/icons/General/IconCalendar.d.ts +3 -3
  356. package/lib/icons/General/IconCar.d.ts +3 -3
  357. package/lib/icons/General/IconCaretDown.d.ts +3 -3
  358. package/lib/icons/General/IconCaretLeft.d.ts +3 -3
  359. package/lib/icons/General/IconCaretRight.d.ts +3 -3
  360. package/lib/icons/General/IconCaretUp.d.ts +3 -3
  361. package/lib/icons/General/IconCheck.d.ts +3 -3
  362. package/lib/icons/General/IconCheckedFilled.d.ts +3 -3
  363. package/lib/icons/General/IconCheckedOutline.d.ts +3 -3
  364. package/lib/icons/General/IconChevronDown.d.ts +3 -3
  365. package/lib/icons/General/IconChevronLeft.d.ts +3 -3
  366. package/lib/icons/General/IconChevronRight.d.ts +3 -3
  367. package/lib/icons/General/IconChoice.d.ts +3 -3
  368. package/lib/icons/General/IconClose.d.ts +3 -3
  369. package/lib/icons/General/IconCloseAlt.d.ts +3 -3
  370. package/lib/icons/General/IconComment.d.ts +3 -3
  371. package/lib/icons/General/IconCommunication.d.ts +3 -3
  372. package/lib/icons/General/IconCommunicationFilled.d.ts +3 -3
  373. package/lib/icons/General/IconCompanyBuilding.d.ts +3 -3
  374. package/lib/icons/General/IconCompanyBuildingFilled.d.ts +3 -3
  375. package/lib/icons/General/IconCompanyBuildingOutline.d.ts +3 -3
  376. package/lib/icons/General/IconDashboard.d.ts +3 -3
  377. package/lib/icons/General/IconDashboardFilled.d.ts +3 -3
  378. package/lib/icons/General/IconDelete.d.ts +3 -3
  379. package/lib/icons/General/IconDocument.d.ts +3 -3
  380. package/lib/icons/General/IconDocumentFilled.d.ts +3 -3
  381. package/lib/icons/General/IconDoor.d.ts +3 -3
  382. package/lib/icons/General/IconDotFilled.d.ts +3 -3
  383. package/lib/icons/General/IconDotOutline.d.ts +3 -3
  384. package/lib/icons/General/IconDownload.d.ts +3 -3
  385. package/lib/icons/General/IconDraft.d.ts +3 -3
  386. package/lib/icons/General/IconEarth.d.ts +3 -3
  387. package/lib/icons/General/IconEconomy.d.ts +3 -3
  388. package/lib/icons/General/IconEconomyFilled.d.ts +3 -3
  389. package/lib/icons/General/IconEdit.d.ts +3 -3
  390. package/lib/icons/General/IconElevator.d.ts +3 -3
  391. package/lib/icons/General/IconErrorFilled.d.ts +3 -3
  392. package/lib/icons/General/IconErrorOutline.d.ts +3 -3
  393. package/lib/icons/General/IconExternalLink.d.ts +3 -3
  394. package/lib/icons/General/IconEye.d.ts +3 -3
  395. package/lib/icons/General/IconEyeDeny.d.ts +3 -3
  396. package/lib/icons/General/IconFamily.d.ts +3 -3
  397. package/lib/icons/General/IconFerry.d.ts +3 -3
  398. package/lib/icons/General/IconFile.d.ts +3 -3
  399. package/lib/icons/General/IconFileAdd.d.ts +3 -3
  400. package/lib/icons/General/IconFileCopy.d.ts +3 -3
  401. package/lib/icons/General/IconFileEdit.d.ts +3 -3
  402. package/lib/icons/General/IconFileExcel.d.ts +3 -3
  403. package/lib/icons/General/IconFilePDF.d.ts +3 -3
  404. package/lib/icons/General/IconFileWord.d.ts +3 -3
  405. package/lib/icons/General/IconFillOut.d.ts +3 -3
  406. package/lib/icons/General/IconFilterList.d.ts +3 -3
  407. package/lib/icons/General/IconFloor.d.ts +3 -3
  408. package/lib/icons/General/IconForward.d.ts +3 -3
  409. package/lib/icons/General/IconFullscreenClose.d.ts +3 -3
  410. package/lib/icons/General/IconFullscreenOpen.d.ts +3 -3
  411. package/lib/icons/General/IconGarage.d.ts +3 -3
  412. package/lib/icons/General/IconGrid.d.ts +3 -3
  413. package/lib/icons/General/IconGym.d.ts +3 -3
  414. package/lib/icons/General/IconHearth.d.ts +3 -3
  415. package/lib/icons/General/IconHearthOutline.d.ts +3 -3
  416. package/lib/icons/General/IconHelp.d.ts +3 -3
  417. package/lib/icons/General/IconHistory.d.ts +3 -3
  418. package/lib/icons/General/IconHouse.d.ts +3 -3
  419. package/lib/icons/General/IconHouseOutline.d.ts +3 -3
  420. package/lib/icons/General/IconHumans.d.ts +3 -3
  421. package/lib/icons/General/IconImportantComment.d.ts +3 -3
  422. package/lib/icons/General/IconInbox.d.ts +3 -3
  423. package/lib/icons/General/IconInfoFilled.d.ts +3 -3
  424. package/lib/icons/General/IconInfoOutline.d.ts +3 -3
  425. package/lib/icons/General/IconJointcost.d.ts +3 -3
  426. package/lib/icons/General/IconJointcost2.d.ts +3 -3
  427. package/lib/icons/General/IconKey.d.ts +3 -3
  428. package/lib/icons/General/IconKitchen.d.ts +3 -3
  429. package/lib/icons/General/IconLabel.d.ts +3 -3
  430. package/lib/icons/General/IconLeisureTime.d.ts +3 -3
  431. package/lib/icons/General/IconLock.d.ts +3 -3
  432. package/lib/icons/General/IconLockLocked.d.ts +3 -3
  433. package/lib/icons/General/IconLockOpen.d.ts +3 -3
  434. package/lib/icons/General/IconLookup.d.ts +3 -3
  435. package/lib/icons/General/IconLookupFilled.d.ts +3 -3
  436. package/lib/icons/General/IconMail.d.ts +3 -3
  437. package/lib/icons/General/IconMap.d.ts +3 -3
  438. package/lib/icons/General/IconMembership.d.ts +3 -3
  439. package/lib/icons/General/IconMembershipFilled.d.ts +3 -3
  440. package/lib/icons/General/IconMenu.d.ts +3 -3
  441. package/lib/icons/General/IconMinus.d.ts +3 -3
  442. package/lib/icons/General/IconMinusAlt.d.ts +3 -3
  443. package/lib/icons/General/IconMinusAltFilled.d.ts +3 -3
  444. package/lib/icons/General/IconMoney.d.ts +3 -3
  445. package/lib/icons/General/IconParking.d.ts +3 -3
  446. package/lib/icons/General/IconPaymentCard.d.ts +3 -3
  447. package/lib/icons/General/IconPhone.d.ts +3 -3
  448. package/lib/icons/General/IconPlus.d.ts +3 -3
  449. package/lib/icons/General/IconPlusAlt.d.ts +3 -3
  450. package/lib/icons/General/IconPortalUser.d.ts +3 -3
  451. package/lib/icons/General/IconPrint.d.ts +3 -3
  452. package/lib/icons/General/IconProfile.d.ts +3 -3
  453. package/lib/icons/General/IconProfileFilled.d.ts +3 -3
  454. package/lib/icons/General/IconReciept.d.ts +3 -3
  455. package/lib/icons/General/IconRedo.d.ts +3 -3
  456. package/lib/icons/General/IconRefresh.d.ts +3 -3
  457. package/lib/icons/General/IconReply.d.ts +3 -3
  458. package/lib/icons/General/IconReplyAll.d.ts +3 -3
  459. package/lib/icons/General/IconRoom.d.ts +3 -3
  460. package/lib/icons/General/IconSave.d.ts +3 -3
  461. package/lib/icons/General/IconSearch.d.ts +3 -3
  462. package/lib/icons/General/IconSend.d.ts +3 -3
  463. package/lib/icons/General/IconSettings.d.ts +3 -3
  464. package/lib/icons/General/IconShopping.d.ts +3 -3
  465. package/lib/icons/General/IconSign.d.ts +3 -3
  466. package/lib/icons/General/IconSort.d.ts +3 -3
  467. package/lib/icons/General/IconStarFilled.d.ts +3 -3
  468. package/lib/icons/General/IconStarHalf.d.ts +3 -3
  469. package/lib/icons/General/IconStarOutline.d.ts +3 -3
  470. package/lib/icons/General/IconStore.d.ts +3 -3
  471. package/lib/icons/General/IconSubway.d.ts +3 -3
  472. package/lib/icons/General/IconSwitch.d.ts +3 -3
  473. package/lib/icons/General/IconTrain.d.ts +3 -3
  474. package/lib/icons/General/IconTram.d.ts +3 -3
  475. package/lib/icons/General/IconTransport.d.ts +3 -3
  476. package/lib/icons/General/IconTypeOfBuilding.d.ts +3 -3
  477. package/lib/icons/General/IconTypeOfBuildingOutline.d.ts +3 -3
  478. package/lib/icons/General/IconUndo.d.ts +3 -3
  479. package/lib/icons/General/IconUpload.d.ts +3 -3
  480. package/lib/icons/General/IconUser.d.ts +3 -3
  481. package/lib/icons/General/IconUserThin.d.ts +3 -3
  482. package/lib/icons/General/IconVote.d.ts +3 -3
  483. package/lib/icons/General/IconWalk.d.ts +3 -3
  484. package/lib/icons/General/IconWarning.d.ts +3 -3
  485. package/lib/icons/General/IconWarningBell.d.ts +3 -3
  486. package/lib/icons/General/IconWork.d.ts +3 -3
  487. package/lib/icons/General/IconWorkFilled.d.ts +3 -3
  488. package/lib/icons/General/IconZip.d.ts +3 -3
  489. package/lib/icons/Logos/IconAmericanExpress.d.ts +3 -3
  490. package/lib/icons/Logos/IconBankAxept.d.ts +3 -3
  491. package/lib/icons/Logos/IconGmail.d.ts +3 -3
  492. package/lib/icons/Logos/IconMasterCard.d.ts +3 -3
  493. package/lib/icons/Logos/IconOffice365.d.ts +3 -3
  494. package/lib/icons/Logos/IconVisa.d.ts +3 -3
  495. package/lib/icons/withIcon.d.ts +27 -27
  496. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.d.ts +3 -3
  497. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.d.ts +3 -3
  498. package/lib/illustrations/General/IllustrationError.d.ts +3 -3
  499. package/lib/illustrations/General/IllustrationErrorGeneric.d.ts +3 -3
  500. package/lib/illustrations/General/IllustrationHighHouse.d.ts +3 -3
  501. package/lib/illustrations/General/IllustrationHighHouseComposition.d.ts +3 -3
  502. package/lib/illustrations/General/IllustrationHouse.d.ts +3 -3
  503. package/lib/illustrations/General/IllustrationHouseComposition.d.ts +3 -3
  504. package/lib/illustrations/General/IllustrationHouseMissing.d.ts +3 -3
  505. package/lib/illustrations/General/IllustrationLowHouse.d.ts +3 -3
  506. package/lib/illustrations/General/IllustrationLowHouseComposition.d.ts +3 -3
  507. package/lib/illustrations/General/IllustrationPaperCompleted.d.ts +3 -3
  508. package/lib/illustrations/General/IllustrationPaperMissing.d.ts +3 -3
  509. package/lib/illustrations/General/IllustrationSemiDetachedHouse.d.ts +3 -3
  510. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.d.ts +3 -3
  511. package/lib/illustrations/General/IllustrationSmallHouse.d.ts +3 -3
  512. package/lib/illustrations/General/IllustrationSmallHouseComposition.d.ts +3 -3
  513. package/lib/illustrations/General/IllustrationTerraceBlock.d.ts +3 -3
  514. package/lib/illustrations/General/IllustrationTerraceBlockComposition.d.ts +3 -3
  515. package/lib/illustrations/General/IllustrationTownHouse.d.ts +3 -3
  516. package/lib/illustrations/General/IllustrationTownHouseComposition.d.ts +3 -3
  517. package/lib/illustrations/MySite/IllustrationMySiteBuilding.d.ts +3 -3
  518. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.d.ts +3 -3
  519. package/lib/illustrations/MySite/IllustrationMySiteComputer.d.ts +3 -3
  520. package/lib/illustrations/MySite/IllustrationMySiteGift.d.ts +3 -3
  521. package/lib/illustrations/MySite/IllustrationMySitePapers.d.ts +3 -3
  522. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.d.ts +3 -3
  523. package/lib/illustrations/MySite/IllustrationMySiteTransfer.d.ts +3 -3
  524. package/lib/illustrations/styles.d.ts +3 -3
  525. package/lib/illustrations/styles.js +2 -2
  526. package/lib/illustrations/withIllustration.d.ts +24 -24
  527. package/lib/index.d.ts +288 -288
  528. package/lib/layout/Footer/FooterButton/index.d.ts +15 -15
  529. package/lib/layout/Footer/FooterButton/styles.d.ts +16 -16
  530. package/lib/layout/Footer/FooterButton/styles.js +1 -1
  531. package/lib/layout/Footer/FooterCol/index.d.ts +5 -5
  532. package/lib/layout/Footer/FooterCol/styles.d.ts +5 -5
  533. package/lib/layout/Footer/FooterCol/styles.js +1 -1
  534. package/lib/layout/Footer/FooterGroup/index.d.ts +5 -5
  535. package/lib/layout/Footer/FooterGroup/styles.d.ts +5 -5
  536. package/lib/layout/Footer/FooterGroup/styles.js +1 -1
  537. package/lib/layout/Footer/FooterLabel/index.d.ts +5 -5
  538. package/lib/layout/Footer/FooterLabel/styles.d.ts +5 -5
  539. package/lib/layout/Footer/FooterLabel/styles.js +1 -1
  540. package/lib/layout/Footer/FooterLink/index.d.ts +19 -19
  541. package/lib/layout/Footer/FooterLink/styles.d.ts +16 -16
  542. package/lib/layout/Footer/FooterLink/styles.js +1 -1
  543. package/lib/layout/Footer/index.d.ts +6 -6
  544. package/lib/layout/Footer/styles.d.ts +7 -7
  545. package/lib/layout/Footer/styles.js +2 -2
  546. package/lib/layout/Layout/index.d.ts +6 -6
  547. package/lib/layout/Layout/styles.d.ts +5 -5
  548. package/lib/layout/Layout/styles.js +1 -1
  549. package/lib/layout/LayoutShell/index.d.ts +15 -15
  550. package/lib/layout/LayoutShell/styles.d.ts +21 -21
  551. package/lib/layout/LayoutShell/styles.js +10 -10
  552. package/lib/layout/Menu/AppPicker/index.d.ts +19 -19
  553. package/lib/layout/Menu/AppPicker/styles.d.ts +7 -7
  554. package/lib/layout/Menu/AppPicker/styles.js +3 -3
  555. package/lib/layout/Menu/MainMenu/index.d.ts +7 -7
  556. package/lib/layout/Menu/MainMenu/styles.d.ts +2 -2
  557. package/lib/layout/Menu/MenuItem/index.d.ts +17 -17
  558. package/lib/layout/Menu/MenuItem/styles.d.ts +3 -3
  559. package/lib/layout/Menu/MenuItem/styles.js +2 -2
  560. package/lib/layout/Menu/MenuSpacer/index.d.ts +3 -3
  561. package/lib/layout/Menu/MenuSpacer/styles.d.ts +5 -5
  562. package/lib/layout/Menu/MenuTop/index.d.ts +11 -11
  563. package/lib/layout/Menu/MenuTop/styles.d.ts +21 -21
  564. package/lib/layout/Menu/SecondaryMenu/index.d.ts +13 -13
  565. package/lib/layout/Menu/SecondaryMenu/styles.d.ts +11 -11
  566. package/lib/layout/Menu/SecondaryMenuItem/index.d.ts +15 -15
  567. package/lib/layout/Menu/SecondaryMenuItem/styles.d.ts +1 -1
  568. package/lib/layout/Menu/index.d.ts +9 -9
  569. package/lib/layout/Menu/styles.d.ts +2 -2
  570. package/lib/layout/Menu/styles.js +1 -1
  571. package/lib/layout/Submenu/SubmenuItem/index.d.ts +20 -20
  572. package/lib/layout/Submenu/SubmenuItem/styles.d.ts +4 -4
  573. package/lib/layout/Submenu/SubmenuItem/styles.js +3 -3
  574. package/lib/layout/Submenu/SubmenuLightThemeBg/index.d.ts +7 -7
  575. package/lib/layout/Submenu/index.d.ts +16 -16
  576. package/lib/layout/Submenu/styles.d.ts +29 -29
  577. package/lib/layout/Submenu/styles.js +10 -10
  578. package/lib/layout/Topbar/index.d.ts +7 -7
  579. package/lib/layout/Topbar/styles.d.ts +2 -2
  580. package/lib/layout/Topbar/styles.js +1 -1
  581. package/lib/shared/recharts/CustomLegend/index.d.ts +3 -3
  582. package/lib/shared/recharts/CustomLegend/styles.d.ts +13 -13
  583. package/lib/shared/recharts/CustomLegend/styles.js +2 -2
  584. package/lib/shared/recharts/CustomTooltip/index.d.ts +8 -8
  585. package/lib/shared/recharts/CustomTooltip/styles.d.ts +15 -15
  586. package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
  587. package/lib/utils/accountNumber.d.ts +3 -3
  588. package/lib/utils/alpha.d.ts +2 -2
  589. package/lib/utils/array.d.ts +2 -2
  590. package/lib/utils/dates.d.ts +14 -14
  591. package/lib/utils/file.d.ts +2 -2
  592. package/lib/utils/format.d.ts +20 -20
  593. package/lib/utils/format.js +6 -6
  594. package/lib/utils/formatGraphPrice.d.ts +2 -2
  595. package/lib/utils/image.d.ts +2 -2
  596. package/lib/utils/pagination.d.ts +6 -6
  597. package/lib/utils/phone.d.ts +2 -2
  598. package/lib/utils/removeFocusOnMouseUp.d.ts +2 -2
  599. package/lib/utils/time.d.ts +25 -25
  600. package/lib/utils/time.js +14 -14
  601. package/lib/utils/url.d.ts +3 -3
  602. package/package.json +1 -1
  603. package/rollup.config.js +13 -13
  604. package/theme-generator.js +599 -599
  605. package/dist/bundle.min.js +0 -29
  606. package/esm/core/MailMenu/DropdownMenuOption.js +0 -17
  607. package/esm/core/MailMenu/index.js +0 -42
  608. package/esm/core/MailMenu/styles.js +0 -34
  609. package/esm/layout/Menu/MenuBottom/index.js +0 -37
  610. package/esm/layout/Menu/MenuBottom/styles.js +0 -15
  611. package/esm/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
  612. package/lib/core/MailMenu/DropdownMenuOption.d.ts +0 -8
  613. package/lib/core/MailMenu/DropdownMenuOption.d.ts.map +0 -1
  614. package/lib/core/MailMenu/DropdownMenuOption.js +0 -17
  615. package/lib/core/MailMenu/index.d.ts +0 -8
  616. package/lib/core/MailMenu/index.d.ts.map +0 -1
  617. package/lib/core/MailMenu/index.js +0 -42
  618. package/lib/core/MailMenu/styles.d.ts +0 -12
  619. package/lib/core/MailMenu/styles.d.ts.map +0 -1
  620. package/lib/core/MailMenu/styles.js +0 -34
  621. package/lib/layout/Menu/MenuBottom/index.d.ts +0 -14
  622. package/lib/layout/Menu/MenuBottom/index.d.ts.map +0 -1
  623. package/lib/layout/Menu/MenuBottom/index.js +0 -37
  624. package/lib/layout/Menu/MenuBottom/styles.d.ts +0 -4
  625. package/lib/layout/Menu/MenuBottom/styles.d.ts.map +0 -1
  626. package/lib/layout/Menu/MenuBottom/styles.js +0 -15
  627. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts +0 -3
  628. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts.map +0 -1
  629. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
@@ -1,15 +1,15 @@
1
- declare const MONTHS: string[];
2
- declare const MONTHS_SHORT: string[];
3
- declare const WEEKDAYS_LONG: string[];
4
- declare const WEEKDAYS_SHORT: string[];
5
- declare const parseDate: (date: string, format?: string | undefined, locale?: string | undefined, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => Date | undefined;
6
- declare const formatDate: (date: Date, format: string, locale: string) => string;
7
- declare const getDateIsValid: (date: Date | string, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => boolean;
8
- declare const ddmmyyyy: Intl.DateTimeFormatOptions;
9
- export declare const ddMM: Intl.DateTimeFormatOptions;
10
- export declare const MM: Intl.DateTimeFormatOptions;
11
- export declare const mmYYYY: Intl.DateTimeFormatOptions;
12
- export declare const mmyyyy: Intl.DateTimeFormatOptions;
13
- declare const hhmm: Intl.DateTimeFormatOptions;
14
- export { MONTHS, MONTHS_SHORT, WEEKDAYS_LONG, WEEKDAYS_SHORT, parseDate, formatDate, getDateIsValid, ddmmyyyy, hhmm, };
1
+ declare const MONTHS: string[];
2
+ declare const MONTHS_SHORT: string[];
3
+ declare const WEEKDAYS_LONG: string[];
4
+ declare const WEEKDAYS_SHORT: string[];
5
+ declare const parseDate: (date: string, format?: string | undefined, locale?: string | undefined, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => Date | undefined;
6
+ declare const formatDate: (date: Date, format: string, locale: string) => string;
7
+ declare const getDateIsValid: (date: Date | string, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => boolean;
8
+ declare const ddmmyyyy: Intl.DateTimeFormatOptions;
9
+ export declare const ddMM: Intl.DateTimeFormatOptions;
10
+ export declare const MM: Intl.DateTimeFormatOptions;
11
+ export declare const mmYYYY: Intl.DateTimeFormatOptions;
12
+ export declare const mmyyyy: Intl.DateTimeFormatOptions;
13
+ declare const hhmm: Intl.DateTimeFormatOptions;
14
+ export { MONTHS, MONTHS_SHORT, WEEKDAYS_LONG, WEEKDAYS_SHORT, parseDate, formatDate, getDateIsValid, ddmmyyyy, hhmm, };
15
15
  //# sourceMappingURL=dates.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const formatBytes: (bytes?: number | undefined) => string;
2
- export declare const isAllFilesValid: (files: File[], maxFileSizeInBytes: number) => boolean;
1
+ export declare const formatBytes: (bytes?: number | undefined) => string;
2
+ export declare const isAllFilesValid: (files: File[], maxFileSizeInBytes: number) => boolean;
3
3
  //# sourceMappingURL=file.d.ts.map
@@ -1,21 +1,21 @@
1
- import { IPreemptionPricing } from '../core/PreemptionCard/models';
2
- /**
3
- * PRICES
4
- */
5
- declare const getFormattedPrice: (price: any, decimals?: number | undefined, roundDown?: boolean | undefined) => any;
6
- declare const getPriceWithLabel: (pricing: IPreemptionPricing) => string;
7
- declare const getFormattedPriceWithEnding: (price: number | string, decimals?: number | undefined) => string;
8
- /**
9
- * DATES
10
- */
11
- declare const getFormattedDate: (date: string | Date, opt?: Intl.DateTimeFormatOptions | undefined) => string;
12
- declare const getFormattedTime: (date: Date) => string;
13
- declare const getFormattedDateTimePretty: (date: Date, opt?: Intl.DateTimeFormatOptions) => string;
14
- /**
15
- * OTHERS
16
- */
17
- declare const getTitleString: (text: string) => string;
18
- declare const getFormattedCardNumber: (cardNumber: string) => string;
19
- declare const getFormattedOrganizationNumber: (organizationNumber: string | number) => string;
20
- export { getFormattedOrganizationNumber, getFormattedPrice, getFormattedPriceWithEnding, getFormattedDate, getTitleString, getFormattedCardNumber, getFormattedTime, getPriceWithLabel, getFormattedDateTimePretty, };
1
+ import { IPreemptionPricing } from '../core/PreemptionCard/models';
2
+ /**
3
+ * PRICES
4
+ */
5
+ declare const getFormattedPrice: (price: any, decimals?: number | undefined, roundDown?: boolean | undefined) => any;
6
+ declare const getPriceWithLabel: (pricing: IPreemptionPricing) => string;
7
+ declare const getFormattedPriceWithEnding: (price: number | string, decimals?: number | undefined) => string;
8
+ /**
9
+ * DATES
10
+ */
11
+ declare const getFormattedDate: (date: string | Date, opt?: Intl.DateTimeFormatOptions | undefined) => string;
12
+ declare const getFormattedTime: (date: Date) => string;
13
+ declare const getFormattedDateTimePretty: (date: Date, opt?: Intl.DateTimeFormatOptions) => string;
14
+ /**
15
+ * OTHERS
16
+ */
17
+ declare const getTitleString: (text: string) => string;
18
+ declare const getFormattedCardNumber: (cardNumber: string) => string;
19
+ declare const getFormattedOrganizationNumber: (organizationNumber: string | number) => string;
20
+ export { getFormattedOrganizationNumber, getFormattedPrice, getFormattedPriceWithEnding, getFormattedDate, getTitleString, getFormattedCardNumber, getFormattedTime, getPriceWithLabel, getFormattedDateTimePretty, };
21
21
  //# sourceMappingURL=format.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ddmmyyyy } from './dates';
2
- /**
3
- * PRICES
2
+ /**
3
+ * PRICES
4
4
  */
5
5
 
6
6
  const getFormattedPrice = (price, decimals, roundDown) => {
@@ -45,8 +45,8 @@ const getFormattedPriceWithEnding = (price, decimals) => {
45
45
  const formattedPrice = getFormattedPrice(price, decimals);
46
46
  return formattedPrice + ' kr';
47
47
  };
48
- /**
49
- * DATES
48
+ /**
49
+ * DATES
50
50
  */
51
51
 
52
52
 
@@ -71,8 +71,8 @@ const getFormattedDateTimePretty = (date, opt = ddmmyyyy) => {
71
71
  if (!date) return '';
72
72
  return `${getFormattedDate(date, opt)} kl ${getFormattedTime(date)}`;
73
73
  };
74
- /**
75
- * OTHERS
74
+ /**
75
+ * OTHERS
76
76
  */
77
77
 
78
78
 
@@ -1,3 +1,3 @@
1
- declare const formatAxisPrice: (val: any) => string;
2
- export { formatAxisPrice };
1
+ declare const formatAxisPrice: (val: any) => string;
2
+ export { formatAxisPrice };
3
3
  //# sourceMappingURL=formatGraphPrice.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const convertBlobToObjectUrl: (blob: Blob) => string;
2
- export { convertBlobToObjectUrl };
1
+ declare const convertBlobToObjectUrl: (blob: Blob) => string;
2
+ export { convertBlobToObjectUrl };
3
3
  //# sourceMappingURL=image.d.ts.map
@@ -1,7 +1,7 @@
1
- declare const getCurrentPage: (take: number, skip: number) => number;
2
- declare const getSkippedItems: (pageNumber: number, take: number) => number;
3
- declare const getHasPreviousPages: (currentPage: number, totalPages: number) => boolean;
4
- declare const getHasMorePages: (currentPage: number, totalPages: number) => boolean;
5
- declare const getFirstButtonIndex: (currentPage: number, totalPages: number) => number;
6
- export { getCurrentPage, getSkippedItems, getHasPreviousPages, getHasMorePages, getFirstButtonIndex, };
1
+ declare const getCurrentPage: (take: number, skip: number) => number;
2
+ declare const getSkippedItems: (pageNumber: number, take: number) => number;
3
+ declare const getHasPreviousPages: (currentPage: number, totalPages: number) => boolean;
4
+ declare const getHasMorePages: (currentPage: number, totalPages: number) => boolean;
5
+ declare const getFirstButtonIndex: (currentPage: number, totalPages: number) => number;
6
+ export { getCurrentPage, getSkippedItems, getHasPreviousPages, getHasMorePages, getFirstButtonIndex, };
7
7
  //# sourceMappingURL=pagination.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const getFormatedPhone: (phone: string) => string;
2
- export { getFormatedPhone };
1
+ declare const getFormatedPhone: (phone: string) => string;
2
+ export { getFormatedPhone };
3
3
  //# sourceMappingURL=phone.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- export default function removeFocusOnMouseUp<T>(event: React.MouseEvent<T>): void;
1
+ /// <reference types="react" />
2
+ export default function removeFocusOnMouseUp<T>(event: React.MouseEvent<T>): void;
3
3
  //# sourceMappingURL=removeFocusOnMouseUp.d.ts.map
@@ -1,26 +1,26 @@
1
- export declare const DEFAULT_DIVIDER = ":";
2
- export declare const DEFAULT_VALUE_SHORT: string;
3
- export declare const DEFAULT_VALUE_FULL: string;
4
- /**
5
- * Checks if input is a number
6
- */
7
- export declare function isNumber<T>(value: T): boolean;
8
- /**
9
- * Validates time to keep the format:
10
- * default 00:00 or 00:00:00 if showSeconds is true
11
- *
12
- * The function also keeps track of the cursor position
13
- */
14
- export declare const validateTimeAndCursor: (showSeconds?: boolean, value?: string, defaultValue?: string, divider?: string, cursorPosition?: number) => [string, number];
15
- /**
16
- * Converts a Date to String with the format:
17
- * default 00:00 or 00:00:00 if showSeconds is true
18
- */
19
- export declare const handleDateToStringConvertion: (date: Date, showSeconds?: boolean | undefined) => string;
20
- /**
21
- * Converts a String to Date with the format:
22
- * If value is formatted as 00:00:00 it will return the date with chosen seconds
23
- * If value is formatted as 00:00 it will return the date with seconds set to 00
24
- */
25
- export declare const handleStringToDateConvertion: (value: string, originalDate?: Date | undefined) => Date;
1
+ export declare const DEFAULT_DIVIDER = ":";
2
+ export declare const DEFAULT_VALUE_SHORT: string;
3
+ export declare const DEFAULT_VALUE_FULL: string;
4
+ /**
5
+ * Checks if input is a number
6
+ */
7
+ export declare function isNumber<T>(value: T): boolean;
8
+ /**
9
+ * Validates time to keep the format:
10
+ * default 00:00 or 00:00:00 if showSeconds is true
11
+ *
12
+ * The function also keeps track of the cursor position
13
+ */
14
+ export declare const validateTimeAndCursor: (showSeconds?: boolean, value?: string, defaultValue?: string, divider?: string, cursorPosition?: number) => [string, number];
15
+ /**
16
+ * Converts a Date to String with the format:
17
+ * default 00:00 or 00:00:00 if showSeconds is true
18
+ */
19
+ export declare const handleDateToStringConvertion: (date: Date, showSeconds?: boolean | undefined) => string;
20
+ /**
21
+ * Converts a String to Date with the format:
22
+ * If value is formatted as 00:00:00 it will return the date with chosen seconds
23
+ * If value is formatted as 00:00 it will return the date with seconds set to 00
24
+ */
25
+ export declare const handleStringToDateConvertion: (value: string, originalDate?: Date | undefined) => Date;
26
26
  //# sourceMappingURL=time.d.ts.map
package/lib/utils/time.js CHANGED
@@ -5,8 +5,8 @@ export const DEFAULT_VALUE_FULL = `00${DEFAULT_DIVIDER}00${DEFAULT_DIVIDER}00`;
5
5
  const formatTimeItem = value => {
6
6
  return `${value || ''}00`.substr(0, 2);
7
7
  };
8
- /**
9
- * Checks if input is a number
8
+ /**
9
+ * Checks if input is a number
10
10
  */
11
11
 
12
12
 
@@ -14,11 +14,11 @@ export function isNumber(value) {
14
14
  const number = Number(value);
15
15
  return !isNaN(number) && String(value) === String(number);
16
16
  }
17
- /**
18
- * Validates time to keep the format:
19
- * default 00:00 or 00:00:00 if showSeconds is true
20
- *
21
- * The function also keeps track of the cursor position
17
+ /**
18
+ * Validates time to keep the format:
19
+ * default 00:00 or 00:00:00 if showSeconds is true
20
+ *
21
+ * The function also keeps track of the cursor position
22
22
  */
23
23
 
24
24
  export const validateTimeAndCursor = (showSeconds = false, value = '', defaultValue = '', divider = DEFAULT_DIVIDER, cursorPosition = 0) => {
@@ -58,9 +58,9 @@ export const validateTimeAndCursor = (showSeconds = false, value = '', defaultVa
58
58
  const validatedValue = showSeconds ? `${HH}${divider}${MM}${divider}${SS}` : `${HH}${divider}${MM}`;
59
59
  return [validatedValue, newCursorPosition];
60
60
  };
61
- /**
62
- * Converts a Date to String with the format:
63
- * default 00:00 or 00:00:00 if showSeconds is true
61
+ /**
62
+ * Converts a Date to String with the format:
63
+ * default 00:00 or 00:00:00 if showSeconds is true
64
64
  */
65
65
 
66
66
  export const handleDateToStringConvertion = (date, showSeconds) => {
@@ -70,10 +70,10 @@ export const handleDateToStringConvertion = (date, showSeconds) => {
70
70
  const seconds = d.getSeconds().toString().padStart(2, '0');
71
71
  return `${hours}${DEFAULT_DIVIDER}${minutes}${showSeconds ? `${DEFAULT_DIVIDER}${seconds}` : ''}`;
72
72
  };
73
- /**
74
- * Converts a String to Date with the format:
75
- * If value is formatted as 00:00:00 it will return the date with chosen seconds
76
- * If value is formatted as 00:00 it will return the date with seconds set to 00
73
+ /**
74
+ * Converts a String to Date with the format:
75
+ * If value is formatted as 00:00:00 it will return the date with chosen seconds
76
+ * If value is formatted as 00:00 it will return the date with seconds set to 00
77
77
  */
78
78
 
79
79
  export const handleStringToDateConvertion = (value, originalDate) => {
@@ -1,4 +1,4 @@
1
- declare const getDomainFromUrl: (url: string) => string;
2
- declare const getUrlWithProtocol: (url: string) => string;
3
- export { getDomainFromUrl, getUrlWithProtocol };
1
+ declare const getDomainFromUrl: (url: string) => string;
2
+ declare const getUrlWithProtocol: (url: string) => string;
3
+ export { getDomainFromUrl, getUrlWithProtocol };
4
4
  //# sourceMappingURL=url.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.2.153",
3
+ "version": "2.2.154",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
package/rollup.config.js CHANGED
@@ -1,13 +1,13 @@
1
- import commonjs from '@rollup/plugin-commonjs'
2
-
3
- const config = {
4
- input: 'esm/index.js',
5
- output: {
6
- file: 'dist/bundle.js',
7
- format: 'umd',
8
- name: 'Snorre',
9
- },
10
- plugins: [commonjs()],
11
- }
12
-
13
- export default config
1
+ import commonjs from '@rollup/plugin-commonjs'
2
+
3
+ const config = {
4
+ input: 'esm/index.js',
5
+ output: {
6
+ file: 'dist/bundle.js',
7
+ format: 'umd',
8
+ name: 'Snorre',
9
+ },
10
+ plugins: [commonjs()],
11
+ }
12
+
13
+ export default config