@designsystem-se/af 35.4.1-beta.0 → 35.4.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1336) hide show
  1. package/components/digi-bar-chart.js +544 -456
  2. package/components/digi-calendar-datepicker.js +13 -13
  3. package/components/digi-calendar-week-view.js +3 -3
  4. package/components/digi-calendar.js +1 -1
  5. package/components/digi-chart-line.js +5 -5
  6. package/components/digi-code-block.js +1 -1
  7. package/components/digi-code-example.js +9 -9
  8. package/components/digi-code.js +1 -1
  9. package/components/digi-context-menu.js +5 -5
  10. package/components/digi-dialog.js +6 -6
  11. package/components/digi-expandable-accordion.js +3 -3
  12. package/components/digi-expandable-faq-item.js +6 -6
  13. package/components/digi-expandable-faq.js +2 -2
  14. package/components/digi-footer-card.js +1 -1
  15. package/components/digi-footer.js +4 -4
  16. package/components/digi-form-category-filter.js +4 -4
  17. package/components/digi-form-checkbox.js +1 -1
  18. package/components/digi-form-error-list.js +13 -13
  19. package/components/digi-form-fieldset.js +1 -1
  20. package/components/digi-form-file-upload.js +18 -18
  21. package/components/digi-form-filter.js +7 -7
  22. package/components/digi-form-input-search.js +9 -9
  23. package/components/digi-form-input.js +1 -1
  24. package/components/digi-form-label.js +1 -1
  25. package/components/digi-form-radiobutton.js +1 -1
  26. package/components/digi-form-radiogroup.js +2 -2
  27. package/components/digi-form-receipt.js +3 -3
  28. package/components/digi-form-select-filter.js +16 -16
  29. package/components/digi-form-select.js +1 -1
  30. package/components/digi-form-textarea.js +8 -8
  31. package/components/digi-form-validation-message.js +1 -1
  32. package/components/digi-header-avatar.js +3 -3
  33. package/components/digi-header-navigation-item.js +1 -1
  34. package/components/digi-header-navigation.js +7 -7
  35. package/components/digi-header-notification.js +2 -2
  36. package/components/digi-header.js +6 -6
  37. package/components/digi-icon-accessibility-deaf.js +2 -2
  38. package/components/digi-icon-accessibility-universal.js +2 -2
  39. package/components/digi-icon-apple.js +2 -2
  40. package/components/digi-icon-archive-outline.js +2 -2
  41. package/components/digi-icon-archive.js +2 -2
  42. package/components/digi-icon-arrow-back.js +2 -2
  43. package/components/digi-icon-arrow-down.js +2 -2
  44. package/components/digi-icon-arrow-left.js +2 -2
  45. package/components/digi-icon-arrow-right.js +1 -1
  46. package/components/digi-icon-arrow-sign-in.js +2 -2
  47. package/components/digi-icon-arrow-sign-out.js +2 -2
  48. package/components/digi-icon-arrow-up.js +2 -2
  49. package/components/digi-icon-at.js +2 -2
  50. package/components/digi-icon-bars.js +1 -1
  51. package/components/digi-icon-bell-filled.js +2 -2
  52. package/components/digi-icon-bell.js +2 -2
  53. package/components/digi-icon-book.js +2 -2
  54. package/components/digi-icon-bookmark-outline.js +2 -2
  55. package/components/digi-icon-bookmark-solid.js +2 -2
  56. package/components/digi-icon-bubble-ellipsis.js +2 -2
  57. package/components/digi-icon-bubble.js +2 -2
  58. package/components/digi-icon-building-outline.js +2 -2
  59. package/components/digi-icon-building-solid.js +2 -2
  60. package/components/digi-icon-bullseye.js +2 -2
  61. package/components/digi-icon-calculator-solid.js +2 -2
  62. package/components/digi-icon-calendar-alt-alert.js +2 -2
  63. package/components/digi-icon-calendar-alt.js +1 -1
  64. package/components/digi-icon-calendar.js +2 -2
  65. package/components/digi-icon-caret-circle-right.js +2 -2
  66. package/components/digi-icon-caret-down.js +1 -1
  67. package/components/digi-icon-caret-left.js +2 -2
  68. package/components/digi-icon-caret-right.js +2 -2
  69. package/components/digi-icon-caret-up.js +1 -1
  70. package/components/digi-icon-chart.js +1 -1
  71. package/components/digi-icon-chat.js +2 -2
  72. package/components/digi-icon-check-circle-reg-alt.js +2 -2
  73. package/components/digi-icon-check-circle-solid.js +1 -1
  74. package/components/digi-icon-check.js +1 -1
  75. package/components/digi-icon-checklist.js +2 -2
  76. package/components/digi-icon-chevron-down.js +1 -1
  77. package/components/digi-icon-chevron-left.js +1 -1
  78. package/components/digi-icon-chevron-right.js +1 -1
  79. package/components/digi-icon-chevron-up.js +2 -2
  80. package/components/digi-icon-clock.js +2 -2
  81. package/components/digi-icon-communication-play-solid.js +2 -2
  82. package/components/digi-icon-compress-alt.js +2 -2
  83. package/components/digi-icon-comunication-case.js +2 -2
  84. package/components/digi-icon-comunication-flag.js +2 -2
  85. package/components/digi-icon-comunication-graduate.js +2 -2
  86. package/components/digi-icon-comunication-play.js +2 -2
  87. package/components/digi-icon-cooperation.js +2 -2
  88. package/components/digi-icon-copy.js +1 -1
  89. package/components/digi-icon-danger-outline.js +2 -2
  90. package/components/digi-icon-download.js +2 -2
  91. package/components/digi-icon-dxa.js +2 -2
  92. package/components/digi-icon-edit.js +2 -2
  93. package/components/digi-icon-ellipsis.js +2 -2
  94. package/components/digi-icon-envelope-filled.js +2 -2
  95. package/components/digi-icon-envelope.js +2 -2
  96. package/components/digi-icon-exclamation-circle-filled.js +2 -2
  97. package/components/digi-icon-exclamation-triangle-filled.js +2 -2
  98. package/components/digi-icon-exclamation-triangle-warning.js +2 -2
  99. package/components/digi-icon-exclamation-triangle.js +2 -2
  100. package/components/digi-icon-expand-alt.js +2 -2
  101. package/components/digi-icon-external-link-alt.js +1 -1
  102. package/components/digi-icon-eye-slash.js +2 -2
  103. package/components/digi-icon-eye.js +2 -2
  104. package/components/digi-icon-facebook-square.js +2 -2
  105. package/components/digi-icon-file-add.js +1 -1
  106. package/components/digi-icon-file-document.js +2 -2
  107. package/components/digi-icon-file-excel.js +2 -2
  108. package/components/digi-icon-file-export.js +1 -1
  109. package/components/digi-icon-file-governing.js +2 -2
  110. package/components/digi-icon-file-pdf.js +2 -2
  111. package/components/digi-icon-file-powerpoint.js +2 -2
  112. package/components/digi-icon-file-remove.js +1 -1
  113. package/components/digi-icon-file-word.js +2 -2
  114. package/components/digi-icon-film.js +2 -2
  115. package/components/digi-icon-filter.js +2 -2
  116. package/components/digi-icon-folder-add.js +1 -1
  117. package/components/digi-icon-folder-directory.js +1 -1
  118. package/components/digi-icon-folder-open.js +1 -1
  119. package/components/digi-icon-folder.js +1 -1
  120. package/components/digi-icon-globe-filled.js +2 -2
  121. package/components/digi-icon-globe.js +2 -2
  122. package/components/digi-icon-headphones.js +2 -2
  123. package/components/digi-icon-heart-solid.js +2 -2
  124. package/components/digi-icon-heart.js +2 -2
  125. package/components/digi-icon-history.js +2 -2
  126. package/components/digi-icon-home.js +2 -2
  127. package/components/digi-icon-image.js +2 -2
  128. package/components/digi-icon-info-circle-solid.js +2 -2
  129. package/components/digi-icon-input-select-marker.js +1 -1
  130. package/components/digi-icon-instagram.js +2 -2
  131. package/components/digi-icon-job-suggestion.js +2 -2
  132. package/components/digi-icon-language-outline.js +2 -2
  133. package/components/digi-icon-language.js +2 -2
  134. package/components/digi-icon-laptop-phone.js +2 -2
  135. package/components/digi-icon-lattlast.js +2 -2
  136. package/components/digi-icon-licence-bus.js +2 -2
  137. package/components/digi-icon-licence-car.js +2 -2
  138. package/components/digi-icon-licence-motorcycle.js +2 -2
  139. package/components/digi-icon-licence-truck.js +2 -2
  140. package/components/digi-icon-lightbulb.js +2 -2
  141. package/components/digi-icon-linkedin-in.js +2 -2
  142. package/components/digi-icon-list-ul.js +1 -1
  143. package/components/digi-icon-lock.js +2 -2
  144. package/components/digi-icon-marker-filled.js +2 -2
  145. package/components/digi-icon-marker.js +2 -2
  146. package/components/digi-icon-media-course.js +2 -2
  147. package/components/digi-icon-media-podcast.js +2 -2
  148. package/components/digi-icon-microphone-off.js +2 -2
  149. package/components/digi-icon-microphone.js +2 -2
  150. package/components/digi-icon-minus.js +1 -1
  151. package/components/digi-icon-move.js +2 -2
  152. package/components/digi-icon-news.js +1 -1
  153. package/components/digi-icon-notification-error.js +1 -1
  154. package/components/digi-icon-notification-info.js +1 -1
  155. package/components/digi-icon-notification-succes.js +1 -1
  156. package/components/digi-icon-notification-warning.js +1 -1
  157. package/components/digi-icon-online-computervideo.js +1 -1
  158. package/components/digi-icon-online-interview.js +2 -2
  159. package/components/digi-icon-online-meeting.js +2 -2
  160. package/components/digi-icon-online-task.js +2 -2
  161. package/components/digi-icon-online-video.js +1 -1
  162. package/components/digi-icon-open-source.js +2 -2
  163. package/components/digi-icon-palette.js +2 -2
  164. package/components/digi-icon-paperclip.js +1 -1
  165. package/components/digi-icon-paste.js +1 -1
  166. package/components/digi-icon-pen.js +2 -2
  167. package/components/digi-icon-phone-hangup.js +2 -2
  168. package/components/digi-icon-phone.js +2 -2
  169. package/components/digi-icon-plus.js +1 -1
  170. package/components/digi-icon-pod.js +1 -1
  171. package/components/digi-icon-print.js +2 -2
  172. package/components/digi-icon-read.js +2 -2
  173. package/components/digi-icon-redo.js +2 -2
  174. package/components/digi-icon-scale.js +1 -1
  175. package/components/digi-icon-screensharing-off.js +2 -2
  176. package/components/digi-icon-screensharing.js +2 -2
  177. package/components/digi-icon-search.js +1 -1
  178. package/components/digi-icon-send-outline.js +2 -2
  179. package/components/digi-icon-send-solid.js +2 -2
  180. package/components/digi-icon-settings.js +2 -2
  181. package/components/digi-icon-share-alt.js +2 -2
  182. package/components/digi-icon-share-chain.js +2 -2
  183. package/components/digi-icon-sign.js +2 -2
  184. package/components/digi-icon-sliders-h.js +2 -2
  185. package/components/digi-icon-sokkandidat.js +2 -2
  186. package/components/digi-icon-sort-down.js +2 -2
  187. package/components/digi-icon-sort-up.js +2 -2
  188. package/components/digi-icon-sort.js +2 -2
  189. package/components/digi-icon-spinner.js +1 -1
  190. package/components/digi-icon-star-reg.js +2 -2
  191. package/components/digi-icon-star.js +2 -2
  192. package/components/digi-icon-suitcase-outline.js +2 -2
  193. package/components/digi-icon-suitcase-solid.js +2 -2
  194. package/components/digi-icon-system-assistance.js +2 -2
  195. package/components/digi-icon-table-column.js +2 -2
  196. package/components/digi-icon-table-row.js +2 -2
  197. package/components/digi-icon-table.js +1 -1
  198. package/components/digi-icon-task-done.js +2 -2
  199. package/components/digi-icon-toggle-off.js +2 -2
  200. package/components/digi-icon-toggle-on.js +2 -2
  201. package/components/digi-icon-trash.js +1 -1
  202. package/components/digi-icon-twitter.js +2 -2
  203. package/components/digi-icon-tyck-till.js +2 -2
  204. package/components/digi-icon-unlock.js +2 -2
  205. package/components/digi-icon-update.js +2 -2
  206. package/components/digi-icon-upload.js +2 -2
  207. package/components/digi-icon-user-add.js +1 -1
  208. package/components/digi-icon-user-alt.js +2 -2
  209. package/components/digi-icon-user-edit.js +1 -1
  210. package/components/digi-icon-users-solid.js +2 -2
  211. package/components/digi-icon-validation-error.js +1 -1
  212. package/components/digi-icon-validation-success.js +1 -1
  213. package/components/digi-icon-validation-warning.js +1 -1
  214. package/components/digi-icon-videocamera-off.js +2 -2
  215. package/components/digi-icon-videocamera.js +2 -2
  216. package/components/digi-icon-volume.js +2 -2
  217. package/components/digi-icon-web-tv.js +2 -2
  218. package/components/digi-icon-webinar.js +1 -1
  219. package/components/digi-icon-wifi-signal0.js +2 -2
  220. package/components/digi-icon-wifi-signal1.js +2 -2
  221. package/components/digi-icon-wifi-signal2.js +2 -2
  222. package/components/digi-icon-wifi-signal3.js +2 -2
  223. package/components/digi-icon-window.js +2 -2
  224. package/components/digi-icon-x-button-outline.js +1 -1
  225. package/components/digi-icon-x-button.js +2 -2
  226. package/components/digi-icon-x.js +1 -1
  227. package/components/digi-icon-youtube.js +2 -2
  228. package/components/digi-info-card-multi-container.js +2 -2
  229. package/components/digi-info-card-multi.js +11 -11
  230. package/components/digi-info-card.js +5 -5
  231. package/components/digi-layout-block.js +1 -1
  232. package/components/digi-layout-columns.js +1 -1
  233. package/components/digi-layout-container.js +1 -1
  234. package/components/digi-link-button.js +2 -2
  235. package/components/digi-link-external.js +1 -1
  236. package/components/digi-link-internal.js +1 -1
  237. package/components/digi-link.js +1 -1
  238. package/components/digi-list.js +3 -3
  239. package/components/digi-loader-skeleton.js +3 -3
  240. package/components/digi-loader-spinner.js +2 -2
  241. package/components/digi-logo.js +2 -2
  242. package/components/digi-media-figure.js +1 -1
  243. package/components/digi-media-image.js +1 -1
  244. package/components/digi-navigation-breadcrumbs.js +2 -2
  245. package/components/digi-navigation-pagination.js +10 -10
  246. package/components/digi-navigation-sidebar-button.js +1 -1
  247. package/components/digi-navigation-sidebar.js +5 -5
  248. package/components/digi-navigation-vertical-menu-item.js +8 -8
  249. package/components/digi-navigation-vertical-menu.js +1 -1
  250. package/components/digi-notification-alert.js +1 -1
  251. package/components/digi-notification-error-page.js +6 -6
  252. package/components/digi-progress-circle.js +10 -10
  253. package/components/digi-progress-indicator.js +6 -6
  254. package/components/digi-progress-list-item.js +8 -8
  255. package/components/digi-progress-list.js +2 -2
  256. package/components/digi-progressbar.js +2 -2
  257. package/components/digi-quote.js +3 -3
  258. package/components/digi-table.js +1 -1
  259. package/components/digi-tablist-panel.js +2 -2
  260. package/components/digi-tablist.js +7 -7
  261. package/components/digi-tag-media.js +1 -1
  262. package/components/digi-tag.js +2 -2
  263. package/components/digi-title-logo.js +1 -1
  264. package/components/digi-tools-feedback-banner.js +6 -6
  265. package/components/digi-tools-feedback-rating.js +7 -7
  266. package/components/digi-tools-feedback.js +3 -3
  267. package/components/digi-tools-theme-provider.js +1 -1
  268. package/components/digi-typography-heading-jumbo.js +1 -1
  269. package/components/digi-typography-meta.js +1 -1
  270. package/components/digi-typography-preamble.js +1 -1
  271. package/components/digi-typography-time.js +1 -1
  272. package/components/digi-typography.js +1 -1
  273. package/components/digi-util-breakpoint-observer.js +1 -1
  274. package/components/digi-util-detect-click-outside.js +1 -1
  275. package/components/digi-util-detect-focus-outside.js +1 -1
  276. package/components/digi-util-intersection-observer.js +1 -1
  277. package/components/digi-util-keydown-handler.js +1 -1
  278. package/components/digi-util-keyup-handler.js +1 -1
  279. package/components/digi-util-resize-observer.js +1 -1
  280. package/components/{p-6c7ff092.js → p-039ae2b0.js} +2 -2
  281. package/components/{p-d18dccc2.js → p-03c90546.js} +2 -2
  282. package/components/{p-f516f6d6.js → p-04d40c11.js} +2 -2
  283. package/components/{p-5c935094.js → p-05d1c086.js} +8 -8
  284. package/components/{p-71bad47e.js → p-0b4d2d83.js} +1 -1
  285. package/components/{p-2d8b68de.js → p-0c50c0de.js} +2 -2
  286. package/components/{p-6a652c1c.js → p-13f4d2ef.js} +2 -2
  287. package/components/{p-ad94e4f3.js → p-14ca5b70.js} +4 -4
  288. package/components/{p-a90980f7.js → p-1585a4be.js} +2 -2
  289. package/components/{p-6013f971.js → p-1a1da470.js} +2 -2
  290. package/components/{p-764c106c.js → p-204a12b0.js} +1 -1
  291. package/components/{p-d309b91a.js → p-21a5bc1b.js} +2 -2
  292. package/components/{p-b08505a8.js → p-21cd8c48.js} +2 -2
  293. package/components/{p-64a9f915.js → p-2889897c.js} +2 -2
  294. package/components/{p-300490fb.js → p-2e15f1c6.js} +2 -2
  295. package/components/{p-f147733f.js → p-346262e9.js} +2 -2
  296. package/components/{p-60394bdb.js → p-358d9f7f.js} +2 -2
  297. package/components/{p-95dc2a66.js → p-3592c644.js} +2 -2
  298. package/components/{p-b5523600.js → p-3a53c26b.js} +2 -2
  299. package/components/{p-fccc9322.js → p-3f7610aa.js} +3 -3
  300. package/components/{p-f9e6f45e.js → p-48c9d0f3.js} +2 -2
  301. package/components/{p-73c973fc.js → p-4be31ab9.js} +8 -8
  302. package/components/{p-f5e13d2e.js → p-5489de1a.js} +1 -1
  303. package/components/{p-61fe9d78.js → p-598345b2.js} +2 -2
  304. package/components/{p-372e42fa.js → p-5c41419e.js} +2 -2
  305. package/components/{p-965664d4.js → p-5d16bf8e.js} +10 -10
  306. package/components/{p-0e6bb1ce.js → p-5e2cf317.js} +2 -2
  307. package/components/{p-299871dc.js → p-6105626d.js} +2 -2
  308. package/components/{p-1440ff46.js → p-6e6c2153.js} +2 -2
  309. package/components/{p-bbaf1285.js → p-70a1e53a.js} +2 -2
  310. package/components/{p-15bbce60.js → p-71b44546.js} +1 -1
  311. package/components/{p-96a4c4dc.js → p-739fcdc7.js} +2 -2
  312. package/components/{p-d14fe54d.js → p-748dfa2c.js} +2 -2
  313. package/components/{p-127b0f7a.js → p-75973da5.js} +2 -2
  314. package/components/{p-9f12ac0c.js → p-83c08ea6.js} +8 -8
  315. package/components/{p-042282c9.js → p-85b6b337.js} +2 -2
  316. package/components/{p-2a0c0c78.js → p-92b68e77.js} +2 -2
  317. package/components/{p-291680dc.js → p-95536f3c.js} +2 -2
  318. package/components/{p-4caaef7a.js → p-a7a01d29.js} +2 -2
  319. package/components/{p-39021139.js → p-a88d72d7.js} +2 -2
  320. package/components/{p-ba757bc9.js → p-b0527d47.js} +3 -3
  321. package/components/{p-ab1d6ae3.js → p-b6b7ca97.js} +10 -10
  322. package/components/{p-3cbdeea5.js → p-b808953f.js} +1 -1
  323. package/components/{p-7492d61e.js → p-bc6e8aa7.js} +2 -2
  324. package/components/{p-f7fd3e36.js → p-beb92e80.js} +1 -1
  325. package/components/{p-cfa81e91.js → p-beda5948.js} +1 -1
  326. package/components/{p-6b275dc1.js → p-d1e931a6.js} +2 -2
  327. package/components/{p-82463cc2.js → p-d6e8ab86.js} +2 -2
  328. package/components/{p-9bcf4599.js → p-daa147ae.js} +2 -2
  329. package/components/{p-aed6db71.js → p-e048c005.js} +2 -2
  330. package/components/{p-82085ee1.js → p-e14ea3f3.js} +2 -2
  331. package/components/{p-cf527784.js → p-e22a938c.js} +2 -2
  332. package/components/{p-8a2e80d2.js → p-e7d6ed0f.js} +1 -1
  333. package/components/{p-364d38fc.js → p-ea3ca139.js} +2 -2
  334. package/components/{p-42c4e18d.js → p-ecf4d8ee.js} +1 -1
  335. package/components/{p-472bc7d3.js → p-f080d24e.js} +2 -2
  336. package/components/{p-c495f54e.js → p-f2dc2816.js} +2 -2
  337. package/components/{p-3ea21529.js → p-f3c0bfd0.js} +2 -2
  338. package/components/{p-b5b891f2.js → p-f3cfe620.js} +3 -3
  339. package/components/{p-4458129b.js → p-fade2a85.js} +2 -2
  340. package/components/{p-4437e1a8.js → p-fc39074d.js} +1 -1
  341. package/custom-elements.json +1 -1
  342. package/dist/cjs/digi-bar-chart_27.cjs.entry.js +581 -493
  343. package/dist/cjs/digi-calendar_2.cjs.entry.js +2 -2
  344. package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
  345. package/dist/cjs/digi-code-block_3.cjs.entry.js +4 -4
  346. package/dist/cjs/digi-code-example.cjs.entry.js +4 -4
  347. package/dist/cjs/digi-code.cjs.entry.js +1 -1
  348. package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
  349. package/dist/cjs/digi-dialog.cjs.entry.js +3 -3
  350. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
  351. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +4 -4
  352. package/dist/cjs/digi-expandable-faq.cjs.entry.js +2 -2
  353. package/dist/cjs/digi-footer-card.cjs.entry.js +1 -1
  354. package/dist/cjs/digi-footer.cjs.entry.js +1 -1
  355. package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
  356. package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
  357. package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -3
  358. package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
  359. package/dist/cjs/digi-form-filter.cjs.entry.js +5 -5
  360. package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -2
  361. package/dist/cjs/digi-form-input.cjs.entry.js +3 -3
  362. package/dist/cjs/digi-form-label_5.cjs.entry.js +8 -8
  363. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +2 -2
  364. package/dist/cjs/digi-form-receipt.cjs.entry.js +1 -1
  365. package/dist/cjs/digi-form-select-filter.cjs.entry.js +7 -7
  366. package/dist/cjs/digi-form-select_2.cjs.entry.js +6 -6
  367. package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
  368. package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +2 -2
  369. package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +2 -2
  370. package/dist/cjs/digi-icon-apple.cjs.entry.js +2 -2
  371. package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +2 -2
  372. package/dist/cjs/digi-icon-archive.cjs.entry.js +2 -2
  373. package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +2 -2
  374. package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +2 -2
  375. package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +2 -2
  376. package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +2 -2
  377. package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +2 -2
  378. package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +2 -2
  379. package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +2 -2
  380. package/dist/cjs/digi-icon-at.cjs.entry.js +2 -2
  381. package/dist/cjs/digi-icon-bell.cjs.entry.js +2 -2
  382. package/dist/cjs/digi-icon-book.cjs.entry.js +2 -2
  383. package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +2 -2
  384. package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +2 -2
  385. package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +2 -2
  386. package/dist/cjs/digi-icon-bubble.cjs.entry.js +2 -2
  387. package/dist/cjs/digi-icon-building-outline.cjs.entry.js +2 -2
  388. package/dist/cjs/digi-icon-building-solid.cjs.entry.js +2 -2
  389. package/dist/cjs/digi-icon-bullseye.cjs.entry.js +2 -2
  390. package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +2 -2
  391. package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +2 -2
  392. package/dist/cjs/digi-icon-calendar.cjs.entry.js +2 -2
  393. package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +2 -2
  394. package/dist/cjs/digi-icon-caret-left.cjs.entry.js +2 -2
  395. package/dist/cjs/digi-icon-caret-right.cjs.entry.js +2 -2
  396. package/dist/cjs/digi-icon-chat.cjs.entry.js +2 -2
  397. package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +2 -2
  398. package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +8 -8
  399. package/dist/cjs/digi-icon-check.cjs.entry.js +2 -2
  400. package/dist/cjs/digi-icon-checklist.cjs.entry.js +2 -2
  401. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +2 -2
  402. package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +2 -2
  403. package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +2 -2
  404. package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +2 -2
  405. package/dist/cjs/digi-icon-clock.cjs.entry.js +2 -2
  406. package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +2 -2
  407. package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +2 -2
  408. package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +2 -2
  409. package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +2 -2
  410. package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +2 -2
  411. package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +2 -2
  412. package/dist/cjs/digi-icon-cooperation.cjs.entry.js +2 -2
  413. package/dist/cjs/digi-icon-copy.cjs.entry.js +2 -2
  414. package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +2 -2
  415. package/dist/cjs/digi-icon-download.cjs.entry.js +2 -2
  416. package/dist/cjs/digi-icon-dxa.cjs.entry.js +2 -2
  417. package/dist/cjs/digi-icon-edit.cjs.entry.js +2 -2
  418. package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +2 -2
  419. package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +2 -2
  420. package/dist/cjs/digi-icon-envelope.cjs.entry.js +2 -2
  421. package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +2 -2
  422. package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +2 -2
  423. package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +2 -2
  424. package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +2 -2
  425. package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +2 -2
  426. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +3 -3
  427. package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +2 -2
  428. package/dist/cjs/digi-icon-eye.cjs.entry.js +2 -2
  429. package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +2 -2
  430. package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
  431. package/dist/cjs/digi-icon-file-document.cjs.entry.js +2 -2
  432. package/dist/cjs/digi-icon-file-excel.cjs.entry.js +2 -2
  433. package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
  434. package/dist/cjs/digi-icon-file-governing.cjs.entry.js +2 -2
  435. package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +2 -2
  436. package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +2 -2
  437. package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
  438. package/dist/cjs/digi-icon-file-word.cjs.entry.js +2 -2
  439. package/dist/cjs/digi-icon-film.cjs.entry.js +2 -2
  440. package/dist/cjs/digi-icon-filter.cjs.entry.js +2 -2
  441. package/dist/cjs/digi-icon-folder-add.cjs.entry.js +1 -1
  442. package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +1 -1
  443. package/dist/cjs/digi-icon-folder-open.cjs.entry.js +1 -1
  444. package/dist/cjs/digi-icon-folder.cjs.entry.js +1 -1
  445. package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +2 -2
  446. package/dist/cjs/digi-icon-globe.cjs.entry.js +2 -2
  447. package/dist/cjs/digi-icon-headphones.cjs.entry.js +2 -2
  448. package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +2 -2
  449. package/dist/cjs/digi-icon-heart.cjs.entry.js +2 -2
  450. package/dist/cjs/digi-icon-history.cjs.entry.js +2 -2
  451. package/dist/cjs/digi-icon-home.cjs.entry.js +2 -2
  452. package/dist/cjs/digi-icon-image.cjs.entry.js +2 -2
  453. package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +2 -2
  454. package/dist/cjs/digi-icon-instagram.cjs.entry.js +2 -2
  455. package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +2 -2
  456. package/dist/cjs/digi-icon-language-outline.cjs.entry.js +2 -2
  457. package/dist/cjs/digi-icon-language.cjs.entry.js +2 -2
  458. package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +2 -2
  459. package/dist/cjs/digi-icon-lattlast.cjs.entry.js +2 -2
  460. package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +2 -2
  461. package/dist/cjs/digi-icon-licence-car.cjs.entry.js +2 -2
  462. package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +2 -2
  463. package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +2 -2
  464. package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +2 -2
  465. package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +2 -2
  466. package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +12 -12
  467. package/dist/cjs/digi-icon-lock.cjs.entry.js +2 -2
  468. package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +2 -2
  469. package/dist/cjs/digi-icon-marker.cjs.entry.js +2 -2
  470. package/dist/cjs/digi-icon-media-course.cjs.entry.js +2 -2
  471. package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +2 -2
  472. package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +2 -2
  473. package/dist/cjs/digi-icon-microphone.cjs.entry.js +2 -2
  474. package/dist/cjs/digi-icon-move.cjs.entry.js +2 -2
  475. package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +8 -8
  476. package/dist/cjs/digi-icon-online-interview.cjs.entry.js +2 -2
  477. package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +2 -2
  478. package/dist/cjs/digi-icon-online-task.cjs.entry.js +2 -2
  479. package/dist/cjs/digi-icon-open-source.cjs.entry.js +2 -2
  480. package/dist/cjs/digi-icon-palette.cjs.entry.js +2 -2
  481. package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
  482. package/dist/cjs/digi-icon-pen.cjs.entry.js +2 -2
  483. package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +2 -2
  484. package/dist/cjs/digi-icon-phone.cjs.entry.js +2 -2
  485. package/dist/cjs/digi-icon-print.cjs.entry.js +2 -2
  486. package/dist/cjs/digi-icon-read.cjs.entry.js +2 -2
  487. package/dist/cjs/digi-icon-redo.cjs.entry.js +2 -2
  488. package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
  489. package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +2 -2
  490. package/dist/cjs/digi-icon-screensharing.cjs.entry.js +2 -2
  491. package/dist/cjs/digi-icon-search.cjs.entry.js +2 -2
  492. package/dist/cjs/digi-icon-send-outline.cjs.entry.js +2 -2
  493. package/dist/cjs/digi-icon-send-solid.cjs.entry.js +2 -2
  494. package/dist/cjs/digi-icon-settings.cjs.entry.js +2 -2
  495. package/dist/cjs/digi-icon-share-alt.cjs.entry.js +2 -2
  496. package/dist/cjs/digi-icon-share-chain.cjs.entry.js +2 -2
  497. package/dist/cjs/digi-icon-sign.cjs.entry.js +2 -2
  498. package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +2 -2
  499. package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +2 -2
  500. package/dist/cjs/digi-icon-sort-down.cjs.entry.js +2 -2
  501. package/dist/cjs/digi-icon-sort-up.cjs.entry.js +2 -2
  502. package/dist/cjs/digi-icon-sort.cjs.entry.js +2 -2
  503. package/dist/cjs/digi-icon-spinner.cjs.entry.js +2 -2
  504. package/dist/cjs/digi-icon-star-reg.cjs.entry.js +2 -2
  505. package/dist/cjs/digi-icon-star.cjs.entry.js +2 -2
  506. package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +2 -2
  507. package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +2 -2
  508. package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +2 -2
  509. package/dist/cjs/digi-icon-table-column.cjs.entry.js +2 -2
  510. package/dist/cjs/digi-icon-table-row.cjs.entry.js +2 -2
  511. package/dist/cjs/digi-icon-task-done.cjs.entry.js +2 -2
  512. package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +2 -2
  513. package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +2 -2
  514. package/dist/cjs/digi-icon-twitter.cjs.entry.js +2 -2
  515. package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +2 -2
  516. package/dist/cjs/digi-icon-unlock.cjs.entry.js +2 -2
  517. package/dist/cjs/digi-icon-update.cjs.entry.js +2 -2
  518. package/dist/cjs/digi-icon-upload.cjs.entry.js +2 -2
  519. package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
  520. package/dist/cjs/digi-icon-user-alt.cjs.entry.js +2 -2
  521. package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
  522. package/dist/cjs/digi-icon-users-solid.cjs.entry.js +2 -2
  523. package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +2 -2
  524. package/dist/cjs/digi-icon-videocamera.cjs.entry.js +2 -2
  525. package/dist/cjs/digi-icon-volume.cjs.entry.js +2 -2
  526. package/dist/cjs/digi-icon-web-tv.cjs.entry.js +2 -2
  527. package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +2 -2
  528. package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +2 -2
  529. package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +2 -2
  530. package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +2 -2
  531. package/dist/cjs/digi-icon-window.cjs.entry.js +2 -2
  532. package/dist/cjs/digi-icon-x-button.cjs.entry.js +2 -2
  533. package/dist/cjs/digi-icon-youtube.cjs.entry.js +2 -2
  534. package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +1 -1
  535. package/dist/cjs/digi-info-card-multi.cjs.entry.js +1 -1
  536. package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
  537. package/dist/cjs/digi-layout-columns.cjs.entry.js +1 -1
  538. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  539. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  540. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  541. package/dist/cjs/digi-list.cjs.entry.js +1 -1
  542. package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
  543. package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
  544. package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
  545. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +2 -2
  546. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +6 -6
  547. package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
  548. package/dist/cjs/digi-notification-alert.cjs.entry.js +2 -2
  549. package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -3
  550. package/dist/cjs/digi-progress-circle.cjs.entry.js +8 -8
  551. package/dist/cjs/digi-progress-indicator.cjs.entry.js +3 -3
  552. package/dist/cjs/digi-progress-list-item.cjs.entry.js +5 -5
  553. package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
  554. package/dist/cjs/digi-progressbar.cjs.entry.js +2 -2
  555. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  556. package/dist/cjs/digi-table.cjs.entry.js +1 -1
  557. package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
  558. package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
  559. package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
  560. package/dist/cjs/digi-tag.cjs.entry.js +1 -1
  561. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
  562. package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
  563. package/dist/cjs/digi-tools-feedback.cjs.entry.js +1 -1
  564. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +1 -1
  565. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +1 -1
  566. package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
  567. package/dist/cjs/digi-typography-preamble.cjs.entry.js +1 -1
  568. package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
  569. package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
  570. package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
  571. package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
  572. package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
  573. package/dist/collection/components/_chart/bar-chart/bar-chart.css +37 -28
  574. package/dist/collection/components/_chart/bar-chart/bar-chart.js +547 -459
  575. package/dist/collection/components/_chart/chart-line/chart-line.js +3 -3
  576. package/dist/collection/components/_chart/interfaces/line-chart-data.interface.js +1 -0
  577. package/dist/collection/components/_code/code/code.js +1 -1
  578. package/dist/collection/components/_code/code-block/code-block.js +1 -1
  579. package/dist/collection/components/_code/code-example/code-example.js +4 -4
  580. package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
  581. package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
  582. package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +2 -2
  583. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
  584. package/dist/collection/components/_footer/footer/footer.js +1 -1
  585. package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
  586. package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
  587. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
  588. package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
  589. package/dist/collection/components/_form/form-fieldset/form-fieldset.js +1 -1
  590. package/dist/collection/components/_form/form-file-upload/form-file-upload.js +7 -7
  591. package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
  592. package/dist/collection/components/_form/form-input/form-input.js +3 -3
  593. package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
  594. package/dist/collection/components/_form/form-label/form-label.js +1 -1
  595. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
  596. package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +2 -2
  597. package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
  598. package/dist/collection/components/_form/form-select/form-select.js +4 -4
  599. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
  600. package/dist/collection/components/_form/form-textarea/form-textarea.js +3 -3
  601. package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
  602. package/dist/collection/components/_header/header/header.js +1 -1
  603. package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
  604. package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
  605. package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
  606. package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
  607. package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
  608. package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
  609. package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
  610. package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
  611. package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
  612. package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
  613. package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
  614. package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
  615. package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
  616. package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
  617. package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
  618. package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
  619. package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
  620. package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
  621. package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
  622. package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
  623. package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
  624. package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
  625. package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
  626. package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
  627. package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
  628. package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
  629. package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
  630. package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
  631. package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
  632. package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
  633. package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
  634. package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
  635. package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
  636. package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
  637. package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
  638. package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
  639. package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
  640. package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
  641. package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
  642. package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
  643. package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
  644. package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
  645. package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
  646. package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
  647. package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
  648. package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
  649. package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
  650. package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
  651. package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
  652. package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
  653. package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
  654. package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
  655. package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
  656. package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
  657. package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
  658. package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
  659. package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
  660. package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
  661. package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
  662. package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
  663. package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
  664. package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
  665. package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
  666. package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
  667. package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
  668. package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
  669. package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
  670. package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
  671. package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
  672. package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
  673. package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
  674. package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
  675. package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
  676. package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
  677. package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
  678. package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
  679. package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
  680. package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
  681. package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
  682. package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
  683. package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
  684. package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
  685. package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
  686. package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
  687. package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
  688. package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
  689. package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
  690. package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
  691. package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
  692. package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
  693. package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
  694. package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
  695. package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
  696. package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
  697. package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
  698. package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
  699. package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
  700. package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
  701. package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
  702. package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
  703. package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
  704. package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
  705. package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
  706. package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
  707. package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
  708. package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
  709. package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
  710. package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
  711. package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
  712. package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
  713. package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
  714. package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
  715. package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
  716. package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
  717. package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
  718. package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
  719. package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
  720. package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
  721. package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
  722. package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
  723. package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
  724. package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
  725. package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
  726. package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
  727. package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
  728. package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
  729. package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
  730. package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
  731. package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
  732. package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
  733. package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
  734. package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
  735. package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
  736. package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
  737. package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
  738. package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
  739. package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
  740. package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
  741. package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
  742. package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
  743. package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
  744. package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
  745. package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
  746. package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
  747. package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
  748. package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
  749. package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
  750. package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
  751. package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
  752. package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
  753. package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
  754. package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
  755. package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
  756. package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
  757. package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
  758. package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
  759. package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
  760. package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
  761. package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
  762. package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
  763. package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
  764. package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
  765. package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
  766. package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
  767. package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
  768. package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
  769. package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
  770. package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
  771. package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
  772. package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
  773. package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
  774. package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
  775. package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
  776. package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
  777. package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
  778. package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
  779. package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
  780. package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
  781. package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
  782. package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
  783. package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
  784. package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
  785. package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
  786. package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
  787. package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
  788. package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
  789. package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
  790. package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
  791. package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
  792. package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
  793. package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
  794. package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
  795. package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
  796. package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
  797. package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
  798. package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
  799. package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
  800. package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
  801. package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
  802. package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
  803. package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
  804. package/dist/collection/components/_link/link/link.js +1 -1
  805. package/dist/collection/components/_link/link-button/link-button.js +1 -1
  806. package/dist/collection/components/_link/link-external/link-external.js +1 -1
  807. package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
  808. package/dist/collection/components/_list/list/list.js +1 -1
  809. package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
  810. package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
  811. package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
  812. package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
  813. package/dist/collection/components/_media/media-image/media-image.js +2 -2
  814. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
  815. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
  816. package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
  817. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
  818. package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
  819. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
  820. package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
  821. package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
  822. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
  823. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  824. package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
  825. package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
  826. package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
  827. package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
  828. package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
  829. package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
  830. package/dist/collection/components/_quote/quote/quote.js +1 -1
  831. package/dist/collection/components/_table/table/table.js +1 -1
  832. package/dist/collection/components/_tag/tag/tag.js +1 -1
  833. package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
  834. package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
  835. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
  836. package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
  837. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +1 -1
  838. package/dist/collection/components/_typography/typography/typography.js +1 -1
  839. package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
  840. package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
  841. package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
  842. package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
  843. package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
  844. package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
  845. package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
  846. package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
  847. package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
  848. package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
  849. package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
  850. package/dist/collection/design-tokens/components/_logo.variables.scss +16 -19
  851. package/dist/collection/interfaces.js +2 -2
  852. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  853. package/dist/digi-arbetsformedlingen/{p-20ef225a.entry.js → p-01bf3ad8.entry.js} +1 -1
  854. package/dist/digi-arbetsformedlingen/{p-1e2a9156.entry.js → p-0361e2a2.entry.js} +1 -1
  855. package/dist/digi-arbetsformedlingen/{p-2c7d4ecf.entry.js → p-0564bb24.entry.js} +1 -1
  856. package/dist/digi-arbetsformedlingen/{p-352712b9.entry.js → p-056a51ac.entry.js} +1 -1
  857. package/dist/digi-arbetsformedlingen/{p-56ca6c5c.entry.js → p-056d6d46.entry.js} +1 -1
  858. package/dist/digi-arbetsformedlingen/{p-9a73a55d.entry.js → p-064c939e.entry.js} +1 -1
  859. package/dist/digi-arbetsformedlingen/{p-7660ba5b.entry.js → p-077c4ce7.entry.js} +1 -1
  860. package/dist/digi-arbetsformedlingen/{p-fc945ec1.entry.js → p-07d588b9.entry.js} +1 -1
  861. package/dist/digi-arbetsformedlingen/{p-d146131e.entry.js → p-081d9429.entry.js} +1 -1
  862. package/dist/digi-arbetsformedlingen/{p-c70ba82f.entry.js → p-08f58a6e.entry.js} +1 -1
  863. package/dist/digi-arbetsformedlingen/{p-b7494943.entry.js → p-09906093.entry.js} +1 -1
  864. package/dist/digi-arbetsformedlingen/{p-34ef0baa.entry.js → p-09a77556.entry.js} +1 -1
  865. package/dist/digi-arbetsformedlingen/{p-f69dbfcf.entry.js → p-0ad9751e.entry.js} +1 -1
  866. package/dist/digi-arbetsformedlingen/{p-4b618926.entry.js → p-0ce866e5.entry.js} +1 -1
  867. package/dist/digi-arbetsformedlingen/{p-cd770cb4.entry.js → p-0cf7ecbc.entry.js} +1 -1
  868. package/dist/digi-arbetsformedlingen/{p-48113595.entry.js → p-0d2fbd96.entry.js} +1 -1
  869. package/dist/digi-arbetsformedlingen/{p-07b02fa8.entry.js → p-0e83f440.entry.js} +1 -1
  870. package/dist/digi-arbetsformedlingen/{p-bb554f34.entry.js → p-118de1ce.entry.js} +1 -1
  871. package/dist/digi-arbetsformedlingen/{p-905f3864.entry.js → p-124903f2.entry.js} +1 -1
  872. package/dist/digi-arbetsformedlingen/{p-76eb331e.entry.js → p-14c497e9.entry.js} +1 -1
  873. package/dist/digi-arbetsformedlingen/{p-83b3f053.entry.js → p-1567c7cf.entry.js} +1 -1
  874. package/dist/digi-arbetsformedlingen/{p-a5c387e8.entry.js → p-187a2bff.entry.js} +1 -1
  875. package/dist/digi-arbetsformedlingen/{p-6a33818a.entry.js → p-1934f440.entry.js} +1 -1
  876. package/dist/digi-arbetsformedlingen/{p-4788712e.entry.js → p-1da9c71e.entry.js} +1 -1
  877. package/dist/digi-arbetsformedlingen/{p-fc252a02.entry.js → p-1debc9e3.entry.js} +1 -1
  878. package/dist/digi-arbetsformedlingen/{p-b63e0b2d.entry.js → p-1e7003b3.entry.js} +1 -1
  879. package/dist/digi-arbetsformedlingen/{p-9a7e195c.entry.js → p-1f96ae50.entry.js} +1 -1
  880. package/dist/digi-arbetsformedlingen/{p-ad471fd2.entry.js → p-207287dc.entry.js} +1 -1
  881. package/dist/digi-arbetsformedlingen/{p-2412deb9.entry.js → p-21a46b7b.entry.js} +1 -1
  882. package/dist/digi-arbetsformedlingen/{p-0c210491.entry.js → p-22dceb50.entry.js} +1 -1
  883. package/dist/digi-arbetsformedlingen/{p-82634b60.entry.js → p-257b435c.entry.js} +1 -1
  884. package/dist/digi-arbetsformedlingen/{p-d7cdbe75.entry.js → p-271cc7ea.entry.js} +1 -1
  885. package/dist/digi-arbetsformedlingen/{p-df2038b9.entry.js → p-28209746.entry.js} +1 -1
  886. package/dist/digi-arbetsformedlingen/{p-658aa433.entry.js → p-29a1c40f.entry.js} +1 -1
  887. package/dist/digi-arbetsformedlingen/{p-8355c75d.entry.js → p-2b0eba50.entry.js} +1 -1
  888. package/dist/digi-arbetsformedlingen/{p-4477f14c.entry.js → p-2b43163d.entry.js} +1 -1
  889. package/dist/digi-arbetsformedlingen/{p-0052b03c.entry.js → p-2be7c13e.entry.js} +1 -1
  890. package/dist/digi-arbetsformedlingen/{p-0e634a09.entry.js → p-2d3383dd.entry.js} +1 -1
  891. package/dist/digi-arbetsformedlingen/{p-218b829e.entry.js → p-2e7b66bf.entry.js} +1 -1
  892. package/dist/digi-arbetsformedlingen/{p-1fcbbf5f.entry.js → p-2f797f49.entry.js} +1 -1
  893. package/dist/digi-arbetsformedlingen/{p-a98df65c.entry.js → p-31cead89.entry.js} +1 -1
  894. package/dist/digi-arbetsformedlingen/{p-2aa3ed49.entry.js → p-31d496fe.entry.js} +1 -1
  895. package/dist/digi-arbetsformedlingen/{p-4c69c234.entry.js → p-32baaef3.entry.js} +1 -1
  896. package/dist/digi-arbetsformedlingen/{p-80a77b6e.entry.js → p-389c82d2.entry.js} +1 -1
  897. package/dist/digi-arbetsformedlingen/{p-11b5ab8d.entry.js → p-3a66b1ea.entry.js} +1 -1
  898. package/dist/digi-arbetsformedlingen/{p-9789b001.entry.js → p-3ad168dc.entry.js} +1 -1
  899. package/dist/digi-arbetsformedlingen/{p-e627abeb.entry.js → p-3bcccf75.entry.js} +1 -1
  900. package/dist/digi-arbetsformedlingen/{p-4871b74a.entry.js → p-3bf5a52f.entry.js} +1 -1
  901. package/dist/digi-arbetsformedlingen/{p-0a904539.entry.js → p-3dd60944.entry.js} +1 -1
  902. package/dist/digi-arbetsformedlingen/{p-edfdf8e9.entry.js → p-3ee18966.entry.js} +1 -1
  903. package/dist/digi-arbetsformedlingen/{p-c917502e.entry.js → p-3f62e3cc.entry.js} +1 -1
  904. package/dist/digi-arbetsformedlingen/{p-8d3cb15a.entry.js → p-402ed96b.entry.js} +1 -1
  905. package/dist/digi-arbetsformedlingen/{p-3c28625a.entry.js → p-4058160e.entry.js} +1 -1
  906. package/dist/digi-arbetsformedlingen/{p-27be8d2b.entry.js → p-421db079.entry.js} +1 -1
  907. package/dist/digi-arbetsformedlingen/{p-a0267f76.entry.js → p-4319225d.entry.js} +1 -1
  908. package/dist/digi-arbetsformedlingen/{p-f6476365.entry.js → p-43837437.entry.js} +1 -1
  909. package/dist/digi-arbetsformedlingen/{p-7d597755.entry.js → p-43cfc8f6.entry.js} +1 -1
  910. package/dist/digi-arbetsformedlingen/p-450c58fb.entry.js +1 -0
  911. package/dist/digi-arbetsformedlingen/{p-a439e93f.entry.js → p-45af6173.entry.js} +1 -1
  912. package/dist/digi-arbetsformedlingen/{p-21653bf9.entry.js → p-46443861.entry.js} +1 -1
  913. package/dist/digi-arbetsformedlingen/{p-58f76475.entry.js → p-471da06a.entry.js} +1 -1
  914. package/dist/digi-arbetsformedlingen/{p-38603899.entry.js → p-47876094.entry.js} +1 -1
  915. package/dist/digi-arbetsformedlingen/{p-b48f2acd.entry.js → p-4a3f6ae6.entry.js} +1 -1
  916. package/dist/digi-arbetsformedlingen/{p-1cc801fd.entry.js → p-4b44a657.entry.js} +1 -1
  917. package/dist/digi-arbetsformedlingen/{p-83269fe6.entry.js → p-4b801f40.entry.js} +1 -1
  918. package/dist/digi-arbetsformedlingen/{p-ce8d2455.entry.js → p-4d08605b.entry.js} +1 -1
  919. package/dist/digi-arbetsformedlingen/{p-4f6b2e2a.entry.js → p-505d0668.entry.js} +1 -1
  920. package/dist/digi-arbetsformedlingen/{p-1241d74a.entry.js → p-50a66237.entry.js} +1 -1
  921. package/dist/digi-arbetsformedlingen/{p-a1ae9863.entry.js → p-51470297.entry.js} +1 -1
  922. package/dist/digi-arbetsformedlingen/{p-5456a3bc.entry.js → p-51ea79ee.entry.js} +1 -1
  923. package/dist/digi-arbetsformedlingen/p-52cdbf49.entry.js +1 -0
  924. package/dist/digi-arbetsformedlingen/{p-63148e09.entry.js → p-52d1fbdf.entry.js} +1 -1
  925. package/dist/digi-arbetsformedlingen/{p-d1a77b0b.entry.js → p-53a6acbe.entry.js} +1 -1
  926. package/dist/digi-arbetsformedlingen/{p-2f57b446.entry.js → p-557f59d9.entry.js} +1 -1
  927. package/dist/digi-arbetsformedlingen/{p-dcaa4461.entry.js → p-58774bdd.entry.js} +1 -1
  928. package/dist/digi-arbetsformedlingen/{p-a7361f39.entry.js → p-58b3f403.entry.js} +1 -1
  929. package/dist/digi-arbetsformedlingen/{p-5a08f170.entry.js → p-58dd2feb.entry.js} +1 -1
  930. package/dist/digi-arbetsformedlingen/{p-7e6d699e.entry.js → p-5920fda5.entry.js} +1 -1
  931. package/dist/digi-arbetsformedlingen/{p-e10e24fc.entry.js → p-599d0718.entry.js} +1 -1
  932. package/dist/digi-arbetsformedlingen/{p-45af5d55.entry.js → p-59a2dea9.entry.js} +1 -1
  933. package/dist/digi-arbetsformedlingen/{p-99e4bd13.entry.js → p-5d25b4a2.entry.js} +1 -1
  934. package/dist/digi-arbetsformedlingen/{p-37459590.entry.js → p-5dc96f65.entry.js} +1 -1
  935. package/dist/digi-arbetsformedlingen/{p-0ac9f348.entry.js → p-5dcafc83.entry.js} +1 -1
  936. package/dist/digi-arbetsformedlingen/{p-9fe345d1.entry.js → p-5e38aa9d.entry.js} +1 -1
  937. package/dist/digi-arbetsformedlingen/{p-8b88c952.entry.js → p-5e87079c.entry.js} +1 -1
  938. package/dist/digi-arbetsformedlingen/{p-5d0ffc80.entry.js → p-5f8b4cd7.entry.js} +1 -1
  939. package/dist/digi-arbetsformedlingen/{p-36229058.entry.js → p-60f2ae82.entry.js} +1 -1
  940. package/dist/digi-arbetsformedlingen/{p-1a21de52.entry.js → p-61113be3.entry.js} +1 -1
  941. package/dist/digi-arbetsformedlingen/p-628437a4.entry.js +1 -0
  942. package/dist/digi-arbetsformedlingen/{p-56cb2ded.entry.js → p-63afb8fa.entry.js} +1 -1
  943. package/dist/digi-arbetsformedlingen/{p-e69d2e1c.entry.js → p-641d21cc.entry.js} +1 -1
  944. package/dist/digi-arbetsformedlingen/{p-5ac3d7a9.entry.js → p-64809ce2.entry.js} +1 -1
  945. package/dist/digi-arbetsformedlingen/{p-40f5fda7.entry.js → p-6544b13d.entry.js} +1 -1
  946. package/dist/digi-arbetsformedlingen/{p-c30a3366.entry.js → p-65edd9ce.entry.js} +1 -1
  947. package/dist/digi-arbetsformedlingen/{p-1bd29b6a.entry.js → p-690cd894.entry.js} +1 -1
  948. package/dist/digi-arbetsformedlingen/{p-5473bfea.entry.js → p-69a504c4.entry.js} +1 -1
  949. package/dist/digi-arbetsformedlingen/{p-57dd2b38.entry.js → p-69abaca6.entry.js} +1 -1
  950. package/dist/digi-arbetsformedlingen/{p-8328e58b.entry.js → p-6bc5f5e0.entry.js} +1 -1
  951. package/dist/digi-arbetsformedlingen/{p-5503d5be.entry.js → p-72296348.entry.js} +1 -1
  952. package/dist/digi-arbetsformedlingen/{p-89566597.entry.js → p-72a9f3f0.entry.js} +1 -1
  953. package/dist/digi-arbetsformedlingen/{p-044b32d7.entry.js → p-730f71a8.entry.js} +1 -1
  954. package/dist/digi-arbetsformedlingen/{p-c721f99a.entry.js → p-7762d2cc.entry.js} +1 -1
  955. package/dist/digi-arbetsformedlingen/{p-61385dc4.entry.js → p-7a1fb0c3.entry.js} +1 -1
  956. package/dist/digi-arbetsformedlingen/{p-bb0935fc.entry.js → p-7a25d31e.entry.js} +1 -1
  957. package/dist/digi-arbetsformedlingen/{p-16b8d192.entry.js → p-7bc9c1c7.entry.js} +1 -1
  958. package/dist/digi-arbetsformedlingen/{p-c4cf1215.entry.js → p-7f4b20e3.entry.js} +1 -1
  959. package/dist/digi-arbetsformedlingen/{p-e917904e.entry.js → p-802a5b46.entry.js} +1 -1
  960. package/dist/digi-arbetsformedlingen/{p-5d30475d.entry.js → p-8122646c.entry.js} +1 -1
  961. package/dist/digi-arbetsformedlingen/{p-af4b851e.entry.js → p-81e2dacd.entry.js} +1 -1
  962. package/dist/digi-arbetsformedlingen/{p-d0a8fa77.entry.js → p-82794386.entry.js} +1 -1
  963. package/dist/digi-arbetsformedlingen/{p-b32df740.entry.js → p-86cd6f83.entry.js} +1 -1
  964. package/dist/digi-arbetsformedlingen/{p-649c30ed.entry.js → p-87b568b2.entry.js} +1 -1
  965. package/dist/digi-arbetsformedlingen/{p-3212807d.entry.js → p-87eddfbe.entry.js} +1 -1
  966. package/dist/digi-arbetsformedlingen/{p-1dc8b284.entry.js → p-88ebf872.entry.js} +1 -1
  967. package/dist/digi-arbetsformedlingen/{p-676ab6ef.entry.js → p-8b8d7c93.entry.js} +1 -1
  968. package/dist/digi-arbetsformedlingen/{p-51c9cc1a.entry.js → p-8c0e86f4.entry.js} +1 -1
  969. package/dist/digi-arbetsformedlingen/{p-a9bfc5bd.entry.js → p-90026fe6.entry.js} +1 -1
  970. package/dist/digi-arbetsformedlingen/{p-33425742.entry.js → p-906e723e.entry.js} +1 -1
  971. package/dist/digi-arbetsformedlingen/{p-b10a1760.entry.js → p-91f23f8e.entry.js} +1 -1
  972. package/dist/digi-arbetsformedlingen/{p-8ef4cf4a.entry.js → p-92cbf4fa.entry.js} +1 -1
  973. package/dist/digi-arbetsformedlingen/{p-c8257c8c.entry.js → p-9325f966.entry.js} +1 -1
  974. package/dist/digi-arbetsformedlingen/{p-16303afa.entry.js → p-94110ab3.entry.js} +1 -1
  975. package/dist/digi-arbetsformedlingen/{p-4bb41707.entry.js → p-94e21fe5.entry.js} +1 -1
  976. package/dist/digi-arbetsformedlingen/p-95a880bc.entry.js +1 -0
  977. package/dist/digi-arbetsformedlingen/{p-f6b2d484.entry.js → p-95d16f4f.entry.js} +1 -1
  978. package/dist/digi-arbetsformedlingen/{p-e8fd0aed.entry.js → p-964278e5.entry.js} +1 -1
  979. package/dist/digi-arbetsformedlingen/p-970324c7.entry.js +1 -0
  980. package/dist/digi-arbetsformedlingen/{p-4224f1e4.entry.js → p-980ed378.entry.js} +1 -1
  981. package/dist/digi-arbetsformedlingen/{p-c81d1d0b.entry.js → p-988bc7d7.entry.js} +1 -1
  982. package/dist/digi-arbetsformedlingen/{p-7474d7b0.entry.js → p-9a802b7f.entry.js} +1 -1
  983. package/dist/digi-arbetsformedlingen/{p-27388bc4.entry.js → p-9b4786b1.entry.js} +1 -1
  984. package/dist/digi-arbetsformedlingen/{p-bab6f184.entry.js → p-9be08233.entry.js} +1 -1
  985. package/dist/digi-arbetsformedlingen/{p-9ea535e1.entry.js → p-9db4749b.entry.js} +1 -1
  986. package/dist/digi-arbetsformedlingen/{p-c566cef3.entry.js → p-9e1693bf.entry.js} +1 -1
  987. package/dist/digi-arbetsformedlingen/{p-5ee51a86.entry.js → p-9eb8d626.entry.js} +1 -1
  988. package/dist/digi-arbetsformedlingen/{p-db7c2105.entry.js → p-9fcb6c29.entry.js} +1 -1
  989. package/dist/digi-arbetsformedlingen/{p-9f03b573.entry.js → p-a0bbf554.entry.js} +1 -1
  990. package/dist/digi-arbetsformedlingen/p-a1d723c7.entry.js +1 -0
  991. package/dist/digi-arbetsformedlingen/{p-d2a12b86.entry.js → p-a1f7262e.entry.js} +1 -1
  992. package/dist/digi-arbetsformedlingen/{p-66483a84.entry.js → p-a2c2af60.entry.js} +1 -1
  993. package/dist/digi-arbetsformedlingen/{p-6e925e52.entry.js → p-a3feba97.entry.js} +1 -1
  994. package/dist/digi-arbetsformedlingen/{p-cdbfa3d0.entry.js → p-a40a2cfb.entry.js} +1 -1
  995. package/dist/digi-arbetsformedlingen/{p-588fe3b5.entry.js → p-a42c7b62.entry.js} +1 -1
  996. package/dist/digi-arbetsformedlingen/{p-b734218c.entry.js → p-a619cf85.entry.js} +1 -1
  997. package/dist/digi-arbetsformedlingen/{p-cab53989.entry.js → p-a6aa5829.entry.js} +1 -1
  998. package/dist/digi-arbetsformedlingen/{p-5e37e5aa.entry.js → p-a797690b.entry.js} +1 -1
  999. package/dist/digi-arbetsformedlingen/{p-c92e206b.entry.js → p-a913d408.entry.js} +1 -1
  1000. package/dist/digi-arbetsformedlingen/{p-592fd6a9.entry.js → p-ab8fb809.entry.js} +1 -1
  1001. package/dist/digi-arbetsformedlingen/{p-eeec1cf1.entry.js → p-ade1e805.entry.js} +1 -1
  1002. package/dist/digi-arbetsformedlingen/{p-b81e0aec.entry.js → p-b02206fd.entry.js} +1 -1
  1003. package/dist/digi-arbetsformedlingen/{p-de1e9254.entry.js → p-b0458215.entry.js} +1 -1
  1004. package/dist/digi-arbetsformedlingen/{p-3ae60edc.entry.js → p-b1a9c2fb.entry.js} +1 -1
  1005. package/dist/digi-arbetsformedlingen/{p-1e03ba21.entry.js → p-b1c9b7c9.entry.js} +1 -1
  1006. package/dist/digi-arbetsformedlingen/{p-9cf50217.entry.js → p-b2b270b8.entry.js} +1 -1
  1007. package/dist/digi-arbetsformedlingen/{p-6de493b0.entry.js → p-b3eb7b70.entry.js} +1 -1
  1008. package/dist/digi-arbetsformedlingen/{p-fe235598.entry.js → p-b67f9461.entry.js} +1 -1
  1009. package/dist/digi-arbetsformedlingen/{p-bb1daa3b.entry.js → p-b80828d4.entry.js} +1 -1
  1010. package/dist/digi-arbetsformedlingen/{p-73f6209d.entry.js → p-b8c5b457.entry.js} +1 -1
  1011. package/dist/digi-arbetsformedlingen/{p-87721a1f.entry.js → p-b963c8d3.entry.js} +1 -1
  1012. package/dist/digi-arbetsformedlingen/{p-8318562f.entry.js → p-bb980b9f.entry.js} +1 -1
  1013. package/dist/digi-arbetsformedlingen/{p-f2eb8ee5.entry.js → p-bc017492.entry.js} +1 -1
  1014. package/dist/digi-arbetsformedlingen/{p-780b30f6.entry.js → p-bccbb035.entry.js} +1 -1
  1015. package/dist/digi-arbetsformedlingen/{p-8fa46692.entry.js → p-bcf9aac2.entry.js} +1 -1
  1016. package/dist/digi-arbetsformedlingen/{p-53483e1d.entry.js → p-bd1024f6.entry.js} +1 -1
  1017. package/dist/digi-arbetsformedlingen/{p-baac6e73.entry.js → p-bdb34478.entry.js} +1 -1
  1018. package/dist/digi-arbetsformedlingen/{p-cfad003c.entry.js → p-be749fc0.entry.js} +1 -1
  1019. package/dist/digi-arbetsformedlingen/{p-c8751075.entry.js → p-be8b2f3b.entry.js} +1 -1
  1020. package/dist/digi-arbetsformedlingen/p-bee6cf1e.entry.js +1 -0
  1021. package/dist/digi-arbetsformedlingen/{p-07513ee6.entry.js → p-bef79399.entry.js} +1 -1
  1022. package/dist/digi-arbetsformedlingen/{p-01df63d6.entry.js → p-bf7b0303.entry.js} +1 -1
  1023. package/dist/digi-arbetsformedlingen/{p-726a0b56.entry.js → p-c09c9322.entry.js} +1 -1
  1024. package/dist/digi-arbetsformedlingen/{p-815a97f1.entry.js → p-c0bba648.entry.js} +1 -1
  1025. package/dist/digi-arbetsformedlingen/{p-43a43f09.entry.js → p-c10498fe.entry.js} +1 -1
  1026. package/dist/digi-arbetsformedlingen/{p-f9315403.entry.js → p-c1d6e124.entry.js} +1 -1
  1027. package/dist/digi-arbetsformedlingen/{p-a884ccf8.entry.js → p-c273397c.entry.js} +1 -1
  1028. package/dist/digi-arbetsformedlingen/{p-18006927.entry.js → p-c2fd82d0.entry.js} +1 -1
  1029. package/dist/digi-arbetsformedlingen/p-c3e0c1dd.entry.js +1 -0
  1030. package/dist/digi-arbetsformedlingen/{p-ba39e14b.entry.js → p-c596aac5.entry.js} +1 -1
  1031. package/dist/digi-arbetsformedlingen/{p-9d15493f.entry.js → p-c6a031ec.entry.js} +1 -1
  1032. package/dist/digi-arbetsformedlingen/{p-9763005c.entry.js → p-c7bfc24d.entry.js} +1 -1
  1033. package/dist/digi-arbetsformedlingen/{p-3e126f89.entry.js → p-c924ccab.entry.js} +1 -1
  1034. package/dist/digi-arbetsformedlingen/{p-9e4a0fe4.entry.js → p-ce6f3f0c.entry.js} +1 -1
  1035. package/dist/digi-arbetsformedlingen/{p-b924bb0b.entry.js → p-ce8b2664.entry.js} +1 -1
  1036. package/dist/digi-arbetsformedlingen/{p-16dd9b3f.entry.js → p-cfe0c858.entry.js} +1 -1
  1037. package/dist/digi-arbetsformedlingen/{p-2ffd9c4c.entry.js → p-d2543b7d.entry.js} +1 -1
  1038. package/dist/digi-arbetsformedlingen/{p-d46b426b.entry.js → p-d3e444da.entry.js} +1 -1
  1039. package/dist/digi-arbetsformedlingen/p-d5bb52b0.entry.js +1 -0
  1040. package/dist/digi-arbetsformedlingen/{p-7d54fe81.entry.js → p-d60e6377.entry.js} +1 -1
  1041. package/dist/digi-arbetsformedlingen/{p-4fe05e2f.entry.js → p-d94a3918.entry.js} +1 -1
  1042. package/dist/digi-arbetsformedlingen/{p-a6a0a040.entry.js → p-d9b00653.entry.js} +1 -1
  1043. package/dist/digi-arbetsformedlingen/{p-49aeb019.entry.js → p-da9aac78.entry.js} +1 -1
  1044. package/dist/digi-arbetsformedlingen/{p-e55d3abf.entry.js → p-db4d42a7.entry.js} +1 -1
  1045. package/dist/digi-arbetsformedlingen/{p-5b01d3e2.entry.js → p-dc35ac0d.entry.js} +1 -1
  1046. package/dist/digi-arbetsformedlingen/{p-93ec0277.entry.js → p-dcdf1e46.entry.js} +1 -1
  1047. package/dist/digi-arbetsformedlingen/{p-014044a7.entry.js → p-dceca2fa.entry.js} +1 -1
  1048. package/dist/digi-arbetsformedlingen/{p-9045d5ff.entry.js → p-dddc341e.entry.js} +1 -1
  1049. package/dist/digi-arbetsformedlingen/{p-a67b4609.entry.js → p-de32edc5.entry.js} +1 -1
  1050. package/dist/digi-arbetsformedlingen/{p-90bc53dc.entry.js → p-df04a0a9.entry.js} +1 -1
  1051. package/dist/digi-arbetsformedlingen/{p-60989dea.entry.js → p-e03f981e.entry.js} +1 -1
  1052. package/dist/digi-arbetsformedlingen/{p-d5376b7c.entry.js → p-e2031ddc.entry.js} +1 -1
  1053. package/dist/digi-arbetsformedlingen/{p-01c29a14.entry.js → p-e3f1d8e0.entry.js} +1 -1
  1054. package/dist/digi-arbetsformedlingen/{p-d2799e99.entry.js → p-e422f88e.entry.js} +1 -1
  1055. package/dist/digi-arbetsformedlingen/{p-293ea71f.entry.js → p-e43b30d8.entry.js} +1 -1
  1056. package/dist/digi-arbetsformedlingen/{p-3eb4faff.entry.js → p-e4923428.entry.js} +1 -1
  1057. package/dist/digi-arbetsformedlingen/{p-2196c33b.entry.js → p-e518d25b.entry.js} +1 -1
  1058. package/dist/digi-arbetsformedlingen/{p-5acaf4b0.entry.js → p-e5755cec.entry.js} +1 -1
  1059. package/dist/digi-arbetsformedlingen/{p-4b5edc89.entry.js → p-e5da1893.entry.js} +1 -1
  1060. package/dist/digi-arbetsformedlingen/{p-77ea6604.entry.js → p-e61b6fc6.entry.js} +1 -1
  1061. package/dist/digi-arbetsformedlingen/{p-ef9a3ddc.entry.js → p-e69ad396.entry.js} +1 -1
  1062. package/dist/digi-arbetsformedlingen/{p-8e16d36a.entry.js → p-e7270a99.entry.js} +1 -1
  1063. package/dist/digi-arbetsformedlingen/p-e7e38b64.entry.js +1 -0
  1064. package/dist/digi-arbetsformedlingen/{p-a947fa52.entry.js → p-e92e7779.entry.js} +1 -1
  1065. package/dist/digi-arbetsformedlingen/{p-4e2e1902.entry.js → p-eb166d2d.entry.js} +1 -1
  1066. package/dist/digi-arbetsformedlingen/{p-4eb58cf9.entry.js → p-ebfa36da.entry.js} +1 -1
  1067. package/dist/digi-arbetsformedlingen/{p-accb56da.entry.js → p-ec5e06ff.entry.js} +1 -1
  1068. package/dist/digi-arbetsformedlingen/{p-a4895704.entry.js → p-ed001874.entry.js} +1 -1
  1069. package/dist/digi-arbetsformedlingen/{p-c168c84a.entry.js → p-ee24f4dd.entry.js} +1 -1
  1070. package/dist/digi-arbetsformedlingen/{p-39604e43.entry.js → p-f0b889b5.entry.js} +1 -1
  1071. package/dist/digi-arbetsformedlingen/{p-099b1bac.entry.js → p-f124bfc7.entry.js} +1 -1
  1072. package/dist/digi-arbetsformedlingen/{p-ccd18e1a.entry.js → p-f3642357.entry.js} +1 -1
  1073. package/dist/digi-arbetsformedlingen/{p-664de70c.entry.js → p-f5e195f7.entry.js} +1 -1
  1074. package/dist/digi-arbetsformedlingen/{p-f7628391.entry.js → p-f7b51ba9.entry.js} +1 -1
  1075. package/dist/digi-arbetsformedlingen/{p-8473e21b.entry.js → p-f834ecf8.entry.js} +1 -1
  1076. package/dist/digi-arbetsformedlingen/{p-0bc366fb.entry.js → p-f896c941.entry.js} +1 -1
  1077. package/dist/digi-arbetsformedlingen/{p-804cb867.entry.js → p-f8ab294b.entry.js} +1 -1
  1078. package/dist/digi-arbetsformedlingen/{p-9df20034.entry.js → p-f8dd7a43.entry.js} +1 -1
  1079. package/dist/digi-arbetsformedlingen/{p-9495044c.entry.js → p-f9b7f9f0.entry.js} +1 -1
  1080. package/dist/digi-arbetsformedlingen/{p-5aae7437.entry.js → p-fab53686.entry.js} +1 -1
  1081. package/dist/digi-arbetsformedlingen/{p-69010d14.entry.js → p-fb2f9c4c.entry.js} +1 -1
  1082. package/dist/digi-arbetsformedlingen/{p-2062e63b.entry.js → p-fdc1f600.entry.js} +1 -1
  1083. package/dist/digi-arbetsformedlingen/{p-b21e9c0a.entry.js → p-fe646f75.entry.js} +1 -1
  1084. package/dist/esm/digi-bar-chart_27.entry.js +581 -493
  1085. package/dist/esm/digi-calendar_2.entry.js +2 -2
  1086. package/dist/esm/digi-chart-line.entry.js +1 -1
  1087. package/dist/esm/digi-code-block_3.entry.js +4 -4
  1088. package/dist/esm/digi-code-example.entry.js +4 -4
  1089. package/dist/esm/digi-code.entry.js +1 -1
  1090. package/dist/esm/digi-context-menu.entry.js +3 -3
  1091. package/dist/esm/digi-dialog.entry.js +3 -3
  1092. package/dist/esm/digi-expandable-accordion.entry.js +1 -1
  1093. package/dist/esm/digi-expandable-faq-item.entry.js +4 -4
  1094. package/dist/esm/digi-expandable-faq.entry.js +2 -2
  1095. package/dist/esm/digi-footer-card.entry.js +1 -1
  1096. package/dist/esm/digi-footer.entry.js +1 -1
  1097. package/dist/esm/digi-form-category-filter.entry.js +2 -2
  1098. package/dist/esm/digi-form-checkbox.entry.js +2 -2
  1099. package/dist/esm/digi-form-error-list.entry.js +3 -3
  1100. package/dist/esm/digi-form-file-upload.entry.js +7 -7
  1101. package/dist/esm/digi-form-filter.entry.js +5 -5
  1102. package/dist/esm/digi-form-input-search.entry.js +2 -2
  1103. package/dist/esm/digi-form-input.entry.js +3 -3
  1104. package/dist/esm/digi-form-label_5.entry.js +8 -8
  1105. package/dist/esm/digi-form-radiogroup.entry.js +2 -2
  1106. package/dist/esm/digi-form-receipt.entry.js +1 -1
  1107. package/dist/esm/digi-form-select-filter.entry.js +7 -7
  1108. package/dist/esm/digi-form-select_2.entry.js +6 -6
  1109. package/dist/esm/digi-form-textarea.entry.js +3 -3
  1110. package/dist/esm/digi-icon-accessibility-deaf.entry.js +2 -2
  1111. package/dist/esm/digi-icon-accessibility-universal.entry.js +2 -2
  1112. package/dist/esm/digi-icon-apple.entry.js +2 -2
  1113. package/dist/esm/digi-icon-archive-outline.entry.js +2 -2
  1114. package/dist/esm/digi-icon-archive.entry.js +2 -2
  1115. package/dist/esm/digi-icon-arrow-back.entry.js +2 -2
  1116. package/dist/esm/digi-icon-arrow-down.entry.js +2 -2
  1117. package/dist/esm/digi-icon-arrow-left.entry.js +2 -2
  1118. package/dist/esm/digi-icon-arrow-right.entry.js +2 -2
  1119. package/dist/esm/digi-icon-arrow-sign-in.entry.js +2 -2
  1120. package/dist/esm/digi-icon-arrow-sign-out.entry.js +2 -2
  1121. package/dist/esm/digi-icon-arrow-up.entry.js +2 -2
  1122. package/dist/esm/digi-icon-at.entry.js +2 -2
  1123. package/dist/esm/digi-icon-bell.entry.js +2 -2
  1124. package/dist/esm/digi-icon-book.entry.js +2 -2
  1125. package/dist/esm/digi-icon-bookmark-outline.entry.js +2 -2
  1126. package/dist/esm/digi-icon-bookmark-solid.entry.js +2 -2
  1127. package/dist/esm/digi-icon-bubble-ellipsis.entry.js +2 -2
  1128. package/dist/esm/digi-icon-bubble.entry.js +2 -2
  1129. package/dist/esm/digi-icon-building-outline.entry.js +2 -2
  1130. package/dist/esm/digi-icon-building-solid.entry.js +2 -2
  1131. package/dist/esm/digi-icon-bullseye.entry.js +2 -2
  1132. package/dist/esm/digi-icon-calculator-solid.entry.js +2 -2
  1133. package/dist/esm/digi-icon-calendar-alt-alert.entry.js +2 -2
  1134. package/dist/esm/digi-icon-calendar.entry.js +2 -2
  1135. package/dist/esm/digi-icon-caret-circle-right.entry.js +2 -2
  1136. package/dist/esm/digi-icon-caret-left.entry.js +2 -2
  1137. package/dist/esm/digi-icon-caret-right.entry.js +2 -2
  1138. package/dist/esm/digi-icon-chat.entry.js +2 -2
  1139. package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +2 -2
  1140. package/dist/esm/digi-icon-check-circle-solid_4.entry.js +8 -8
  1141. package/dist/esm/digi-icon-check.entry.js +2 -2
  1142. package/dist/esm/digi-icon-checklist.entry.js +2 -2
  1143. package/dist/esm/digi-icon-chevron-down.entry.js +2 -2
  1144. package/dist/esm/digi-icon-chevron-left.entry.js +2 -2
  1145. package/dist/esm/digi-icon-chevron-right.entry.js +2 -2
  1146. package/dist/esm/digi-icon-chevron-up.entry.js +2 -2
  1147. package/dist/esm/digi-icon-clock.entry.js +2 -2
  1148. package/dist/esm/digi-icon-communication-play-solid.entry.js +2 -2
  1149. package/dist/esm/digi-icon-compress-alt.entry.js +2 -2
  1150. package/dist/esm/digi-icon-comunication-case.entry.js +2 -2
  1151. package/dist/esm/digi-icon-comunication-flag.entry.js +2 -2
  1152. package/dist/esm/digi-icon-comunication-graduate.entry.js +2 -2
  1153. package/dist/esm/digi-icon-comunication-play.entry.js +2 -2
  1154. package/dist/esm/digi-icon-cooperation.entry.js +2 -2
  1155. package/dist/esm/digi-icon-copy.entry.js +2 -2
  1156. package/dist/esm/digi-icon-danger-outline.entry.js +2 -2
  1157. package/dist/esm/digi-icon-download.entry.js +2 -2
  1158. package/dist/esm/digi-icon-dxa.entry.js +2 -2
  1159. package/dist/esm/digi-icon-edit.entry.js +2 -2
  1160. package/dist/esm/digi-icon-ellipsis.entry.js +2 -2
  1161. package/dist/esm/digi-icon-envelope-filled.entry.js +2 -2
  1162. package/dist/esm/digi-icon-envelope.entry.js +2 -2
  1163. package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +2 -2
  1164. package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +2 -2
  1165. package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +2 -2
  1166. package/dist/esm/digi-icon-exclamation-triangle.entry.js +2 -2
  1167. package/dist/esm/digi-icon-expand-alt.entry.js +2 -2
  1168. package/dist/esm/digi-icon-external-link-alt_2.entry.js +3 -3
  1169. package/dist/esm/digi-icon-eye-slash.entry.js +2 -2
  1170. package/dist/esm/digi-icon-eye.entry.js +2 -2
  1171. package/dist/esm/digi-icon-facebook-square.entry.js +2 -2
  1172. package/dist/esm/digi-icon-file-add.entry.js +1 -1
  1173. package/dist/esm/digi-icon-file-document.entry.js +2 -2
  1174. package/dist/esm/digi-icon-file-excel.entry.js +2 -2
  1175. package/dist/esm/digi-icon-file-export.entry.js +1 -1
  1176. package/dist/esm/digi-icon-file-governing.entry.js +2 -2
  1177. package/dist/esm/digi-icon-file-pdf.entry.js +2 -2
  1178. package/dist/esm/digi-icon-file-powerpoint.entry.js +2 -2
  1179. package/dist/esm/digi-icon-file-remove.entry.js +1 -1
  1180. package/dist/esm/digi-icon-file-word.entry.js +2 -2
  1181. package/dist/esm/digi-icon-film.entry.js +2 -2
  1182. package/dist/esm/digi-icon-filter.entry.js +2 -2
  1183. package/dist/esm/digi-icon-folder-add.entry.js +1 -1
  1184. package/dist/esm/digi-icon-folder-directory.entry.js +1 -1
  1185. package/dist/esm/digi-icon-folder-open.entry.js +1 -1
  1186. package/dist/esm/digi-icon-folder.entry.js +1 -1
  1187. package/dist/esm/digi-icon-globe-filled.entry.js +2 -2
  1188. package/dist/esm/digi-icon-globe.entry.js +2 -2
  1189. package/dist/esm/digi-icon-headphones.entry.js +2 -2
  1190. package/dist/esm/digi-icon-heart-solid.entry.js +2 -2
  1191. package/dist/esm/digi-icon-heart.entry.js +2 -2
  1192. package/dist/esm/digi-icon-history.entry.js +2 -2
  1193. package/dist/esm/digi-icon-home.entry.js +2 -2
  1194. package/dist/esm/digi-icon-image.entry.js +2 -2
  1195. package/dist/esm/digi-icon-info-circle-solid.entry.js +2 -2
  1196. package/dist/esm/digi-icon-instagram.entry.js +2 -2
  1197. package/dist/esm/digi-icon-job-suggestion.entry.js +2 -2
  1198. package/dist/esm/digi-icon-language-outline.entry.js +2 -2
  1199. package/dist/esm/digi-icon-language.entry.js +2 -2
  1200. package/dist/esm/digi-icon-laptop-phone.entry.js +2 -2
  1201. package/dist/esm/digi-icon-lattlast.entry.js +2 -2
  1202. package/dist/esm/digi-icon-licence-bus.entry.js +2 -2
  1203. package/dist/esm/digi-icon-licence-car.entry.js +2 -2
  1204. package/dist/esm/digi-icon-licence-motorcycle.entry.js +2 -2
  1205. package/dist/esm/digi-icon-licence-truck.entry.js +2 -2
  1206. package/dist/esm/digi-icon-lightbulb.entry.js +2 -2
  1207. package/dist/esm/digi-icon-linkedin-in.entry.js +2 -2
  1208. package/dist/esm/digi-icon-list-ul_6.entry.js +12 -12
  1209. package/dist/esm/digi-icon-lock.entry.js +2 -2
  1210. package/dist/esm/digi-icon-marker-filled.entry.js +2 -2
  1211. package/dist/esm/digi-icon-marker.entry.js +2 -2
  1212. package/dist/esm/digi-icon-media-course.entry.js +2 -2
  1213. package/dist/esm/digi-icon-media-podcast.entry.js +2 -2
  1214. package/dist/esm/digi-icon-microphone-off.entry.js +2 -2
  1215. package/dist/esm/digi-icon-microphone.entry.js +2 -2
  1216. package/dist/esm/digi-icon-move.entry.js +2 -2
  1217. package/dist/esm/digi-icon-notification-error_4.entry.js +8 -8
  1218. package/dist/esm/digi-icon-online-interview.entry.js +2 -2
  1219. package/dist/esm/digi-icon-online-meeting.entry.js +2 -2
  1220. package/dist/esm/digi-icon-online-task.entry.js +2 -2
  1221. package/dist/esm/digi-icon-open-source.entry.js +2 -2
  1222. package/dist/esm/digi-icon-palette.entry.js +2 -2
  1223. package/dist/esm/digi-icon-paste.entry.js +1 -1
  1224. package/dist/esm/digi-icon-pen.entry.js +2 -2
  1225. package/dist/esm/digi-icon-phone-hangup.entry.js +2 -2
  1226. package/dist/esm/digi-icon-phone.entry.js +2 -2
  1227. package/dist/esm/digi-icon-print.entry.js +2 -2
  1228. package/dist/esm/digi-icon-read.entry.js +2 -2
  1229. package/dist/esm/digi-icon-redo.entry.js +2 -2
  1230. package/dist/esm/digi-icon-scale.entry.js +1 -1
  1231. package/dist/esm/digi-icon-screensharing-off.entry.js +2 -2
  1232. package/dist/esm/digi-icon-screensharing.entry.js +2 -2
  1233. package/dist/esm/digi-icon-search.entry.js +2 -2
  1234. package/dist/esm/digi-icon-send-outline.entry.js +2 -2
  1235. package/dist/esm/digi-icon-send-solid.entry.js +2 -2
  1236. package/dist/esm/digi-icon-settings.entry.js +2 -2
  1237. package/dist/esm/digi-icon-share-alt.entry.js +2 -2
  1238. package/dist/esm/digi-icon-share-chain.entry.js +2 -2
  1239. package/dist/esm/digi-icon-sign.entry.js +2 -2
  1240. package/dist/esm/digi-icon-sliders-h.entry.js +2 -2
  1241. package/dist/esm/digi-icon-sokkandidat.entry.js +2 -2
  1242. package/dist/esm/digi-icon-sort-down.entry.js +2 -2
  1243. package/dist/esm/digi-icon-sort-up.entry.js +2 -2
  1244. package/dist/esm/digi-icon-sort.entry.js +2 -2
  1245. package/dist/esm/digi-icon-spinner.entry.js +2 -2
  1246. package/dist/esm/digi-icon-star-reg.entry.js +2 -2
  1247. package/dist/esm/digi-icon-star.entry.js +2 -2
  1248. package/dist/esm/digi-icon-suitcase-outline.entry.js +2 -2
  1249. package/dist/esm/digi-icon-suitcase-solid.entry.js +2 -2
  1250. package/dist/esm/digi-icon-system-assistance.entry.js +2 -2
  1251. package/dist/esm/digi-icon-table-column.entry.js +2 -2
  1252. package/dist/esm/digi-icon-table-row.entry.js +2 -2
  1253. package/dist/esm/digi-icon-task-done.entry.js +2 -2
  1254. package/dist/esm/digi-icon-toggle-off.entry.js +2 -2
  1255. package/dist/esm/digi-icon-toggle-on.entry.js +2 -2
  1256. package/dist/esm/digi-icon-twitter.entry.js +2 -2
  1257. package/dist/esm/digi-icon-tyck-till.entry.js +2 -2
  1258. package/dist/esm/digi-icon-unlock.entry.js +2 -2
  1259. package/dist/esm/digi-icon-update.entry.js +2 -2
  1260. package/dist/esm/digi-icon-upload.entry.js +2 -2
  1261. package/dist/esm/digi-icon-user-add.entry.js +1 -1
  1262. package/dist/esm/digi-icon-user-alt.entry.js +2 -2
  1263. package/dist/esm/digi-icon-user-edit.entry.js +1 -1
  1264. package/dist/esm/digi-icon-users-solid.entry.js +2 -2
  1265. package/dist/esm/digi-icon-videocamera-off.entry.js +2 -2
  1266. package/dist/esm/digi-icon-videocamera.entry.js +2 -2
  1267. package/dist/esm/digi-icon-volume.entry.js +2 -2
  1268. package/dist/esm/digi-icon-web-tv.entry.js +2 -2
  1269. package/dist/esm/digi-icon-wifi-signal0.entry.js +2 -2
  1270. package/dist/esm/digi-icon-wifi-signal1.entry.js +2 -2
  1271. package/dist/esm/digi-icon-wifi-signal2.entry.js +2 -2
  1272. package/dist/esm/digi-icon-wifi-signal3.entry.js +2 -2
  1273. package/dist/esm/digi-icon-window.entry.js +2 -2
  1274. package/dist/esm/digi-icon-x-button.entry.js +2 -2
  1275. package/dist/esm/digi-icon-youtube.entry.js +2 -2
  1276. package/dist/esm/digi-info-card-multi-container.entry.js +1 -1
  1277. package/dist/esm/digi-info-card-multi.entry.js +1 -1
  1278. package/dist/esm/digi-info-card.entry.js +1 -1
  1279. package/dist/esm/digi-layout-columns.entry.js +1 -1
  1280. package/dist/esm/digi-link-button.entry.js +1 -1
  1281. package/dist/esm/digi-link-internal.entry.js +1 -1
  1282. package/dist/esm/digi-link.entry.js +1 -1
  1283. package/dist/esm/digi-list.entry.js +1 -1
  1284. package/dist/esm/digi-loader-skeleton.entry.js +3 -3
  1285. package/dist/esm/digi-loader-spinner.entry.js +1 -1
  1286. package/dist/esm/digi-media-figure.entry.js +1 -1
  1287. package/dist/esm/digi-navigation-breadcrumbs.entry.js +2 -2
  1288. package/dist/esm/digi-navigation-pagination.entry.js +6 -6
  1289. package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
  1290. package/dist/esm/digi-notification-alert.entry.js +2 -2
  1291. package/dist/esm/digi-notification-error-page.entry.js +3 -3
  1292. package/dist/esm/digi-progress-circle.entry.js +8 -8
  1293. package/dist/esm/digi-progress-indicator.entry.js +3 -3
  1294. package/dist/esm/digi-progress-list-item.entry.js +5 -5
  1295. package/dist/esm/digi-progress-list.entry.js +1 -1
  1296. package/dist/esm/digi-progressbar.entry.js +2 -2
  1297. package/dist/esm/digi-quote.entry.js +1 -1
  1298. package/dist/esm/digi-table.entry.js +1 -1
  1299. package/dist/esm/digi-tablist-panel.entry.js +2 -2
  1300. package/dist/esm/digi-tablist.entry.js +5 -5
  1301. package/dist/esm/digi-tag-media.entry.js +2 -2
  1302. package/dist/esm/digi-tag.entry.js +1 -1
  1303. package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
  1304. package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
  1305. package/dist/esm/digi-tools-feedback.entry.js +1 -1
  1306. package/dist/esm/digi-tools-theme-provider.entry.js +1 -1
  1307. package/dist/esm/digi-typography-heading-jumbo.entry.js +1 -1
  1308. package/dist/esm/digi-typography-meta.entry.js +1 -1
  1309. package/dist/esm/digi-typography-preamble.entry.js +1 -1
  1310. package/dist/esm/digi-typography-time.entry.js +1 -1
  1311. package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
  1312. package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
  1313. package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
  1314. package/dist/esm/digi-util-resize-observer.entry.js +1 -1
  1315. package/dist/types/components/_chart/bar-chart/bar-chart.d.ts +46 -41
  1316. package/dist/types/components/_chart/chart-line/chart-line.d.ts +1 -1
  1317. package/dist/types/components/_chart/interfaces/bar-chart-data.interface.d.ts +23 -0
  1318. package/dist/types/components/_chart/{chart-line/chart-line-series.interface.d.ts → interfaces/chart-data-series.interface.d.ts} +1 -1
  1319. package/dist/types/components/_chart/{chart-line/chart-line-data.interface.d.ts → interfaces/line-chart-data.interface.d.ts} +2 -2
  1320. package/dist/types/components.d.ts +8 -6
  1321. package/dist/types/interfaces.d.ts +2 -2
  1322. package/hydrate/index.js +1074 -986
  1323. package/hydrate/index.mjs +1074 -986
  1324. package/package.json +1 -1
  1325. package/dist/digi-arbetsformedlingen/p-18ffcb24.entry.js +0 -1
  1326. package/dist/digi-arbetsformedlingen/p-222a2b41.entry.js +0 -1
  1327. package/dist/digi-arbetsformedlingen/p-37377041.entry.js +0 -1
  1328. package/dist/digi-arbetsformedlingen/p-431baa4e.entry.js +0 -1
  1329. package/dist/digi-arbetsformedlingen/p-4df8b9e1.entry.js +0 -1
  1330. package/dist/digi-arbetsformedlingen/p-7393b76b.entry.js +0 -1
  1331. package/dist/digi-arbetsformedlingen/p-a7d97546.entry.js +0 -1
  1332. package/dist/digi-arbetsformedlingen/p-d4d2b1a5.entry.js +0 -1
  1333. package/dist/digi-arbetsformedlingen/p-ea09368a.entry.js +0 -1
  1334. package/dist/digi-arbetsformedlingen/p-f70535e3.entry.js +0 -1
  1335. /package/dist/collection/components/_chart/{chart-line/chart-line-data.interface.js → interfaces/bar-chart-data.interface.js} +0 -0
  1336. /package/dist/collection/components/_chart/{chart-line/chart-line-series.interface.js → interfaces/chart-data-series.interface.js} +0 -0
@@ -4,12 +4,12 @@ import { _ as _t } from './p-08cf2c0e.js';
4
4
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
5
5
  import { B as BarChartVariation } from './p-dcdffb3c.js';
6
6
  import { d as defineCustomElement$8 } from './p-e8fc33ed.js';
7
- import { d as defineCustomElement$7 } from './p-300490fb.js';
8
- import { d as defineCustomElement$6 } from './p-f147733f.js';
9
- import { d as defineCustomElement$5 } from './p-b5523600.js';
10
- import { d as defineCustomElement$4 } from './p-bbaf1285.js';
11
- import { d as defineCustomElement$3 } from './p-0e6bb1ce.js';
12
- import { d as defineCustomElement$2 } from './p-764c106c.js';
7
+ import { d as defineCustomElement$7 } from './p-2e15f1c6.js';
8
+ import { d as defineCustomElement$6 } from './p-346262e9.js';
9
+ import { d as defineCustomElement$5 } from './p-3a53c26b.js';
10
+ import { d as defineCustomElement$4 } from './p-70a1e53a.js';
11
+ import { d as defineCustomElement$3 } from './p-5e2cf317.js';
12
+ import { d as defineCustomElement$2 } from './p-204a12b0.js';
13
13
 
14
14
  function band() {
15
15
  var scale = ordinal().unknown(undefined),
@@ -91,7 +91,7 @@ function band() {
91
91
  return initRange.apply(rescale(), arguments);
92
92
  }
93
93
 
94
- const barChartCss = ".sc-digi-bar-chart-h .digi-bar-chart.sc-digi-bar-chart{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart,.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart .digi-typography.sc-digi-bar-chart{display:flex;flex-direction:column;gap:0.75rem}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart{margin-bottom:0.75rem}.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart{--MARGIN--HEADING-2:0;--MARGIN--HEADING-3:0;--MARGIN--HEADING-4:0;--MARGIN--HEADING-5:0;--MARGIN--HEADING-6:0}.sc-digi-bar-chart-h .buttonWrapper.sc-digi-bar-chart{--digi--button--padding--medium:4px 4px 0.8125rem 0}.sc-digi-bar-chart-h .chartTooltip.sc-digi-bar-chart{box-sizing:border-box;position:absolute;background-color:rgba(250, 250, 250, 0.98);color:black;padding:5px 10px;padding-right:5px;border-radius:4px;display:flex;flex-direction:row;align-items:flex-start;box-shadow:rgba(60, 64, 67, 0.4) 0px 1px 2px 0px, rgba(60, 64, 67, 0.2) 0px 2px 6px 2px;font-size:0.875rem;display:none}.sc-digi-bar-chart-h .close.sc-digi-bar-chart{--digi--icon--color:black;cursor:pointer;margin-top:-5px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar{height:10px;width:10px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar-track,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar-track{background:whitesmoke;border-radius:4px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar-thumb,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar-thumb{background-color:lightgray;border-radius:4px;border:0}.sc-digi-bar-chart-h .scChartStatus.sc-digi-bar-chart{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-bar-chart-h .table.sc-digi-bar-chart{display:none;overflow-y:scroll;height:fit-content;border-radius:4px;padding:0.25rem;background:linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;background-repeat:no-repeat;background-size:100% 40px, 100% 40px, 100% 14px, 100% 14px;background-attachment:local, local, scroll, scroll}";
94
+ const barChartCss = ".sc-digi-bar-chart-h{width:100%;display:flex;flex-direction:column;min-width:0}.sc-digi-bar-chart-h .digi-bar-chart.sc-digi-bar-chart{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-bar-chart-h .svgWrap.sc-digi-bar-chart{position:relative;display:flex;width:100%;height:100%}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart,.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart .digi-typography.sc-digi-bar-chart{display:flex;flex-direction:column;gap:0.75rem}.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart{--MARGIN--HEADING-2:0;--MARGIN--HEADING-3:0;--MARGIN--HEADING-4:0;--MARGIN--HEADING-5:0;--MARGIN--HEADING-6:0}.sc-digi-bar-chart-h .buttonWrapper.sc-digi-bar-chart{--digi--button--padding--medium:4px 4px 0.8125rem 0}.sc-digi-bar-chart-h .chartTooltip.sc-digi-bar-chart{top:-5px;position:absolute;background-color:var(--digi--color--background--primary);color:black;padding:5px 10px;padding-right:5px;border-radius:4px;display:block;width:max-content;white-space:nowrap;filter:drop-shadow(rgba(0, 0, 0, 0.8) 0px 0px 1px);font-size:0.875rem}.sc-digi-bar-chart-h .tooltipBody.sc-digi-bar-chart{display:inline-block}.sc-digi-bar-chart-h .close.sc-digi-bar-chart{display:inline-block;vertical-align:top;--digi--color--icon--primary:#333;cursor:pointer}.sc-digi-bar-chart-h .legendWrap.sc-digi-bar-chart{display:grid}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart{display:flex;flex-direction:row;gap:1rem;min-width:0;overflow-x:auto;scrollbar-gutter:stable}.sc-digi-bar-chart-h .caret.sc-digi-bar-chart{--digi--icon--color:var(--digi--color--background--primary)}.sc-digi-bar-chart-h .scChartStatus.sc-digi-bar-chart{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-bar-chart-h .table.sc-digi-bar-chart{display:none;overflow-y:auto;height:100%;border-radius:4px;background:linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;background-repeat:no-repeat;background-size:100% 40px, 100% 40px, 100% 14px, 100% 14px;background-attachment:local, local, scroll, scroll}";
95
95
  const DigiBarChartStyle0 = barChartCss;
96
96
 
97
97
  const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
@@ -99,13 +99,14 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
99
99
  super();
100
100
  this.__registerHost();
101
101
  // States
102
- this._loading = false;
103
- this._placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
102
+ this.loading = false;
103
+ this.placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
104
104
  // Width of data at each tick, if we have two data series that have values att same tick, this will be 2 for example. defaults to 1;
105
105
  this.dataWidth = 1;
106
+ // Bar gap when using multiple bars for each point, this will be doubled, since it is applied on both bars
106
107
  this.barGap = 0;
107
- this._dims = {};
108
- this._margin = {
108
+ this.dims = {};
109
+ this.margin = {
109
110
  bottom: 0,
110
111
  top: 6,
111
112
  left: 5,
@@ -116,7 +117,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
116
117
  this.yTickSize = 0;
117
118
  this.xTickSize = 5;
118
119
  // Width of the largets X-tick-value
119
- this._tickWidth = 1;
120
+ this.tickWidth = 1;
120
121
  // Transition
121
122
  this.defaultDuration = 400;
122
123
  // Text and formats
@@ -125,137 +126,167 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
125
126
  // Observer for watching size changes when in line chart mode
126
127
  this.barChartObserver = new ResizeObserver((entries) => {
127
128
  entries.forEach(() => {
128
- if (this._loading)
129
+ if (this.loading)
129
130
  return this.loadingResize();
130
131
  this.resize();
131
132
  });
132
133
  });
133
- // Observer for watching size changes when in table mode
134
- this.tableObserver = new ResizeObserver((entries) => {
135
- entries.forEach(() => {
136
- select(this._legendDiv).style('width', this._dims.width + 'px');
137
- this.resizeTable();
134
+ this.highlightBars = (serie) => {
135
+ this.barChartContainer.selectAll('.bar')
136
+ .attr('fill', (barData) => this.colorFunction(barData.serie))
137
+ .transition('color')
138
+ .duration(150)
139
+ .attr('fill', (barData) => {
140
+ if (barData.serie === serie)
141
+ return this.colorFunction(barData.serie);
142
+ else
143
+ return this.evalColorVar('--digi--color--background--secondary-accent');
138
144
  });
139
- });
145
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', (title) => title === serie ? 1 : 0.25);
146
+ };
147
+ this.resetBarColor = () => {
148
+ this.barChartContainer.selectAll('.bar').transition('color').duration(150).attr('fill', (barData) => this.colorFunction(barData.serie));
149
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', 1);
150
+ };
140
151
  // Resizing chart while loading
141
152
  this.loadingResize = () => {
142
153
  const newHeight = this.setDims();
143
154
  this.setMargins(true);
144
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
145
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
146
- this._margin.right =
147
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
155
+ this.svg.attr('width', this.dims.width).attr('height', this.dims.height);
156
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
157
+ this.margin.right =
158
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
148
159
  this.yTickSize +
149
160
  this.tickPadding;
150
161
  // If there is a new height
151
162
  if (newHeight) {
152
163
  // Update y-axis with potentially new height (might want to do a check here)
153
164
  this.afVariation === BarChartVariation.Horizontal
154
- ? this._yScale.range([
155
- this._margin.top,
156
- this._dims.height - this._margin.bottom
165
+ ? this.yScale.range([
166
+ this.margin.top,
167
+ this.dims.height - this.margin.bottom
157
168
  ])
158
- : this._yScale.range([
159
- this._dims.height - this._margin.bottom,
160
- this._margin.top
169
+ : this.yScale.range([
170
+ this.dims.height - this.margin.bottom,
171
+ this.margin.top
161
172
  ]);
162
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
173
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
163
174
  }
164
175
  // Update x-axis with new width
165
- this._xScale.range([
176
+ this.xScale.range([
166
177
  0,
167
- this._dims.width - this._margin.right - this._margin.left
178
+ this.dims.width - this.margin.right - this.margin.left
168
179
  ]);
169
- this._barSelection
180
+ this.barSelection
170
181
  .attr('x', this.xFunction)
171
182
  .attr('width', this.widthFunction);
172
183
  this.setValueTicks();
173
184
  };
185
+ this.highlightBarGroup = (_event, datum) => {
186
+ if (typeof datum === 'string') {
187
+ const barGroupID = '#' + this.barGroupID(datum);
188
+ this.barChartContainer.select(barGroupID).selectAll('.bar').transition('color')
189
+ .duration(20)
190
+ .attr('fill', (d) => {
191
+ return this.adjustColor(this.colorFunction(d.serie), 50);
192
+ });
193
+ }
194
+ };
195
+ this.unHighlightBarGroup = () => {
196
+ this.barSelection.selectAll('.bar').transition('color')
197
+ .duration(100)
198
+ .attr('fill', (d) => {
199
+ return this.colorFunction(d.serie);
200
+ });
201
+ };
174
202
  // Adding click listener for tool tip text
175
203
  this.setTickInteraction = () => {
176
204
  if (this.afVariation === BarChartVariation.Horizontal) {
177
- this._yAxisHandle
205
+ this.yAxisHandle
178
206
  .selectAll('text')
179
207
  .style('cursor', 'pointer')
180
208
  .on('click', this.openTooltip)
181
- .on('mouseenter', this.hover)
182
- .on('mouseleave', this.hoverOut);
209
+ .on('mouseenter', this.highlightBarGroup)
210
+ .on('mouseleave', this.unHighlightBarGroup);
183
211
  }
184
212
  else {
185
- this._xAxisHandle
213
+ this.xAxisHandle
186
214
  .selectAll('text')
187
215
  .style('cursor', 'pointer')
188
216
  .on('click', this.openTooltip)
189
- .on('mouseenter', this.hover)
190
- .on('mouseleave', this.hoverOut);
217
+ .on('mouseenter', this.highlightBarGroup)
218
+ .on('mouseleave', this.unHighlightBarGroup);
191
219
  }
192
220
  };
193
221
  // Setting Y-scale
194
222
  this.setYScale = (empty) => {
195
223
  var _a, _b, _c;
196
224
  if (this.afVariation == BarChartVariation.Horizontal) {
197
- this._yScale = band(empty
225
+ this.yScale = band(empty
198
226
  ? ['0', '1', '2', '3', '4', '5', '6', '7']
199
- : this._chartData.data.xValueNames, [this._margin.top, this._dims.height - this._margin.bottom])
227
+ : this.chartData.data.xValueNames, [this.margin.top, this.dims.height - this.margin.bottom])
200
228
  .paddingOuter(0.1)
201
229
  .paddingInner(0.1);
202
- this._yAxis = axisLeft(this._yScale);
230
+ this.yAxis = axisLeft(this.yScale);
203
231
  }
204
232
  else {
205
- this._yScale = linear()
206
- .domain(empty ? [0, 10] : [this._minVal, this._maxVal])
207
- .nice(((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
208
- ? (_c = this._chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
233
+ this.yScale = linear()
234
+ .domain(empty ? [0, 10] : [this.minVal, this.maxVal])
235
+ .nice(((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
236
+ ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
209
237
  : 3);
210
- this._yScale.range([
211
- this._dims.height - this._margin.bottom,
212
- this._margin.top
238
+ this.yScale.range([
239
+ this.dims.height - this.margin.bottom,
240
+ this.margin.top
213
241
  ]);
214
- this._yAxis = axisLeft(this._yScale);
242
+ this.yAxis = axisLeft(this.yScale);
215
243
  }
216
244
  };
217
245
  // Setting X-Scale
218
246
  this.setXScale = (empty) => {
219
247
  // Horizontal
220
248
  if (this.afVariation == BarChartVariation.Horizontal) {
221
- this._xScale = linear()
222
- .domain(empty ? [0, 10] : [this._minVal, this._maxVal])
249
+ this.xScale = linear()
250
+ .domain(empty ? [0, 10] : [this.minVal, this.maxVal])
223
251
  .nice(3);
224
- this._margin.right =
225
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
252
+ this.margin.right =
253
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
226
254
  this.yTickSize +
227
255
  this.tickPadding;
228
- this._xScale.range([
256
+ this.xScale.range([
229
257
  0,
230
- this._dims.width - this._margin.right - this._margin.left
258
+ this.dims.width - this.margin.right - this.margin.left
231
259
  ]);
232
260
  // Initializing actual axis
233
- this._xAxis = axisBottom(this._xScale);
234
- this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
261
+ this.xAxis = axisBottom(this.xScale);
262
+ this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
235
263
  }
236
264
  else {
237
265
  // Vertical
238
- this._xScale = band()
239
- .domain(empty ? this._placeholderTicks : this._chartData.data.xValueNames)
240
- .range([0, this._dims.width - this._margin.right - this._margin.left])
266
+ this.xScale = band()
267
+ .domain(empty ? this.placeholderTicks : this.chartData.data.xValueNames)
268
+ .range([0, this.dims.width - this.margin.right - this.margin.left])
241
269
  .paddingOuter(0.1)
242
270
  .paddingInner(0.1);
243
- this._xAxis = axisBottom(this._xScale);
271
+ this.xAxis = axisBottom(this.xScale);
244
272
  }
245
273
  };
246
274
  // Stores all tick text sizes in an indexable array
247
275
  this.tickSizes = () => {
248
276
  // Initializing tick size array
249
- this._namedTickSizes = [];
250
- this._ellipsisSize = this.getTextSize('...');
251
- if (this._chartData && this._chartData.data) {
252
- for (let i = 0; i < this._chartData.data.xValueNames.length; i++) {
253
- this._namedTickSizes.push(Math.ceil(this.getTextSize(this._chartData.data.xValueNames[i])));
277
+ this.namedTickSizes = [];
278
+ this.ellipsisSize = this.getTextSize('...');
279
+ if (this.chartData && this.chartData.data) {
280
+ for (let i = 0; i < this.chartData.data.xValueNames.length; i++) {
281
+ this.namedTickSizes.push(Math.ceil(this.getTextSize(this.chartData.data.xValueNames[i])));
254
282
  }
255
283
  }
256
284
  };
285
+ this.barGroupID = (key) => {
286
+ return 'barGroup' + key.replace(/[^A-Z0-9]+/gi, '');
287
+ };
257
288
  this.updateBars = (fromLoading) => {
258
- this._barChartContainer
289
+ this.barChartContainer
259
290
  .selectAll('.barGroup')
260
291
  .data(this.mappedData)
261
292
  .join((enter) => {
@@ -263,7 +294,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
263
294
  const tempSelection = enter
264
295
  .append('g')
265
296
  .attr('class', 'barGroup')
266
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
297
+ .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
267
298
  tempSelection
268
299
  .append('rect')
269
300
  .attr('class', 'bar')
@@ -271,16 +302,16 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
271
302
  .attr('ry', 4)
272
303
  .attr('rx', 4)
273
304
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
274
- ? this._yScale(d.key)
275
- : this._dims.height - this._margin.bottom)
305
+ ? this.yScale(d.key)
306
+ : this.dims.height - this.margin.bottom)
276
307
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
277
308
  ? 2
278
- : this._xScale(d.key))
309
+ : this.xScale(d.key))
279
310
  .attr('width', () => this.afVariation === BarChartVariation.Horizontal
280
311
  ? 0
281
- : this._xScale.bandwidth())
312
+ : this.xScale.bandwidth())
282
313
  .attr('height', () => this.afVariation === BarChartVariation.Horizontal
283
- ? this._yScale.bandwidth()
314
+ ? this.yScale.bandwidth()
284
315
  : 0)
285
316
  .on('mouseenter', this.hover)
286
317
  .on('mouseleave', this.hoverOut)
@@ -292,7 +323,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
292
323
  .attr('y', this.yFunction)
293
324
  .attr('height', this.heightFunction)
294
325
  .attr('fill', '#00005a');
295
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
326
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
296
327
  return tempSelection;
297
328
  tempSelection
298
329
  .append('text')
@@ -303,32 +334,32 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
303
334
  .attr('text-anchor', 'end')
304
335
  .style('pointer-events', 'none')
305
336
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
306
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
307
- : this._dims.height - this._margin.bottom)
337
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
338
+ : this.dims.height - this.margin.bottom)
308
339
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
309
340
  ? 2
310
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
341
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
311
342
  .transition()
312
343
  .duration(this.defaultDuration)
313
344
  .ease(polyInOut)
314
345
  .attr('font-size', this.fontSize)
315
346
  .attr('font-weight', '600')
316
347
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
317
- ? this._xScale(d.value)
318
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
348
+ ? this.xScale(d.value)
349
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
319
350
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
320
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
321
- : this._yScale(d.value))
351
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
352
+ : this.yScale(d.value))
322
353
  .attr('text-anchor', (d) => {
323
354
  if (this.afVariation === BarChartVariation.Vertical)
324
355
  return 'middle';
325
- return this._xScale(d.value) < d.len + this.tickPadding * 2
356
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
326
357
  ? 'start'
327
358
  : 'end';
328
359
  })
329
360
  .attr('dx', (d) => {
330
361
  if (this.afVariation === BarChartVariation.Horizontal)
331
- return this._xScale(d.value) < d.len + this.tickPadding * 2
362
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
332
363
  ? this.tickPadding
333
364
  : -this.tickPadding;
334
365
  return 0;
@@ -336,7 +367,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
336
367
  .attr('fill', (d) => {
337
368
  if (this.afVariation === BarChartVariation.Vertical)
338
369
  return 'black';
339
- return this._xScale(d.value) < d.len + this.tickPadding * 2
370
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
340
371
  ? 'black'
341
372
  : 'white';
342
373
  })
@@ -349,12 +380,12 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
349
380
  ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
350
381
  : 0;
351
382
  const interpolatedValue = interpolate(oldnum, d.value);
352
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
383
+ return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
353
384
  });
354
385
  return tempSelection;
355
386
  }, (update) => {
356
387
  // Update ids to bars
357
- update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
388
+ update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
358
389
  // Mouse interaction to updated loading bars
359
390
  if (fromLoading) {
360
391
  update
@@ -364,11 +395,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
364
395
  .on('click', this.openTooltip)
365
396
  .attr('x', this.xFunction)
366
397
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
367
- ? this._yScale(d.key)
368
- : this._dims.height - this._margin.bottom)
398
+ ? this.yScale(d.key)
399
+ : this.dims.height - this.margin.bottom)
369
400
  .attr('width', this.widthFunction)
370
401
  .attr('height', () => this.afVariation === BarChartVariation.Horizontal
371
- ? this._yScale.bandwidth()
402
+ ? this.yScale.bandwidth()
372
403
  : 0)
373
404
  .attr('fill', '#00005a')
374
405
  .transition()
@@ -376,7 +407,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
376
407
  .ease(polyInOut)
377
408
  .attr('y', this.yFunction)
378
409
  .attr('height', this.heightFunction)
379
- .on('end', () => this.barChartObserver.observe(this._chartDiv)); // Reset barchartObserver
410
+ .on('end', () => this.barChartObserver.observe(this.chartDiv)); // Reset barchartObserver
380
411
  }
381
412
  else {
382
413
  update
@@ -392,28 +423,28 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
392
423
  }
393
424
  return update
394
425
  .select('text')
395
- .style('display', () => { var _a, _b; return ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; })
426
+ .style('display', () => { var _a, _b; return ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; })
396
427
  .transition()
397
428
  .duration(this.defaultDuration)
398
429
  .ease(polyInOut)
399
430
  .attr('font-size', this.fontSize)
400
431
  .attr('font-weight', '600')
401
432
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
402
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
403
- : this._yScale(d.value))
433
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
434
+ : this.yScale(d.value))
404
435
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
405
- ? this._xScale(d.value)
406
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
436
+ ? this.xScale(d.value)
437
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
407
438
  .attr('text-anchor', (d) => {
408
439
  if (this.afVariation === BarChartVariation.Vertical)
409
440
  return 'middle';
410
- return this._xScale(d.value) < d.len + this.tickPadding * 2
441
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
411
442
  ? 'start'
412
443
  : 'end';
413
444
  })
414
445
  .attr('dx', (d) => {
415
446
  if (this.afVariation === BarChartVariation.Horizontal)
416
- return this._xScale(d.value) < d.len + this.tickPadding * 2
447
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
417
448
  ? this.tickPadding
418
449
  : -this.tickPadding;
419
450
  return 0;
@@ -421,7 +452,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
421
452
  .attr('fill', (d) => {
422
453
  if (this.afVariation === BarChartVariation.Vertical)
423
454
  return 'black';
424
- return this._xScale(d.value) < d.len + this.tickPadding * 2
455
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
425
456
  ? 'black'
426
457
  : 'white';
427
458
  })
@@ -434,27 +465,27 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
434
465
  ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
435
466
  : 0;
436
467
  const interpolatedValue = interpolate(oldnum, d.value);
437
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
468
+ return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
438
469
  });
439
470
  }, (exit) => exit.remove());
440
- this._barSelection = this._barChartContainer.selectAll('rect');
441
- this._textSelection = this._barChartContainer.selectAll('.barText');
471
+ this.barSelection = this.barChartContainer.selectAll('rect');
472
+ this.textSelection = this.barChartContainer.selectAll('.barText');
442
473
  };
443
474
  // Setting position of text according to bar size
444
475
  this.adjustBarText = () => {
445
476
  var _a, _b;
446
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
477
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
447
478
  return;
448
- this._textSelection
479
+ this.textSelection
449
480
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
450
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
451
- : this._yScale(d.value))
481
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
482
+ : this.yScale(d.value))
452
483
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
453
- ? this._xScale(d.value)
454
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
484
+ ? this.xScale(d.value)
485
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
455
486
  .attr('dx', (d) => {
456
487
  if (this.afVariation === BarChartVariation.Horizontal)
457
- return this._xScale(d.value) < d.len + this.tickPadding * 2
488
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
458
489
  ? this.tickPadding
459
490
  : -this.tickPadding;
460
491
  return 0;
@@ -462,26 +493,26 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
462
493
  .attr('fill', (d) => {
463
494
  if (this.afVariation === BarChartVariation.Vertical)
464
495
  return 'black';
465
- return this._xScale(d.value) < d.len + this.tickPadding * 2
496
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
466
497
  ? 'black'
467
498
  : 'white';
468
499
  })
469
500
  .attr('text-anchor', (d) => {
470
501
  if (this.afVariation === BarChartVariation.Vertical)
471
502
  return 'middle';
472
- return this._xScale(d.value) < d.len + this.tickPadding * 2
503
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
473
504
  ? 'start'
474
505
  : 'end';
475
506
  });
476
507
  };
477
508
  this.reshapeData = () => {
478
509
  const toReturn = [];
479
- if (this._loading) {
480
- this._placeholderTicks.forEach((key) => {
510
+ if (this.loading || !this.chartData) {
511
+ this.placeholderTicks.forEach((key) => {
481
512
  const tick = { key: key, series: [] };
482
513
  tick.series.push({
483
514
  key: key,
484
- serie: '',
515
+ serie: 'loading',
485
516
  value: Math.floor(Math.random() * (9 - 2 + 1) + 2),
486
517
  len: 0
487
518
  });
@@ -489,9 +520,9 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
489
520
  });
490
521
  return toReturn;
491
522
  }
492
- this._chartData.data.xValueNames.forEach((key, index) => {
523
+ this.chartData.data.xValueNames.forEach((key, index) => {
493
524
  const tick = { key: key, series: [] };
494
- this._chartData.data.series.forEach((serie) => {
525
+ this.chartData.data.series.forEach((serie) => {
495
526
  if (serie.yValues[index]) {
496
527
  tick.series.push({
497
528
  key: key,
@@ -506,137 +537,140 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
506
537
  return toReturn;
507
538
  };
508
539
  this.adjustBarSize = () => {
509
- this._barSelection.selectAll('.bar')
540
+ this.barSelection.selectAll('.bar')
510
541
  .attr('x', this.xFunction)
511
542
  .attr('y', this.yFunction)
512
543
  .attr('width', this.widthFunction)
513
544
  .attr('height', this.heightFunction);
514
545
  };
546
+ this.evalColorVar = (colorVar) => {
547
+ return getComputedStyle(document.documentElement)
548
+ .getPropertyValue(colorVar)
549
+ .trim()
550
+ .toLocaleLowerCase();
551
+ };
515
552
  // Handling x positioning of bars
516
553
  this.xFunction = (d, i) => {
517
554
  return this.afVariation === BarChartVariation.Horizontal
518
- ? (d.value > 0 ? this._xScale(0) : this._xScale(d.value))
519
- : this._xScale(d.key) + ((this._xScale.bandwidth() / this.dataWidth) * i + (this.barGap * i));
555
+ ? (d.value > 0 ? this.xScale(0) : this.xScale(d.value))
556
+ : this.xScale(d.key) + ((this.xScale.bandwidth() / this.dataWidth) * i + (this.barGap * i));
520
557
  };
521
558
  // Handling y positioning of bars
522
559
  this.yFunction = (d, i) => {
523
560
  if (!d.value)
524
561
  return 0;
525
562
  return this.afVariation === BarChartVariation.Horizontal
526
- ? this._yScale(d.key) + ((this._yScale.bandwidth() / this.dataWidth) * i + (this.barGap * i))
527
- : (d.value < 0 ? this._yScale(0) : this._yScale(d.value));
563
+ ? this.yScale(d.key) + ((this.yScale.bandwidth() / this.dataWidth) * i + (this.barGap * i))
564
+ : (d.value < 0 ? this.yScale(0) : this.yScale(d.value));
528
565
  };
529
566
  // Handling height for bars
530
567
  this.heightFunction = (d) => {
531
568
  if (!d.value)
532
569
  return 0;
533
570
  return this.afVariation === BarChartVariation.Horizontal
534
- ? this._yScale.bandwidth() / this.dataWidth - (this.barGap)
535
- : (d.value < 0 ? this._yScale(d.value) - this._yScale(0) : this._yScale(0) - this._yScale(d.value));
571
+ ? this.yScale.bandwidth() / this.dataWidth - (this.barGap)
572
+ : (d.value < 0 ? this.yScale(d.value) - this.yScale(0) : this.yScale(0) - this.yScale(d.value));
536
573
  };
537
574
  // Handling width for bars
538
575
  this.widthFunction = (d) => {
539
576
  return this.afVariation === BarChartVariation.Horizontal
540
- ? Math.abs(this._xScale(0) - this._xScale(d.value))
541
- : this._xScale.bandwidth() / this.dataWidth - (this.barGap);
542
- };
543
- // Resize table
544
- this.resizeTable = () => {
545
- this.setDims();
546
- this.setTableDimensions();
577
+ ? Math.abs(this.xScale(0) - this.xScale(d.value))
578
+ : this.xScale.bandwidth() / this.dataWidth - (this.barGap);
547
579
  };
548
580
  // Setting dimension variable
549
581
  this.setDims = (onlyHeight = false) => {
550
582
  // Get title dimensions
551
- const tempTitle = select(this._titleDiv).node().getBoundingClientRect(), tempLegend = select(this._legendDiv).node().getBoundingClientRect();
552
- const prevHeight = this._dims.height;
583
+ const tempTitle = select(this.titleDiv).node().getBoundingClientRect(), tempLegend = select(this.legendDiv).node().getBoundingClientRect();
584
+ const prevHeight = this.dims.height;
553
585
  if (!onlyHeight)
554
- this._dims = select(this._chartDiv).node().getBoundingClientRect();
555
- this._dims.height =
556
- this._maxHeight - tempLegend.height - tempTitle.height - 1.75 * this._rem;
557
- return prevHeight != this._dims.height;
586
+ this.dims = select(this.chartDiv).node().getBoundingClientRect();
587
+ this.dims.height =
588
+ this.maxHeight - tempLegend.height - tempTitle.height - 1.75 * this.rem;
589
+ return prevHeight != this.dims.height;
558
590
  };
559
591
  // Setting margins given text size
560
592
  this.setMargins = (fromLoading) => {
561
593
  var _a;
562
- this._pixelSize =
594
+ this.pixelSize =
563
595
  Number(window
564
596
  .getComputedStyle(document.body)
565
597
  .getPropertyValue('font-size')
566
598
  .match(/\d+/)[0]) * Number(this.fontSize.replace(/[^\d.]|\.(?=.*\.)/g, ''));
567
599
  // Getting the longest word, assuming it will also be the widest in terms of pixels
568
600
  if (this.afVariation === BarChartVariation.Horizontal) {
569
- const left = ((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data) &&
570
- this.getLargestText(this._chartData.data.xValueNames)
571
- ? this.getLargestText(this._chartData.data.xValueNames)
601
+ const left = ((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data) &&
602
+ this.getLargestText(this.chartData.data.xValueNames)
603
+ ? this.getLargestText(this.chartData.data.xValueNames)
572
604
  : 0;
573
- this._margin.left = left;
605
+ this.margin.left = left;
606
+ this.margin.bottom = this.pixelSize + this.tickPadding + this.xTickSize;
574
607
  }
575
- else
576
- this._margin.left = this.getLargestText(fromLoading
608
+ else {
609
+ this.margin.left = this.getLargestText(fromLoading
577
610
  ? ['0', '10']
578
611
  : [
579
- this._minVal ? this._tempScale[0].toLocaleString() : '0',
580
- this._maxVal ? this._tempScale[1].toLocaleString() : '10'
612
+ this.minVal ? this.tempScale[0].toLocaleString() : '0',
613
+ this.maxVal ? this.tempScale[1].toLocaleString() : '10'
581
614
  ]);
582
- if (this._margin.left > this._dims.width / 4) {
583
- this._margin.left = Math.floor(this._dims.width / 4);
584
- this._margin.ellipsis = true;
615
+ this.margin.bottom = this.pixelSize;
616
+ }
617
+ if (this.margin.left > this.dims.width / 4) {
618
+ this.margin.left = Math.floor(this.dims.width / 4);
619
+ this.margin.ellipsis = true;
585
620
  }
586
621
  else
587
- this._margin.ellipsis = false;
588
- this._margin.bottom = this._pixelSize + this.tickPadding + this.xTickSize;
622
+ this.margin.ellipsis = false;
589
623
  };
590
624
  // Adjusting y-ticks
591
625
  this.setNamedTicks = (transition = false) => {
592
626
  if (this.afVariation == BarChartVariation.Horizontal) {
593
627
  if (!transition) {
594
- this._yAxisHandle
628
+ this.yAxisHandle
595
629
  .style('font-size', this.fontSize)
596
630
  .style('font-family', 'Open Sans')
597
- .call(this._yAxis
631
+ .call(this.yAxis
598
632
  .tickPadding(this.tickPadding)
599
633
  .tickSize(this.yTickSize)
600
634
  .tickSizeOuter(0)
601
635
  .tickFormat((d, i) => {
602
- if (!this._margin.ellipsis)
636
+ if (!this.margin.ellipsis)
603
637
  return d.toLocaleString();
604
638
  // Adding ellipsis to text
605
- const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
606
- const mSize = this._margin.left;
639
+ const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
640
+ const mSize = this.margin.left;
607
641
  if (size < mSize)
608
642
  return d.toLocaleString();
609
- const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3)) + '...');
643
+ const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3)) + '...');
610
644
  let adjustment = 0;
611
645
  if (newSize > mSize) {
612
646
  adjustment = Math.ceil((newSize - mSize) / (size / d.length));
613
647
  }
614
648
  // Slicing the text up, saving atleast 3 characters
615
649
  return (d
616
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
650
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
617
651
  .trim() + '...');
618
652
  }));
619
653
  }
620
654
  else {
621
- this._yAxisHandle
655
+ this.yAxisHandle
622
656
  .style('font-size', this.fontSize)
623
657
  .style('font-family', 'Open Sans')
624
658
  .transition()
625
659
  .duration(this.defaultDuration)
626
- .call(this._yAxis
660
+ .call(this.yAxis
627
661
  .tickPadding(this.tickPadding)
628
662
  .tickSize(this.yTickSize)
629
663
  .tickSizeOuter(0)
630
664
  .tickFormat((d, i) => {
631
- if (!this._margin.ellipsis)
665
+ if (!this.margin.ellipsis)
632
666
  return d;
633
667
  // Adding ellipsis to text
634
- const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
635
- const mSize = this._margin.left;
668
+ const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
669
+ const mSize = this.margin.left;
636
670
  if (size < mSize)
637
671
  return d;
638
672
  const newSize = this.getTextSize(d
639
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3))
673
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3))
640
674
  .trim() + '...');
641
675
  let adjustment = 0;
642
676
  if (newSize > mSize) {
@@ -644,26 +678,26 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
644
678
  }
645
679
  // Slicing the text up, saving atleast 3 characters
646
680
  return (d
647
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
681
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
648
682
  .trim() + '...');
649
683
  }));
650
684
  }
651
685
  }
652
686
  else {
653
687
  //Calculating every n:th text to show
654
- let nTh = Math.round(this._chartData.data.xValues.length /
655
- ((this._dims.width - this._margin.left - this._margin.right) / 90 - 1));
656
- if (Math.floor(this._chartData.data.xValues.length / nTh) < 4) {
657
- nTh = Math.round(this._chartData.data.xValues.length / 4);
688
+ let nTh = Math.max(Math.round(this.chartData.data.xValues.length /
689
+ ((this.dims.width - this.margin.left - this.margin.right) / 90 - 1)), 1);
690
+ if (Math.floor(this.chartData.data.xValues.length / nTh) < 4) {
691
+ nTh = Math.round(this.chartData.data.xValues.length / 4);
658
692
  }
659
- const allowedWidth = (this._dims.width - this._margin.left - this._margin.right) /
660
- Math.floor(this._chartData.data.xValues.length / nTh + 1);
693
+ const allowedWidth = (this.dims.width - this.margin.left - this.margin.right) /
694
+ Math.floor(this.chartData.data.xValues.length / nTh + 1);
661
695
  if (!transition) {
662
- this._xAxisHandle
696
+ this.xAxisHandle
663
697
  .style('font-size', this.fontSize)
664
698
  .style('font-family', 'Open Sans')
665
- .call(this._xAxis
666
- .tickValues(this._xScale.domain().filter((...[, i]) => {
699
+ .call(this.xAxis
700
+ .tickValues(this.xScale.domain().filter((...[, i]) => {
667
701
  if (i == 0)
668
702
  return true;
669
703
  else {
@@ -675,23 +709,23 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
675
709
  .tickSizeOuter(0)
676
710
  .tickFormat((d, i) => {
677
711
  const index = i * nTh;
678
- if (this._namedTickSizes[index] < allowedWidth)
712
+ if (this.namedTickSizes[index] < allowedWidth)
679
713
  return d;
680
714
  return (d.slice(0, Math.max(Math.floor((allowedWidth /
681
- (this._namedTickSizes[index] +
682
- this._ellipsisSize +
715
+ (this.namedTickSizes[index] +
716
+ this.ellipsisSize +
683
717
  5)) *
684
718
  d.length), 3)) + '...');
685
719
  }));
686
720
  }
687
721
  else {
688
- this._xAxisHandle
722
+ this.xAxisHandle
689
723
  .style('font-size', this.fontSize)
690
724
  .style('font-family', 'Open Sans')
691
725
  .transition()
692
726
  .duration(this.defaultDuration)
693
- .call(this._xAxis
694
- .tickValues(this._xScale.domain().filter((...[, i]) => {
727
+ .call(this.xAxis
728
+ .tickValues(this.xScale.domain().filter((...[, i]) => {
695
729
  if (i == 0)
696
730
  return true;
697
731
  else {
@@ -703,11 +737,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
703
737
  .tickSizeOuter(0)
704
738
  .tickFormat((d, i) => {
705
739
  const index = i * nTh;
706
- if (this._namedTickSizes[index] < allowedWidth)
740
+ if (this.namedTickSizes[index] < allowedWidth)
707
741
  return d;
708
742
  return (d.slice(0, Math.max(Math.floor((allowedWidth /
709
- (this._namedTickSizes[index] +
710
- this._ellipsisSize +
743
+ (this.namedTickSizes[index] +
744
+ this.ellipsisSize +
711
745
  5)) *
712
746
  d.length), 3)) + '...');
713
747
  }));
@@ -717,30 +751,30 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
717
751
  // Positioning the ticks of the value bearing axis
718
752
  this.setValueTicks = (transition = false) => {
719
753
  var _a, _b;
720
- if (((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
754
+ if (((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
721
755
  this.afVariation === BarChartVariation.Horizontal
722
- ? this._xAxisHandle.attr('display', 'none')
723
- : this._yAxisHandle.attr('display', 'none');
756
+ ? this.xAxisHandle.attr('display', 'none')
757
+ : this.yAxisHandle.attr('display', 'none');
724
758
  return;
725
759
  }
726
760
  let toCall, tickSize, handle;
727
761
  if (this.afVariation === BarChartVariation.Horizontal) {
728
- this._xAxisHandle.attr('display', null);
729
- toCall = this._xAxis;
730
- tickSize = -(this._dims.height - this._margin.top - this._margin.bottom);
731
- handle = this._xAxisHandle;
762
+ this.xAxisHandle.attr('display', null);
763
+ toCall = this.xAxis;
764
+ tickSize = -(this.dims.height - this.margin.top - this.margin.bottom);
765
+ handle = this.xAxisHandle;
732
766
  }
733
767
  else {
734
- this._yAxisHandle.attr('display', null);
735
- toCall = this._yAxis;
736
- tickSize = -(this._dims.width - this._margin.left - this._margin.right);
737
- handle = this._yAxisHandle;
768
+ this.yAxisHandle.attr('display', null);
769
+ toCall = this.yAxis;
770
+ tickSize = -(this.dims.width - this.margin.left - this.margin.right);
771
+ handle = this.yAxisHandle;
738
772
  }
739
773
  // Computing the amount of ticks to show
740
- const ticks = Math.min(Math.floor((this._dims.width - this._margin.left - this._margin.right) /
741
- (this._tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
742
- ? this._xScale.ticks().length
743
- : this._yScale.ticks().length);
774
+ const ticks = Math.min(Math.floor((this.dims.width - this.margin.left - this.margin.right) /
775
+ (this.tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
776
+ ? this.xScale.ticks().length
777
+ : this.yScale.ticks().length);
744
778
  if (!transition) {
745
779
  handle
746
780
  .style('font-size', this.fontSize)
@@ -771,124 +805,154 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
771
805
  }
772
806
  handle.selectAll('line').attr('stroke', 'lightgray');
773
807
  if (this.afVariation === BarChartVariation.Vertical)
774
- this._yAxisHandle.select('.domain').attr('display', 'none');
808
+ this.yAxisHandle.select('.domain').attr('display', 'none');
775
809
  };
776
810
  // Highlight bar
777
811
  this.hover = (event) => {
778
812
  select(event.target)
779
- .transition('hover')
813
+ .transition('color')
780
814
  .duration(20)
781
- .attr('fill', (d) => event.target.tagName === 'rect'
782
- ? `hsl(from ${this.colorFunction(d.serie)} h s calc(l + 10))`
783
- : 'var(--digi--color--background--interactive--hover--tertiary)');
815
+ .attr('fill', (d) => {
816
+ return event.target.tagName === 'rect'
817
+ ? this.adjustColor(this.colorFunction(d.serie), 50)
818
+ : this.evalColorVar('--digi--color--background--interactive--hover--tertiary');
819
+ });
784
820
  };
785
821
  // Removing highlight from bar
786
822
  this.hoverOut = (event) => {
787
823
  select(event.target)
788
- .transition('hover')
824
+ .transition('color')
789
825
  .duration(this.defaultDuration)
790
826
  .attr('fill', (d) => event.target.tagName === 'rect' ? this.colorFunction(d.serie) : '#333333');
791
827
  };
792
828
  this.openTooltip = (...[, d]) => {
793
829
  // If type is string, the user has clicked on a y-axis tick
794
830
  if (typeof d === 'string') {
795
- this._tooltipData = this._barChartContainer
796
- .select(`#barGroup${d.replace(/[^A-Z0-9]+/gi, '_')}`)
831
+ this.tooltipData = this.barChartContainer
832
+ .select(`#${this.barGroupID(d)}`)
797
833
  .datum();
798
834
  }
799
835
  else
800
- this._tooltipData = d;
801
- const tooltipBody = this._tooltip.select('.tooltipBody');
836
+ this.tooltipData = d;
837
+ const tooltipBody = this.tooltip.select('.tooltipBody');
802
838
  tooltipBody
803
- .select(this._tooltipHeading)
804
- .style('margin', '0 0.75rem 0 0 ')
805
- .style('font-weight', 500)
806
- .html(this._tooltipData.key);
839
+ .select('.tooltipHeading')
840
+ .html(this.tooltipData.key);
807
841
  tooltipBody
808
842
  .selectAll('div')
809
- .data([this._tooltipData])
843
+ .data(this.tooltipData.series ? this.tooltipData.series : [this.tooltipData])
810
844
  .join('div')
811
845
  .style('display', 'flex')
812
846
  .style('flex-direction', 'row')
813
847
  .style('flex-wrap', 'nowrap')
814
848
  .style('white-space', 'nowrap')
815
849
  .style('justify-content', 'space-between')
816
- .html((d) => d.value.toLocaleString());
817
- this._tooltip.style('display', 'flex');
818
- this.positionTooltip(this._tooltipData);
850
+ .style('margin', '0.25rem 0')
851
+ .html((d) => {
852
+ return `<span>${d.serie}: <b style="font-weight:600;">${d.value.toLocaleString(undefined, this.numberFormat)}</b></span>`;
853
+ });
854
+ this.tooltip.style('visibility', 'visible');
855
+ this.positionTooltip(this.tooltipData);
819
856
  };
820
857
  this.closeTooltip = () => {
821
- this._tooltip.style('display', 'none');
858
+ this.tooltip.style('visibility', 'hidden');
822
859
  };
823
860
  // Positions tooltip in horizontal mode
824
861
  this.positionTooltip = (data) => {
825
- const width = this._tooltip.node().getBoundingClientRect().width;
826
- const height = this._tooltip.node().getBoundingClientRect().height + 8;
827
- const diff = this._xScale(data.value) / 2 - width / 2;
828
- if (this.afVariation === BarChartVariation.Horizontal) {
829
- this._tooltip
830
- .style('transform', `translate(${this._margin.left + this.tickPadding + Math.max(diff, -4)}px, ${this._yScale(data.key) + this._yScale.bandwidth() + this._yScale.paddingInner() * this._yScale.bandwidth()}px )`)
831
- .style('max-width', this._xScale.range()[1] + 'px');
832
- this._tooltip
833
- .select('digi-icon-caret-up')
834
- .style('position', 'absolute')
835
- .style('--digi--icon--color', 'white')
836
- .style('top', '-11px')
837
- .style('left', '0')
838
- .style('transform', `translate(${diff > 0 ? width / 2 - 10 : this._xScale(data.value) / 2}px,0)`);
862
+ var _a;
863
+ const width = this.tooltip.node().getBoundingClientRect().width;
864
+ // Single bar
865
+ if ('serie' in data) {
866
+ if (this.afVariation === BarChartVariation.Horizontal) {
867
+ const diff = this.xScale(data.value) / 2 - width / 2;
868
+ this.tooltip
869
+ .style('transform', `translate(${this.margin.left + this.tickPadding + Math.max(diff, -4)}px, ${this.yScale(data.key) + this.yScale.bandwidth() + this.yScale.paddingInner() * this.yScale.bandwidth()}px )`)
870
+ .style('max-width', this.xScale.range()[1] + 'px');
871
+ this.tooltip
872
+ .select('digi-icon-caret-up')
873
+ .style('position', 'absolute')
874
+ .style('top', '-12px')
875
+ .style('left', '0')
876
+ .style('transform', `translate(${diff > 0 ? width / 2 - 10 : this.xScale(data.value) / 2}px,0)`);
877
+ }
878
+ else {
879
+ const index = (_a = this.mappedData.find(xPoint => xPoint.key === data.key)) === null || _a === void 0 ? void 0 : _a.series.findIndex(serie => serie.serie === data.serie);
880
+ const barIndex = ((this.xScale.bandwidth() / this.dataWidth) * (index ? index + 1 : 1)) - (this.xScale.bandwidth() / this.dataWidth) / 2;
881
+ // This should be where the x-axis starts
882
+ const xStart = this.margin.left + this.tickPadding + this.yTickSize;
883
+ // Creating adjustment for tooltip to not appear outside of chart
884
+ const spaceToSVGEdge = 5;
885
+ const inlineAdjustment = (this.dims.width - spaceToSVGEdge) < (this.xScale(data.key) + xStart + barIndex + width / 2) ? (((this.xScale(data.key) + xStart + barIndex + width / 2) - (this.dims.width - spaceToSVGEdge)) / width) * 100 : 0;
886
+ this.tooltip
887
+ .style('transform', `translate( calc(${this.xScale(data.key) + xStart + barIndex}px - ${50 + inlineAdjustment}%), calc(-100% + ${(data.value > 0 ? this.yScale(data.value) : this.yScale(0)) - 2}px) )`);
888
+ this.tooltip
889
+ .select('digi-icon-caret-down')
890
+ .style('position', 'absolute')
891
+ .style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
892
+ .style('bottom', '-12px');
893
+ }
839
894
  }
840
895
  else {
841
- this._tooltip
842
- .style('transform', `translate(${this._margin.left + this.tickPadding + this._xScale(data.key) + this._xScale.bandwidth() / 2 - width / 2}px, ${this._yScale(data.value) - height}px )`)
843
- .style('max-width', this._xScale.range()[1] + 'px');
844
- this._tooltip
845
- .select('digi-icon-caret-down')
846
- .style('position', 'absolute')
847
- .style('--digi--icon--color', 'white')
848
- .style('left', '0')
849
- .style('bottom', '-11px')
850
- .style('transform', `translate(${width / 2 - 6}px,0)`);
896
+ if (this.afVariation === BarChartVariation.Horizontal) {
897
+ console.log('helloo');
898
+ }
899
+ else {
900
+ const xStart = this.margin.left + this.tickPadding + this.yTickSize;
901
+ const translatePoint = this.xScale(data.key) + xStart + this.xScale.bandwidth() / 2;
902
+ const yMax = max(data.series.map(elem => elem.value));
903
+ // Creating adjustment for tooltip to not appear outside of chart
904
+ const spaceToSVGEdge = 5;
905
+ const inlineAdjustment = (this.dims.width - spaceToSVGEdge) < (translatePoint + width / 2) ? (((translatePoint + width / 2) - (this.dims.width - spaceToSVGEdge)) / width) * 100 : 0;
906
+ this.tooltip
907
+ .style('transform', `translate( calc(${this.xScale(data.key) + xStart + this.xScale.bandwidth() / 2}px - ${50 + inlineAdjustment}%), calc(-100% + ${this.yScale(yMax && yMax > 0 ? yMax : 0) - 1}px) )`);
908
+ this.tooltip
909
+ .select('digi-icon-caret-down')
910
+ .style('position', 'absolute')
911
+ .style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
912
+ .style('bottom', '-12px');
913
+ }
851
914
  }
852
915
  };
853
916
  // Once texts has fully loaded, we can recompute some sizes
854
917
  this.recomputeTextSize = () => {
855
918
  var _a, _b;
856
919
  if (this.afVariation == BarChartVariation.Horizontal)
857
- this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
920
+ this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
858
921
  this.tickSizes();
859
- this._barChartContainer.selectAll('.barGroup').data(this.mappedData);
860
- if ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
861
- this._textSelection.remove();
922
+ this.barChartContainer.selectAll('.barGroup').data(this.mappedData);
923
+ if ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
924
+ this.textSelection.remove();
862
925
  this.initBarText();
863
926
  };
864
927
  // Removes resize observer for chart and inits table
865
928
  this.activateTable = (event) => {
866
929
  this.closeTooltip();
867
930
  this.barChartObserver.disconnect();
868
- this.tableObserver.observe(this._chartDiv);
869
- this._status.innerHTML = '<p>Visas som tabell</p>';
870
- select(this._host).select('.tableButton').style('display', 'none');
871
- select(this._host).select('.chartButton').style('display', null);
931
+ this.status.innerHTML = '<p>Visas som tabell</p>';
932
+ select(this.host).select('.tableButton').style('display', 'none');
933
+ select(this.host).select('.chartButton').style('display', null);
872
934
  event.target.nextSibling.lastChild.focus();
873
935
  const duration = 150;
874
- this._svg
936
+ this.svg
875
937
  .attr('opacity', 1)
876
938
  .transition('fadeout')
877
939
  .duration(duration)
878
940
  .attr('opacity', 0)
879
941
  .on('end', () => {
880
- this._svg.remove();
881
- this._legendDiv.style['display'] = 'none';
882
- this._tableDiv.style['display'] = 'block';
942
+ this.svg.remove();
943
+ select(this.legendDiv).select('.legend').selectAll('.legendChip').remove();
944
+ this.legendDiv.style['display'] = 'none';
945
+ this.tableDiv.style['display'] = 'block';
883
946
  this.setTableContent();
884
947
  this.setTableDimensions();
885
- select(this._tableDiv)
948
+ select(this.tableDiv)
886
949
  .style('opacity', 0)
887
950
  .transition('fadein')
888
951
  .duration(duration)
889
952
  .style('opacity', 1);
953
+ this.chartDiv.style['display'] = 'none';
890
954
  });
891
- select(this._legendDiv)
955
+ select(this.legendDiv)
892
956
  .style('opacity', 1)
893
957
  .transition('fadeout')
894
958
  .duration(duration)
@@ -896,12 +960,12 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
896
960
  };
897
961
  // Removes observer and calls init functions for line chart
898
962
  this.reInitChart = (event) => {
899
- this.tableObserver.disconnect();
900
- this._status.innerHTML = '<p>Visas som diagram</p>';
901
- select(this._host).select('.tableButton').style('display', null);
902
- select(this._host).select('.chartButton').style('display', 'none');
963
+ this.status.innerHTML = '<p>Visas som diagram</p>';
964
+ select(this.host).select('.tableButton').style('display', null);
965
+ select(this.host).select('.chartButton').style('display', 'none');
903
966
  event.target.previousSibling.lastChild.focus();
904
- const table = select(this._tableDiv);
967
+ const table = select(this.tableDiv);
968
+ const duration = 150;
905
969
  table
906
970
  .style('opacity', 1)
907
971
  .transition()
@@ -909,12 +973,19 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
909
973
  .style('opacity', 0)
910
974
  .on('end', () => {
911
975
  table.style('display', 'none');
976
+ this.chartDiv.style['display'] = 'flex';
977
+ this.legendDiv.style['display'] = 'grid';
912
978
  this.initChain();
913
- this._svg
979
+ this.svg
914
980
  .attr('opacity', 0)
915
981
  .transition()
916
- .duration(150)
982
+ .duration(duration)
917
983
  .attr('opacity', 1);
984
+ select(this.legendDiv)
985
+ .style('opacity', 0)
986
+ .transition('fadeout')
987
+ .duration(duration)
988
+ .style('opacity', 1);
918
989
  });
919
990
  };
920
991
  this.afVariation = BarChartVariation.Vertical;
@@ -924,9 +995,9 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
924
995
  }
925
996
  afChartDataUpdate(data) {
926
997
  if (typeof data != 'string')
927
- this._chartData = data;
998
+ this.chartData = data;
928
999
  else
929
- this._chartData = JSON.parse(data);
1000
+ this.chartData = JSON.parse(data);
930
1001
  this.mappedData = this.reshapeData();
931
1002
  // checking for width of each tick
932
1003
  this.mappedData.forEach((elem) => {
@@ -939,69 +1010,94 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
939
1010
  initSvg() {
940
1011
  var _a, _b, _c, _d, _e, _f, _g;
941
1012
  // Fetch number formatting
942
- this._numberFormat = {
943
- maximumSignificantDigits: (_c = (_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
944
- notation: ((_f = (_e = (_d = this._chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
1013
+ this.numberFormat = {
1014
+ maximumSignificantDigits: (_c = (_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
1015
+ notation: ((_f = (_e = (_d = this.chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
945
1016
  ? 'compact'
946
1017
  : 'standard'
947
1018
  };
948
- select(this._chartDiv).select('svg').remove();
949
- this._maxHeight = (_g = select(this._host)
1019
+ select(this.chartDiv).select('.chartSVG').remove();
1020
+ this.maxHeight = (_g = select(this.host)
950
1021
  .node()
951
1022
  .parentNode) === null || _g === void 0 ? void 0 : _g.getBoundingClientRect().height;
952
- this.barChartObserver.observe(this._chartDiv);
1023
+ this.barChartObserver.observe(this.chartDiv);
953
1024
  // Getting rem-size
954
- this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
955
- this.setMinMax();
1025
+ this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
956
1026
  this.setDims();
1027
+ this.setMinMax();
957
1028
  this.setMargins();
958
1029
  // Appending svg
959
- this._svg = select(this._chartDiv)
1030
+ this.svg = select(this.chartDiv)
960
1031
  .append('svg')
1032
+ .attr('class', 'chartSVG')
961
1033
  .attr('aria-hidden', true)
962
1034
  .attr('role', 'img')
963
- .attr('aria-label', this._chartData && this._chartData.title
964
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
965
- : 'Stapeldiagram');
966
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
1035
+ .attr('aria-label', this.chartData && this.chartData.title
1036
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1037
+ : 'Stapeldiagram')
1038
+ .attr('style', 'display: flex;min-width: 0;width: 100%;height: auto;');
1039
+ }
1040
+ initLegend() {
1041
+ const rectSize = 18;
1042
+ const legendChips = select(this.legendDiv).select('.legend')
1043
+ .style('margin-left', `${this.margin.left + this.tickPadding + this.yTickSize}px`)
1044
+ .selectAll('.legendChip')
1045
+ .data(this.chartData.data.series.map(serie => serie.title))
1046
+ .join('div')
1047
+ .attr('class', 'legendChip')
1048
+ .style('display', 'flex')
1049
+ .style('flex-direction', 'row')
1050
+ .style('align-items', 'center')
1051
+ .style('gap', '0.25rem')
1052
+ .style('cursor', 'default')
1053
+ .on('mouseenter', (_event, serie) => this.highlightBars(serie))
1054
+ .on('mouseleave', this.resetBarColor);
1055
+ legendChips.append('svg')
1056
+ .attr('width', rectSize)
1057
+ .attr('height', rectSize)
1058
+ .append('rect')
1059
+ .attr('x', 0)
1060
+ .attr('y', 0)
1061
+ .attr('width', rectSize)
1062
+ .attr('height', rectSize)
1063
+ .attr('rx', 4)
1064
+ .attr('ry', 4)
1065
+ .attr('fill', (title) => this.colorFunction(title));
1066
+ legendChips.append('span').text((d) => d);
967
1067
  }
968
1068
  initToolTip() {
969
1069
  // Getting handle for tooltip
970
- this._tooltip = select('#' + this.afId);
971
- this._tooltip.select('.close').on('click', this.closeTooltip);
972
- this._tooltipHeading =
973
- 'h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1); // increment heading level by one
1070
+ this.tooltip = select('#' + this.afId);
1071
+ this.tooltip.select('.close').on('click', this.closeTooltip);
974
1072
  // Add heading placeholder for heading
975
- this._tooltip
976
- .selectAll('.tooltipBody')
977
- .append(this._tooltipHeading)
1073
+ this.tooltip
1074
+ .select('.tooltipBody')
1075
+ .append('h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1)) // increment heading level by one
978
1076
  .attr('class', 'tooltipHeading') // Adding class to try to dodge global css classes
979
1077
  .style('font-size', '1rem')
980
- .style('margin', '0 0.75rem')
1078
+ .style('margin', '0 0.75rem 0.5rem 0 ')
981
1079
  .style('font-weight', '500');
1080
+ this.tooltip.style('visibility', 'hidden');
982
1081
  }
983
1082
  initEmpty() {
984
- select(this._chartDiv).select('svg').remove();
985
- this._maxHeight = select(this._host)
1083
+ select(this.chartDiv).select('svg').remove();
1084
+ this.maxHeight = select(this.host)
986
1085
  .node()
987
1086
  .parentNode.getBoundingClientRect().height;
988
- this.barChartObserver.observe(this._chartDiv);
1087
+ this.barChartObserver.observe(this.chartDiv);
989
1088
  // Getting rem-size
990
- this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
991
- //this.setMinMax();
992
- this.setDims();
1089
+ this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
993
1090
  this.setMargins();
994
1091
  // Appending svg
995
- this._svg = select(this._chartDiv)
1092
+ this.svg = select(this.chartDiv)
996
1093
  .append('svg')
997
1094
  .attr('aria-hidden', true)
998
1095
  .attr('role', 'img')
999
- .attr('aria-label', this._chartData && this._chartData.title
1000
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1096
+ .attr('aria-label', this.chartData && this.chartData.title
1097
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1001
1098
  : 'Stapeldiagram');
1002
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
1003
1099
  // Hide unusable components
1004
- select(this._titleDiv)
1100
+ select(this.titleDiv)
1005
1101
  .select(this.afHeadingLevel)
1006
1102
  .html(`${_t.loading}...`);
1007
1103
  this.initYAxis(true);
@@ -1009,62 +1105,60 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1009
1105
  this.loadingState(true);
1010
1106
  }
1011
1107
  loadingState(empty) {
1012
- this._loading = true;
1108
+ this.loading = true;
1013
1109
  // close potentially open tooltip
1014
- if (this._tooltip)
1110
+ if (this.tooltip)
1015
1111
  this.closeTooltip();
1016
- select(this._host).select('.tableButton').style('display', 'none');
1112
+ select(this.host).select('.tableButton').style('display', 'none');
1017
1113
  const newHeight = this.setDims();
1018
1114
  this.transitionTitle();
1019
- this._xAxisHandle.selectAll('.tick').remove();
1020
- this._xAxisHandle.select('path').remove();
1021
- this._svg
1115
+ this.xAxisHandle.selectAll('.tick').remove();
1116
+ this.xAxisHandle.select('path').remove();
1117
+ this.svg
1022
1118
  .transition()
1023
1119
  .duration(400)
1024
- .attr('width', this._dims.width)
1025
- .attr('height', this._dims.height)
1026
- .attr('aria-label', this._chartData && this._chartData.title
1027
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1120
+ .attr('aria-label', this.chartData && this.chartData.title
1121
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1028
1122
  : 'Stapeldiagram');
1029
1123
  this.setMargins(true);
1030
- select(this._titleDiv)
1124
+ select(this.titleDiv)
1031
1125
  .select(this.afHeadingLevel)
1032
1126
  .html(`${_t.loading}...`);
1033
1127
  // Waiting with observing for changes until transition to regular bars is complete
1034
- this._barChartContainer
1128
+ this.barChartContainer
1035
1129
  .transition('position')
1036
1130
  .duration(this.defaultDuration)
1037
1131
  .ease(polyInOut)
1038
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1132
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1039
1133
  // If there is a new height
1040
1134
  if (newHeight) {
1041
1135
  // Update y-axis with potentially new height (might want to do a check here)
1042
1136
  this.afVariation === BarChartVariation.Horizontal
1043
- ? this._yScale.range([
1044
- this._margin.top,
1045
- this._dims.height - this._margin.bottom
1137
+ ? this.yScale.range([
1138
+ this.margin.top,
1139
+ this.dims.height - this.margin.bottom
1046
1140
  ])
1047
- : this._yScale.range([
1048
- this._dims.height - this._margin.bottom,
1049
- this._margin.top
1141
+ : this.yScale.range([
1142
+ this.dims.height - this.margin.bottom,
1143
+ this.margin.top
1050
1144
  ]);
1051
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1145
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1052
1146
  }
1053
1147
  const animateBars = () => {
1054
- this._barChartContainer.selectAll('.barGroup').remove();
1055
- this._barSelection = this._barChartContainer
1148
+ this.barChartContainer.selectAll('.barGroup').remove();
1149
+ this.barSelection = this.barChartContainer
1056
1150
  .selectAll('barGroup')
1057
1151
  .data(this.mappedData)
1058
1152
  .join('g')
1059
1153
  .attr('class', 'barGroup')
1060
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'))
1154
+ .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''))
1061
1155
  .append('rect')
1062
1156
  .attr('class', 'bar')
1063
1157
  .style('cursor', 'pointer');
1064
- this._barSelection
1158
+ this.barSelection
1065
1159
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1066
- ? this._yScale(d.key)
1067
- : this._dims.height - this._margin.bottom)
1160
+ ? this.yScale(d.key)
1161
+ : this.dims.height - this.margin.bottom)
1068
1162
  .attr('x', this.xFunction)
1069
1163
  .attr('ry', 4)
1070
1164
  .attr('rx', 4)
@@ -1076,29 +1170,29 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1076
1170
  .delay((...[, i]) => i * 150)
1077
1171
  .attr('y', this.yFunction)
1078
1172
  .attr('height', this.heightFunction);
1079
- this._barSelection
1173
+ this.barSelection
1080
1174
  .transition()
1081
1175
  .duration(400)
1082
1176
  .ease(linear$1)
1083
1177
  .delay((...[, i]) => i * 150 + 400)
1084
1178
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1085
- ? this._yScale(d.key)
1086
- : this._dims.height - this._margin.bottom)
1179
+ ? this.yScale(d.key)
1180
+ : this.dims.height - this.margin.bottom)
1087
1181
  .attr('height', () => 0)
1088
1182
  .on('end', (...[, i]) => {
1089
- if (i === this._placeholderTicks.length - 1)
1183
+ if (i === this.placeholderTicks.length - 1)
1090
1184
  animateBars();
1091
1185
  });
1092
1186
  };
1093
1187
  const flattenBars = () => {
1094
- this._barChartContainer
1188
+ this.barChartContainer
1095
1189
  .selectAll('rect')
1096
1190
  .transition()
1097
1191
  .duration(200)
1098
1192
  .ease(linear$1)
1099
1193
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1100
- ? this._yScale(d.key)
1101
- : this._dims.height - this._margin.bottom)
1194
+ ? this.yScale(d.key)
1195
+ : this.dims.height - this.margin.bottom)
1102
1196
  .attr('height', () => 0)
1103
1197
  .on('end', (...[, i]) => {
1104
1198
  if (i != 0)
@@ -1106,7 +1200,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1106
1200
  this.setYScale(true);
1107
1201
  this.setValueTicks();
1108
1202
  this.setXScale(true);
1109
- this.barChartObserver.observe(this._chartDiv);
1203
+ this.barChartObserver.observe(this.chartDiv);
1110
1204
  animateBars();
1111
1205
  });
1112
1206
  };
@@ -1116,20 +1210,20 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1116
1210
  flattenBars();
1117
1211
  }
1118
1212
  transitionTitle() {
1119
- const height = select(this._titleDiv).style('height');
1120
- select(this._titleDiv)
1121
- .style('height', this._prevHeight)
1213
+ const height = select(this.titleDiv).style('height');
1214
+ select(this.titleDiv)
1215
+ .style('height', this.prevHeight)
1122
1216
  .transition('adjust')
1123
1217
  .duration(400)
1124
1218
  .style('height', height)
1125
- .on('end', () => select(this._titleDiv).style('height', null));
1219
+ .on('end', () => select(this.titleDiv).style('height', null));
1126
1220
  }
1127
1221
  initYAxis(empty) {
1128
1222
  this.setYScale(empty);
1129
- this._barChartContainer = this._svg
1223
+ this.barChartContainer = this.svg
1130
1224
  .append('g')
1131
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1132
- this._yAxisHandle = this._barChartContainer.append('g');
1225
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1226
+ this.yAxisHandle = this.barChartContainer.append('g');
1133
1227
  if (this.afVariation === BarChartVariation.Horizontal) {
1134
1228
  this.tickSizes();
1135
1229
  this.setNamedTicks();
@@ -1141,31 +1235,31 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1141
1235
  // Sets the largest and smallest value from series 0, Should only be used when not loading
1142
1236
  setMinMax() {
1143
1237
  var _a, _b, _c, _d, _e, _f, _g;
1144
- const max$1 = max((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
1145
- ? max((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
1238
+ const max$1 = max((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
1239
+ ? max((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
1146
1240
  : 0;
1147
- const min$1 = min([0, min((_c = this._chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
1148
- ? min([0, min((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
1241
+ const min$1 = min([0, min((_c = this.chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
1242
+ ? min([0, min((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
1149
1243
  : 0;
1150
- this._maxVal = max$1;
1151
- this._minVal = min$1;
1152
- this._tempScale = linear()
1153
- .domain([this._minVal, this._maxVal])
1154
- .nice(((_f = (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
1155
- ? (_g = this._chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
1244
+ this.maxVal = max$1;
1245
+ this.minVal = min$1;
1246
+ this.tempScale = linear()
1247
+ .domain([this.minVal, this.maxVal])
1248
+ .nice(((_f = (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
1249
+ ? (_g = this.chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
1156
1250
  : 3)
1157
1251
  .domain();
1158
1252
  }
1159
1253
  // Setting up x-axis, getting margin.right in this function
1160
1254
  initXAxis(empty) {
1161
1255
  this.setXScale(empty);
1162
- this._xAxisHandle = this._barChartContainer
1256
+ this.xAxisHandle = this.barChartContainer
1163
1257
  .append('g')
1164
- .attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1258
+ .attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1165
1259
  if (this.afVariation === BarChartVariation.Horizontal) {
1166
1260
  this.setValueTicks();
1167
1261
  // Removing first tick, because it aligns with y-axis domain
1168
- //this._xAxisHandle.select('.tick').select('line').remove();
1262
+ //this.xAxisHandle.select('.tick').select('line').remove();
1169
1263
  }
1170
1264
  else {
1171
1265
  if (!empty) {
@@ -1177,15 +1271,13 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1177
1271
  }
1178
1272
  // Initializing bars, can only handle one series of bars for now
1179
1273
  initBars() {
1180
- this._barSelection = this._barChartContainer
1274
+ this.barSelection = this.barChartContainer
1181
1275
  .selectAll('barGroup')
1182
1276
  .data(this.mappedData)
1183
1277
  .join('g')
1184
1278
  .attr('class', 'barGroup')
1185
- .attr('id', (d) => {
1186
- return 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_');
1187
- });
1188
- this._barSelection.selectAll('.barGroup')
1279
+ .attr('id', (d) => this.barGroupID(d.key));
1280
+ this.barSelection.selectAll('.barGroup')
1189
1281
  .data((d) => {
1190
1282
  return d.series;
1191
1283
  })
@@ -1205,32 +1297,33 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1205
1297
  }
1206
1298
  initBarText() {
1207
1299
  var _a, _b;
1208
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
1300
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
1209
1301
  return;
1210
- this._textSelection = this._barChartContainer
1302
+ this.textSelection = this.barChartContainer
1211
1303
  .selectAll('.barGroup')
1212
1304
  .append('text');
1213
- this._textSelection
1305
+ this.textSelection
1214
1306
  .text((d) => {
1215
- return d.value ? d.value.toLocaleString(undefined, this._numberFormat) : undefined;
1307
+ return d.value ? d.value.toLocaleString(undefined, this.numberFormat) : undefined;
1216
1308
  })
1217
1309
  .attr('class', 'barText')
1218
1310
  .attr('font-size', this.fontSize)
1219
1311
  .attr('font-weight', '600')
1220
1312
  .attr('text-anchor', 'end')
1221
1313
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1222
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
1223
- : this._yScale(d.value))
1314
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
1315
+ : this.yScale(d.value))
1224
1316
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
1225
- ? this._xScale(d)
1226
- : this._xScale(d.key) + this._xScale.bandwidth())
1317
+ ? this.xScale(d)
1318
+ : this.xScale(d.key) + this.xScale.bandwidth())
1227
1319
  .attr('dy', () => this.afVariation == BarChartVariation.Horizontal ? '0.35em' : '-0.25em')
1228
1320
  .style('pointer-events', 'none')
1229
- .style('display', () => { var _a, _b; return ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; });
1321
+ .style('display', () => { var _a, _b; return ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; });
1230
1322
  this.adjustBarText();
1231
1323
  }
1232
1324
  initChain() {
1233
1325
  this.initSvg();
1326
+ this.initLegend();
1234
1327
  this.initToolTip();
1235
1328
  this.initYAxis();
1236
1329
  this.initXAxis();
@@ -1240,18 +1333,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1240
1333
  async updateChain() {
1241
1334
  var _a, _b, _c, _d, _e, _f;
1242
1335
  // Fetch number formatting
1243
- this._numberFormat = {
1244
- maximumSignificantDigits: (_c = (_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
1245
- notation: ((_f = (_e = (_d = this._chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
1336
+ this.numberFormat = {
1337
+ maximumSignificantDigits: (_c = (_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
1338
+ notation: ((_f = (_e = (_d = this.chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
1246
1339
  ? 'compact'
1247
1340
  : 'standard'
1248
1341
  };
1249
- if (this._tooltip)
1342
+ if (this.tooltip)
1250
1343
  this.closeTooltip();
1251
1344
  // Check whether we are in table mode or not
1252
- if (this._tableDiv.style['display'] == 'block') {
1253
- if (!this._chartData.title) {
1254
- select(this._titleDiv)
1345
+ if (this.tableDiv.style['display'] == 'block') {
1346
+ if (!this.chartData.title) {
1347
+ select(this.titleDiv)
1255
1348
  .select(this.afHeadingLevel)
1256
1349
  .html(`${_t.loading}...`);
1257
1350
  }
@@ -1263,9 +1356,9 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1263
1356
  }
1264
1357
  else {
1265
1358
  // displaying legend again
1266
- if (this._loading) {
1267
- select(this._host).select('.tableButton').style('display', null);
1268
- select(this._legendDiv).style('display', null);
1359
+ if (this.loading) {
1360
+ select(this.host).select('.tableButton').style('display', null);
1361
+ select(this.legendDiv).style('display', null);
1269
1362
  this.initToolTip();
1270
1363
  }
1271
1364
  // Disconnect resize observer while adjusting things
@@ -1273,73 +1366,69 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1273
1366
  this.setMinMax();
1274
1367
  const newHeight = this.setDims();
1275
1368
  this.transitionTitle();
1276
- this._svg
1277
- .transition()
1278
- .duration(400)
1279
- .attr('width', this._dims.width)
1280
- .attr('height', this._dims.height)
1281
- .attr('aria-label', this._chartData && this._chartData.title
1282
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1369
+ this.svg
1370
+ .attr('aria-label', this.chartData && this.chartData.title
1371
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1283
1372
  : 'Stapeldiagram');
1284
1373
  this.setMargins();
1285
1374
  // Waiting with observing for changes until transition to regular bars is complete
1286
- this._barChartContainer
1375
+ this.barChartContainer
1287
1376
  .transition('position')
1288
1377
  .duration(this.defaultDuration)
1289
1378
  .ease(polyInOut)
1290
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1291
- if (!this._loading)
1292
- this._barChartContainer.on('end', () => this.barChartObserver.observe(this._chartDiv));
1379
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1380
+ if (!this.loading)
1381
+ this.barChartContainer.on('end', () => this.barChartObserver.observe(this.chartDiv));
1293
1382
  // If there is a new height
1294
1383
  if (newHeight) {
1295
1384
  // Update y-axis with potentially new height (might want to do a check here)
1296
1385
  this.afVariation === BarChartVariation.Horizontal
1297
- ? this._yScale.range([
1298
- this._margin.top,
1299
- this._dims.height - this._margin.bottom
1386
+ ? this.yScale.range([
1387
+ this.margin.top,
1388
+ this.dims.height - this.margin.bottom
1300
1389
  ])
1301
- : this._yScale.range([
1302
- this._dims.height - this._margin.bottom,
1303
- this._margin.top
1390
+ : this.yScale.range([
1391
+ this.dims.height - this.margin.bottom,
1392
+ this.margin.top
1304
1393
  ]);
1305
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1394
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1306
1395
  }
1307
1396
  this.tickSizes();
1308
1397
  this.setYScale();
1309
1398
  this.setXScale();
1310
1399
  this.setTickInteraction();
1311
- this._tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
1312
- ? this._xScale.ticks().map((tick) => tick.toLocaleString())
1313
- : this._yScale.ticks().map((tick) => tick.toLocaleString()));
1400
+ this.tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
1401
+ ? this.xScale.ticks().map((tick) => tick.toLocaleString())
1402
+ : this.yScale.ticks().map((tick) => tick.toLocaleString()));
1314
1403
  this.setValueTicks(true);
1315
- if (this._loading) {
1316
- select(this._legendDiv)
1404
+ if (this.loading) {
1405
+ select(this.legendDiv)
1317
1406
  .style('opacity', 0)
1318
1407
  .transition()
1319
1408
  .duration(400)
1320
1409
  .ease(polyInOut)
1321
1410
  .style('opacity', 1);
1322
- this._margin.right =
1323
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
1411
+ this.margin.right =
1412
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
1324
1413
  this.yTickSize +
1325
1414
  this.tickPadding;
1326
1415
  // Update x-axis with new width
1327
- this._xScale.range([
1416
+ this.xScale.range([
1328
1417
  0,
1329
- this._dims.width - this._margin.right - this._margin.left
1418
+ this.dims.width - this.margin.right - this.margin.left
1330
1419
  ]);
1331
1420
  this.setNamedTicks(true);
1332
1421
  // Stop animation
1333
- this._barSelection.selectAll('.barGroup').on('end', null);
1334
- this._loading = false;
1335
- this._barSelection
1422
+ this.barSelection.selectAll('.barGroup').on('end', null);
1423
+ this.loading = false;
1424
+ this.barSelection
1336
1425
  .transition()
1337
1426
  .duration(this.defaultDuration)
1338
1427
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1339
- ? this._yScale(d.key)
1340
- : this._dims.height - this._margin.bottom)
1428
+ ? this.yScale(d.key)
1429
+ : this.dims.height - this.margin.bottom)
1341
1430
  .attr('height', () => 0)
1342
- .on('end', (...[, i]) => i === this._placeholderTicks.length - 1
1431
+ .on('end', (...[, i]) => i === this.placeholderTicks.length - 1
1343
1432
  ? this.updateBars(true)
1344
1433
  : null);
1345
1434
  this.setTickInteraction();
@@ -1354,51 +1443,50 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1354
1443
  // Getting correct color given index or name of data serie
1355
1444
  colorFunction(input) {
1356
1445
  if (typeof input === 'number')
1357
- return `var(${this.colorPalettes[input]})`;
1446
+ return this.evalColorVar(this.colorPalettes[input]);
1358
1447
  else {
1359
- const index = this._chartData.data.series.findIndex((serie) => serie.title === input);
1448
+ const index = this.chartData.data.series.findIndex((serie) => serie.title === input);
1360
1449
  if (index > 0)
1361
- return `var(${this.colorPalettes[index]})`;
1450
+ return this.evalColorVar(this.colorPalettes[index]);
1362
1451
  else
1363
- return `var(${this.colorPalettes[0]})`;
1452
+ return this.evalColorVar(this.colorPalettes[0]);
1364
1453
  }
1365
1454
  }
1366
1455
  // Resizing bar chart
1367
1456
  resize() {
1368
- var _a;
1369
1457
  const newHeight = this.setDims();
1370
- this.setMargins();
1371
- (_a = this._svg) === null || _a === void 0 ? void 0 : _a.attr('width', this._dims.width).attr('height', this._dims.height);
1372
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1373
- this._margin.right =
1374
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
1458
+ //this.setMargins();
1459
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1460
+ this.margin.right =
1461
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
1375
1462
  this.yTickSize +
1376
1463
  this.tickPadding;
1377
1464
  // If there is a new height
1378
1465
  if (newHeight) {
1379
1466
  // Update y-axis with potentially new height (might want to do a check here)
1380
1467
  this.afVariation === BarChartVariation.Horizontal
1381
- ? this._yScale.range([
1382
- this._margin.top,
1383
- this._dims.height - this._margin.bottom
1468
+ ? this.yScale.range([
1469
+ this.margin.top,
1470
+ this.dims.height - this.margin.bottom
1384
1471
  ])
1385
- : this._yScale.range([
1386
- this._dims.height - this._margin.bottom,
1387
- this._margin.top
1472
+ : this.yScale.range([
1473
+ this.dims.height - this.margin.bottom,
1474
+ this.margin.top
1388
1475
  ]);
1389
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1476
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1390
1477
  }
1391
1478
  // Update x-axis with new width
1392
- this._xScale.range([
1479
+ this.xScale.range([
1393
1480
  0,
1394
- this._dims.width - this._margin.right - this._margin.left
1481
+ this.dims.width - this.margin.right - this.margin.left
1395
1482
  ]);
1396
1483
  this.setNamedTicks();
1397
1484
  this.setValueTicks();
1485
+ this.setTickInteraction();
1398
1486
  this.adjustBarSize();
1399
1487
  this.adjustBarText();
1400
- if (this._tooltipData)
1401
- this.positionTooltip(this._tooltipData);
1488
+ if (this.tooltip.style('visibility') !== 'hidden')
1489
+ this.positionTooltip(this.tooltipData);
1402
1490
  }
1403
1491
  // Returns the longest text from an array of strings
1404
1492
  getLargestText(array) {
@@ -1411,30 +1499,33 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1411
1499
  });
1412
1500
  return width;
1413
1501
  }
1502
+ adjustColor(color, amount) {
1503
+ return '#' + color.replace(/^#/, '').replace(/../g, color => ('0' + Math.min(255, Math.max(0, parseInt(color, 16) + amount)).toString(16)).substr(-2));
1504
+ }
1414
1505
  componentWillLoad() {
1415
1506
  this.afChartDataUpdate(this.afChartData);
1416
1507
  }
1417
1508
  componentDidLoad() {
1418
- if (!this._chartData || Object.keys(this._chartData).length === 0) {
1419
- this._loading = true;
1509
+ if (!this.chartData || Object.keys(this.chartData).length === 0) {
1510
+ this.loading = true;
1420
1511
  return this.initEmpty();
1421
1512
  }
1422
1513
  this.initChain();
1423
1514
  document.fonts.ready.then(() => {
1424
1515
  this.recomputeTextSize();
1425
1516
  this.setNamedTicks();
1426
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1517
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1427
1518
  });
1428
1519
  }
1429
1520
  disconnectedCallback() {
1430
1521
  this.barChartObserver.disconnect();
1431
1522
  }
1432
1523
  componentWillUpdate() {
1433
- this._prevHeight = select(this._titleDiv).style('height');
1524
+ this.prevHeight = select(this.titleDiv).style('height');
1434
1525
  }
1435
1526
  componentDidUpdate() {
1436
- if (this._tableDiv.style['display'] != 'block' &&
1437
- Object.keys(this._chartData).length === 0) {
1527
+ if (this.tableDiv.style['display'] != 'block' &&
1528
+ Object.keys(this.chartData).length === 0) {
1438
1529
  // Disconnect old barchartobserver while doing resizing
1439
1530
  this.barChartObserver.disconnect();
1440
1531
  return this.loadingState();
@@ -1451,7 +1542,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1451
1542
  // Returns pixelwidth of text given the current fontSize (costly function using .each)
1452
1543
  getTextSize(text) {
1453
1544
  const textWidth = [];
1454
- const svg = select(this._chartDiv).append('svg');
1545
+ const svg = select(this.chartDiv).append('svg');
1455
1546
  svg
1456
1547
  .selectAll('dummyText')
1457
1548
  .data([text])
@@ -1466,21 +1557,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1466
1557
  svg.remove().exit();
1467
1558
  return textWidth[0];
1468
1559
  }
1469
- // Setting table content from this._chartData
1560
+ // Setting table content from this.chartData
1470
1561
  setTableContent() {
1471
- this._tableDiv.innerHTML = `<digi-table af-size="small" af-variation="primary"> <table><caption>${this._chartData.title}</caption><thead><tr>${this.headings()}</tr></thead><tbody>${this.tableBody()}</tbody></table></digi-table>`;
1562
+ this.tableDiv.innerHTML = `<digi-table af-size="small" style="width:100%" af-variation="primary"> <table><caption>${this.chartData.title}</caption><thead><tr>${this.headings()}</tr></thead><tbody>${this.tableBody()}</tbody></table></digi-table>`;
1472
1563
  }
1473
1564
  setTableDimensions() {
1474
- const table = select(this._tableDiv);
1475
- table
1476
- // The last value is for compensating the padding set on the table element, changing padding in css, will need change in these two lines
1477
- .style('height', this._dims.height + 'px');
1478
- table.style('width', this._dims.width - this._rem * 0.65 + 'px');
1565
+ const table = select(this.tableDiv);
1566
+ table.style('display', 'flex').style('height', '100%').style('width', '100%');
1479
1567
  }
1480
1568
  // Extracting all headings from data and returning a string with <th>-elements with headings
1481
1569
  headings() {
1482
- let headingsString = `<th scope="col">${this._chartData.x}</th>`;
1483
- this._chartData.data.series.forEach((elem) => {
1570
+ let headingsString = `<th scope="col">${this.chartData.x}</th>`;
1571
+ this.chartData.data.series.forEach((elem) => {
1484
1572
  headingsString = headingsString.concat(`<th scope="col">${elem.title}</th>`);
1485
1573
  });
1486
1574
  return headingsString;
@@ -1488,13 +1576,13 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1488
1576
  // Building the table body
1489
1577
  tableBody() {
1490
1578
  let body = '';
1491
- if (this._chartData && this._chartData.data) {
1492
- const loopable = this._chartData.data.xValueNames
1493
- ? this._chartData.data.xValueNames
1494
- : this._chartData.data.xValues;
1579
+ if (this.chartData && this.chartData.data) {
1580
+ const loopable = this.chartData.data.xValueNames
1581
+ ? this.chartData.data.xValueNames
1582
+ : this.chartData.data.xValues;
1495
1583
  loopable.forEach((elem, index) => {
1496
1584
  let cells = '';
1497
- this._chartData.data.series.forEach((serie) => {
1585
+ this.chartData.data.series.forEach((serie) => {
1498
1586
  cells = cells.concat(`<td>${serie.yValues[index] != null ? serie.yValues[index].toLocaleString() : '-'}</td>`);
1499
1587
  });
1500
1588
  body = body.concat(`<tr><th scope='row'>${elem}${cells}</th></tr>`);
@@ -1506,18 +1594,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1506
1594
  var _a, _b, _c, _d, _e;
1507
1595
  // Setting header
1508
1596
  let heading = '';
1509
- if (this._chartData) {
1510
- if (!this._chartData.subTitle)
1511
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}>`;
1597
+ if (this.chartData) {
1598
+ if (!this.chartData.subTitle)
1599
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}>`;
1512
1600
  else {
1513
- if (!this._chartData.infoText)
1514
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${this._chartData.subTitle}</p>`;
1601
+ if (!this.chartData.infoText)
1602
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${this.chartData.subTitle}</p>`;
1515
1603
  else
1516
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${(_a = this._chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
1517
- <span style="display:block;margin-top:0.25rem;font-size:0.875rem;color:var(--digi--global--color--neutral--grayscale--darkest-3)">${this._chartData.infoText}</span></p>`;
1604
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${(_a = this.chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
1605
+ <span style="display:block;margin-top:0.25rem;font-size:0.875rem;color:var(--digi--global--color--neutral--grayscale--darkest-3)">${this.chartData.infoText}</span></p>`;
1518
1606
  }
1519
1607
  }
1520
- return (h(Host, { key: 'a1e4aaa788766d54c691e95b7e70932b0e7d2b05', ref: (el) => (this._host = el) }, h("div", { key: '2fac926d196acaa20ab5f438968e3c98c08dd104', class: "topWrapper", ref: (el) => (this._titleDiv = el) }, h("digi-typography", { key: '16d8cbd0f03a2a2d24d3366ab1b3eaed797dd361', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '22a93add4a7f1ea3965ce496f2b5cbf488b01314', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this._chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: '152938d206dc00e2fb88b52d332960cbeda2c045', slot: "icon" }), "Visa tabell"), h("digi-button", { key: '66db213ee1c4cb169c7c257853a15a468bf2a83e', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: 'ac4b8adad6ace97f50591cd39b8b0082d067f069', slot: "icon" }), "Visa diagram"), h("div", { key: 'b28e00a40b5c1a2919146ec4815f23a14fdfac50', class: "scChartStatus", role: "status", ref: (el) => (this._status = el) })), h("div", { key: '63f80744faa1d4b3d7d62bece3b5c446eda3ae7b', class: "chartTooltip", id: this.afId }, h("div", { key: '8c9fa9388b9bfc071c4a594275159eb36a8ec43b', class: "tooltipBody" }), h("digi-icon-x", { key: '252d12a937e5276381fa40ec3bb4e77c259da9c1', class: "close" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", null)) : (h("digi-icon-caret-down", null))), h("div", { key: '9b70433c310882bd0a06784ca1fa21c5b2dd9e52', ref: (el) => (this._chartDiv = el) }, " "), h("div", { key: '459e38448e29eea1fa7a10de7f3f1f06b6404eab', class: "legend", ref: (el) => (this._legendDiv = el) }), h("div", { key: 'cc655054cb3c3688c75060ebbdf6c3f8ea4ad712', class: "table", ref: (el) => (this._tableDiv = el) }, ' ')));
1608
+ return (h(Host, { key: 'adbf9f1c26a8816a8d4b585b0fc7a0b9100bf252', ref: (el) => (this.host = el) }, h("div", { key: 'ee28dc5914be751e08c73253b80fd257c2e17bbb', class: "topWrapper", ref: (el) => (this.titleDiv = el) }, h("digi-typography", { key: '6a0b051d3c26e9c34fb59d4ee323a10d1cb542e1', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '9e11623f0b35f394dc3655067625a37771f648d1', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: '6e00e771521a10c0213ae6267ea2879c7ccc4b3c', slot: "icon" }), "Visa tabell"), h("digi-button", { key: 'a1eec7299c9cd273ceffa1f1689ee0c6297ce0a1', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: '5361af6d17e4cd7d6217afd48c4a474fd905c8de', slot: "icon" }), "Visa diagram"), h("div", { key: '2efe2244c2105390580779f60a7c1accd5135d49', class: "scChartStatus", role: "status", ref: (el) => (this.status = el) })), h("div", { key: '48f2316efe396309fd73510a2eea011c137e24ed', class: "svgWrap", ref: (el) => (this.chartDiv = el) }, h("div", { key: '4f2f494517979cbb9de43945d5ffe17acbe6c814', class: "chartTooltip", id: this.afId }, h("div", { key: '36db97d0dcd4e2009cd33b4125b631eddae039ae', class: "tooltipBody" }), h("digi-icon-x", { key: 'b3ac9ec4b6cd6c2c666d475929c10c0aaba2b9e1', class: "close" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", { class: "caret" })) : (h("digi-icon-caret-down", { class: "caret" })))), h("div", { key: 'f96ed8b4c527ba32de5dd5bdb58c367435ecbc04', class: "legendWrap", ref: (el) => (this.legendDiv = el) }, h("div", { key: '3911352915f02a33231c2e0604a5073fb7203bd3', class: "legend" })), h("div", { key: '29c613f6af6e23b05748e230bad4c00156f30fd6', class: "table", ref: (el) => (this.tableDiv = el) }, ' ')));
1521
1609
  }
1522
1610
  get hostElement() { return this; }
1523
1611
  static get watchers() { return {