@bbl-digital/snorre 4.1.0-beta.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (941) hide show
  1. package/dist/bundle.js +2325 -916
  2. package/esm/app-shell/index.js +1 -2
  3. package/esm/core/Alert/index.js +1 -2
  4. package/esm/core/AppLoader/index.js +1 -2
  5. package/esm/core/Autocomplete/Autocomplete.stories.js +1 -2
  6. package/esm/core/Autocomplete/index.js +1 -3
  7. package/esm/core/Banner/index.js +1 -2
  8. package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
  9. package/esm/core/BarAndLineComposedChart/index.js +19 -9
  10. package/esm/core/BarChartWithCustomizedEvent/index.js +1 -2
  11. package/esm/core/Box/index.js +1 -2
  12. package/esm/core/BoxedTable/BoxedTable.stories.js +304 -409
  13. package/esm/core/BoxedTable/DraggableRow/index.js +14 -17
  14. package/esm/core/BoxedTable/DraggableRow/styles.js +14 -20
  15. package/esm/core/BoxedTable/HeaderCell/styles.js +3 -3
  16. package/esm/core/BoxedTable/RowCell/index.js +4 -14
  17. package/esm/core/BoxedTable/RowCell/styles.js +23 -7
  18. package/esm/core/BoxedTable/TableHeader/index.js +3 -5
  19. package/esm/core/BoxedTable/TableHeader/styles.js +3 -18
  20. package/esm/core/BoxedTable/TableRow/index.js +9 -7
  21. package/esm/core/BoxedTable/TableRow/styles.js +24 -30
  22. package/esm/core/BoxedTable/index.js +7 -19
  23. package/esm/core/BoxedTable/styles.js +19 -25
  24. package/esm/core/Calendar/CalendarEvent/index.js +3 -3
  25. package/esm/core/Calendar/CalendarSmallEvent/index.js +1 -2
  26. package/esm/core/Calendar/index.js +5 -4
  27. package/esm/core/Card/Card.stories.js +1 -2
  28. package/esm/core/Checkbox/index.js +1 -2
  29. package/esm/core/CollapseList/CollapseList.stories.js +1 -2
  30. package/esm/core/CollapseList/Item.js +1 -3
  31. package/esm/core/CommentsTimeline/CommentLine/index.js +1 -2
  32. package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
  33. package/esm/core/Datepicker/index.js +16 -7
  34. package/esm/core/Datepicker/styles.js +13 -13
  35. package/esm/core/DatepickerRange/index.js +2 -2
  36. package/esm/core/Dropdown/index.js +1 -2
  37. package/esm/core/DropdownMenu/DropdownMenu.stories.js +1 -3
  38. package/esm/core/DropdownMenu/index.js +1 -2
  39. package/esm/core/Editor/Editor.stories.js +1 -0
  40. package/esm/core/Editor/index.js +5 -3
  41. package/esm/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
  42. package/esm/core/EditorQuillReact/IndentAttributor.js +15 -0
  43. package/esm/core/EditorQuillReact/config.js +31 -0
  44. package/esm/core/EditorQuillReact/index.js +103 -0
  45. package/esm/core/EditorQuillReact/styles.js +34 -0
  46. package/esm/core/FileInput/index.js +1 -2
  47. package/esm/core/GoogleButton/index.js +2 -2
  48. package/esm/core/Html/Html.stories.js +2 -3
  49. package/esm/core/Html/index.js +3 -1
  50. package/esm/core/Html/styles.js +6 -9
  51. package/esm/core/ImagePicker/UploadButton.js +1 -2
  52. package/esm/core/ImagePicker/index.js +1 -2
  53. package/esm/core/ImageViewer/index.js +1 -2
  54. package/esm/core/InfoButton/index.js +1 -2
  55. package/esm/core/Input/Input.stories.js +20 -1
  56. package/esm/core/Input/index.js +45 -27
  57. package/esm/core/Input/styles.js +20 -18
  58. package/esm/core/Link/index.js +1 -2
  59. package/esm/core/List/Item.js +5 -5
  60. package/esm/core/List/List.stories.js +1 -3
  61. package/esm/core/List/index.js +1 -1
  62. package/esm/core/ListPager/index.js +3 -22
  63. package/esm/core/MediaCarousel/index.js +7 -4
  64. package/esm/core/Modal/Modal.stories.js +1 -2
  65. package/esm/core/Modal/index.js +8 -3
  66. package/esm/core/Modal/styles.js +8 -8
  67. package/esm/core/NoticeCard/NoticeCard.stories.js +1 -4
  68. package/esm/core/NoticeCard/index.js +1 -5
  69. package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
  70. package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
  71. package/esm/core/NotificationCounter/styles.js +1 -1
  72. package/esm/core/NotificationsMenu/NotificationRow/index.js +2 -2
  73. package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
  74. package/esm/core/NotificationsMenu/index.js +34 -17
  75. package/esm/core/NotificationsMenu/styles.js +3 -3
  76. package/esm/core/PieChart/ActiveShape/index.js +1 -2
  77. package/esm/core/PieChart/index.js +9 -4
  78. package/esm/core/PieChart/renderTextContent/index.js +3 -2
  79. package/esm/core/PreemptionCard/PreemptionCard.stories.js +12 -9
  80. package/esm/core/PreemptionCard/index.js +3 -4
  81. package/esm/core/PreemptionCardLoading/index.js +1 -2
  82. package/esm/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
  83. package/esm/core/QuillEditor/Attributors/ListContainer.js +20 -0
  84. package/esm/core/QuillEditor/Attributors/ListItem.js +24 -0
  85. package/esm/core/QuillEditor/QuillEditor.stories.js +56 -0
  86. package/esm/core/QuillEditor/classes/IndentAttributor.js +15 -0
  87. package/esm/core/QuillEditor/classes/LinkSanitizer.js +21 -0
  88. package/esm/core/QuillEditor/classes/ListContainer.js +20 -0
  89. package/esm/core/QuillEditor/classes/ListItem.js +24 -0
  90. package/esm/core/QuillEditor/config.js +28 -0
  91. package/esm/core/QuillEditor/index.js +278 -0
  92. package/esm/core/QuillEditor/styles.js +34 -0
  93. package/esm/core/Radio/Radio.stories.js +1 -2
  94. package/esm/core/Radio/index.js +1 -2
  95. package/esm/core/SearchFilter/SearchFilter.stories.js +1 -2
  96. package/esm/core/SearchFilter/index.js +4 -4
  97. package/esm/core/SearchSelect/index.js +1 -3
  98. package/esm/core/Select/Select.stories.js +1 -2
  99. package/esm/core/Select/index.js +1 -2
  100. package/esm/core/SimpleBarChart/index.js +1 -2
  101. package/esm/core/SimpleLineChart/index.js +1 -2
  102. package/esm/core/Stepper/MobileStep/index.js +33 -0
  103. package/esm/core/Stepper/MobileStep/styles.js +90 -0
  104. package/esm/core/Stepper/Step/index.js +83 -0
  105. package/esm/core/Stepper/Step/styles.js +49 -0
  106. package/esm/core/Stepper/Stepper.stories.js +29 -0
  107. package/esm/core/Stepper/index.js +47 -0
  108. package/esm/core/Stepper/styles.js +24 -0
  109. package/esm/core/TabBar/TabBar.stories.js +1 -2
  110. package/esm/core/TabBar/TabItem/index.js +2 -2
  111. package/esm/core/TabNav/TabNav.stories.js +1 -2
  112. package/esm/core/TabNav/TabNavItem/index.js +1 -2
  113. package/esm/core/TabNav/index.js +1 -2
  114. package/esm/core/Table/Table.stories.js +1 -2
  115. package/esm/core/Tag/index.js +1 -3
  116. package/esm/core/Textarea/index.js +6 -5
  117. package/esm/core/Timeline/Timeline.stories.js +1 -2
  118. package/esm/core/Timeline/TimelineStep/index.js +1 -2
  119. package/esm/core/Timepicker/index.js +1 -2
  120. package/esm/core/Tooltip/index.js +1 -2
  121. package/esm/core/UserMenu/UserMenu.stories.js +1 -2
  122. package/esm/core/UserMenu/index.js +1 -2
  123. package/esm/core/YearWheel/index.js +1 -2
  124. package/esm/core/private/ButtonOrLink.js +1 -2
  125. package/esm/core/private/preemption.js +5 -1
  126. package/esm/globals/validation/regularExpressions.js +1 -1
  127. package/esm/icons/General/IconAuditorFilled.js +1 -2
  128. package/esm/icons/General/IconAuditorOutline.js +1 -2
  129. package/esm/icons/General/IconCamera.js +1 -2
  130. package/esm/icons/General/IconCases.js +1 -2
  131. package/esm/icons/General/IconDocument.js +1 -2
  132. package/esm/icons/General/IconDocumentFilled.js +1 -2
  133. package/esm/icons/General/IconEmailMarkAsRead.js +12 -0
  134. package/esm/icons/General/IconFillOut.js +1 -2
  135. package/esm/icons/General/IconHomeFilled.js +1 -2
  136. package/esm/icons/General/IconHomeOutline.js +1 -2
  137. package/esm/icons/General/IconHouseBlockFilled.js +1 -2
  138. package/esm/icons/General/IconHouseBlockOutline.js +1 -2
  139. package/esm/icons/General/IconImage.js +1 -2
  140. package/esm/icons/General/IconJanitorFilled.js +1 -2
  141. package/esm/icons/General/IconJanitorOutline.js +1 -2
  142. package/esm/icons/General/IconLeafFilled.js +1 -2
  143. package/esm/icons/General/IconLeafOutline.js +1 -2
  144. package/esm/icons/General/IconRearrange.js +1 -2
  145. package/esm/icons/Icon.stories.js +4 -2
  146. package/esm/icons/Logos/IconBankAxept.js +1 -2
  147. package/esm/icons/Logos/IconGmail.js +1 -2
  148. package/esm/icons/Logos/IconMasterCard.js +1 -2
  149. package/esm/icons/Logos/IconOffice365.js +1 -2
  150. package/esm/icons/Logos/IconVisa.js +1 -2
  151. package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
  152. package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
  153. package/esm/illustrations/General/IllustrationBudget.js +185 -0
  154. package/esm/illustrations/General/IllustrationError.js +1 -2
  155. package/esm/illustrations/General/IllustrationErrorGeneric.js +1 -2
  156. package/esm/illustrations/General/IllustrationHighHouse.js +1 -2
  157. package/esm/illustrations/General/IllustrationHighHouseComposition.js +1 -2
  158. package/esm/illustrations/General/IllustrationHouse.js +1 -2
  159. package/esm/illustrations/General/IllustrationHouseComposition.js +1 -2
  160. package/esm/illustrations/General/IllustrationHouseMissing.js +1 -2
  161. package/esm/illustrations/General/IllustrationLowHouse.js +1 -2
  162. package/esm/illustrations/General/IllustrationLowHouseComposition.js +1 -2
  163. package/esm/illustrations/General/IllustrationPaperCompleted.js +1 -2
  164. package/esm/illustrations/General/IllustrationPaperMissing.js +1 -2
  165. package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
  166. package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
  167. package/esm/illustrations/General/IllustrationServiceMessage.js +40 -0
  168. package/esm/illustrations/General/IllustrationSmallHouse.js +1 -2
  169. package/esm/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
  170. package/esm/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
  171. package/esm/illustrations/General/IllustrationTerraceBlock.js +1 -2
  172. package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
  173. package/esm/illustrations/General/IllustrationTownHouse.js +1 -2
  174. package/esm/illustrations/General/IllustrationTownHouseComposition.js +1 -2
  175. package/esm/illustrations/Illustration.stories.js +18 -3
  176. package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
  177. package/esm/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
  178. package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
  179. package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
  180. package/esm/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
  181. package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
  182. package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
  183. package/esm/illustrations/MySite/IllustrationMySiteGift.js +1 -2
  184. package/esm/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
  185. package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
  186. package/esm/illustrations/MySite/IllustrationMySitePapers.js +1 -2
  187. package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
  188. package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
  189. package/esm/index.js +9 -1
  190. package/esm/layout/Footer/Footer.stories.js +1 -2
  191. package/esm/layout/LayoutShell/index.js +1 -2
  192. package/esm/layout/Menu/AppPicker/index.js +3 -4
  193. package/esm/layout/Menu/AppPicker/styles.js +7 -7
  194. package/esm/layout/Menu/MainMenu/index.js +10 -6
  195. package/esm/layout/Menu/MainMenu/styles.js +8 -2
  196. package/esm/layout/Menu/MenuItem/index.js +23 -19
  197. package/esm/layout/Menu/MenuItem/styles.js +17 -2
  198. package/esm/layout/Menu/MenuTop/index.js +1 -2
  199. package/esm/layout/Menu/MenuTop/styles.js +3 -3
  200. package/esm/layout/Menu/SecondaryMenu/index.js +1 -2
  201. package/esm/layout/Menu/SecondaryMenuItem/index.js +1 -2
  202. package/esm/layout/Menu/Sidemenu.stories.js +10 -7
  203. package/esm/layout/Submenu/Submenu.stories.js +1 -2
  204. package/esm/layout/Submenu/SubmenuItem/index.js +23 -19
  205. package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +1 -2
  206. package/esm/layout/Submenu/index.js +13 -10
  207. package/esm/layout/Submenu/styles.js +26 -12
  208. package/esm/shared/recharts/CustomLegend/index.js +1 -2
  209. package/esm/shared/recharts/CustomTooltip/index.js +1 -2
  210. package/esm/utils/dates.js +5 -0
  211. package/esm/utils/format.js +4 -8
  212. package/jest.config.js +5 -0
  213. package/lib/app-shell/index.js +1 -2
  214. package/lib/app-shell/theme.d.ts +1 -1
  215. package/lib/app-shell/theme.d.ts.map +1 -1
  216. package/lib/core/Alert/Alert.stories.d.ts +1 -1
  217. package/lib/core/Alert/Alert.stories.d.ts.map +1 -1
  218. package/lib/core/Alert/index.js +1 -2
  219. package/lib/core/Alert/styles.d.ts +6 -6
  220. package/lib/core/AppLoader/AppLoader.stories.d.ts +1 -1
  221. package/lib/core/AppLoader/AppLoader.stories.d.ts.map +1 -1
  222. package/lib/core/AppLoader/index.js +1 -2
  223. package/lib/core/AppLoader/styles.d.ts +1 -1
  224. package/lib/core/Autocomplete/Autocomplete.stories.d.ts +0 -1
  225. package/lib/core/Autocomplete/Autocomplete.stories.d.ts.map +1 -1
  226. package/lib/core/Autocomplete/Autocomplete.stories.js +1 -2
  227. package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +0 -1
  228. package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts.map +1 -1
  229. package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +0 -1
  230. package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts.map +1 -1
  231. package/lib/core/Autocomplete/index.d.ts +1 -1
  232. package/lib/core/Autocomplete/index.d.ts.map +1 -1
  233. package/lib/core/Autocomplete/index.js +1 -3
  234. package/lib/core/Autocomplete/styles.d.ts +48 -49
  235. package/lib/core/Autocomplete/styles.d.ts.map +1 -1
  236. package/lib/core/Banner/Banner.stories.d.ts +1 -1
  237. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  238. package/lib/core/Banner/index.js +1 -2
  239. package/lib/core/Banner/styles.d.ts +8 -9
  240. package/lib/core/Banner/styles.d.ts.map +1 -1
  241. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +6 -2
  242. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -1
  243. package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
  244. package/lib/core/BarAndLineComposedChart/index.d.ts +10 -1
  245. package/lib/core/BarAndLineComposedChart/index.d.ts.map +1 -1
  246. package/lib/core/BarAndLineComposedChart/index.js +19 -9
  247. package/lib/core/BarAndLineComposedChart/styles.d.ts +2 -3
  248. package/lib/core/BarAndLineComposedChart/styles.d.ts.map +1 -1
  249. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +2 -2
  250. package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -1
  251. package/lib/core/BarChartWithCustomizedEvent/index.js +1 -2
  252. package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +2 -3
  253. package/lib/core/BarChartWithCustomizedEvent/styles.d.ts.map +1 -1
  254. package/lib/core/Box/Box.stories.d.ts +1 -1
  255. package/lib/core/Box/Box.stories.d.ts.map +1 -1
  256. package/lib/core/Box/index.d.ts +1 -1
  257. package/lib/core/Box/index.d.ts.map +1 -1
  258. package/lib/core/Box/index.js +1 -2
  259. package/lib/core/Box/styles.d.ts +39 -40
  260. package/lib/core/Box/styles.d.ts.map +1 -1
  261. package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -14
  262. package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -1
  263. package/lib/core/BoxedTable/BoxedTable.stories.js +304 -409
  264. package/lib/core/BoxedTable/DraggableRow/index.d.ts.map +1 -1
  265. package/lib/core/BoxedTable/DraggableRow/index.js +14 -17
  266. package/lib/core/BoxedTable/DraggableRow/styles.d.ts +11 -16
  267. package/lib/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
  268. package/lib/core/BoxedTable/DraggableRow/styles.js +14 -20
  269. package/lib/core/BoxedTable/HeaderCell/styles.d.ts +2 -8
  270. package/lib/core/BoxedTable/HeaderCell/styles.d.ts.map +1 -1
  271. package/lib/core/BoxedTable/HeaderCell/styles.js +3 -3
  272. package/lib/core/BoxedTable/RowCell/index.d.ts +0 -2
  273. package/lib/core/BoxedTable/RowCell/index.d.ts.map +1 -1
  274. package/lib/core/BoxedTable/RowCell/index.js +4 -14
  275. package/lib/core/BoxedTable/RowCell/styles.d.ts +9 -7
  276. package/lib/core/BoxedTable/RowCell/styles.d.ts.map +1 -1
  277. package/lib/core/BoxedTable/RowCell/styles.js +23 -7
  278. package/lib/core/BoxedTable/TableBody/index.d.ts.map +1 -1
  279. package/lib/core/BoxedTable/TableHeader/index.d.ts.map +1 -1
  280. package/lib/core/BoxedTable/TableHeader/index.js +3 -5
  281. package/lib/core/BoxedTable/TableHeader/styles.d.ts +3 -8
  282. package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
  283. package/lib/core/BoxedTable/TableHeader/styles.js +3 -18
  284. package/lib/core/BoxedTable/TableRow/index.d.ts.map +1 -1
  285. package/lib/core/BoxedTable/TableRow/index.js +9 -7
  286. package/lib/core/BoxedTable/TableRow/styles.d.ts +17 -22
  287. package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
  288. package/lib/core/BoxedTable/TableRow/styles.js +24 -30
  289. package/lib/core/BoxedTable/index.d.ts +0 -6
  290. package/lib/core/BoxedTable/index.d.ts.map +1 -1
  291. package/lib/core/BoxedTable/index.js +7 -19
  292. package/lib/core/BoxedTable/styles.d.ts +4 -12
  293. package/lib/core/BoxedTable/styles.d.ts.map +1 -1
  294. package/lib/core/BoxedTable/styles.js +19 -25
  295. package/lib/core/Button/Button.stories.d.ts +1 -1
  296. package/lib/core/Button/Button.stories.d.ts.map +1 -1
  297. package/lib/core/Button/index.d.ts +31 -31
  298. package/lib/core/Button/index.d.ts.map +1 -1
  299. package/lib/core/Button/styles.d.ts +18 -19
  300. package/lib/core/Button/styles.d.ts.map +1 -1
  301. package/lib/core/Calendar/Calendar.stories.d.ts +2 -2
  302. package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -1
  303. package/lib/core/Calendar/CalendarEvent/index.d.ts.map +1 -1
  304. package/lib/core/Calendar/CalendarEvent/index.js +3 -3
  305. package/lib/core/Calendar/CalendarEvent/styles.d.ts +8 -9
  306. package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
  307. package/lib/core/Calendar/CalendarSmallEvent/index.js +1 -2
  308. package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +8 -9
  309. package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
  310. package/lib/core/Calendar/index.d.ts.map +1 -1
  311. package/lib/core/Calendar/index.js +5 -4
  312. package/lib/core/Calendar/styles.d.ts +9 -10
  313. package/lib/core/Calendar/styles.d.ts.map +1 -1
  314. package/lib/core/Card/Card.stories.d.ts +1 -2
  315. package/lib/core/Card/Card.stories.d.ts.map +1 -1
  316. package/lib/core/Card/Card.stories.js +1 -2
  317. package/lib/core/Card/index.d.ts +12 -12
  318. package/lib/core/Card/index.d.ts.map +1 -1
  319. package/lib/core/Card/styles.d.ts +11 -11
  320. package/lib/core/Checkbox/Checkbox.stories.d.ts +1 -1
  321. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  322. package/lib/core/Checkbox/index.js +1 -2
  323. package/lib/core/Checkbox/styles.d.ts +5 -5
  324. package/lib/core/Checkbox/styles.d.ts.map +1 -1
  325. package/lib/core/CollapseList/CollapseList.stories.d.ts +1 -1
  326. package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -1
  327. package/lib/core/CollapseList/CollapseList.stories.js +1 -2
  328. package/lib/core/CollapseList/Item.js +1 -3
  329. package/lib/core/CollapseList/styles.d.ts +32 -33
  330. package/lib/core/CollapseList/styles.d.ts.map +1 -1
  331. package/lib/core/CommentsTimeline/CommentLine/index.js +1 -2
  332. package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +6 -7
  333. package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
  334. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +1 -1
  335. package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -1
  336. package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
  337. package/lib/core/CommentsTimeline/styles.d.ts +2 -3
  338. package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
  339. package/lib/core/CustomText/CustomText.stories.d.ts +1 -1
  340. package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -1
  341. package/lib/core/CustomText/styles.d.ts +3 -4
  342. package/lib/core/CustomText/styles.d.ts.map +1 -1
  343. package/lib/core/Datepicker/Datepicker.stories.d.ts +1 -2
  344. package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -1
  345. package/lib/core/Datepicker/index.d.ts +4 -4
  346. package/lib/core/Datepicker/index.d.ts.map +1 -1
  347. package/lib/core/Datepicker/index.js +16 -7
  348. package/lib/core/Datepicker/styles.d.ts +14 -15
  349. package/lib/core/Datepicker/styles.d.ts.map +1 -1
  350. package/lib/core/Datepicker/styles.js +13 -13
  351. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +1 -1
  352. package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -1
  353. package/lib/core/DatepickerRange/index.d.ts +0 -1
  354. package/lib/core/DatepickerRange/index.d.ts.map +1 -1
  355. package/lib/core/DatepickerRange/index.js +2 -2
  356. package/lib/core/DatepickerRange/styles.d.ts +14 -15
  357. package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
  358. package/lib/core/Divider/styles.d.ts +5 -5
  359. package/lib/core/Dropdown/Dropdown.stories.d.ts +1 -1
  360. package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -1
  361. package/lib/core/Dropdown/index.js +1 -2
  362. package/lib/core/Dropdown/styles.d.ts +3 -3
  363. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
  364. package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  365. package/lib/core/DropdownMenu/DropdownMenu.stories.js +1 -3
  366. package/lib/core/DropdownMenu/index.js +1 -2
  367. package/lib/core/DropdownMenu/styles.d.ts +5 -6
  368. package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
  369. package/lib/core/Editor/Editor.stories.d.ts +1 -1
  370. package/lib/core/Editor/Editor.stories.d.ts.map +1 -1
  371. package/lib/core/Editor/Editor.stories.js +1 -0
  372. package/lib/core/Editor/index.d.ts +3 -0
  373. package/lib/core/Editor/index.d.ts.map +1 -1
  374. package/lib/core/Editor/index.js +5 -3
  375. package/lib/core/Editor/styles.d.ts +6 -7
  376. package/lib/core/Editor/styles.d.ts.map +1 -1
  377. package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts +8 -0
  378. package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts.map +1 -0
  379. package/lib/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
  380. package/lib/core/EditorQuillReact/IndentAttributor.d.ts +7 -0
  381. package/lib/core/EditorQuillReact/IndentAttributor.d.ts.map +1 -0
  382. package/lib/core/EditorQuillReact/IndentAttributor.js +15 -0
  383. package/lib/core/EditorQuillReact/config.d.ts +30 -0
  384. package/lib/core/EditorQuillReact/config.d.ts.map +1 -0
  385. package/lib/core/EditorQuillReact/config.js +31 -0
  386. package/lib/core/EditorQuillReact/index.d.ts +23 -0
  387. package/lib/core/EditorQuillReact/index.d.ts.map +1 -0
  388. package/lib/core/EditorQuillReact/index.js +103 -0
  389. package/lib/core/EditorQuillReact/styles.d.ts +13 -0
  390. package/lib/core/EditorQuillReact/styles.d.ts.map +1 -0
  391. package/lib/core/EditorQuillReact/styles.js +34 -0
  392. package/lib/core/FileInput/FileInput.stories.d.ts +1 -1
  393. package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -1
  394. package/lib/core/FileInput/index.js +1 -2
  395. package/lib/core/FileInput/styles.d.ts +55 -56
  396. package/lib/core/FileInput/styles.d.ts.map +1 -1
  397. package/lib/core/GoogleButton/GoogleButton.stories.d.ts +1 -1
  398. package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -1
  399. package/lib/core/GoogleButton/index.d.ts +1 -1
  400. package/lib/core/GoogleButton/index.d.ts.map +1 -1
  401. package/lib/core/GoogleButton/index.js +2 -2
  402. package/lib/core/GoogleButton/styles.d.ts +2 -3
  403. package/lib/core/GoogleButton/styles.d.ts.map +1 -1
  404. package/lib/core/Header/Header.stories.d.ts +1 -1
  405. package/lib/core/Header/Header.stories.d.ts.map +1 -1
  406. package/lib/core/Header/styles.d.ts +7 -7
  407. package/lib/core/HighlightText/HighlightText.stories.d.ts +1 -1
  408. package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -1
  409. package/lib/core/HighlightText/styles.d.ts +2 -3
  410. package/lib/core/HighlightText/styles.d.ts.map +1 -1
  411. package/lib/core/Html/Html.stories.d.ts +1 -1
  412. package/lib/core/Html/Html.stories.d.ts.map +1 -1
  413. package/lib/core/Html/Html.stories.js +2 -3
  414. package/lib/core/Html/index.d.ts +1 -0
  415. package/lib/core/Html/index.d.ts.map +1 -1
  416. package/lib/core/Html/index.js +3 -1
  417. package/lib/core/Html/styles.d.ts +6 -6
  418. package/lib/core/Html/styles.d.ts.map +1 -1
  419. package/lib/core/Html/styles.js +6 -9
  420. package/lib/core/Image/Image.stories.d.ts +1 -1
  421. package/lib/core/Image/Image.stories.d.ts.map +1 -1
  422. package/lib/core/Image/styles.d.ts +6 -6
  423. package/lib/core/ImagePicker/IconWithBackground.d.ts +1 -1
  424. package/lib/core/ImagePicker/IconWithBackground.d.ts.map +1 -1
  425. package/lib/core/ImagePicker/ImagePicker.stories.d.ts +1 -1
  426. package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -1
  427. package/lib/core/ImagePicker/UploadButton.d.ts +1 -1
  428. package/lib/core/ImagePicker/UploadButton.d.ts.map +1 -1
  429. package/lib/core/ImagePicker/UploadButton.js +1 -2
  430. package/lib/core/ImagePicker/index.d.ts +1 -1
  431. package/lib/core/ImagePicker/index.d.ts.map +1 -1
  432. package/lib/core/ImagePicker/index.js +1 -2
  433. package/lib/core/ImagePicker/styles.d.ts +11 -11
  434. package/lib/core/ImageViewer/ImageViewer.stories.d.ts +1 -1
  435. package/lib/core/ImageViewer/ImageViewer.stories.d.ts.map +1 -1
  436. package/lib/core/ImageViewer/index.d.ts +1 -1
  437. package/lib/core/ImageViewer/index.d.ts.map +1 -1
  438. package/lib/core/ImageViewer/index.js +1 -2
  439. package/lib/core/ImageViewer/styles.d.ts +6 -6
  440. package/lib/core/InfoButton/InfoButton.stories.d.ts +1 -1
  441. package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -1
  442. package/lib/core/InfoButton/index.js +1 -2
  443. package/lib/core/InfoButton/styles.d.ts +41 -42
  444. package/lib/core/InfoButton/styles.d.ts.map +1 -1
  445. package/lib/core/Input/Input.stories.d.ts +3 -1
  446. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  447. package/lib/core/Input/Input.stories.js +20 -1
  448. package/lib/core/Input/index.d.ts +8 -2
  449. package/lib/core/Input/index.d.ts.map +1 -1
  450. package/lib/core/Input/index.js +45 -27
  451. package/lib/core/Input/styles.d.ts +19 -17
  452. package/lib/core/Input/styles.d.ts.map +1 -1
  453. package/lib/core/Input/styles.js +20 -18
  454. package/lib/core/Link/Link.stories.d.ts +1 -1
  455. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  456. package/lib/core/Link/index.d.ts +1 -1
  457. package/lib/core/Link/index.d.ts.map +1 -1
  458. package/lib/core/Link/index.js +1 -2
  459. package/lib/core/Link/styles.d.ts +11 -12
  460. package/lib/core/Link/styles.d.ts.map +1 -1
  461. package/lib/core/List/Item.d.ts +1 -1
  462. package/lib/core/List/Item.d.ts.map +1 -1
  463. package/lib/core/List/Item.js +5 -5
  464. package/lib/core/List/List.stories.d.ts +1 -1
  465. package/lib/core/List/List.stories.d.ts.map +1 -1
  466. package/lib/core/List/List.stories.js +1 -3
  467. package/lib/core/List/index.d.ts +1 -1
  468. package/lib/core/List/index.d.ts.map +1 -1
  469. package/lib/core/List/index.js +1 -1
  470. package/lib/core/List/styles.d.ts +11 -11
  471. package/lib/core/ListPager/ListPager.stories.d.ts +1 -1
  472. package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -1
  473. package/lib/core/ListPager/index.d.ts +0 -2
  474. package/lib/core/ListPager/index.d.ts.map +1 -1
  475. package/lib/core/ListPager/index.js +3 -22
  476. package/lib/core/ListPager/styles.d.ts +5 -6
  477. package/lib/core/ListPager/styles.d.ts.map +1 -1
  478. package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +1 -1
  479. package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts.map +1 -1
  480. package/lib/core/MediaCarousel/index.d.ts +5 -3
  481. package/lib/core/MediaCarousel/index.d.ts.map +1 -1
  482. package/lib/core/MediaCarousel/index.js +7 -4
  483. package/lib/core/MediaCarousel/styles.d.ts +11 -12
  484. package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
  485. package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
  486. package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
  487. package/lib/core/Modal/Modal.stories.d.ts +1 -1
  488. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  489. package/lib/core/Modal/Modal.stories.js +1 -2
  490. package/lib/core/Modal/index.d.ts +5 -3
  491. package/lib/core/Modal/index.d.ts.map +1 -1
  492. package/lib/core/Modal/index.js +8 -3
  493. package/lib/core/Modal/styles.d.ts +14 -15
  494. package/lib/core/Modal/styles.d.ts.map +1 -1
  495. package/lib/core/Modal/styles.js +8 -8
  496. package/lib/core/NoticeCard/NoticeCard.stories.d.ts +2 -2
  497. package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -1
  498. package/lib/core/NoticeCard/NoticeCard.stories.js +1 -4
  499. package/lib/core/NoticeCard/index.d.ts.map +1 -1
  500. package/lib/core/NoticeCard/index.js +1 -5
  501. package/lib/core/NoticeCard/models.d.ts +0 -2
  502. package/lib/core/NoticeCard/models.d.ts.map +1 -1
  503. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
  504. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +6 -7
  505. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
  506. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +2 -3
  507. package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
  508. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +0 -2
  509. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts.map +1 -1
  510. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
  511. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +6 -7
  512. package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
  513. package/lib/core/NoticeCard/styles.d.ts +8 -9
  514. package/lib/core/NoticeCard/styles.d.ts.map +1 -1
  515. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +2 -2
  516. package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -1
  517. package/lib/core/NotificationCounter/styles.d.ts +1 -1
  518. package/lib/core/NotificationCounter/styles.d.ts.map +1 -1
  519. package/lib/core/NotificationCounter/styles.js +1 -1
  520. package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +1 -1
  521. package/lib/core/NotificationsMenu/NotificationRow/index.d.ts.map +1 -1
  522. package/lib/core/NotificationsMenu/NotificationRow/index.js +2 -2
  523. package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +36 -37
  524. package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
  525. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +1 -1
  526. package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
  527. package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
  528. package/lib/core/NotificationsMenu/index.d.ts +4 -2
  529. package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
  530. package/lib/core/NotificationsMenu/index.js +34 -17
  531. package/lib/core/NotificationsMenu/styles.d.ts +7 -8
  532. package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
  533. package/lib/core/NotificationsMenu/styles.js +3 -3
  534. package/lib/core/PieChart/ActiveShape/index.js +1 -2
  535. package/lib/core/PieChart/PieChart.stories.d.ts +2 -2
  536. package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -1
  537. package/lib/core/PieChart/index.d.ts +2 -0
  538. package/lib/core/PieChart/index.d.ts.map +1 -1
  539. package/lib/core/PieChart/index.js +9 -4
  540. package/lib/core/PieChart/renderTextContent/index.d.ts +1 -1
  541. package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
  542. package/lib/core/PieChart/renderTextContent/index.js +3 -2
  543. package/lib/core/PieChart/styles.d.ts +4 -5
  544. package/lib/core/PieChart/styles.d.ts.map +1 -1
  545. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +6 -7
  546. package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
  547. package/lib/core/PreemptionCard/PreemptionCard.stories.js +12 -9
  548. package/lib/core/PreemptionCard/index.d.ts.map +1 -1
  549. package/lib/core/PreemptionCard/index.js +3 -4
  550. package/lib/core/PreemptionCard/styles.d.ts +4 -5
  551. package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
  552. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +2 -2
  553. package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -1
  554. package/lib/core/PreemptionCardLoading/index.js +1 -2
  555. package/lib/core/PreemptionCardLoading/styles.d.ts +6 -7
  556. package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
  557. package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts +7 -0
  558. package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts.map +1 -0
  559. package/lib/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
  560. package/lib/core/QuillEditor/Attributors/ListContainer.d.ts +10 -0
  561. package/lib/core/QuillEditor/Attributors/ListContainer.d.ts.map +1 -0
  562. package/lib/core/QuillEditor/Attributors/ListContainer.js +20 -0
  563. package/lib/core/QuillEditor/Attributors/ListItem.d.ts +10 -0
  564. package/lib/core/QuillEditor/Attributors/ListItem.d.ts.map +1 -0
  565. package/lib/core/QuillEditor/Attributors/ListItem.js +24 -0
  566. package/lib/core/QuillEditor/QuillEditor.stories.d.ts +28 -0
  567. package/lib/core/QuillEditor/QuillEditor.stories.d.ts.map +1 -0
  568. package/lib/core/QuillEditor/QuillEditor.stories.js +56 -0
  569. package/lib/core/QuillEditor/classes/IndentAttributor.d.ts +7 -0
  570. package/lib/core/QuillEditor/classes/IndentAttributor.d.ts.map +1 -0
  571. package/lib/core/QuillEditor/classes/IndentAttributor.js +15 -0
  572. package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts +6 -0
  573. package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts.map +1 -0
  574. package/lib/core/QuillEditor/classes/LinkSanitizer.js +21 -0
  575. package/lib/core/QuillEditor/classes/ListContainer.d.ts +10 -0
  576. package/lib/core/QuillEditor/classes/ListContainer.d.ts.map +1 -0
  577. package/lib/core/QuillEditor/classes/ListContainer.js +20 -0
  578. package/lib/core/QuillEditor/classes/ListItem.d.ts +10 -0
  579. package/lib/core/QuillEditor/classes/ListItem.d.ts.map +1 -0
  580. package/lib/core/QuillEditor/classes/ListItem.js +24 -0
  581. package/lib/core/QuillEditor/config.d.ts +19 -0
  582. package/lib/core/QuillEditor/config.d.ts.map +1 -0
  583. package/lib/core/QuillEditor/config.js +28 -0
  584. package/lib/core/QuillEditor/index.d.ts +5 -0
  585. package/lib/core/QuillEditor/index.d.ts.map +1 -0
  586. package/lib/core/QuillEditor/index.js +278 -0
  587. package/lib/core/QuillEditor/models.d.ts +78 -0
  588. package/lib/core/QuillEditor/models.d.ts.map +1 -0
  589. package/lib/core/QuillEditor/styles.d.ts +13 -0
  590. package/lib/core/QuillEditor/styles.d.ts.map +1 -0
  591. package/lib/core/QuillEditor/styles.js +34 -0
  592. package/lib/core/Radio/Radio.stories.d.ts +2 -2
  593. package/lib/core/Radio/Radio.stories.d.ts.map +1 -1
  594. package/lib/core/Radio/Radio.stories.js +1 -2
  595. package/lib/core/Radio/index.d.ts +1 -1
  596. package/lib/core/Radio/index.d.ts.map +1 -1
  597. package/lib/core/Radio/index.js +1 -2
  598. package/lib/core/Radio/styles.d.ts +4 -4
  599. package/lib/core/SearchFilter/SearchFilter.stories.d.ts +2 -2
  600. package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -1
  601. package/lib/core/SearchFilter/SearchFilter.stories.js +1 -2
  602. package/lib/core/SearchFilter/index.d.ts.map +1 -1
  603. package/lib/core/SearchFilter/index.js +4 -4
  604. package/lib/core/SearchFilter/styles.d.ts +14 -15
  605. package/lib/core/SearchFilter/styles.d.ts.map +1 -1
  606. package/lib/core/SearchSelect/SearchSelect.stories.d.ts +2 -2
  607. package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -1
  608. package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +0 -1
  609. package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts.map +1 -1
  610. package/lib/core/SearchSelect/index.js +1 -3
  611. package/lib/core/SearchSelect/styles.d.ts +9 -10
  612. package/lib/core/SearchSelect/styles.d.ts.map +1 -1
  613. package/lib/core/Select/Select.stories.d.ts +2 -2
  614. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  615. package/lib/core/Select/Select.stories.js +1 -2
  616. package/lib/core/Select/index.js +1 -2
  617. package/lib/core/Select/styles.d.ts +19 -20
  618. package/lib/core/Select/styles.d.ts.map +1 -1
  619. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +2 -2
  620. package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -1
  621. package/lib/core/SimpleBarChart/index.js +1 -2
  622. package/lib/core/SimpleBarChart/styles.d.ts +2 -3
  623. package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
  624. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +2 -2
  625. package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -1
  626. package/lib/core/SimpleLineChart/index.js +1 -2
  627. package/lib/core/SimpleLineChart/styles.d.ts +2 -3
  628. package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
  629. package/lib/core/Skeleton/Skeleton.stories.d.ts +1 -1
  630. package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -1
  631. package/lib/core/Skeleton/styles.d.ts +9 -10
  632. package/lib/core/Skeleton/styles.d.ts.map +1 -1
  633. package/lib/core/Spinner/Spinner.stories.d.ts +2 -2
  634. package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -1
  635. package/lib/core/Spinner/styles.d.ts +5 -5
  636. package/lib/core/Spinner/styles.d.ts.map +1 -1
  637. package/lib/core/Stepper/MobileStep/index.d.ts +8 -0
  638. package/lib/core/Stepper/MobileStep/index.d.ts.map +1 -0
  639. package/lib/core/Stepper/MobileStep/index.js +33 -0
  640. package/lib/core/Stepper/MobileStep/styles.d.ts +31 -0
  641. package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -0
  642. package/lib/core/Stepper/MobileStep/styles.js +90 -0
  643. package/lib/core/Stepper/Step/index.d.ts +12 -0
  644. package/lib/core/Stepper/Step/index.d.ts.map +1 -0
  645. package/lib/core/Stepper/Step/index.js +83 -0
  646. package/lib/core/Stepper/Step/styles.d.ts +27 -0
  647. package/lib/core/Stepper/Step/styles.d.ts.map +1 -0
  648. package/lib/core/Stepper/Step/styles.js +49 -0
  649. package/lib/core/Stepper/Stepper.stories.d.ts +7 -0
  650. package/lib/core/Stepper/Stepper.stories.d.ts.map +1 -0
  651. package/lib/core/Stepper/Stepper.stories.js +29 -0
  652. package/lib/core/Stepper/index.d.ts +18 -0
  653. package/lib/core/Stepper/index.d.ts.map +1 -0
  654. package/lib/core/Stepper/index.js +47 -0
  655. package/lib/core/Stepper/styles.d.ts +13 -0
  656. package/lib/core/Stepper/styles.d.ts.map +1 -0
  657. package/lib/core/Stepper/styles.js +24 -0
  658. package/lib/core/TabBar/TabBar.stories.d.ts +2 -2
  659. package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -1
  660. package/lib/core/TabBar/TabBar.stories.js +1 -2
  661. package/lib/core/TabBar/TabItem/index.js +2 -2
  662. package/lib/core/TabBar/TabItem/styles.d.ts +2 -3
  663. package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
  664. package/lib/core/TabBar/styles.d.ts +2 -3
  665. package/lib/core/TabBar/styles.d.ts.map +1 -1
  666. package/lib/core/TabNav/TabNav.stories.d.ts +2 -2
  667. package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -1
  668. package/lib/core/TabNav/TabNav.stories.js +1 -2
  669. package/lib/core/TabNav/TabNavItem/index.js +1 -2
  670. package/lib/core/TabNav/TabNavItem/styles.d.ts +10 -11
  671. package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
  672. package/lib/core/TabNav/index.js +1 -2
  673. package/lib/core/TabNav/styles.d.ts +12 -13
  674. package/lib/core/TabNav/styles.d.ts.map +1 -1
  675. package/lib/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -1
  676. package/lib/core/Table/Cell.d.ts +1 -1
  677. package/lib/core/Table/Cell.d.ts.map +1 -1
  678. package/lib/core/Table/Row.d.ts +1 -1
  679. package/lib/core/Table/Row.d.ts.map +1 -1
  680. package/lib/core/Table/Table.stories.d.ts +2 -2
  681. package/lib/core/Table/Table.stories.d.ts.map +1 -1
  682. package/lib/core/Table/Table.stories.js +1 -2
  683. package/lib/core/Table/index.d.ts +1 -1
  684. package/lib/core/Table/index.d.ts.map +1 -1
  685. package/lib/core/Table/styles.d.ts +18 -19
  686. package/lib/core/Table/styles.d.ts.map +1 -1
  687. package/lib/core/Tag/Tag.stories.d.ts +1 -1
  688. package/lib/core/Tag/Tag.stories.d.ts.map +1 -1
  689. package/lib/core/Tag/index.js +1 -3
  690. package/lib/core/Tag/styles.d.ts +13 -13
  691. package/lib/core/Text/Text.stories.d.ts +1 -1
  692. package/lib/core/Text/Text.stories.d.ts.map +1 -1
  693. package/lib/core/Text/index.d.ts +1 -1
  694. package/lib/core/Text/index.d.ts.map +1 -1
  695. package/lib/core/Text/styles.d.ts +15 -15
  696. package/lib/core/Textarea/Textarea.stories.d.ts +1 -1
  697. package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -1
  698. package/lib/core/Textarea/index.d.ts +3 -5
  699. package/lib/core/Textarea/index.d.ts.map +1 -1
  700. package/lib/core/Textarea/index.js +6 -5
  701. package/lib/core/Textarea/styles.d.ts +8 -9
  702. package/lib/core/Textarea/styles.d.ts.map +1 -1
  703. package/lib/core/Timeline/Timeline.stories.d.ts +2 -2
  704. package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -1
  705. package/lib/core/Timeline/Timeline.stories.js +1 -2
  706. package/lib/core/Timeline/TimelineStep/index.js +1 -2
  707. package/lib/core/Timeline/TimelineStep/styles.d.ts +7 -8
  708. package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
  709. package/lib/core/Timeline/styles.d.ts +2 -3
  710. package/lib/core/Timeline/styles.d.ts.map +1 -1
  711. package/lib/core/Timepicker/Timepicker.stories.d.ts +2 -2
  712. package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -1
  713. package/lib/core/Timepicker/index.d.ts +1 -1
  714. package/lib/core/Timepicker/index.d.ts.map +1 -1
  715. package/lib/core/Timepicker/index.js +1 -2
  716. package/lib/core/Timepicker/styles.d.ts +9 -10
  717. package/lib/core/Timepicker/styles.d.ts.map +1 -1
  718. package/lib/core/Tooltip/Tooptip.stories.d.ts +2 -2
  719. package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -1
  720. package/lib/core/Tooltip/index.js +1 -2
  721. package/lib/core/Tooltip/styles.d.ts +2 -2
  722. package/lib/core/UserMenu/UserMenu.stories.d.ts +2 -2
  723. package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -1
  724. package/lib/core/UserMenu/UserMenu.stories.js +1 -2
  725. package/lib/core/UserMenu/index.js +1 -2
  726. package/lib/core/UserMenu/styles.d.ts +14 -15
  727. package/lib/core/UserMenu/styles.d.ts.map +1 -1
  728. package/lib/core/Video/Video.stories.d.ts +2 -1
  729. package/lib/core/Video/Video.stories.d.ts.map +1 -1
  730. package/lib/core/Video/index.d.ts +0 -1
  731. package/lib/core/Video/index.d.ts.map +1 -1
  732. package/lib/core/Video/styles.d.ts +2 -3
  733. package/lib/core/Video/styles.d.ts.map +1 -1
  734. package/lib/core/YearWheel/YearWheel.stories.d.ts +2 -2
  735. package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -1
  736. package/lib/core/YearWheel/index.js +1 -2
  737. package/lib/core/YearWheel/styles.d.ts +4 -5
  738. package/lib/core/YearWheel/styles.d.ts.map +1 -1
  739. package/lib/core/private/ButtonOrLink.d.ts +18 -18
  740. package/lib/core/private/ButtonOrLink.d.ts.map +1 -1
  741. package/lib/core/private/ButtonOrLink.js +1 -2
  742. package/lib/core/private/preemption.d.ts.map +1 -1
  743. package/lib/core/private/preemption.js +5 -1
  744. package/lib/globals/styles/styles.d.ts +1 -1
  745. package/lib/globals/validation/regularExpressions.js +1 -1
  746. package/lib/hooks/useIsMobile.d.ts +1 -1
  747. package/lib/hooks/useIsMobile.d.ts.map +1 -1
  748. package/lib/icons/General/IconAuditorFilled.js +1 -2
  749. package/lib/icons/General/IconAuditorOutline.js +1 -2
  750. package/lib/icons/General/IconCamera.js +1 -2
  751. package/lib/icons/General/IconCases.js +1 -2
  752. package/lib/icons/General/IconDocument.js +1 -2
  753. package/lib/icons/General/IconDocumentFilled.js +1 -2
  754. package/lib/icons/General/IconEmailMarkAsRead.d.ts +3 -0
  755. package/lib/icons/General/IconEmailMarkAsRead.d.ts.map +1 -0
  756. package/lib/icons/General/IconEmailMarkAsRead.js +12 -0
  757. package/lib/icons/General/IconFillOut.js +1 -2
  758. package/lib/icons/General/IconHomeFilled.js +1 -2
  759. package/lib/icons/General/IconHomeOutline.js +1 -2
  760. package/lib/icons/General/IconHouseBlockFilled.js +1 -2
  761. package/lib/icons/General/IconHouseBlockOutline.js +1 -2
  762. package/lib/icons/General/IconImage.js +1 -2
  763. package/lib/icons/General/IconJanitorFilled.js +1 -2
  764. package/lib/icons/General/IconJanitorOutline.js +1 -2
  765. package/lib/icons/General/IconLeafFilled.js +1 -2
  766. package/lib/icons/General/IconLeafOutline.js +1 -2
  767. package/lib/icons/General/IconRearrange.js +1 -2
  768. package/lib/icons/Icon.stories.d.ts +0 -1
  769. package/lib/icons/Icon.stories.d.ts.map +1 -1
  770. package/lib/icons/Icon.stories.js +4 -2
  771. package/lib/icons/Logos/IconBankAxept.js +1 -2
  772. package/lib/icons/Logos/IconGmail.js +1 -2
  773. package/lib/icons/Logos/IconMasterCard.js +1 -2
  774. package/lib/icons/Logos/IconOffice365.js +1 -2
  775. package/lib/icons/Logos/IconVisa.js +1 -2
  776. package/lib/icons/withIcon.d.ts +2 -2
  777. package/lib/icons/withIcon.d.ts.map +1 -1
  778. package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
  779. package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
  780. package/lib/illustrations/General/IllustrationBudget.d.ts +4 -0
  781. package/lib/illustrations/General/IllustrationBudget.d.ts.map +1 -0
  782. package/lib/illustrations/General/IllustrationBudget.js +185 -0
  783. package/lib/illustrations/General/IllustrationError.js +1 -2
  784. package/lib/illustrations/General/IllustrationErrorGeneric.js +1 -2
  785. package/lib/illustrations/General/IllustrationHighHouse.js +1 -2
  786. package/lib/illustrations/General/IllustrationHighHouseComposition.js +1 -2
  787. package/lib/illustrations/General/IllustrationHouse.js +1 -2
  788. package/lib/illustrations/General/IllustrationHouseComposition.js +1 -2
  789. package/lib/illustrations/General/IllustrationHouseMissing.js +1 -2
  790. package/lib/illustrations/General/IllustrationLowHouse.js +1 -2
  791. package/lib/illustrations/General/IllustrationLowHouseComposition.js +1 -2
  792. package/lib/illustrations/General/IllustrationPaperCompleted.js +1 -2
  793. package/lib/illustrations/General/IllustrationPaperMissing.js +1 -2
  794. package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
  795. package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
  796. package/lib/illustrations/General/IllustrationServiceMessage.d.ts +5 -0
  797. package/lib/illustrations/General/IllustrationServiceMessage.d.ts.map +1 -0
  798. package/lib/illustrations/General/IllustrationServiceMessage.js +40 -0
  799. package/lib/illustrations/General/IllustrationSmallHouse.js +1 -2
  800. package/lib/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
  801. package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +5 -0
  802. package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts.map +1 -0
  803. package/lib/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
  804. package/lib/illustrations/General/IllustrationTerraceBlock.js +1 -2
  805. package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
  806. package/lib/illustrations/General/IllustrationTownHouse.js +1 -2
  807. package/lib/illustrations/General/IllustrationTownHouseComposition.js +1 -2
  808. package/lib/illustrations/Illustration.stories.d.ts +0 -1
  809. package/lib/illustrations/Illustration.stories.d.ts.map +1 -1
  810. package/lib/illustrations/Illustration.stories.js +18 -3
  811. package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
  812. package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +4 -0
  813. package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts.map +1 -0
  814. package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
  815. package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
  816. package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
  817. package/lib/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
  818. package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
  819. package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
  820. package/lib/illustrations/MySite/IllustrationMySiteGift.js +1 -2
  821. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +4 -0
  822. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts.map +1 -0
  823. package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
  824. package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
  825. package/lib/illustrations/MySite/IllustrationMySitePapers.js +1 -2
  826. package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
  827. package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
  828. package/lib/illustrations/styles.d.ts +2 -2
  829. package/lib/illustrations/withIllustration.d.ts +2 -2
  830. package/lib/illustrations/withIllustration.d.ts.map +1 -1
  831. package/lib/index.d.ts +9 -1
  832. package/lib/index.d.ts.map +1 -1
  833. package/lib/index.js +9 -1
  834. package/lib/layout/Footer/Footer.stories.d.ts +2 -2
  835. package/lib/layout/Footer/Footer.stories.d.ts.map +1 -1
  836. package/lib/layout/Footer/Footer.stories.js +1 -2
  837. package/lib/layout/Footer/FooterButton/styles.d.ts +27 -28
  838. package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
  839. package/lib/layout/Footer/FooterCol/styles.d.ts +2 -3
  840. package/lib/layout/Footer/FooterCol/styles.d.ts.map +1 -1
  841. package/lib/layout/Footer/FooterGroup/styles.d.ts +2 -3
  842. package/lib/layout/Footer/FooterGroup/styles.d.ts.map +1 -1
  843. package/lib/layout/Footer/FooterLabel/styles.d.ts +2 -3
  844. package/lib/layout/Footer/FooterLabel/styles.d.ts.map +1 -1
  845. package/lib/layout/Footer/FooterLink/styles.d.ts +27 -28
  846. package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
  847. package/lib/layout/Footer/styles.d.ts +3 -4
  848. package/lib/layout/Footer/styles.d.ts.map +1 -1
  849. package/lib/layout/Layout/Layout.stories.d.ts +2 -2
  850. package/lib/layout/Layout/Layout.stories.d.ts.map +1 -1
  851. package/lib/layout/Layout/styles.d.ts +3 -4
  852. package/lib/layout/Layout/styles.d.ts.map +1 -1
  853. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +2 -2
  854. package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -1
  855. package/lib/layout/LayoutShell/index.js +1 -2
  856. package/lib/layout/LayoutShell/styles.d.ts +9 -10
  857. package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
  858. package/lib/layout/Menu/AppPicker/index.d.ts +2 -2
  859. package/lib/layout/Menu/AppPicker/index.d.ts.map +1 -1
  860. package/lib/layout/Menu/AppPicker/index.js +3 -4
  861. package/lib/layout/Menu/AppPicker/styles.d.ts +2 -3
  862. package/lib/layout/Menu/AppPicker/styles.d.ts.map +1 -1
  863. package/lib/layout/Menu/AppPicker/styles.js +7 -7
  864. package/lib/layout/Menu/MainMenu/index.d.ts +1 -1
  865. package/lib/layout/Menu/MainMenu/index.d.ts.map +1 -1
  866. package/lib/layout/Menu/MainMenu/index.js +10 -6
  867. package/lib/layout/Menu/MainMenu/styles.d.ts +5 -2
  868. package/lib/layout/Menu/MainMenu/styles.d.ts.map +1 -1
  869. package/lib/layout/Menu/MainMenu/styles.js +8 -2
  870. package/lib/layout/Menu/MenuItem/index.d.ts +1 -1
  871. package/lib/layout/Menu/MenuItem/index.d.ts.map +1 -1
  872. package/lib/layout/Menu/MenuItem/index.js +23 -19
  873. package/lib/layout/Menu/MenuItem/styles.d.ts +4 -1
  874. package/lib/layout/Menu/MenuItem/styles.d.ts.map +1 -1
  875. package/lib/layout/Menu/MenuItem/styles.js +17 -2
  876. package/lib/layout/Menu/MenuSpacer/styles.d.ts +2 -3
  877. package/lib/layout/Menu/MenuSpacer/styles.d.ts.map +1 -1
  878. package/lib/layout/Menu/MenuTop/index.js +1 -2
  879. package/lib/layout/Menu/MenuTop/styles.d.ts +29 -30
  880. package/lib/layout/Menu/MenuTop/styles.d.ts.map +1 -1
  881. package/lib/layout/Menu/MenuTop/styles.js +3 -3
  882. package/lib/layout/Menu/SecondaryMenu/index.js +1 -2
  883. package/lib/layout/Menu/SecondaryMenu/styles.d.ts +4 -5
  884. package/lib/layout/Menu/SecondaryMenu/styles.d.ts.map +1 -1
  885. package/lib/layout/Menu/SecondaryMenuItem/index.js +1 -2
  886. package/lib/layout/Menu/Sidemenu.stories.d.ts +2 -2
  887. package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -1
  888. package/lib/layout/Menu/Sidemenu.stories.js +10 -7
  889. package/lib/layout/Menu/styles.d.ts +2 -3
  890. package/lib/layout/Menu/styles.d.ts.map +1 -1
  891. package/lib/layout/Submenu/Submenu.stories.d.ts +2 -2
  892. package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -1
  893. package/lib/layout/Submenu/Submenu.stories.js +1 -2
  894. package/lib/layout/Submenu/SubmenuItem/index.d.ts.map +1 -1
  895. package/lib/layout/Submenu/SubmenuItem/index.js +23 -19
  896. package/lib/layout/Submenu/SubmenuItem/styles.d.ts +2 -3
  897. package/lib/layout/Submenu/SubmenuItem/styles.d.ts.map +1 -1
  898. package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +1 -2
  899. package/lib/layout/Submenu/index.d.ts.map +1 -1
  900. package/lib/layout/Submenu/index.js +13 -10
  901. package/lib/layout/Submenu/styles.d.ts +20 -17
  902. package/lib/layout/Submenu/styles.d.ts.map +1 -1
  903. package/lib/layout/Submenu/styles.js +26 -12
  904. package/lib/layout/Topbar/Topbar.stories.d.ts +2 -2
  905. package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -1
  906. package/lib/layout/Topbar/styles.d.ts +0 -1
  907. package/lib/layout/Topbar/styles.d.ts.map +1 -1
  908. package/lib/shared/components/VisuallyHidden/index.d.ts +2 -3
  909. package/lib/shared/components/VisuallyHidden/index.d.ts.map +1 -1
  910. package/lib/shared/recharts/CustomLegend/index.js +1 -2
  911. package/lib/shared/recharts/CustomLegend/styles.d.ts +5 -6
  912. package/lib/shared/recharts/CustomLegend/styles.d.ts.map +1 -1
  913. package/lib/shared/recharts/CustomTooltip/index.js +1 -2
  914. package/lib/shared/recharts/CustomTooltip/styles.d.ts +6 -7
  915. package/lib/shared/recharts/CustomTooltip/styles.d.ts.map +1 -1
  916. package/lib/utils/accountNumber.d.ts +1 -1
  917. package/lib/utils/accountNumber.d.ts.map +1 -1
  918. package/lib/utils/dates.d.ts +3 -2
  919. package/lib/utils/dates.d.ts.map +1 -1
  920. package/lib/utils/dates.js +5 -0
  921. package/lib/utils/file.d.ts +1 -1
  922. package/lib/utils/file.d.ts.map +1 -1
  923. package/lib/utils/format.d.ts +4 -4
  924. package/lib/utils/format.d.ts.map +1 -1
  925. package/lib/utils/format.js +4 -8
  926. package/lib/utils/removeFocusOnMouseUp.d.ts +0 -1
  927. package/lib/utils/removeFocusOnMouseUp.d.ts.map +1 -1
  928. package/lib/utils/time.d.ts +6 -6
  929. package/lib/utils/time.d.ts.map +1 -1
  930. package/lib/utils/useSnorreTheme.d.ts +1 -1
  931. package/lib/utils/useSnorreTheme.d.ts.map +1 -1
  932. package/package.json +7 -2
  933. package/theme-bbls.js +2 -2
  934. package/lib/shared/types/Accessibility.d.ts +0 -55
  935. package/lib/shared/types/Accessibility.d.ts.map +0 -1
  936. package/lib/shared/types/Accessibility.js +0 -1
  937. package/lib/shared/types/LoadedType.d.ts +0 -7
  938. package/lib/shared/types/LoadedType.d.ts.map +0 -1
  939. package/lib/shared/types/LoadedType.js +0 -1
  940. /package/esm/{shared/types/Accessibility.js → core/QuillEditor/models.js} +0 -0
  941. /package/{esm/shared/types/LoadedType.js → lib/core/QuillEditor/models.js} +0 -0
@@ -1,14 +1,13 @@
1
- /// <reference types="react" />
2
1
  export declare const NoticeMetaWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const Group: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
9
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
9
  export declare const Div: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
13
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/packages/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,iBAAiB;;;yGAE7B,CAAA;AAED,eAAO,MAAM,KAAK;;;yGAMjB,CAAA;AAED,eAAO,MAAM,GAAG;;;yGAAe,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/packages/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;eAa4S,WAAW;yGAXpV,CAAA;AAED,eAAO,MAAM,KAAK;;eASwT,WAAW;yGAHpV,CAAA;AAED,eAAO,MAAM,GAAG;;eAC0T,WAAW;yGADtT,CAAA"}
@@ -1,20 +1,19 @@
1
- /// <reference types="react" />
2
1
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
5
  hasImage: boolean;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
7
  export declare const ImageWrapper: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
11
10
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
11
  export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
15
14
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
15
  export declare const Div: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
19
18
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
19
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NoticeCard/styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,OAAO;;;;cACE,OAAO;yGAW5B,CAAA;AAED,eAAO,MAAM,YAAY;;;yGAkBxB,CAAA;AAED,eAAO,MAAM,cAAc;;;yGAI1B,CAAA;AAED,eAAO,MAAM,GAAG;;;yGAsBf,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NoticeCard/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;eAsBH,WACX;;cAtBgB,OAAO;yGAW5B,CAAA;AAED,eAAO,MAAM,YAAY;;eAQR,WACX;yGASL,CAAA;AAED,eAAO,MAAM,cAAc;;eAZV,WACX;yGAeL,CAAA;AAED,eAAO,MAAM,GAAG;;eAlBC,WACX;yGAuCL,CAAA"}
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- declare const _default;
1
+ import { Meta } from '@storybook/react';
2
+ declare const _default: Meta;
3
3
  export default _default;
4
4
  export declare const Default: {
5
5
  render: () => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationCounter.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationCounter/NotificationCounter.stories.tsx"],"names":[],"mappings":";;AAGA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA"}
1
+ {"version":3,"file":"NotificationCounter.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationCounter/NotificationCounter.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;wBAKlC,IAAI;AAHT,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { IAppTheme } from '../../app-shell/theme';
2
2
  export declare const styles: {
3
- default: (theme: IAppTheme, amountDigits?: number | undefined) => import("@emotion/utils").SerializedStyles;
3
+ default: (theme: IAppTheme, amountDigits?: number) => import("@emotion/react").SerializedStyles;
4
4
  };
5
5
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationCounter/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAajD,eAAO,MAAM,MAAM;qBACA,SAAS;CAa3B,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationCounter/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAajD,eAAO,MAAM,MAAM;qBACA,SAAS,iBAAiB,MAAM;CAalD,CAAA"}
@@ -10,5 +10,5 @@ const getFontSize = digits => {
10
10
  }
11
11
  };
12
12
  export const styles = {
13
- default: (theme, amountDigits) => /*#__PURE__*/css("display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:", theme.primary5darker, ";overflow:hidden;color:white;font-size:", getFontSize(amountDigits), ";line-height:23px;width:23px;height:23px;" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbkNvdW50ZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWUyRCIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25Db3VudGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBnZXRGb250U2l6ZSA9IChkaWdpdHM/OiBudW1iZXIpID0+IHtcbiAgc3dpdGNoIChkaWdpdHMpIHtcbiAgICBjYXNlIDM6XG4gICAgICByZXR1cm4gJzEycHgnXG4gICAgY2FzZSA0OlxuICAgICAgcmV0dXJuICcxMHB4J1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gJzE0cHgnXG4gIH1cbn1cblxuZXhwb3J0IGNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUsIGFtb3VudERpZ2l0cz86IG51bWJlcikgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5wcmltYXJ5NWRhcmtlcn07XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBjb2xvcjogd2hpdGU7XG4gICAgZm9udC1zaXplOiAke2dldEZvbnRTaXplKGFtb3VudERpZ2l0cyl9O1xuICAgIGxpbmUtaGVpZ2h0OiAyM3B4O1xuICAgIHdpZHRoOiAyM3B4O1xuICAgIGhlaWdodDogMjNweDtcbiAgYCxcbn1cbiJdfQ== */")
13
+ default: (theme, amountDigits) => /*#__PURE__*/css("display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:", theme.alert, ";overflow:hidden;color:white;font-size:", getFontSize(amountDigits), ";line-height:23px;width:23px;height:23px;" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbkNvdW50ZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWUyRCIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25Db3VudGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBnZXRGb250U2l6ZSA9IChkaWdpdHM/OiBudW1iZXIpID0+IHtcbiAgc3dpdGNoIChkaWdpdHMpIHtcbiAgICBjYXNlIDM6XG4gICAgICByZXR1cm4gJzEycHgnXG4gICAgY2FzZSA0OlxuICAgICAgcmV0dXJuICcxMHB4J1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gJzE0cHgnXG4gIH1cbn1cblxuZXhwb3J0IGNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUsIGFtb3VudERpZ2l0cz86IG51bWJlcikgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5hbGVydH07XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBjb2xvcjogd2hpdGU7XG4gICAgZm9udC1zaXplOiAke2dldEZvbnRTaXplKGFtb3VudERpZ2l0cyl9O1xuICAgIGxpbmUtaGVpZ2h0OiAyM3B4O1xuICAgIHdpZHRoOiAyM3B4O1xuICAgIGhlaWdodDogMjNweDtcbiAgYCxcbn1cbiJdfQ== */")
14
14
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type IProps = {
2
+ type IProps = {
3
3
  /** Notification title */
4
4
  title: string;
5
5
  /** Description, is added to title string */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/NotificationsMenu/NotificationRow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,aAAK,MAAM,GAAG;IACZ,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,sCAAsC;IACtC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,iCAAiC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mCAAmC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AAED,QAAA,MAAM,eAAe,wEAOlB,MAAM,sBAwBR,CAAA;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/NotificationsMenu/NotificationRow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,MAAM,GAAG;IACZ,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,sCAAsC;IACtC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,iCAAiC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mCAAmC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AAED,QAAA,MAAM,eAAe,wEAOlB,MAAM,sBAyBR,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import Text from '../../Text';
3
3
  import { StyledButton, TextContent, Wrapper } from './styles';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
5
  const NotificationRow = ({
7
6
  title,
8
7
  description,
@@ -15,6 +14,7 @@ const NotificationRow = ({
15
14
  onClick: onClick,
16
15
  trackingName: "Felles",
17
16
  trackingEvent: "Klikk varselelement",
17
+ "aria-label": `Varsel om {title}`,
18
18
  children: /*#__PURE__*/_jsxs(Wrapper, {
19
19
  hideBorderBottom: hideBorderBottom,
20
20
  children: [icon, /*#__PURE__*/_jsxs(TextContent, {
@@ -1,53 +1,52 @@
1
- /// <reference types="react" />
2
1
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- hideBorderBottom?: boolean | undefined;
5
+ hideBorderBottom?: boolean;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
7
  export declare const TextContent: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
11
10
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
12
11
  export declare const StyledButton: import("@emotion/styled").StyledComponent<import("react").HTMLAttributes<import("../../private/ButtonOrLink").ButtonOrLinkTypes> & {
13
12
  afterIcon?: import("react").ReactNode;
14
13
  beforeIcon?: import("react").ReactNode;
15
- children: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal;
16
- disabled?: boolean | undefined;
17
- href?: string | undefined;
18
- loading?: boolean | undefined;
19
- onClick?: ((event: import("react").MouseEvent<import("../../private/ButtonOrLink").ButtonOrLinkTypes, MouseEvent>) => void) | undefined;
20
- onMouseUp?: ((event: import("react").MouseEvent<import("../../private/ButtonOrLink").ButtonOrLinkTypes, MouseEvent>) => void) | undefined;
14
+ children: NonNullable<import("react").ReactNode>;
15
+ disabled?: boolean;
16
+ href?: string;
17
+ loading?: boolean;
18
+ onClick?: (event: import("react").MouseEvent<import("../../private/ButtonOrLink").ButtonOrLinkTypes>) => void;
19
+ onMouseUp?: (event: import("react").MouseEvent<import("../../private/ButtonOrLink").ButtonOrLinkTypes>) => void;
21
20
  onCustomKeyPress?: {
22
21
  key: string;
23
22
  action: (event: KeyboardEvent) => void;
24
- } | undefined;
25
- onKeyPress?: ((event: KeyboardEvent) => void) | undefined;
26
- onEnterKeyPress?: ((event: KeyboardEvent) => void) | undefined;
27
- onEscapeKeyPress?: ((event: KeyboardEvent) => void) | undefined;
28
- openInNewWindow?: boolean | undefined;
29
- rel?: string | undefined;
30
- trackingEvent?: string | undefined;
31
- trackingName?: string | undefined;
32
- type?: "button" | "reset" | "submit" | undefined;
33
- target?: string | undefined;
23
+ };
24
+ onKeyPress?: (event: KeyboardEvent) => void;
25
+ onEnterKeyPress?: (event: KeyboardEvent) => void;
26
+ onEscapeKeyPress?: (event: KeyboardEvent) => void;
27
+ openInNewWindow?: boolean;
28
+ rel?: string;
29
+ trackingEvent?: string;
30
+ trackingName?: string;
31
+ type?: "button" | "submit" | "reset";
32
+ target?: string;
34
33
  download?: any;
35
- tabIndex?: number | undefined;
34
+ tabIndex?: number;
36
35
  } & {
37
- success?: boolean | undefined;
38
- danger?: boolean | undefined;
39
- highlight?: boolean | undefined;
40
- outline?: boolean | undefined;
41
- nostyle?: boolean | undefined;
42
- focusable?: boolean | undefined;
43
- border?: string | undefined;
44
- css?: import("@emotion/utils").SerializedStyles | undefined;
45
- loading?: boolean | undefined;
46
- back?: boolean | undefined;
47
- small?: boolean | undefined;
48
- transparentBg?: boolean | undefined;
49
- tabIndex?: number | undefined;
36
+ success?: boolean;
37
+ danger?: boolean;
38
+ highlight?: boolean;
39
+ outline?: boolean;
40
+ nostyle?: boolean;
41
+ focusable?: boolean;
42
+ border?: string;
43
+ css?: import("@emotion/react").SerializedStyles;
44
+ loading?: boolean;
45
+ back?: boolean;
46
+ small?: boolean;
47
+ transparentBg?: boolean;
48
+ tabIndex?: number;
50
49
  } & import("react").RefAttributes<HTMLButtonElement> & {
51
- theme?: import("@emotion/react").Theme | undefined;
50
+ theme?: import("@emotion/react").Theme;
52
51
  }, {}, {}>;
53
52
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/NotificationsMenu/NotificationRow/styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,OAAO;;;;;yGAanB,CAAA;AAED,eAAO,MAAM,WAAW;;;2GAgBvB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAKxB,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/NotificationsMenu/NotificationRow/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;eAwBX,WAAW;;uBAvBW,OAAO;yGAYrC,CAAA;AAED,eAAO,MAAM,WAAW;;eASf,WAAW;2GAOnB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAKxB,CAAA"}
@@ -2,7 +2,7 @@ import NotificationsMenu from '.';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
3
  declare const meta: Meta<typeof NotificationsMenu>;
4
4
  export default meta;
5
- declare type Story = StoryObj<typeof NotificationsMenu>;
5
+ type Story = StoryObj<typeof NotificationsMenu>;
6
6
  export declare const Default: Story;
7
7
  export declare const UnreadNotification: Story;
8
8
  //# sourceMappingURL=NotificationsMenu.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsMenu.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/NotificationsMenu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,GAAG,CAAA;AAGjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAA;AACD,eAAe,IAAI,CAAA;AACnB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA8BhC,CAAA"}
1
+ {"version":3,"file":"NotificationsMenu.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/NotificationsMenu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,GAAG,CAAA;AAGjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAA;AACD,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA+BhC,CAAA"}
@@ -1,9 +1,7 @@
1
1
  import NotificationsMenu from '.';
2
2
  import NotificationRow from './NotificationRow';
3
3
  import IconAttachment from '../../icons/General/IconAttachment';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
5
  const meta = {
8
6
  title: 'Core/NotificationsMenu',
9
7
  component: NotificationsMenu
@@ -14,13 +12,15 @@ export const Default = {
14
12
  args: {
15
13
  unreadCount: 0,
16
14
  onBellClick: () => console.log('bell click'),
17
- children: 'Her kan man legge hva man vil'
15
+ children: 'Her kan man legge hva man vil',
16
+ animationActive: false
18
17
  }
19
18
  };
20
19
  export const UnreadNotification = {
21
20
  name: 'Unread notification',
22
21
  args: {
23
22
  unreadCount: 5,
23
+ animationActive: true,
24
24
  onBellClick: () => console.log('bell click'),
25
25
  children: /*#__PURE__*/_jsxs(_Fragment, {
26
26
  children: [/*#__PURE__*/_jsx(NotificationRow, {
@@ -5,12 +5,14 @@ interface IProps {
5
5
  /** Update value for close dropdown */
6
6
  triggerClose?: any;
7
7
  /** Menu border radius */
8
- radius?: '10px' | '4px';
8
+ radius?: '16px' | '10px';
9
9
  /** Children */
10
10
  children?: React.ReactNode;
11
11
  /** Callback on bell click */
12
12
  onBellClick?: () => void;
13
+ /** Animates bell to shake */
14
+ animationActive?: boolean;
13
15
  }
14
- declare const NotificationsMenu: ({ unreadCount, triggerClose, radius, children, onBellClick, }: IProps) => React.JSX.Element;
16
+ declare const NotificationsMenu: ({ unreadCount, triggerClose, radius, children, animationActive, onBellClick, }: IProps) => React.JSX.Element;
15
17
  export default NotificationsMenu;
16
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAW7D,UAAU,MAAM;IACd,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,sCAAsC;IACtC,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IACvB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;CACzB;AAED,QAAA,MAAM,iBAAiB,kEAMpB,MAAM,sBAgER,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAY7D,UAAU,MAAM;IACd,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,sCAAsC;IACtC,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,QAAA,MAAM,iBAAiB,mFAOpB,MAAM,sBAiFR,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -4,13 +4,14 @@ import Button from '../Button';
4
4
  import IconBellOutline from '../../icons/General/IconBellOutline';
5
5
  import IconBellFilled from '../../icons/General/IconBellFilled';
6
6
  import Text from '../Text';
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { motion } from 'framer-motion';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
9
  const NotificationsMenu = ({
10
10
  unreadCount,
11
11
  triggerClose,
12
12
  radius,
13
13
  children,
14
+ animationActive = false,
14
15
  onBellClick
15
16
  }) => {
16
17
  const ref = /*#__PURE__*/createRef();
@@ -43,22 +44,38 @@ const NotificationsMenu = ({
43
44
  setOpen(!open);
44
45
  onBellClick && onBellClick();
45
46
  };
47
+ const variant = {
48
+ initial: {
49
+ rotate: [0, 10, 0],
50
+ transition: {
51
+ duration: 0.2,
52
+ repeat: Infinity
53
+ }
54
+ },
55
+ none: {}
56
+ };
46
57
  return /*#__PURE__*/_jsxs(NotificationsWrapper, {
47
- children: [/*#__PURE__*/_jsxs(Button, {
48
- nostyle: true,
49
- onClick: onClick,
50
- focusable: true,
51
- trackingName: "Felles",
52
- trackingEvent: "Toggle varselmeny",
53
- children: [hasUnread ? /*#__PURE__*/_jsx(IconBellOutline, {
54
- secondary: true
55
- }) : /*#__PURE__*/_jsx(IconBellFilled, {}), hasUnread && /*#__PURE__*/_jsx(UnreadMark, {
56
- children: /*#__PURE__*/_jsx(Text, {
57
- size: "12px",
58
- color: "white",
59
- children: unreadCount <= maxUnreadCount ? unreadCount : maxUnreadCount
60
- })
61
- })]
58
+ children: [/*#__PURE__*/_jsx(motion.div, {
59
+ animate: animationActive ? 'initial' : 'none',
60
+ variants: variant,
61
+ children: /*#__PURE__*/_jsxs(Button, {
62
+ nostyle: true,
63
+ onClick: onClick,
64
+ focusable: true,
65
+ "aria-expanded": open,
66
+ "aria-label": hasUnread ? 'Uleste notifikasjoner' : 'Ingen uleste notifikasjoner',
67
+ trackingName: "Felles",
68
+ trackingEvent: "Toggle varselmeny",
69
+ children: [hasUnread ? /*#__PURE__*/_jsx(IconBellOutline, {
70
+ secondary: true
71
+ }) : /*#__PURE__*/_jsx(IconBellFilled, {}), hasUnread && /*#__PURE__*/_jsx(UnreadMark, {
72
+ children: /*#__PURE__*/_jsx(Text, {
73
+ size: "12px",
74
+ color: "white",
75
+ children: unreadCount <= maxUnreadCount ? unreadCount : maxUnreadCount
76
+ })
77
+ })]
78
+ })
62
79
  }), open && /*#__PURE__*/_jsx("span", {
63
80
  ref: ref,
64
81
  children: /*#__PURE__*/_jsx(NotificationsContent, {
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  export declare const NotificationsWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const NotificationsContent: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
9
8
  } & {
10
- $radius?: string | undefined;
9
+ $radius?: string;
11
10
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
11
  export declare const UnreadMark: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
15
14
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
15
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,oBAAoB;;;yGAShC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;yGAehC,CAAA;AAED,eAAO,MAAM,UAAU;;;yGAWtB,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;eA4BE,WAC3B;yGApBP,CAAA;AAED,eAAO,MAAM,oBAAoB;;eAiBE,WAC3B;;cAlBmD,MAAM;yGAehE,CAAA;AAED,eAAO,MAAM,UAAU;;eAAY,WAC3B;yGAUP,CAAA"}
@@ -11,7 +11,7 @@ export const NotificationsWrapper = /*#__PURE__*/_styled("div", process.env.NODE
11
11
  } : {
12
12
  name: "1ivkyd7",
13
13
  styles: "position:relative;display:flex;flex-direction:row;&>svg{margin-left:0.5em;}",
14
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFOEMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWZpY2F0aW9uc01lbnUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBOb3RpZmljYXRpb25zV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuXG4gICYgPiBzdmcge1xuICAgIG1hcmdpbi1sZWZ0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc0NvbnRlbnQgPSBzdHlsZWQuZGl2PHsgJHJhZGl1cz86IHN0cmluZyB9PmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgcmlnaHQ6IDA7XG4gIHRvcDogMzBweDtcblxuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzAwcHg7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNjZmQ5ZWE7XG5cbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiAgYm94LXNoYWRvdzogMCAxMHB4IDE1cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6ICR7KHsgJHJhZGl1cyB9KSA9PiAkcmFkaXVzIHx8ICcxMHB4J307XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHBhZGRpbmc6IDAuNWVtIDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IFVucmVhZE1hcmsgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICB0b3A6IC02cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIGJhY2tncm91bmQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUucHJpbWFyeTVkYXJrZXJ9O1xuICBoZWlnaHQ6IDE4cHg7XG4gIHdpZHRoOiAxOHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuYFxuIl19 */",
14
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFOEMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWZpY2F0aW9uc01lbnUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBOb3RpZmljYXRpb25zV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuXG4gICYgPiBzdmcge1xuICAgIG1hcmdpbi1sZWZ0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc0NvbnRlbnQgPSBzdHlsZWQuZGl2PHsgJHJhZGl1cz86IHN0cmluZyB9PmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgcmlnaHQ6IDA7XG4gIHRvcDogMzBweDtcblxuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzAwcHg7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNjZmQ5ZWE7XG5cbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiAgYm94LXNoYWRvdzogMCAxMHB4IDE1cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6ICR7KHsgJHJhZGl1cyB9KSA9PiAkcmFkaXVzIHx8ICcxMHB4J307XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHBhZGRpbmc6IDAuNWVtIDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IFVucmVhZE1hcmsgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICB0b3A6IC02cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIGJhY2tncm91bmQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuYWxlcnR9O1xuICBoZWlnaHQ6IDE4cHg7XG4gIHdpZHRoOiAxOHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuYFxuIl19 */",
15
15
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
16
16
  });
17
17
  export const NotificationsContent = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
@@ -21,7 +21,7 @@ export const NotificationsContent = /*#__PURE__*/_styled("div", process.env.NODE
21
21
  label: "NotificationsContent"
22
22
  })("position:absolute;background-color:white;right:0;top:30px;box-sizing:border-box;width:300px;border:1px solid #cfd9ea;background-color:#ffffff;box-shadow:0 10px 15px 0 rgba(0, 0, 0, 0.1);border-radius:", ({
23
23
  $radius
24
- }) => $radius || '10px', ";overflow:hidden;padding:0.5em 1em;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhb0UiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWZpY2F0aW9uc01lbnUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBOb3RpZmljYXRpb25zV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuXG4gICYgPiBzdmcge1xuICAgIG1hcmdpbi1sZWZ0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc0NvbnRlbnQgPSBzdHlsZWQuZGl2PHsgJHJhZGl1cz86IHN0cmluZyB9PmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgcmlnaHQ6IDA7XG4gIHRvcDogMzBweDtcblxuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzAwcHg7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNjZmQ5ZWE7XG5cbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiAgYm94LXNoYWRvdzogMCAxMHB4IDE1cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6ICR7KHsgJHJhZGl1cyB9KSA9PiAkcmFkaXVzIHx8ICcxMHB4J307XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHBhZGRpbmc6IDAuNWVtIDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IFVucmVhZE1hcmsgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICB0b3A6IC02cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIGJhY2tncm91bmQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUucHJpbWFyeTVkYXJrZXJ9O1xuICBoZWlnaHQ6IDE4cHg7XG4gIHdpZHRoOiAxOHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuYFxuIl19 */"));
24
+ }) => $radius || '10px', ";overflow:hidden;padding:0.5em 1em;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhb0UiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWZpY2F0aW9uc01lbnUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBOb3RpZmljYXRpb25zV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuXG4gICYgPiBzdmcge1xuICAgIG1hcmdpbi1sZWZ0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc0NvbnRlbnQgPSBzdHlsZWQuZGl2PHsgJHJhZGl1cz86IHN0cmluZyB9PmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgcmlnaHQ6IDA7XG4gIHRvcDogMzBweDtcblxuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzAwcHg7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNjZmQ5ZWE7XG5cbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiAgYm94LXNoYWRvdzogMCAxMHB4IDE1cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6ICR7KHsgJHJhZGl1cyB9KSA9PiAkcmFkaXVzIHx8ICcxMHB4J307XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHBhZGRpbmc6IDAuNWVtIDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IFVucmVhZE1hcmsgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICB0b3A6IC02cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIGJhY2tncm91bmQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuYWxlcnR9O1xuICBoZWlnaHQ6IDE4cHg7XG4gIHdpZHRoOiAxOHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuYFxuIl19 */"));
25
25
  export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
26
26
  target: "ebh5fga0"
27
27
  } : {
@@ -29,4 +29,4 @@ export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "
29
29
  label: "UnreadMark"
30
30
  })("position:absolute;display:flex;align-items:center;justify-content:center;top:-6px;left:10px;background:", ({
31
31
  theme
32
- }) => theme.primary5darker, ";height:18px;width:18px;border-radius:10px;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4Qm9DIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc1dyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcblxuICAmID4gc3ZnIHtcbiAgICBtYXJnaW4tbGVmdDogMC41ZW07XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IE5vdGlmaWNhdGlvbnNDb250ZW50ID0gc3R5bGVkLmRpdjx7ICRyYWRpdXM/OiBzdHJpbmcgfT5gXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gIHJpZ2h0OiAwO1xuICB0b3A6IDMwcHg7XG5cbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgd2lkdGg6IDMwMHB4O1xuICBib3JkZXI6IDFweCBzb2xpZCAjY2ZkOWVhO1xuXG4gIGJhY2tncm91bmQtY29sb3I6ICNmZmZmZmY7XG4gIGJveC1zaGFkb3c6IDAgMTBweCAxNXB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBib3JkZXItcmFkaXVzOiAkeyh7ICRyYWRpdXMgfSkgPT4gJHJhZGl1cyB8fCAnMTBweCd9O1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICBwYWRkaW5nOiAwLjVlbSAxZW07XG5gXG5cbmV4cG9ydCBjb25zdCBVbnJlYWRNYXJrID0gc3R5bGVkLmRpdmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgdG9wOiAtNnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnByaW1hcnk1ZGFya2VyfTtcbiAgaGVpZ2h0OiAxOHB4O1xuICB3aWR0aDogMThweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbiJdfQ== */"));
32
+ }) => theme.alert, ";height:18px;width:18px;border-radius:10px;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4Qm9DIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc1dyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcblxuICAmID4gc3ZnIHtcbiAgICBtYXJnaW4tbGVmdDogMC41ZW07XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IE5vdGlmaWNhdGlvbnNDb250ZW50ID0gc3R5bGVkLmRpdjx7ICRyYWRpdXM/OiBzdHJpbmcgfT5gXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gIHJpZ2h0OiAwO1xuICB0b3A6IDMwcHg7XG5cbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgd2lkdGg6IDMwMHB4O1xuICBib3JkZXI6IDFweCBzb2xpZCAjY2ZkOWVhO1xuXG4gIGJhY2tncm91bmQtY29sb3I6ICNmZmZmZmY7XG4gIGJveC1zaGFkb3c6IDAgMTBweCAxNXB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBib3JkZXItcmFkaXVzOiAkeyh7ICRyYWRpdXMgfSkgPT4gJHJhZGl1cyB8fCAnMTBweCd9O1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICBwYWRkaW5nOiAwLjVlbSAxZW07XG5gXG5cbmV4cG9ydCBjb25zdCBVbnJlYWRNYXJrID0gc3R5bGVkLmRpdmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgdG9wOiAtNnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLmFsZXJ0fTtcbiAgaGVpZ2h0OiAxOHB4O1xuICB3aWR0aDogMThweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbiJdfQ== */"));
@@ -2,8 +2,7 @@ import React from 'react';
2
2
  import { Sector } from 'recharts';
3
3
 
4
4
  /** Renders outer line on the pie chart */
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
6
  const ActiveShape = props => {
8
7
  const {
9
8
  cx,
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import { Meta } from '@storybook/react';
2
2
  import { LoadedType } from '../../shared/types/LoadedType';
3
- declare const _default;
3
+ declare const _default: Meta;
4
4
  export default _default;
5
5
  export declare const Default: {
6
6
  render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"PieChart.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PieChart/PieChart.stories.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;;AAE1D,wBAGS;AAUT,eAAO,MAAM,OAAO;oBACF,OAAO,yBAAyB,UAAU;;CAW3D,CAAA;AAED,eAAO,MAAM,aAAa;oBACR,OAAO,yBAAyB,UAAU;;CAU3D,CAAA;AAED,eAAO,MAAM,UAAU;oBACL,OAAO,yBAAyB,UAAU;;CAQ3D,CAAA;AAED,eAAO,MAAM,OAAO;oBACF,OAAO,yBAAyB,UAAU;;CAY3D,CAAA"}
1
+ {"version":3,"file":"PieChart.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PieChart/PieChart.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAGvC,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;wBAKrD,IAAI;AAHT,wBAGS;AAUT,eAAO,MAAM,OAAO;oBACF,OAAO,yBAAyB,UAAU;;CAW3D,CAAA;AAED,eAAO,MAAM,aAAa;oBACR,OAAO,yBAAyB,UAAU;;CAU3D,CAAA;AAED,eAAO,MAAM,UAAU;oBACL,OAAO,yBAAyB,UAAU;;CAQ3D,CAAA;AAED,eAAO,MAAM,OAAO;oBACF,OAAO,yBAAyB,UAAU;;CAY3D,CAAA"}
@@ -17,6 +17,8 @@ interface IProps extends Partial<Pie> {
17
17
  opacity?: number | undefined;
18
18
  /** Set function for active index from outside the component */
19
19
  onActiveChange?: (index: number | undefined) => void;
20
+ customMiddleText?: string;
21
+ customMiddleValue?: number;
20
22
  }
21
23
  interface ChartDataProps {
22
24
  /** Pie piece title */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PieChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAA;AACxE,OAAO,EAGL,GAAG,EAGJ,MAAM,UAAU,CAAA;AAMjB,UAAU,MAAO,SAAQ,OAAO,CAAC,GAAG,CAAC;IACnC,2DAA2D;IAC3D,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6FAA6F;IAC7F,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qDAAqD;IACrD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,+DAA+D;IAC/D,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;CACrD;AAED,UAAU,cAAc;IACtB,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA2F9B,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PieChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAA;AACxE,OAAO,EAGL,GAAG,EAGJ,MAAM,UAAU,CAAA;AAMjB,UAAU,MAAO,SAAQ,OAAO,CAAC,GAAG,CAAC;IACnC,2DAA2D;IAC3D,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6FAA6F;IAC7F,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qDAAqD;IACrD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,+DAA+D;IAC/D,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACpD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,UAAU,cAAc;IACtB,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmG9B,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -4,8 +4,7 @@ import { alpha } from '../../utils/alpha';
4
4
  import ActiveShape from './ActiveShape';
5
5
  import renderTextContent from './renderTextContent';
6
6
  import { PieChartWrapper } from './styles';
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
8
  const PieChart = ({
10
9
  width,
11
10
  height,
@@ -15,6 +14,8 @@ const PieChart = ({
15
14
  active,
16
15
  opacity,
17
16
  onActiveChange,
17
+ customMiddleText,
18
+ customMiddleValue,
18
19
  ...rest
19
20
  }) => {
20
21
  const [activeIndex, setActiveIndex] = useState();
@@ -37,6 +38,7 @@ const PieChart = ({
37
38
 
38
39
  /** Avoids re-renders by memoizing parameters */
39
40
  const calculateTitle = useMemo(() => {
41
+ if (customMiddleText) return customMiddleText;
40
42
  const activeItemTitle = activeIndex !== undefined ? data[activeIndex].title : defaultSubtitle;
41
43
  return subtitlePrefix ? `${subtitlePrefix} ${activeItemTitle?.toLocaleLowerCase()}` : activeItemTitle;
42
44
  }, [activeIndex, data, defaultSubtitle, subtitlePrefix]);
@@ -48,6 +50,7 @@ const PieChart = ({
48
50
  width: width,
49
51
  children: /*#__PURE__*/_jsx(ResponsiveContainer, {
50
52
  children: /*#__PURE__*/_jsx(Chart, {
53
+ "aria-label": "Pie chart",
51
54
  children: /*#__PURE__*/_jsxs(Pie, {
52
55
  isAnimationActive: false,
53
56
  data: data,
@@ -65,9 +68,11 @@ const PieChart = ({
65
68
  valueAccessor: () => {}
66
69
  // @ts-ignore
67
70
  ,
68
- content: renderTextContent(activeItemValue, calculateTitle)
71
+ content: renderTextContent(customMiddleValue || activeItemValue, calculateTitle)
69
72
  }), data.map((entry, index) => /*#__PURE__*/_jsx(Cell, {
70
- fill: hoverIndex === index || activeIndex === index ? entry.color : alpha(entry.color || '#000000', 70)
73
+ fill: hoverIndex === index || activeIndex === index ? entry.color : alpha(entry.color || '#000000', 70),
74
+ role: "presentation",
75
+ "aria-label": `${entry.title}: ${entry.value}`
71
76
  }, `cell-${index}`))]
72
77
  })
73
78
  })
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  /** Renders central text in the pie chart*/
3
- declare const renderTextContent: (num: number, title?: string | undefined) => (props: any) => React.JSX.Element;
3
+ declare const renderTextContent: (num: number, title?: string) => (props: any) => React.JSX.Element;
4
4
  export default renderTextContent;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/PieChart/renderTextContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,2CAA2C;AAC3C,QAAA,MAAM,iBAAiB,QAAS,MAAM,yCAA6B,GAAG,sBAkCrE,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/PieChart/renderTextContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,2CAA2C;AAC3C,QAAA,MAAM,iBAAiB,QAAS,MAAM,UAAU,MAAM,aAAa,GAAG,sBAyCrE,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -2,8 +2,7 @@ import React from 'react';
2
2
  import { TextContent } from '../styles';
3
3
 
4
4
  /** Renders central text in the pie chart*/
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
6
  const renderTextContent = (num, title) => props => {
8
7
  const {
9
8
  cx,
@@ -16,6 +15,8 @@ const renderTextContent = (num, title) => props => {
16
15
  y: cy,
17
16
  textAnchor: "middle",
18
17
  fill: fill,
18
+ role: "text",
19
+ "aria-label": `${title ? title : ''} ${num}`,
19
20
  children: [/*#__PURE__*/_jsx("tspan", {
20
21
  pointerEvents: "none",
21
22
  x: cx,
@@ -1,15 +1,14 @@
1
- /// <reference types="react" />
2
1
  interface IPieChartStyleProps {
3
2
  width?: string;
4
3
  height?: string;
5
4
  }
6
5
  export declare const TextContent: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
9
8
  }, import("react").SVGProps<SVGGElement>, {}>;
10
9
  export declare const PieChartWrapper: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  } & IPieChartStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
13
  export {};
15
14
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PieChart/styles.ts"],"names":[],"mappings":";AAGA,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,WAAW;;;6CAEvB,CAAA;AAED,eAAO,MAAM,eAAe;;;+HAK3B,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PieChart/styles.ts"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,WAAW;;eAUsO,WAAW;6CARxQ,CAAA;AAED,eAAO,MAAM,eAAe;;eAMkO,WAAW;+HADxQ,CAAA"}