@designsystem-se/af 37.0.0 → 37.0.2-beta.0

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 (648) hide show
  1. package/components/digi-badge-notification.d.ts +1 -1
  2. package/components/digi-badge-status.d.ts +1 -1
  3. package/components/digi-bar-chart.d.ts +1 -1
  4. package/components/digi-bar-chart.js +1 -1
  5. package/components/digi-button.d.ts +1 -1
  6. package/components/digi-button.js +1 -1
  7. package/components/digi-calendar-datepicker.d.ts +1 -1
  8. package/components/digi-calendar-datepicker.js +4 -4
  9. package/components/digi-calendar-week-view.d.ts +1 -1
  10. package/components/digi-calendar-week-view.js +1 -1
  11. package/components/digi-calendar.d.ts +1 -1
  12. package/components/digi-calendar.js +1 -1
  13. package/components/digi-chart-line.d.ts +1 -1
  14. package/components/digi-chart-line.js +1 -1
  15. package/components/digi-code-block.d.ts +1 -1
  16. package/components/digi-code-block.js +1 -1
  17. package/components/digi-code-example.d.ts +1 -1
  18. package/components/digi-code-example.js +3 -3
  19. package/components/digi-code.d.ts +1 -1
  20. package/components/digi-context-menu.d.ts +1 -1
  21. package/components/digi-context-menu.js +1 -1
  22. package/components/digi-dialog.d.ts +1 -1
  23. package/components/digi-dialog.js +3 -3
  24. package/components/digi-expandable-accordion.d.ts +1 -1
  25. package/components/digi-expandable-faq-item.d.ts +1 -1
  26. package/components/digi-expandable-faq-item.js +1 -1
  27. package/components/digi-expandable-faq.d.ts +1 -1
  28. package/components/digi-footer-card.d.ts +1 -1
  29. package/components/digi-footer.d.ts +1 -1
  30. package/components/digi-footer.js +1 -1
  31. package/components/digi-form-category-filter.d.ts +1 -1
  32. package/components/digi-form-category-filter.js +1 -1
  33. package/components/digi-form-checkbox.d.ts +1 -1
  34. package/components/digi-form-checkbox.js +1 -1
  35. package/components/digi-form-error-list.d.ts +1 -1
  36. package/components/digi-form-error-list.js +3 -3
  37. package/components/digi-form-fieldset.d.ts +1 -1
  38. package/components/digi-form-file-upload.d.ts +1 -1
  39. package/components/digi-form-file-upload.js +1 -1
  40. package/components/digi-form-filter.d.ts +1 -1
  41. package/components/digi-form-filter.js +2 -2
  42. package/components/digi-form-input-search.d.ts +1 -1
  43. package/components/digi-form-input-search.js +1 -1
  44. package/components/digi-form-input.d.ts +1 -1
  45. package/components/digi-form-label.d.ts +1 -1
  46. package/components/digi-form-radiobutton.d.ts +1 -1
  47. package/components/digi-form-radiogroup.d.ts +1 -1
  48. package/components/digi-form-receipt.d.ts +1 -1
  49. package/components/digi-form-receipt.js +1 -1
  50. package/components/digi-form-select-filter.d.ts +1 -1
  51. package/components/digi-form-select-filter.js +3 -3
  52. package/components/digi-form-select.d.ts +1 -1
  53. package/components/digi-form-select.js +1 -1
  54. package/components/digi-form-textarea.d.ts +1 -1
  55. package/components/digi-form-validation-message.d.ts +1 -1
  56. package/components/digi-header-avatar.d.ts +1 -1
  57. package/components/digi-header-avatar.js +1 -1
  58. package/components/digi-header-navigation-item.d.ts +1 -1
  59. package/components/digi-header-navigation.d.ts +1 -1
  60. package/components/digi-header-navigation.js +2 -2
  61. package/components/digi-header-notification.d.ts +1 -1
  62. package/components/digi-header.d.ts +1 -1
  63. package/components/digi-header.js +3 -3
  64. package/components/digi-icon-accessibility-deaf.d.ts +1 -1
  65. package/components/digi-icon-accessibility-universal.d.ts +1 -1
  66. package/components/digi-icon-apple.d.ts +1 -1
  67. package/components/digi-icon-archive-outline.d.ts +1 -1
  68. package/components/digi-icon-archive.d.ts +1 -1
  69. package/components/digi-icon-arrow-back.d.ts +1 -1
  70. package/components/digi-icon-arrow-down.d.ts +1 -1
  71. package/components/digi-icon-arrow-left.d.ts +1 -1
  72. package/components/digi-icon-arrow-right.d.ts +1 -1
  73. package/components/digi-icon-arrow-sign-in.d.ts +1 -1
  74. package/components/digi-icon-arrow-sign-out.d.ts +1 -1
  75. package/components/digi-icon-arrow-up.d.ts +1 -1
  76. package/components/digi-icon-at.d.ts +1 -1
  77. package/components/digi-icon-bars.d.ts +1 -1
  78. package/components/digi-icon-bell-filled.d.ts +1 -1
  79. package/components/digi-icon-bell.d.ts +1 -1
  80. package/components/digi-icon-book.d.ts +1 -1
  81. package/components/digi-icon-bookmark-outline.d.ts +1 -1
  82. package/components/digi-icon-bookmark-solid.d.ts +1 -1
  83. package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
  84. package/components/digi-icon-bubble.d.ts +1 -1
  85. package/components/digi-icon-building-outline.d.ts +1 -1
  86. package/components/digi-icon-building-solid.d.ts +1 -1
  87. package/components/digi-icon-bullseye.d.ts +1 -1
  88. package/components/digi-icon-calculator-solid.d.ts +1 -1
  89. package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
  90. package/components/digi-icon-calendar-alt.d.ts +1 -1
  91. package/components/digi-icon-calendar.d.ts +1 -1
  92. package/components/digi-icon-caret-circle-right.d.ts +1 -1
  93. package/components/digi-icon-caret-down.d.ts +1 -1
  94. package/components/digi-icon-caret-left.d.ts +1 -1
  95. package/components/digi-icon-caret-right.d.ts +1 -1
  96. package/components/digi-icon-caret-up.d.ts +1 -1
  97. package/components/digi-icon-chart.d.ts +1 -1
  98. package/components/digi-icon-chat.d.ts +1 -1
  99. package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
  100. package/components/digi-icon-check-circle-solid.d.ts +1 -1
  101. package/components/digi-icon-check.d.ts +1 -1
  102. package/components/digi-icon-checklist.d.ts +1 -1
  103. package/components/digi-icon-chevron-down.d.ts +1 -1
  104. package/components/digi-icon-chevron-left.d.ts +1 -1
  105. package/components/digi-icon-chevron-right.d.ts +1 -1
  106. package/components/digi-icon-chevron-up.d.ts +1 -1
  107. package/components/digi-icon-clock.d.ts +1 -1
  108. package/components/digi-icon-communication-play-solid.d.ts +1 -1
  109. package/components/digi-icon-compress-alt.d.ts +1 -1
  110. package/components/digi-icon-comunication-case.d.ts +1 -1
  111. package/components/digi-icon-comunication-flag.d.ts +1 -1
  112. package/components/digi-icon-comunication-graduate.d.ts +1 -1
  113. package/components/digi-icon-comunication-play.d.ts +1 -1
  114. package/components/digi-icon-cooperation.d.ts +1 -1
  115. package/components/digi-icon-copy.d.ts +1 -1
  116. package/components/digi-icon-danger-outline.d.ts +1 -1
  117. package/components/digi-icon-download.d.ts +1 -1
  118. package/components/digi-icon-dxa.d.ts +1 -1
  119. package/components/digi-icon-edit.d.ts +1 -1
  120. package/components/digi-icon-ellipsis.d.ts +1 -1
  121. package/components/digi-icon-envelope-filled.d.ts +1 -1
  122. package/components/digi-icon-envelope.d.ts +1 -1
  123. package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
  124. package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
  125. package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
  126. package/components/digi-icon-exclamation-triangle.d.ts +1 -1
  127. package/components/digi-icon-expand-alt.d.ts +1 -1
  128. package/components/digi-icon-external-link-alt.d.ts +1 -1
  129. package/components/digi-icon-eye-slash.d.ts +1 -1
  130. package/components/digi-icon-eye.d.ts +1 -1
  131. package/components/digi-icon-facebook-square.d.ts +1 -1
  132. package/components/digi-icon-file-add.d.ts +1 -1
  133. package/components/digi-icon-file-document.d.ts +1 -1
  134. package/components/digi-icon-file-excel.d.ts +1 -1
  135. package/components/digi-icon-file-export.d.ts +1 -1
  136. package/components/digi-icon-file-governing.d.ts +1 -1
  137. package/components/digi-icon-file-pdf.d.ts +1 -1
  138. package/components/digi-icon-file-powerpoint.d.ts +1 -1
  139. package/components/digi-icon-file-remove.d.ts +1 -1
  140. package/components/digi-icon-file-word.d.ts +1 -1
  141. package/components/digi-icon-film.d.ts +1 -1
  142. package/components/digi-icon-filter.d.ts +1 -1
  143. package/components/digi-icon-folder-add.d.ts +1 -1
  144. package/components/digi-icon-folder-directory.d.ts +1 -1
  145. package/components/digi-icon-folder-open.d.ts +1 -1
  146. package/components/digi-icon-folder.d.ts +1 -1
  147. package/components/digi-icon-globe-filled.d.ts +1 -1
  148. package/components/digi-icon-globe.d.ts +1 -1
  149. package/components/digi-icon-headphones.d.ts +1 -1
  150. package/components/digi-icon-heart-solid.d.ts +1 -1
  151. package/components/digi-icon-heart.d.ts +1 -1
  152. package/components/digi-icon-history.d.ts +1 -1
  153. package/components/digi-icon-home.d.ts +1 -1
  154. package/components/digi-icon-image.d.ts +1 -1
  155. package/components/digi-icon-info-circle-solid.d.ts +1 -1
  156. package/components/digi-icon-input-select-marker.d.ts +1 -1
  157. package/components/digi-icon-instagram.d.ts +1 -1
  158. package/components/digi-icon-job-suggestion.d.ts +1 -1
  159. package/components/digi-icon-language-outline.d.ts +1 -1
  160. package/components/digi-icon-language.d.ts +1 -1
  161. package/components/digi-icon-laptop-phone.d.ts +1 -1
  162. package/components/digi-icon-lattlast.d.ts +1 -1
  163. package/components/digi-icon-licence-bus.d.ts +1 -1
  164. package/components/digi-icon-licence-car.d.ts +1 -1
  165. package/components/digi-icon-licence-motorcycle.d.ts +1 -1
  166. package/components/digi-icon-licence-truck.d.ts +1 -1
  167. package/components/digi-icon-lightbulb.d.ts +1 -1
  168. package/components/digi-icon-linkedin-in.d.ts +1 -1
  169. package/components/digi-icon-list-ul.d.ts +1 -1
  170. package/components/digi-icon-lock.d.ts +1 -1
  171. package/components/digi-icon-marker-filled.d.ts +1 -1
  172. package/components/digi-icon-marker.d.ts +1 -1
  173. package/components/digi-icon-media-course.d.ts +1 -1
  174. package/components/digi-icon-media-podcast.d.ts +1 -1
  175. package/components/digi-icon-microphone-off.d.ts +1 -1
  176. package/components/digi-icon-microphone.d.ts +1 -1
  177. package/components/digi-icon-minus.d.ts +1 -1
  178. package/components/digi-icon-move.d.ts +1 -1
  179. package/components/digi-icon-news.d.ts +1 -1
  180. package/components/digi-icon-notification-error.d.ts +1 -1
  181. package/components/digi-icon-notification-info.d.ts +1 -1
  182. package/components/digi-icon-notification-succes.d.ts +1 -1
  183. package/components/digi-icon-notification-warning.d.ts +1 -1
  184. package/components/digi-icon-online-computervideo.d.ts +1 -1
  185. package/components/digi-icon-online-interview.d.ts +1 -1
  186. package/components/digi-icon-online-meeting.d.ts +1 -1
  187. package/components/digi-icon-online-task.d.ts +1 -1
  188. package/components/digi-icon-online-video.d.ts +1 -1
  189. package/components/digi-icon-open-source.d.ts +1 -1
  190. package/components/digi-icon-palette.d.ts +1 -1
  191. package/components/digi-icon-paperclip.d.ts +1 -1
  192. package/components/digi-icon-paste.d.ts +1 -1
  193. package/components/digi-icon-pen.d.ts +1 -1
  194. package/components/digi-icon-phone-hangup.d.ts +1 -1
  195. package/components/digi-icon-phone.d.ts +1 -1
  196. package/components/digi-icon-plus.d.ts +1 -1
  197. package/components/digi-icon-pod.d.ts +1 -1
  198. package/components/digi-icon-print.d.ts +1 -1
  199. package/components/digi-icon-read.d.ts +1 -1
  200. package/components/digi-icon-redo.d.ts +1 -1
  201. package/components/digi-icon-scale.d.ts +1 -1
  202. package/components/digi-icon-screensharing-off.d.ts +1 -1
  203. package/components/digi-icon-screensharing.d.ts +1 -1
  204. package/components/digi-icon-search.d.ts +1 -1
  205. package/components/digi-icon-send-outline.d.ts +1 -1
  206. package/components/digi-icon-send-solid.d.ts +1 -1
  207. package/components/digi-icon-settings.d.ts +1 -1
  208. package/components/digi-icon-share-alt.d.ts +1 -1
  209. package/components/digi-icon-share-chain.d.ts +1 -1
  210. package/components/digi-icon-sign.d.ts +1 -1
  211. package/components/digi-icon-sliders-h.d.ts +1 -1
  212. package/components/digi-icon-sokkandidat.d.ts +1 -1
  213. package/components/digi-icon-sort-down.d.ts +1 -1
  214. package/components/digi-icon-sort-up.d.ts +1 -1
  215. package/components/digi-icon-sort.d.ts +1 -1
  216. package/components/digi-icon-spinner.d.ts +1 -1
  217. package/components/digi-icon-star-reg.d.ts +1 -1
  218. package/components/digi-icon-star.d.ts +1 -1
  219. package/components/digi-icon-suitcase-outline.d.ts +1 -1
  220. package/components/digi-icon-suitcase-solid.d.ts +1 -1
  221. package/components/digi-icon-system-assistance.d.ts +1 -1
  222. package/components/digi-icon-table-column.d.ts +1 -1
  223. package/components/digi-icon-table-row.d.ts +1 -1
  224. package/components/digi-icon-table.d.ts +1 -1
  225. package/components/digi-icon-task-done.d.ts +1 -1
  226. package/components/digi-icon-toggle-off.d.ts +1 -1
  227. package/components/digi-icon-toggle-on.d.ts +1 -1
  228. package/components/digi-icon-trash.d.ts +1 -1
  229. package/components/digi-icon-twitter.d.ts +1 -1
  230. package/components/digi-icon-tyck-till.d.ts +1 -1
  231. package/components/digi-icon-unlock.d.ts +1 -1
  232. package/components/digi-icon-update.d.ts +1 -1
  233. package/components/digi-icon-upload.d.ts +1 -1
  234. package/components/digi-icon-user-add.d.ts +1 -1
  235. package/components/digi-icon-user-alt.d.ts +1 -1
  236. package/components/digi-icon-user-edit.d.ts +1 -1
  237. package/components/digi-icon-users-solid.d.ts +1 -1
  238. package/components/digi-icon-validation-error.d.ts +1 -1
  239. package/components/digi-icon-validation-success.d.ts +1 -1
  240. package/components/digi-icon-validation-warning.d.ts +1 -1
  241. package/components/digi-icon-videocamera-off.d.ts +1 -1
  242. package/components/digi-icon-videocamera.d.ts +1 -1
  243. package/components/digi-icon-volume.d.ts +1 -1
  244. package/components/digi-icon-web-tv.d.ts +1 -1
  245. package/components/digi-icon-webinar.d.ts +1 -1
  246. package/components/digi-icon-wifi-signal0.d.ts +1 -1
  247. package/components/digi-icon-wifi-signal1.d.ts +1 -1
  248. package/components/digi-icon-wifi-signal2.d.ts +1 -1
  249. package/components/digi-icon-wifi-signal3.d.ts +1 -1
  250. package/components/digi-icon-window.d.ts +1 -1
  251. package/components/digi-icon-x-button-outline.d.ts +1 -1
  252. package/components/digi-icon-x-button.d.ts +1 -1
  253. package/components/digi-icon-x.d.ts +1 -1
  254. package/components/digi-icon-youtube.d.ts +1 -1
  255. package/components/digi-info-card-multi-container.d.ts +1 -1
  256. package/components/digi-info-card-multi.d.ts +1 -1
  257. package/components/digi-info-card.d.ts +1 -1
  258. package/components/digi-info-card.js +2 -2
  259. package/components/digi-layout-block.d.ts +1 -1
  260. package/components/digi-layout-columns.d.ts +1 -1
  261. package/components/digi-layout-container.d.ts +1 -1
  262. package/components/digi-link-button.d.ts +1 -1
  263. package/components/digi-link-external.d.ts +1 -1
  264. package/components/digi-link-internal.d.ts +1 -1
  265. package/components/digi-link-internal.js +1 -1
  266. package/components/digi-link.d.ts +1 -1
  267. package/components/digi-list.d.ts +1 -1
  268. package/components/digi-loader-skeleton.d.ts +1 -1
  269. package/components/digi-loader-spinner.d.ts +1 -1
  270. package/components/digi-logo.d.ts +1 -1
  271. package/components/digi-logo.js +1 -1
  272. package/components/digi-media-figure.d.ts +1 -1
  273. package/components/digi-media-image.d.ts +1 -1
  274. package/components/digi-navigation-breadcrumbs.d.ts +1 -1
  275. package/components/digi-navigation-pagination.d.ts +1 -1
  276. package/components/digi-navigation-pagination.js +2 -2
  277. package/components/digi-navigation-sidebar-button.d.ts +1 -1
  278. package/components/digi-navigation-sidebar-button.js +1 -1
  279. package/components/digi-navigation-sidebar.d.ts +1 -1
  280. package/components/digi-navigation-sidebar.js +1 -1
  281. package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
  282. package/components/digi-navigation-vertical-menu-item.js +1 -1
  283. package/components/digi-navigation-vertical-menu.d.ts +1 -1
  284. package/components/digi-notification-alert.d.ts +1 -1
  285. package/components/digi-notification-alert.js +1 -1
  286. package/components/digi-notification-error-page.d.ts +1 -1
  287. package/components/digi-notification-error-page.js +1 -1
  288. package/components/digi-progress-circle.d.ts +1 -1
  289. package/components/digi-progress-indicator.d.ts +1 -1
  290. package/components/digi-progress-indicator.js +1 -1
  291. package/components/digi-progress-list-item.d.ts +1 -1
  292. package/components/digi-progress-list.d.ts +1 -1
  293. package/components/digi-progressbar.d.ts +1 -1
  294. package/components/digi-quote.d.ts +1 -1
  295. package/components/digi-quote.js +1 -1
  296. package/components/digi-table.d.ts +1 -1
  297. package/components/digi-tablist-panel.d.ts +1 -1
  298. package/components/digi-tablist.d.ts +1 -1
  299. package/components/digi-tag-media.d.ts +1 -1
  300. package/components/digi-tag.d.ts +1 -1
  301. package/components/digi-tag.js +1 -1
  302. package/components/digi-title-logo.d.ts +1 -1
  303. package/components/digi-title-logo.js +1 -1
  304. package/components/digi-tools-feedback-banner.d.ts +1 -1
  305. package/components/digi-tools-feedback-rating.d.ts +1 -1
  306. package/components/digi-tools-feedback.d.ts +1 -1
  307. package/components/digi-tools-feedback.js +3 -3
  308. package/components/digi-tools-theme-provider.d.ts +1 -1
  309. package/components/digi-tools-theme-provider.js +18 -5
  310. package/components/digi-typography-heading-jumbo.d.ts +1 -1
  311. package/components/digi-typography-meta.d.ts +1 -1
  312. package/components/digi-typography-preamble.d.ts +1 -1
  313. package/components/digi-typography-time.d.ts +1 -1
  314. package/components/digi-typography.d.ts +1 -1
  315. package/components/digi-util-breakpoint-observer.d.ts +1 -1
  316. package/components/digi-util-detect-click-outside.d.ts +1 -1
  317. package/components/digi-util-detect-focus-outside.d.ts +1 -1
  318. package/components/digi-util-intersection-observer.d.ts +1 -1
  319. package/components/digi-util-keydown-handler.d.ts +1 -1
  320. package/components/digi-util-keyup-handler.d.ts +1 -1
  321. package/components/digi-util-mutation-observer.d.ts +1 -1
  322. package/components/digi-util-resize-observer.d.ts +1 -1
  323. package/components/index.d.ts +284 -284
  324. package/components/index.js +1 -1
  325. package/components/p-0d568c4b.js +66 -0
  326. package/components/{p-9466c4e0.js → p-117e7b18.js} +1 -1
  327. package/components/{p-7ff04204.js → p-29f63312.js} +2 -2
  328. package/components/p-606ba731.js +165 -0
  329. package/components/{p-44f143ea.js → p-7d3fb535.js} +2 -2
  330. package/components/{p-2ac136a0.js → p-a79e144f.js} +1 -1
  331. package/components/{p-f53eb01a.js → p-d2a95a3e.js} +1 -1
  332. package/components/p-d7ef9cb1.js +13 -0
  333. package/components/{p-62a0008b.js → p-e756fda7.js} +2 -2
  334. package/components/p-f77cb7ae.js +163 -0
  335. package/custom-elements.json +4 -0
  336. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  337. package/dist/cjs/digi-button_38.cjs.entry.js +5759 -0
  338. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
  339. package/dist/cjs/{digi-code-block_3.cjs.entry.js → digi-code-block.cjs.entry.js} +3 -143
  340. package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
  341. package/dist/cjs/digi-dialog.cjs.entry.js +4 -15
  342. package/dist/cjs/digi-footer.cjs.entry.js +3 -14
  343. package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -14
  344. package/dist/cjs/digi-form-file-upload.cjs.entry.js +10 -11
  345. package/dist/cjs/digi-form-input-search.cjs.entry.js +6 -7
  346. package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -14
  347. package/dist/cjs/digi-header-avatar.cjs.entry.js +114 -0
  348. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +27 -0
  349. package/dist/cjs/digi-header-navigation.cjs.entry.js +218 -0
  350. package/dist/cjs/digi-header-notification.cjs.entry.js +23 -0
  351. package/dist/cjs/digi-header.cjs.entry.js +134 -0
  352. package/dist/cjs/{digi-icon-copy.cjs.entry.js → digi-icon-bars.cjs.entry.js} +7 -7
  353. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +30 -0
  354. package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
  355. package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
  356. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  357. package/dist/cjs/digi-media-image_2.cjs.entry.js +167 -0
  358. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +3 -14
  359. package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +30 -0
  360. package/dist/cjs/digi-notification-alert.cjs.entry.js +3 -14
  361. package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -14
  362. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  363. package/dist/cjs/digi-title-logo.cjs.entry.js +121 -0
  364. package/dist/cjs/digi-tools-feedback.cjs.entry.js +4 -15
  365. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +48 -0
  366. package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
  367. package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
  368. package/dist/cjs/index-7a477838.js +44 -96
  369. package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
  370. package/dist/cjs/index.cjs.js +136 -141
  371. package/dist/cjs/loader.cjs.js +1 -1
  372. package/dist/cjs/{typography-variation.enum-118ff8e5.js → typography-variation.enum-e41bd69d.js} +138 -0
  373. package/dist/collection/components/_button/button/button.css +6 -6
  374. package/dist/collection/components/_calendar/calendar/calendar.css +7 -2
  375. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +347 -102
  376. package/dist/collection/components/_code/code-example/code-example.css +6 -0
  377. package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
  378. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
  379. package/dist/collection/components/_form/form-checkbox/form-checkbox.css +347 -102
  380. package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -3
  381. package/dist/collection/components/_form/form-select/form-select.css +2 -2
  382. package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
  383. package/dist/collection/components/_header/header-avatar/header-avatar.css +346 -101
  384. package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
  385. package/dist/collection/components/_link/link-internal/link-internal.css +346 -101
  386. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
  387. package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +4 -3
  388. package/dist/collection/components/_quote/quote/quote.css +2 -2
  389. package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
  390. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +113 -2
  391. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +43 -2
  392. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +5 -0
  393. package/dist/collection/design-tokens/components/_button.variables.scss +6 -6
  394. package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
  395. package/dist/collection/design-tokens/components/_calendar.variables.scss +3 -2
  396. package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
  397. package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
  398. package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
  399. package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +2 -0
  400. package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +1 -1
  401. package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
  402. package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
  403. package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  404. package/dist/collection/design-tokens/components/_quote.variables.scss +2 -2
  405. package/dist/collection/design-tokens/components/_tools-feedback.variables.scss +1 -1
  406. package/dist/collection/enums.js +1 -0
  407. package/dist/collection/styles/src/_alias.mixin.scss +274 -128
  408. package/dist/collection/styles/src/themes/_common.mixin.scss +7 -0
  409. package/dist/collection/styles/src/themes/_theme-af25.mixin.scss +143 -0
  410. package/dist/collection/styles/src/tokens-documentation/web-AF25.json +1406 -323
  411. package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -6
  412. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
  413. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +3 -2
  414. package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
  415. package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
  416. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
  417. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +2 -0
  418. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +1 -1
  419. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
  420. package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
  421. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  422. package/dist/digi-arbetsformedlingen/design-tokens/components/_quote.variables.scss +2 -2
  423. package/dist/digi-arbetsformedlingen/design-tokens/components/_tools-feedback.variables.scss +1 -1
  424. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
  425. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  426. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  427. package/dist/digi-arbetsformedlingen/p-0f543000.entry.js +1 -0
  428. package/dist/digi-arbetsformedlingen/p-13120f18.entry.js +1 -0
  429. package/dist/digi-arbetsformedlingen/p-180663ef.entry.js +1 -0
  430. package/dist/digi-arbetsformedlingen/p-1a619dd3.entry.js +1 -0
  431. package/dist/digi-arbetsformedlingen/p-237cad1c.entry.js +1 -0
  432. package/dist/digi-arbetsformedlingen/p-26e8ea70.entry.js +1 -0
  433. package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
  434. package/dist/digi-arbetsformedlingen/p-52a3c86a.entry.js +1 -0
  435. package/dist/digi-arbetsformedlingen/p-54d9bd3e.entry.js +1 -0
  436. package/dist/digi-arbetsformedlingen/p-5ca38506.entry.js +1 -0
  437. package/dist/digi-arbetsformedlingen/p-64b65586.entry.js +1 -0
  438. package/dist/digi-arbetsformedlingen/p-67e32cc2.entry.js +1 -0
  439. package/dist/digi-arbetsformedlingen/p-73a6be41.entry.js +1 -0
  440. package/dist/digi-arbetsformedlingen/p-76ec3619.entry.js +1 -0
  441. package/dist/digi-arbetsformedlingen/p-780519ec.entry.js +1 -0
  442. package/dist/digi-arbetsformedlingen/p-800b764b.entry.js +1 -0
  443. package/dist/digi-arbetsformedlingen/p-82225661.entry.js +1 -0
  444. package/dist/digi-arbetsformedlingen/p-84719680.entry.js +1 -0
  445. package/dist/digi-arbetsformedlingen/p-920aee36.entry.js +1 -0
  446. package/dist/digi-arbetsformedlingen/p-9b6e8cf8.entry.js +1 -0
  447. package/dist/digi-arbetsformedlingen/p-9e56568b.entry.js +1 -0
  448. package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
  449. package/dist/digi-arbetsformedlingen/p-ac87daf1.entry.js +1 -0
  450. package/dist/digi-arbetsformedlingen/p-b328f60b.entry.js +1 -0
  451. package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
  452. package/dist/digi-arbetsformedlingen/p-d9bcab5f.entry.js +1 -0
  453. package/dist/digi-arbetsformedlingen/p-e2c92528.entry.js +1 -0
  454. package/dist/digi-arbetsformedlingen/p-e540b80f.entry.js +1 -0
  455. package/dist/digi-arbetsformedlingen/p-e5fee242.js +1 -0
  456. package/dist/digi-arbetsformedlingen/p-e7ee9bea.entry.js +1 -0
  457. package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +1 -0
  458. package/dist/digi-arbetsformedlingen/p-fa44ce49.entry.js +1 -0
  459. package/dist/digi-arbetsformedlingen/p-fe409f14.entry.js +1 -0
  460. package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +274 -128
  461. package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +7 -0
  462. package/dist/digi-arbetsformedlingen/styles/src/themes/_theme-af25.mixin.scss +143 -0
  463. package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +1406 -323
  464. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  465. package/dist/esm/digi-button_38.entry.js +5718 -0
  466. package/dist/esm/digi-calendar-week-view.entry.js +1 -2
  467. package/dist/esm/digi-code-block.entry.js +85 -0
  468. package/dist/esm/digi-code-example.entry.js +1 -1
  469. package/dist/esm/digi-dialog.entry.js +4 -15
  470. package/dist/esm/digi-footer.entry.js +3 -14
  471. package/dist/esm/digi-form-error-list.entry.js +3 -14
  472. package/dist/esm/digi-form-file-upload.entry.js +2 -3
  473. package/dist/esm/digi-form-input-search.entry.js +1 -2
  474. package/dist/esm/digi-form-receipt.entry.js +3 -14
  475. package/dist/esm/digi-header-avatar.entry.js +110 -0
  476. package/dist/esm/digi-header-navigation-item.entry.js +23 -0
  477. package/dist/esm/digi-header-navigation.entry.js +214 -0
  478. package/dist/esm/digi-header-notification.entry.js +19 -0
  479. package/dist/esm/digi-header.entry.js +130 -0
  480. package/dist/esm/digi-icon-bars.entry.js +26 -0
  481. package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
  482. package/dist/esm/digi-icon-x.entry.js +26 -0
  483. package/dist/esm/digi-info-card.entry.js +1 -1
  484. package/dist/esm/digi-link-internal.entry.js +1 -1
  485. package/dist/esm/digi-media-image_2.entry.js +162 -0
  486. package/dist/esm/digi-navigation-pagination.entry.js +3 -14
  487. package/dist/esm/digi-navigation-sidebar-button.entry.js +26 -0
  488. package/dist/esm/digi-notification-alert.entry.js +3 -14
  489. package/dist/esm/digi-notification-error-page.entry.js +3 -14
  490. package/dist/esm/digi-quote.entry.js +1 -1
  491. package/dist/esm/digi-title-logo.entry.js +117 -0
  492. package/dist/esm/digi-tools-feedback.entry.js +4 -15
  493. package/dist/esm/digi-util-breakpoint-observer.entry.js +44 -0
  494. package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
  495. package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
  496. package/dist/esm/index-148a7577.js +44 -96
  497. package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
  498. package/dist/esm/index.js +3 -14
  499. package/dist/esm/loader.js +1 -1
  500. package/dist/esm/{typography-variation.enum-23eeecd2.js → typography-variation.enum-b07f76c9.js} +139 -1
  501. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +9 -0
  502. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +4 -0
  503. package/dist/types/components.d.ts +12 -0
  504. package/dist/types/enums.d.ts +1 -0
  505. package/hydrate/index.js +40 -21
  506. package/hydrate/index.mjs +40 -21
  507. package/package.json +1 -1
  508. package/components/p-4bad4fb0.js +0 -7
  509. package/components/p-b57677c1.js +0 -66
  510. package/components/p-e8fc33ed.js +0 -165
  511. package/components/p-ff4f4fb8.js +0 -163
  512. package/dist/cjs/digi-button_17.cjs.entry.js +0 -1120
  513. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2600
  514. package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
  515. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -97
  516. package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -121
  517. package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -127
  518. package/dist/cjs/digi-form-input.cjs.entry.js +0 -194
  519. package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -129
  520. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +0 -80
  521. package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -565
  522. package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -186
  523. package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
  524. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
  525. package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
  526. package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
  527. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -53
  528. package/dist/cjs/digi-link.cjs.entry.js +0 -75
  529. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +0 -150
  530. package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +0 -177
  531. package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -137
  532. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +0 -28
  533. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
  534. package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
  535. package/dist/cjs/digi-typography.cjs.entry.js +0 -26
  536. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
  537. package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +0 -18
  538. package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +0 -19
  539. package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +0 -15
  540. package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
  541. package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +0 -9
  542. package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
  543. package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
  544. package/dist/cjs/index-cad91a90.js +0 -66
  545. package/dist/cjs/index-e8333bcc.js +0 -174
  546. package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +0 -13
  547. package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +0 -13
  548. package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +0 -7
  549. package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
  550. package/dist/digi-arbetsformedlingen/p-029c4d40.entry.js +0 -1
  551. package/dist/digi-arbetsformedlingen/p-07985aef.entry.js +0 -1
  552. package/dist/digi-arbetsformedlingen/p-0c77050e.entry.js +0 -1
  553. package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
  554. package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
  555. package/dist/digi-arbetsformedlingen/p-24fe2189.js +0 -1
  556. package/dist/digi-arbetsformedlingen/p-2693c1d8.entry.js +0 -1
  557. package/dist/digi-arbetsformedlingen/p-2c698144.entry.js +0 -1
  558. package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +0 -1
  559. package/dist/digi-arbetsformedlingen/p-3a76bfde.entry.js +0 -1
  560. package/dist/digi-arbetsformedlingen/p-3b20ec86.js +0 -1
  561. package/dist/digi-arbetsformedlingen/p-3d7fff3c.entry.js +0 -1
  562. package/dist/digi-arbetsformedlingen/p-41bc039f.entry.js +0 -1
  563. package/dist/digi-arbetsformedlingen/p-4841b4e1.js +0 -1
  564. package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +0 -1
  565. package/dist/digi-arbetsformedlingen/p-4e36c467.entry.js +0 -1
  566. package/dist/digi-arbetsformedlingen/p-51149879.entry.js +0 -1
  567. package/dist/digi-arbetsformedlingen/p-51bfa2a9.entry.js +0 -1
  568. package/dist/digi-arbetsformedlingen/p-57319a80.entry.js +0 -1
  569. package/dist/digi-arbetsformedlingen/p-57a0cc63.entry.js +0 -1
  570. package/dist/digi-arbetsformedlingen/p-583d40dc.entry.js +0 -1
  571. package/dist/digi-arbetsformedlingen/p-5d3383f9.entry.js +0 -1
  572. package/dist/digi-arbetsformedlingen/p-681e7beb.entry.js +0 -1
  573. package/dist/digi-arbetsformedlingen/p-6bd60ab6.entry.js +0 -1
  574. package/dist/digi-arbetsformedlingen/p-6d864e79.entry.js +0 -1
  575. package/dist/digi-arbetsformedlingen/p-7238fdb8.entry.js +0 -1
  576. package/dist/digi-arbetsformedlingen/p-7327f45d.entry.js +0 -1
  577. package/dist/digi-arbetsformedlingen/p-750ff498.entry.js +0 -1
  578. package/dist/digi-arbetsformedlingen/p-78c99e87.entry.js +0 -1
  579. package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
  580. package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
  581. package/dist/digi-arbetsformedlingen/p-7e125c6e.entry.js +0 -1
  582. package/dist/digi-arbetsformedlingen/p-8142cc73.js +0 -1
  583. package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
  584. package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
  585. package/dist/digi-arbetsformedlingen/p-93766b5e.entry.js +0 -1
  586. package/dist/digi-arbetsformedlingen/p-96987381.entry.js +0 -1
  587. package/dist/digi-arbetsformedlingen/p-9a6ea3b7.entry.js +0 -1
  588. package/dist/digi-arbetsformedlingen/p-9b7f0707.entry.js +0 -1
  589. package/dist/digi-arbetsformedlingen/p-9be9a291.js +0 -1
  590. package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
  591. package/dist/digi-arbetsformedlingen/p-a2561b9e.entry.js +0 -1
  592. package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +0 -1
  593. package/dist/digi-arbetsformedlingen/p-bd55807c.entry.js +0 -1
  594. package/dist/digi-arbetsformedlingen/p-c29ab968.entry.js +0 -1
  595. package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
  596. package/dist/digi-arbetsformedlingen/p-c68bf2b3.entry.js +0 -1
  597. package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
  598. package/dist/digi-arbetsformedlingen/p-ccd617cc.entry.js +0 -1
  599. package/dist/digi-arbetsformedlingen/p-d055d564.entry.js +0 -1
  600. package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
  601. package/dist/digi-arbetsformedlingen/p-d5376b7c.entry.js +0 -1
  602. package/dist/digi-arbetsformedlingen/p-d7aa8315.entry.js +0 -1
  603. package/dist/digi-arbetsformedlingen/p-e9abb2b1.entry.js +0 -1
  604. package/dist/digi-arbetsformedlingen/p-edcb61eb.entry.js +0 -1
  605. package/dist/digi-arbetsformedlingen/p-eeca26b2.entry.js +0 -1
  606. package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +0 -1
  607. package/dist/digi-arbetsformedlingen/p-f447b984.js +0 -1
  608. package/dist/digi-arbetsformedlingen/p-f94db846.entry.js +0 -1
  609. package/dist/esm/digi-button_17.entry.js +0 -1100
  610. package/dist/esm/digi-calendar-datepicker.entry.js +0 -2596
  611. package/dist/esm/digi-calendar_2.entry.js +0 -459
  612. package/dist/esm/digi-code-block_3.entry.js +0 -223
  613. package/dist/esm/digi-expandable-faq-item.entry.js +0 -93
  614. package/dist/esm/digi-form-category-filter.entry.js +0 -117
  615. package/dist/esm/digi-form-checkbox.entry.js +0 -123
  616. package/dist/esm/digi-form-input.entry.js +0 -190
  617. package/dist/esm/digi-form-label_3.entry.js +0 -123
  618. package/dist/esm/digi-form-radiogroup.entry.js +0 -76
  619. package/dist/esm/digi-form-select-filter.entry.js +0 -561
  620. package/dist/esm/digi-form-select_2.entry.js +0 -181
  621. package/dist/esm/digi-icon-check.entry.js +0 -26
  622. package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
  623. package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
  624. package/dist/esm/digi-icon-copy.entry.js +0 -26
  625. package/dist/esm/digi-icon-minus_2.entry.js +0 -48
  626. package/dist/esm/digi-icon-validation-error_2.entry.js +0 -48
  627. package/dist/esm/digi-link.entry.js +0 -71
  628. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +0 -146
  629. package/dist/esm/digi-navigation-vertical-menu.entry.js +0 -173
  630. package/dist/esm/digi-progress-indicator.entry.js +0 -133
  631. package/dist/esm/digi-tools-theme-provider.entry.js +0 -24
  632. package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
  633. package/dist/esm/digi-typography-preamble.entry.js +0 -16
  634. package/dist/esm/digi-typography.entry.js +0 -22
  635. package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
  636. package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +0 -18
  637. package/dist/esm/form-checkbox-variation.enum-83e906fc.js +0 -19
  638. package/dist/esm/form-input-search-variation.enum-6d8dc10a.js +0 -15
  639. package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
  640. package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +0 -9
  641. package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
  642. package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
  643. package/dist/esm/index-5b6c95c6.js +0 -63
  644. package/dist/esm/index-8685f88d.js +0 -170
  645. package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +0 -13
  646. package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +0 -13
  647. package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +0 -7
  648. package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
- const typographyHeadingJumboVariation_enum = require('./typography-heading-jumbo-variation.enum-8677e099.js');
7
-
8
- const typographyHeadingJumboCss = ".sc-digi-typography-heading-jumbo-h{display:block}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop);font-family:var(--digi--global--typography--font-family--default);color:var(--digi--color--text--primary);font-weight:var(--digi--typography--heading-jumbo--font-weight--desktop)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop-large)}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo{color:var(--digi--grayscale--0)}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{content:\"\";width:11.875rem;height:0.4375rem;background:var(--digi--color--border--accent--primary);display:block;margin-top:var(--digi--padding--small)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{width:13.75rem;margin-top:var(--digi--margin--h2-large);height:0.625rem}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo::after{background:var(--digi--color--border--accent--secondary)}digi-typography .sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{margin-bottom:var(--digi--margin--medium)}";
9
- const DigiTypographyHeadingJumboStyle0 = typographyHeadingJumboCss;
10
-
11
- const TypographyHeadingJumbo = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.afText = '';
15
- this.afVariation = undefined;
16
- this.afLevel = typographyHeadingJumboVariation_enum.TypographyHeadingJumboLevel.H1;
17
- this.afLang = 'sv';
18
- }
19
- /**
20
- * Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva rubrik-elementet.
21
- * @en Listens for when focus is set on the custom element and propagates it down to the actual heading element.
22
- */
23
- focusOnHeading() {
24
- this.headingElement.focus();
25
- }
26
- get cssModifiers() {
27
- return {
28
- 'digi-typography-heading-jumbo--primary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.PRIMARY,
29
- 'digi-typography-heading-jumbo--secondary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.SECONDARY
30
- };
31
- }
32
- render() {
33
- return (index.h(this.afLevel, { key: '9f5b33cb6882d1cb0c154c5f861e5c36ed82192f', ref: (el) => (this.headingElement = el), class: Object.assign({ 'digi-typography-heading-jumbo': true }, this.cssModifiers), lang: this.afLang, tabindex: -1 }, this.afText));
34
- }
35
- };
36
- TypographyHeadingJumbo.style = DigiTypographyHeadingJumboStyle0;
37
-
38
- exports.digi_typography_heading_jumbo = TypographyHeadingJumbo;
@@ -1,20 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
-
7
- const typographyPreambleCss = ".sc-digi-typography-preamble-h .digi-typography-preamble.sc-digi-typography-preamble{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--preamble--font-size--mobile);font-weight:var(--digi--typography--preamble--font-weight--desktop);line-height:var(--digi--typography--preamble--line-height--mobile);color:var(--digi--color--text--primary);max-width:var(--digi--paragraph-width--medium)}@media (min-width: 61.9375rem){.sc-digi-typography-preamble-h .digi-typography-preamble.sc-digi-typography-preamble{font-size:var(--digi--typography--preamble--font-size--desktop);line-height:var(--digi--typography--preamble--line-height--desktop)}}";
8
- const DigiTypographyPreambleStyle0 = typographyPreambleCss;
9
-
10
- const TypographyPreamble = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- }
14
- render() {
15
- return (index.h("p", { key: '36309e9f92d69a4587a898c72453227a27650f5a', class: "digi-typography-preamble" }, index.h("slot", { key: '77e915bba6d272a6d6e6aca0820e598a2f29369b' })));
16
- }
17
- };
18
- TypographyPreamble.style = DigiTypographyPreambleStyle0;
19
-
20
- exports.digi_typography_preamble = TypographyPreamble;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
-
7
- const typographyCss = "digi-typography{--digi--typography--h1--margin--small:var(--digi--margin--h1-small);--digi--typography--h1--margin--medium:var(--digi--margin--h1-medium);--digi--typography--h1--margin--large:var(--digi--margin--h1-large);--digi--typography--h2--margin--small:var(--digi--margin--h2-small);--digi--typography--h2--margin--large:var(--digi--margin--h2-large);--digi--typography--h3--margin--small:var(--digi--margin--h3-small);--digi--typography--h3--margin--large:var(--digi--margin--h3-large);--digi--typography--h4--margin--small:var(--digi--margin--h4-h6-small);--digi--typography--h4--margin--large:var(--digi--margin--h4-h6-large);--digi--typography--h5--margin--small:var(--digi--margin--h4-h6-small);--digi--typography--h6--margin--large:var(--digi--margin--h4-h6-large);--digi--typography--paragraph--margin--small:var(--digi--margin--text-small);--digi--typography--paragraph--margin--large:var(--digi--margin--text-large);--digi--typography--paragraph--margin-top:initial;--digi--typography--color--text:var(--digi--color--text--primary);--digi--typography--text-decoration-thickness--hover:0.156em;--digi--typography--text-decoration-thickness--default:0.05em;--digi--typography--text-underline-offset:3px;font-family:var(--digi--global--typography--font-family--default);color:var(--digi--typography--color--text);--FONT-SIZE--BODY:var(--digi--typography--body--font-size--mobile);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--mobile);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--mobile);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--mobile\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--mobile);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--mobile);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--mobile);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--mobile\n );--FONT-SIZE--HEADING-1:var(--digi--typography--heading-1--font-size--mobile);--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--mobile\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--mobile\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--mobile\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--small);--FONT-SIZE--HEADING-2:var(--digi--typography--heading-2--font-size--mobile);--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--mobile\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--mobile\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--mobile\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(--digi--typography--heading-3--font-size--mobile);--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--mobile\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--mobile\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--mobile\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-5:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-6:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-6:var(--digi--typography--h4--margin--small);font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY)}@media (min-width: 61.9375rem){digi-typography{--FONT-SIZE--BODY:var(--digi--typography--body--font-size--desktop);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--desktop);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--desktop);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--desktop\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--desktop);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--desktop);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--desktop);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--desktop\n );--FONT-SIZE--HEADING-1:var(\n --digi--typography--heading-1--font-size--desktop\n );--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--desktop\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--desktop\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--desktop\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--medium);--FONT-SIZE--HEADING-2:var(\n --digi--typography--heading-2--font-size--desktop\n );--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--desktop\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--desktop\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--desktop\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(\n --digi--typography--heading-3--font-size--desktop\n );--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--desktop\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--desktop\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--desktop\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-5:var(--digi--typography--h5--margin--small);--FONT-SIZE--HEADING-6:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-6:var(--digi--typography--h6--margin--small)}}digi-typography h1,digi-typography h2,digi-typography h3,digi-typography h4,digi-typography h5,digi-typography h6{margin-top:0;}digi-typography h1,digi-typography .digi-h1{font-size:var(--FONT-SIZE--HEADING-1);line-height:var(--LINE-HEIGHT--HEADING-1);font-weight:var(--FONT-WEIGHT--HEADING-1);text-decoration:var(--TEXT-DECORATION--HEADING-1);margin-bottom:var(--MARGIN--HEADING-1)}digi-typography h2,digi-typography .digi-h2{font-size:var(--FONT-SIZE--HEADING-2);line-height:var(--LINE-HEIGHT--HEADING-2);font-weight:var(--FONT-WEIGHT--HEADING-2);text-decoration:var(--TEXT-DECORATION--HEADING-2);margin-bottom:var(--MARGIN--HEADING-2)}digi-typography h3,digi-typography .digi-h3{font-size:var(--FONT-SIZE--HEADING-3);line-height:var(--LINE-HEIGHT--HEADING-3);font-weight:var(--FONT-WEIGHT--HEADING-3);text-decoration:var(--TEXT-DECORATION--HEADING-3);margin-bottom:var(--MARGIN--HEADING-3)}digi-typography h4,digi-typography .digi-h4{font-size:var(--FONT-SIZE--HEADING-4);line-height:var(--LINE-HEIGHT--HEADING-4);font-weight:var(--FONT-WEIGHT--HEADING-4);text-decoration:var(--TEXT-DECORATION--HEADING-4);margin-bottom:var(--MARGIN--HEADING-4)}digi-typography h5,digi-typography .digi-h5{font-size:var(--FONT-SIZE--HEADING-5);line-height:var(--LINE-HEIGHT--HEADING-5);font-weight:var(--FONT-WEIGHT--HEADING-5);text-decoration:var(--TEXT-DECORATION--HEADING-5);margin-bottom:var(--MARGIN--HEADING-5)}digi-typography h6,digi-typography .digi-h6{font-size:var(--FONT-SIZE--HEADING-6);line-height:var(--LINE-HEIGHT--HEADING-6);font-weight:var(--FONT-WEIGHT--HEADING-6);text-decoration:var(--TEXT-DECORATION--HEADING-6);margin-bottom:var(--MARGIN--HEADING-6)}digi-typography p,digi-typography blockquote{font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);margin-top:initial;margin-bottom:var(--MARGIN--BODY);max-width:var(--digi--paragraph-width--medium)}digi-typography p:last-child,digi-typography blockquote:last-child{margin-bottom:0}digi-typography blockquote{margin-inline:0}digi-typography digi-typography-preamble{display:block;margin-bottom:var(--MARGIN--BODY)}digi-typography digi-typography-preamble:last-child{margin-bottom:0}digi-typography ul,digi-typography ol,digi-typography dl{font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);max-width:var(--digi--paragraph-width--medium);margin-bottom:var(--MARGIN--BODY)}digi-typography ul,digi-typography ol{margin:0 0 var(--MARGIN--BODY) 0;padding-inline-start:1.5rem}digi-typography ul li,digi-typography ol li{margin-top:initial;margin-bottom:0.5rem;box-sizing:border-box;width:100%;padding-left:0}digi-typography ul li:last-child,digi-typography ol li:last-child{margin-bottom:0}digi-typography a{font-size:1em;line-height:var(--LINE-HEIGHT--LINK);font-weight:inherit;text-decoration:var(--TEXT-DECORATION--LINK);color:var(--digi--color--text--interactive--primary);text-decoration-thickness:var(--digi--typography--text-decoration-thickness--default);text-underline-offset:var(--digi--typography--text-underline-offset)}digi-typography a:hover{text-decoration:var(--TEXT-DECORATION--LINK);text-decoration-thickness:var(--digi--typography--text-decoration-thickness--hover)}digi-typography a:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}digi-typography a:visited{color:var(--digi--color--text--interactive--visited)}digi-typography .digi-typography--hide-visited a:visited{color:var(--digi--color--text--interactive--primary)}digi-typography strong{font-weight:var(--digi--typography--label--font-weight--desktop)}";
8
- const DigiTypographyStyle0 = typographyCss;
9
-
10
- const Typography = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.hideVisitedColor = undefined;
14
- }
15
- get cssModifiers() {
16
- return {
17
- 'digi-typography--hide-visited': this.hideVisitedColor
18
- };
19
- }
20
- render() {
21
- return (index.h("div", { key: 'cf498110850cb216e50617a0fa1ed4bfb7f466b8', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, index.h("slot", { key: '01afbda49b816dd9bb02a76862b39a2ad83add15' })));
22
- }
23
- };
24
- Typography.style = DigiTypographyStyle0;
25
-
26
- exports.digi_typography = Typography;
@@ -1,64 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
- const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
-
8
- const UtilMutationObserver = class {
9
- constructor(hostRef) {
10
- index.registerInstance(this, hostRef);
11
- this.afOnChange = index.createEvent(this, "afOnChange", 7);
12
- this._observer = null;
13
- this._isObserving = false;
14
- this.afId = randomIdGenerator_util.randomIdGenerator('digi-util-mutation-observer');
15
- this.afOptions = {
16
- attributes: false,
17
- childList: true,
18
- subtree: false,
19
- characterData: false
20
- };
21
- }
22
- afOptionsWatcher(newValue) {
23
- this._afOptions =
24
- typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
25
- }
26
- componentWillLoad() {
27
- this.afOptionsWatcher(this.afOptions);
28
- this.initObserver();
29
- }
30
- disconnectedCallback() {
31
- if (this._isObserving) {
32
- this.removeObserver();
33
- }
34
- }
35
- initObserver() {
36
- this._observer = new MutationObserver((mutationsList) => {
37
- for (const mutation of mutationsList) {
38
- if (mutation.type === 'childList' ||
39
- mutation.type === 'attributes' ||
40
- mutation.type === 'characterData') {
41
- this.changeHandler(mutation);
42
- }
43
- }
44
- });
45
- this._observer.observe(this.$el, this._afOptions);
46
- this._isObserving = true;
47
- }
48
- removeObserver() {
49
- this._observer.disconnect();
50
- this._isObserving = false;
51
- }
52
- changeHandler(e) {
53
- this.afOnChange.emit(e);
54
- }
55
- render() {
56
- index.h("div", { id: this.afId, ref: (el) => (this.$el = el) }, index.h("slot", null));
57
- }
58
- get $el() { return index.getElement(this); }
59
- static get watchers() { return {
60
- "afOptions": ["afOptionsWatcher"]
61
- }; }
62
- };
63
-
64
- exports.digi_util_mutation_observer = UtilMutationObserver;
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ExpandableFaqItemHeadingLevel = void 0;
4
- (function (ExpandableFaqItemHeadingLevel) {
5
- ExpandableFaqItemHeadingLevel["H1"] = "h1";
6
- ExpandableFaqItemHeadingLevel["H2"] = "h2";
7
- ExpandableFaqItemHeadingLevel["H3"] = "h3";
8
- ExpandableFaqItemHeadingLevel["H4"] = "h4";
9
- ExpandableFaqItemHeadingLevel["H5"] = "h5";
10
- ExpandableFaqItemHeadingLevel["H6"] = "h6";
11
- })(exports.ExpandableFaqItemHeadingLevel || (exports.ExpandableFaqItemHeadingLevel = {}));
12
-
13
- exports.ExpandableFaqItemVariation = void 0;
14
- (function (ExpandableFaqItemVariation) {
15
- ExpandableFaqItemVariation["PRIMARY"] = "primary";
16
- ExpandableFaqItemVariation["SECONDARY"] = "secondary";
17
- ExpandableFaqItemVariation["TERTIARY"] = "tertiary";
18
- })(exports.ExpandableFaqItemVariation || (exports.ExpandableFaqItemVariation = {}));
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormCheckboxLayout = void 0;
4
- (function (FormCheckboxLayout) {
5
- FormCheckboxLayout["INLINE"] = "inline";
6
- FormCheckboxLayout["BLOCK"] = "block";
7
- })(exports.FormCheckboxLayout || (exports.FormCheckboxLayout = {}));
8
-
9
- exports.FormCheckboxValidation = void 0;
10
- (function (FormCheckboxValidation) {
11
- FormCheckboxValidation["ERROR"] = "error";
12
- FormCheckboxValidation["WARNING"] = "warning";
13
- })(exports.FormCheckboxValidation || (exports.FormCheckboxValidation = {}));
14
-
15
- exports.FormCheckboxVariation = void 0;
16
- (function (FormCheckboxVariation) {
17
- FormCheckboxVariation["PRIMARY"] = "primary";
18
- FormCheckboxVariation["SECONDARY"] = "secondary";
19
- })(exports.FormCheckboxVariation || (exports.FormCheckboxVariation = {}));
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ButtonType = void 0;
4
- (function (ButtonType) {
5
- ButtonType["BUTTON"] = "button";
6
- ButtonType["SUBMIT"] = "submit";
7
- ButtonType["RESET"] = "reset";
8
- })(exports.ButtonType || (exports.ButtonType = {}));
9
-
10
- exports.FormInputSearchVariation = void 0;
11
- (function (FormInputSearchVariation) {
12
- FormInputSearchVariation["SMALL"] = "small";
13
- FormInputSearchVariation["MEDIUM"] = "medium";
14
- FormInputSearchVariation["LARGE"] = "large";
15
- })(exports.FormInputSearchVariation || (exports.FormInputSearchVariation = {}));
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormInputMode = void 0;
4
- (function (FormInputMode) {
5
- FormInputMode["DEFAULT"] = "";
6
- FormInputMode["NONE"] = "none";
7
- FormInputMode["TEXT"] = "text";
8
- FormInputMode["DECIMAL"] = "decimal";
9
- FormInputMode["NUMERIC"] = "numeric";
10
- FormInputMode["TEL"] = "tel";
11
- FormInputMode["SEARCH"] = "search";
12
- FormInputMode["EMAIL"] = "email";
13
- FormInputMode["URL"] = "url";
14
- })(exports.FormInputMode || (exports.FormInputMode = {}));
15
-
16
- exports.FormInputValidation = void 0;
17
- (function (FormInputValidation) {
18
- FormInputValidation["SUCCESS"] = "success";
19
- FormInputValidation["ERROR"] = "error";
20
- FormInputValidation["WARNING"] = "warning";
21
- FormInputValidation["NEUTRAL"] = "neutral";
22
- })(exports.FormInputValidation || (exports.FormInputValidation = {}));
23
-
24
- exports.FormInputVariation = void 0;
25
- (function (FormInputVariation) {
26
- FormInputVariation["SMALL"] = "small";
27
- FormInputVariation["MEDIUM"] = "medium";
28
- FormInputVariation["LARGE"] = "large";
29
- })(exports.FormInputVariation || (exports.FormInputVariation = {}));
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormRadiogroupValidation = void 0;
4
- (function (FormRadiogroupValidation) {
5
- FormRadiogroupValidation["SUCCESS"] = "success";
6
- FormRadiogroupValidation["ERROR"] = "error";
7
- FormRadiogroupValidation["WARNING"] = "warning";
8
- FormRadiogroupValidation["NEUTRAL"] = "neutral";
9
- })(exports.FormRadiogroupValidation || (exports.FormRadiogroupValidation = {}));
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormSelectValidation = void 0;
4
- (function (FormSelectValidation) {
5
- FormSelectValidation["SUCCESS"] = "success";
6
- FormSelectValidation["ERROR"] = "error";
7
- FormSelectValidation["WARNING"] = "warning";
8
- FormSelectValidation["NEUTRAL"] = "neutral";
9
- })(exports.FormSelectValidation || (exports.FormSelectValidation = {}));
10
-
11
- exports.FormSelectVariation = void 0;
12
- (function (FormSelectVariation) {
13
- FormSelectVariation["SMALL"] = "small";
14
- FormSelectVariation["MEDIUM"] = "medium";
15
- FormSelectVariation["LARGE"] = "large";
16
- })(exports.FormSelectVariation || (exports.FormSelectVariation = {}));
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormValidationMessageVariation = void 0;
4
- (function (FormValidationMessageVariation) {
5
- FormValidationMessageVariation["SUCCESS"] = "success";
6
- FormValidationMessageVariation["ERROR"] = "error";
7
- FormValidationMessageVariation["WARNING"] = "warning";
8
- })(exports.FormValidationMessageVariation || (exports.FormValidationMessageVariation = {}));
@@ -1,66 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-e8333bcc.js');
4
-
5
- /**
6
- * @name isAfter
7
- * @category Common Helpers
8
- * @summary Is the first date after the second one?
9
- *
10
- * @description
11
- * Is the first date after the second one?
12
- *
13
- * ### v2.0.0 breaking changes:
14
- *
15
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
16
- *
17
- * @param {Date|Number} date - the date that should be after the other one to return true
18
- * @param {Date|Number} dateToCompare - the date to compare with
19
- * @returns {Boolean} the first date is after the second date
20
- * @throws {TypeError} 2 arguments required
21
- *
22
- * @example
23
- * // Is 10 July 1989 after 11 February 1987?
24
- * var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
25
- * //=> true
26
- */
27
-
28
- function isAfter(dirtyDate, dirtyDateToCompare) {
29
- index.requiredArgs(2, arguments);
30
- var date = index.toDate(dirtyDate);
31
- var dateToCompare = index.toDate(dirtyDateToCompare);
32
- return date.getTime() > dateToCompare.getTime();
33
- }
34
-
35
- /**
36
- * @name isBefore
37
- * @category Common Helpers
38
- * @summary Is the first date before the second one?
39
- *
40
- * @description
41
- * Is the first date before the second one?
42
- *
43
- * ### v2.0.0 breaking changes:
44
- *
45
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
46
- *
47
- * @param {Date|Number} date - the date that should be before the other one to return true
48
- * @param {Date|Number} dateToCompare - the date to compare with
49
- * @returns {Boolean} the first date is before the second date
50
- * @throws {TypeError} 2 arguments required
51
- *
52
- * @example
53
- * // Is 10 July 1989 before 11 February 1987?
54
- * var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
55
- * //=> false
56
- */
57
-
58
- function isBefore(dirtyDate, dirtyDateToCompare) {
59
- index.requiredArgs(2, arguments);
60
- var date = index.toDate(dirtyDate);
61
- var dateToCompare = index.toDate(dirtyDateToCompare);
62
- return date.getTime() < dateToCompare.getTime();
63
- }
64
-
65
- exports.isAfter = isAfter;
66
- exports.isBefore = isBefore;
@@ -1,174 +0,0 @@
1
- 'use strict';
2
-
3
- function requiredArgs(required, args) {
4
- if (args.length < required) {
5
- throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
6
- }
7
- }
8
-
9
- /**
10
- * @name toDate
11
- * @category Common Helpers
12
- * @summary Convert the given argument to an instance of Date.
13
- *
14
- * @description
15
- * Convert the given argument to an instance of Date.
16
- *
17
- * If the argument is an instance of Date, the function returns its clone.
18
- *
19
- * If the argument is a number, it is treated as a timestamp.
20
- *
21
- * If the argument is none of the above, the function returns Invalid Date.
22
- *
23
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
24
- *
25
- * @param {Date|Number} argument - the value to convert
26
- * @returns {Date} the parsed date in the local time zone
27
- * @throws {TypeError} 1 argument required
28
- *
29
- * @example
30
- * // Clone the date:
31
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
32
- * //=> Tue Feb 11 2014 11:30:30
33
- *
34
- * @example
35
- * // Convert the timestamp to date:
36
- * const result = toDate(1392098430000)
37
- * //=> Tue Feb 11 2014 11:30:30
38
- */
39
-
40
- function toDate(argument) {
41
- requiredArgs(1, arguments);
42
- var argStr = Object.prototype.toString.call(argument); // Clone the date
43
-
44
- if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
45
- // Prevent the date to lose the milliseconds when passed to new Date() in IE10
46
- return new Date(argument.getTime());
47
- } else if (typeof argument === 'number' || argStr === '[object Number]') {
48
- return new Date(argument);
49
- } else {
50
- if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
51
- // eslint-disable-next-line no-console
52
- console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console
53
-
54
- console.warn(new Error().stack);
55
- }
56
-
57
- return new Date(NaN);
58
- }
59
- }
60
-
61
- /**
62
- * @name isDate
63
- * @category Common Helpers
64
- * @summary Is the given value a date?
65
- *
66
- * @description
67
- * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
68
- *
69
- * ### v2.0.0 breaking changes:
70
- *
71
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
72
- *
73
- * @param {*} value - the value to check
74
- * @returns {boolean} true if the given value is a date
75
- * @throws {TypeError} 1 arguments required
76
- *
77
- * @example
78
- * // For a valid date:
79
- * const result = isDate(new Date())
80
- * //=> true
81
- *
82
- * @example
83
- * // For an invalid date:
84
- * const result = isDate(new Date(NaN))
85
- * //=> true
86
- *
87
- * @example
88
- * // For some value:
89
- * const result = isDate('2014-02-31')
90
- * //=> false
91
- *
92
- * @example
93
- * // For an object:
94
- * const result = isDate({})
95
- * //=> false
96
- */
97
-
98
- function isDate(value) {
99
- requiredArgs(1, arguments);
100
- return value instanceof Date || typeof value === 'object' && Object.prototype.toString.call(value) === '[object Date]';
101
- }
102
-
103
- /**
104
- * @name isValid
105
- * @category Common Helpers
106
- * @summary Is the given date valid?
107
- *
108
- * @description
109
- * Returns false if argument is Invalid Date and true otherwise.
110
- * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
111
- * Invalid Date is a Date, whose time value is NaN.
112
- *
113
- * Time value of Date: http://es5.github.io/#x15.9.1.1
114
- *
115
- * ### v2.0.0 breaking changes:
116
- *
117
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
118
- *
119
- * - Now `isValid` doesn't throw an exception
120
- * if the first argument is not an instance of Date.
121
- * Instead, argument is converted beforehand using `toDate`.
122
- *
123
- * Examples:
124
- *
125
- * | `isValid` argument | Before v2.0.0 | v2.0.0 onward |
126
- * |---------------------------|---------------|---------------|
127
- * | `new Date()` | `true` | `true` |
128
- * | `new Date('2016-01-01')` | `true` | `true` |
129
- * | `new Date('')` | `false` | `false` |
130
- * | `new Date(1488370835081)` | `true` | `true` |
131
- * | `new Date(NaN)` | `false` | `false` |
132
- * | `'2016-01-01'` | `TypeError` | `false` |
133
- * | `''` | `TypeError` | `false` |
134
- * | `1488370835081` | `TypeError` | `true` |
135
- * | `NaN` | `TypeError` | `false` |
136
- *
137
- * We introduce this change to make *date-fns* consistent with ECMAScript behavior
138
- * that try to coerce arguments to the expected type
139
- * (which is also the case with other *date-fns* functions).
140
- *
141
- * @param {*} date - the date to check
142
- * @returns {Boolean} the date is valid
143
- * @throws {TypeError} 1 argument required
144
- *
145
- * @example
146
- * // For the valid date:
147
- * const result = isValid(new Date(2014, 1, 31))
148
- * //=> true
149
- *
150
- * @example
151
- * // For the value, convertable into a date:
152
- * const result = isValid(1393804800000)
153
- * //=> true
154
- *
155
- * @example
156
- * // For the invalid date:
157
- * const result = isValid(new Date(''))
158
- * //=> false
159
- */
160
-
161
- function isValid(dirtyDate) {
162
- requiredArgs(1, arguments);
163
-
164
- if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
165
- return false;
166
- }
167
-
168
- var date = toDate(dirtyDate);
169
- return !isNaN(Number(date));
170
- }
171
-
172
- exports.isValid = isValid;
173
- exports.requiredArgs = requiredArgs;
174
- exports.toDate = toDate;
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- exports.NavigationVerticalMenuActiveIndicatorSize = void 0;
4
- (function (NavigationVerticalMenuActiveIndicatorSize) {
5
- NavigationVerticalMenuActiveIndicatorSize["PRIMARY"] = "primary";
6
- NavigationVerticalMenuActiveIndicatorSize["SECONDARY"] = "secondary";
7
- })(exports.NavigationVerticalMenuActiveIndicatorSize || (exports.NavigationVerticalMenuActiveIndicatorSize = {}));
8
-
9
- exports.NavigationVerticalMenuVariation = void 0;
10
- (function (NavigationVerticalMenuVariation) {
11
- NavigationVerticalMenuVariation["PRIMARY"] = "primary";
12
- NavigationVerticalMenuVariation["SECONDARY"] = "secondary";
13
- })(exports.NavigationVerticalMenuVariation || (exports.NavigationVerticalMenuVariation = {}));
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ProgressIndicatorRole = void 0;
4
- (function (ProgressIndicatorRole) {
5
- ProgressIndicatorRole["NONE"] = "";
6
- ProgressIndicatorRole["STATUS"] = "status";
7
- })(exports.ProgressIndicatorRole || (exports.ProgressIndicatorRole = {}));
8
-
9
- exports.ProgressIndicatorVariation = void 0;
10
- (function (ProgressIndicatorVariation) {
11
- ProgressIndicatorVariation["PRIMARY"] = "primary";
12
- ProgressIndicatorVariation["SECONDARY"] = "secondary";
13
- })(exports.ProgressIndicatorVariation || (exports.ProgressIndicatorVariation = {}));
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ToolsThemeProviderBrandEnum = void 0;
4
- (function (ToolsThemeProviderBrandEnum) {
5
- ToolsThemeProviderBrandEnum["AF25"] = "AF25";
6
- ToolsThemeProviderBrandEnum["AF18"] = "AF18";
7
- })(exports.ToolsThemeProviderBrandEnum || (exports.ToolsThemeProviderBrandEnum = {}));
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- exports.TypographyHeadingJumboLevel = void 0;
4
- (function (TypographyHeadingJumboLevel) {
5
- TypographyHeadingJumboLevel["H1"] = "h1";
6
- TypographyHeadingJumboLevel["H2"] = "h2";
7
- TypographyHeadingJumboLevel["H3"] = "h3";
8
- TypographyHeadingJumboLevel["H4"] = "h4";
9
- TypographyHeadingJumboLevel["H5"] = "h5";
10
- TypographyHeadingJumboLevel["H6"] = "h6";
11
- })(exports.TypographyHeadingJumboLevel || (exports.TypographyHeadingJumboLevel = {}));
12
-
13
- exports.TypographyHeadingJumboVariation = void 0;
14
- (function (TypographyHeadingJumboVariation) {
15
- TypographyHeadingJumboVariation["PRIMARY"] = "primary";
16
- TypographyHeadingJumboVariation["SECONDARY"] = "secondary";
17
- })(exports.TypographyHeadingJumboVariation || (exports.TypographyHeadingJumboVariation = {}));
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as o,H as a,g as d}from"./p-52e3bb32.js";import{c as r,b as e,D as s}from"./p-9be9a291.js";import{r as n}from"./p-ffe5c0e8.js";import"./p-717306ef.js";import"./p-a4a001e1.js";import{B as g}from"./p-53d9556b.js";import"./p-4841b4e1.js";import{B as c}from"./p-cf3ce3c5.js";import"./p-7e32c40b.js";import"./p-dcdffb3c.js";import"./p-5d21a361.js";import"./p-ad16c7a1.js";import"./p-f40f4b2a.js";import"./p-1f68d501.js";import"./p-ee88e3f1.js";import"./p-8142cc73.js";import"./p-905ccb30.js";import"./p-88b4d03a.js";import"./p-1f956af8.js";import"./p-24fe2189.js";import"./p-f447b984.js";import"./p-9c5a93d8.js";import"./p-7933b555.js";import"./p-0f6c0360.js";import"./p-814ca2ad.js";import"./p-a39f86c9.js";import"./p-07303cb5.js";import"./p-2a023831.js";import"./p-5ba6737a.js";import"./p-e4a9f8f0.js";import"./p-f2a6768b.js";import"./p-290d1746.js";import"./p-40657c82.js";import"./p-f600576a.js";import"./p-3b20ec86.js";import"./p-9dd5d6c8.js";import"./p-77a93845.js";import"./p-06f939ab.js";import"./p-8cd2d6dd.js";import"./p-484a1d6d.js";import"./p-0f3fbb1e.js";import"./p-820e795b.js";import"./p-46cbbcb5.js";import"./p-d74742b8.js";import"./p-6e383896.js";import"./p-4bad4fb0.js";import"./p-d1886fff.js";import"./p-a6ca40fc.js";import"./p-b0e88537.js";import"./p-cdcaf0eb.js";const l=class{constructor(o){i(this,o),this.afPrimaryButtonClick=t(this,"afPrimaryButtonClick",7),this.afSecondaryButtonClick=t(this,"afSecondaryButtonClick",7),this.afOnClose=t(this,"afOnClose",7),this._focusableElementsSelectors='a, input, select, textarea, button, button:not(hidden), iframe, object, [tabindex="0"]',this.focusableElements=[],this.afId=n("digi-dialog"),this.afVariation=r.PRIMARY,this.afSize=e.MEDIUM,this.afShowDialog=void 0,this.afCloseButtonText="Stäng",this.afHeadingLevel=s.H2,this.afHeading=void 0,this.afPrimaryButtonText=void 0,this.afSecondaryButtonText=void 0,this.afFallbackElementSelector=void 0}primaryClickHandler(i){this.afPrimaryButtonClick.emit(i)}secondaryClickHandler(i){this.afSecondaryButtonClick.emit(i)}escHandler(i){this._closeButton&&this.closeDialog(i)}shiftHandler(i){let t;t="DIGI-DIALOG"===document.activeElement.tagName?document.activeElement.shadowRoot.activeElement:document.activeElement,this.shouldUseFocusTrap?t===this._dialogHeading&&this.closeButtonEl||t===this.firstFocusableEl&&this.closeButtonEl?(i.detail.preventDefault(),this.closeButtonEl.focus()):(t===this._dialogHeading&&!this.closeButtonEl||t===this.firstFocusableEl&&!this.closeButtonEl||t===this.closeButtonEl)&&(i.detail.preventDefault(),this.lastFocusableEl.focus()):i.detail.preventDefault()}tabHandler(i){let t;t="DIGI-DIALOG"===document.activeElement.tagName?document.activeElement.shadowRoot.activeElement:document.activeElement,this.shouldUseFocusTrap?t===this.lastFocusableEl&&this.closeButtonEl?(i.detail.preventDefault(),this.closeButtonEl.focus()):t!==this.closeButtonEl&&t!==this.lastFocusableEl||(i.detail.preventDefault(),this.firstFocusableEl.focus()):i.detail.preventDefault()}onActive(){document.body.style.overflow="hidden",this.afCloseButtonText||(this._wrapper.style.paddingTop="25px"),this._dialogHeading&&(this._dialogHeading.style.marginTop="0"),this.onResize(),setTimeout((()=>{this.setFallback(),this.getFocusableItems(),this.setFocus()}),50)}buttonWidthMaxContent(){this._primaryButton&&(this._primaryButton.style.width="max-content",this._primaryButton.querySelector("button").style.width="max-content"),this._secondaryButton&&(this._secondaryButton.style.width="max-content",this._secondaryButton.querySelector("button").style.width="max-content")}buttonWidth100Percent(){this._primaryButton&&(this._primaryButton.style.width="100%",this._primaryButton.querySelector("button").style.width="100%"),this._secondaryButton&&(this._secondaryButton.style.width="100%",this._secondaryButton.querySelector("button").style.width="100%")}onResize(){this.buttonContainerObserver=new ResizeObserver((()=>{this._buttonContainer.clientWidth<=313?this.buttonWidth100Percent():this.buttonWidthMaxContent()})),this.buttonContainerObserver.observe(this._buttonContainer)}onInactive(){const i=this.fallbackElement;i&&i.focus(),this.buttonContainerObserver.disconnect(),document.body.style.overflow=""}closeDialog(i){this.afShowDialog=!1,this.afOnClose.emit(i)}setFallback(){this.afFallbackElementSelector&&document.querySelector(this.afFallbackElementSelector)?(this.fallbackElement=document.querySelector(this.afFallbackElementSelector),this.fallbackElement instanceof HTMLHeadingElement&&this.fallbackElement.setAttribute("tabindex","-1")):this.fallbackElement=document.activeElement}setFocus(){if(this.afShowDialog){let i;this.afHeading?(i=this._dialogHeading,this._dialogHeading.style.outline="none"):this.firstFocusableEl?(i=this.firstFocusableEl,i.getAttribute("tabindex")||i.setAttribute("tabindex","0")):this.closeButtonEl?i=this.closeButtonEl:(i=this._wrapper,i.setAttribute("tabindex","0")),i&&i.focus()}}getFocusableItems(){let i;const t=this._host.querySelectorAll(this._focusableElementsSelectors),o=this._wrapper.querySelectorAll(this._focusableElementsSelectors);if(this._closeButton){this.closeButtonEl=this._closeButton.children[0];const a=Array.prototype.slice.call(o);a.shift(),i=Array.from(t).concat(Array.from(a))}else i=Array.from(t).concat(Array.from(o));this.focusableElements=i,this.focusableElements.length>0&&(this.firstFocusableEl=this.focusableElements[0],this.lastFocusableEl=this.focusableElements[this.focusableElements.length-1])}componentDidLoad(){this.afShowDialog&&this.onActive()}componentDidUpdate(){this.afShowDialog?this.onActive():!this.afShowDialog&&this.fallbackElement&&this.onInactive()}get shouldUseFocusTrap(){return this.afShowDialog&&this.focusableElements.length>0}get cssModifiers(){return{"digi-dialog--primary":this.afVariation==r.PRIMARY,"digi-dialog--secondary":this.afVariation==r.SECONDARY,"digi-dialog--small":this.afSize==e.SMALL,"digi-dialog--medium":this.afSize==e.MEDIUM,"digi-dialog--large":this.afSize==e.LARGE}}render(){return o(a,{key:"b6fa143b71709908623eda3f8fda037f523a4f90",ref:i=>{this._host=i}},this.afShowDialog&&o("div",{key:"46ae05735ed8f54c75a82b5cc5e23effae77e745",class:Object.assign({"digi-dialog":!0},this.cssModifiers)},o("digi-util-keydown-handler",{key:"0740b3466fc4a3ac52bfe0a3d5d58fe2399c4474",onAfOnEsc:i=>this.escHandler(i),onAfOnTab:i=>this.tabHandler(i),onAfOnShiftTab:i=>this.shiftHandler(i),class:"digi-dialog__keydown-handler"},o("div",{key:"d6da8ca0633774200dff4ade8fb170f2fd19b6b9",ref:i=>{this._wrapper=i},role:"dialog","aria-modal":"true",class:"digi-dialog__content"},o("digi-typography",{key:"e5532e07a112ba5cadc4f4ee012c7c0b1ebc7eac"},this.afCloseButtonText&&o("digi-button",{key:"e52c53a254adfca3c0e7d22500f381877feb798d",ref:i=>this._closeButton=i,class:"digi-dialog__close-button",afAriaLabel:this.afCloseButtonText,afSize:g.MEDIUM,"af-variation":"function",onAfOnClick:i=>this.closeDialog(i)},this.afCloseButtonText,o("digi-icon-x",{key:"78b867c769a5f170a7b09270f0a466358febd0df",class:"digi-dialog__close-icon",slot:"icon-secondary"})),o("slot",{key:"20b204bea4212367ed6202e73185ee0f63ab85f3",name:"over-heading"}),this.afHeadingLevel&&this.afHeading&&o(this.afHeadingLevel,{key:"20b227dc35ebe307589e097cb64bcd7c47913729",tabindex:"-1",ref:i=>this._dialogHeading=i},this.afHeading),o("slot",{key:"2c5f707d8a5db9957a252e1a6a454824521b6541"}),o("div",{key:"167c44e5b9827f66b9355180d6af6a9fc8f783ad",ref:i=>this._buttonContainer=i,class:"digi-dialog__button-container"},this.afSecondaryButtonText&&o("digi-button",{key:"bca5ce02a71c2c4b43ec7eaebcc70016c5ea1d98",ref:i=>this._secondaryButton=i,afVariation:c.SECONDARY,onAfOnClick:i=>this.secondaryClickHandler(i)},this.afSecondaryButtonText),this.afPrimaryButtonText&&o("digi-button",{key:"1208655a175f323aa4bff70b0cf8daa28e2f3e86",ref:i=>this._primaryButton=i,afVariation:c.PRIMARY,onAfOnClick:i=>this.primaryClickHandler(i)},this.afPrimaryButtonText)))))))}get hostElement(){return d(this)}};l.style=":host{--digi--dialog--backdrop--position:fixed;--digi--dialog--backdrop--opacity:1;--digi--dialog--backdrop--z--index:999;--digi--dialog--backdrop--left:0;--digi--dialog--backdrop--top:0;--digi--dialog--backdrop--width:100vw;--digi--dialog--backdrop--height:100vh;--digi--dialog--backdrop--display:flex;--digi--dialog--backdrop--justify--content:center;--digi--dialog--backdrop--align--items:center;--digi--dialog--close--button--display:grid;--digi--dialog--close--button--justify--content:end;--digi--dialog--close--button--margin--right:-1rem;--digi--dialog--button--container--display:flex;--digi--dialog--button--container--flex-wrap:wrap;--digi--dialog--button--container--gap:var(--digi--gutter--large);--digi--dialog--button--container--padding--top:var(--digi--gutter--largest-2);--digi--dialog--button--text--align--mobile:center;--digi--dialog--content--gutter:var(--digi--gutter--largest);--digi--dialog--content--margin:var(--digi--margin--large) auto;--digi--dialog--content--padding:var(--digi--padding--large);--digi--dialog--content--width--small:28.75rem;--digi--dialog--content--width--medium:42.1875rem;--digi--dialog--content--width--large:56.25rem;--digi--dialog--content--color--primary:var(--digi--color--text--primary);--digi--dialog--content--color--background--primary:var(--digi--color--background--primary);--digi--dialog--icon--color--primary:var(--digi--color--icon--primary);--digi--dialog--icon--color--primary--hover:var(--digi--color--icon--primary)}:host .digi-dialog{background:rgba(0, 0, 0, 0.7);overflow-x:hidden;overflow-y:auto;position:var(--digi--dialog--backdrop--position);opacity:var(--digi--dialog--backdrop--opacity);z-index:var(--digi--dialog--backdrop--z--index);left:var(--digi--dialog--backdrop--left);top:var(--digi--dialog--backdrop--top);width:var(--digi--dialog--backdrop--width);height:var(--digi--dialog--backdrop--height);display:var(--digi--dialog--backdrop--display);justify-content:var(--digi--dialog--backdrop--justify--content);align-items:var(--digi--dialog--backdrop--align--items);padding:var(--digi--padding--medium);box-sizing:border-box}:host .digi-dialog--primary{--DIGI--DIALOG--COLOR--BACKGROUND:var(\n --digi--dialog--content--color--background--primary\n );--DIGI--DIALOG--COLOR:var(--digi--dialog--content--color--primary);--DIGI--DIALOG--CONTENT--BUTTON--COLOR--BORDER--PRIMARY:initial}:host .digi-dialog--secondary{--digi--dialog--content--color--secondary:var(\n --digi--global--color--profile--white--base\n );--digi--dialog--content--color--background--secondary:var(\n --digi--global--color--profile--blue--base\n );--DIGI--DIALOG--COLOR--BACKGROUND:var(\n --digi--dialog--content--color--background--secondary\n );--DIGI--DIALOG--COLOR:var(--digi--dialog--content--color--secondary);--DIGI--DIALOG--CONTENT--BUTTON--COLOR--BORDER--PRIMARY:#b7b7ff;--digi--color--text--primary:var(--digi--dialog--content--color--secondary)}:host .digi-dialog--small{--DIGI--DIALOG--CONTENT--WIDTH:var(--digi--dialog--content--width--small)}:host .digi-dialog--medium{--DIGI--DIALOG--CONTENT--WIDTH:var(--digi--dialog--content--width--medium)}:host .digi-dialog--large{--DIGI--DIALOG--CONTENT--WIDTH:var(--digi--dialog--content--width--large)}:host .digi-dialog__keydown-handler{width:100%;max-height:100%}:host .digi-dialog__content{background:var(--DIGI--DIALOG--COLOR--BACKGROUND);color:var(--DIGI--DIALOG--COLOR);max-width:var(--DIGI--DIALOG--CONTENT--WIDTH);width:100%;margin:var(--digi--dialog--content--margin);padding:var(--digi--padding--smaller) var(--digi--dialog--content--padding) var(--digi--dialog--content--padding) var(--digi--dialog--content--padding);box-sizing:border-box}:host .digi-dialog__close-button{--digi--button--color--text--function--default:var(--DIGI--DIALOG--COLOR);--digi--button--color--text--function--hover:var(--DIGI--DIALOG--COLOR);--digi--button--color--icon--function--default:var(--digi--dialog--icon--color--primary);--digi--button--color--icon--function--hover:var(--digi--dialog--icon--color--primary--hover);display:var(--digi--dialog--close--button--display);justify-content:var(--digi--dialog--close--button--justify--content);margin-right:var(--digi--dialog--close--button--margin--right)}:host .digi-dialog__button-container{display:var(--digi--dialog--button--container--display);flex-wrap:var(--digi--dialog--button--container--flex-wrap);gap:var(--digi--dialog--button--container--gap);padding-top:var(--digi--dialog--button--container--padding--top)}:host .digi-dialog__button-container digi-button,:host .digi-dialog__button-container .digi-button--medium{text-align:var(--digi--dialog--button--text--align--mobile)}:host .digi-dialog__button-container digi-button :first-of-type,:host .digi-dialog__button-container .digi-button--medium :first-of-type{--digi--button--color--border--primary--default:var(--DIGI--DIALOG--CONTENT--BUTTON--COLOR--BORDER--PRIMARY);--digi--button--color--border--primary--hover:var(--DIGI--DIALOG--CONTENT--BUTTON--COLOR--BORDER--PRIMARY)}";export{l as digi_dialog}