@designsystem-se/af 35.0.1 → 35.1.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 (439) hide show
  1. package/components/digi-bar-chart.js +1 -1
  2. package/components/digi-calendar-datepicker.js +3 -4
  3. package/components/digi-calendar-week-view.js +1 -1
  4. package/components/digi-calendar.js +1 -1
  5. package/components/digi-chart-line.js +1 -1
  6. package/components/digi-code-block.js +1 -1
  7. package/components/digi-code-example.js +2 -2
  8. package/components/digi-code.js +1 -1
  9. package/components/digi-context-menu.js +3 -3
  10. package/components/digi-dialog.js +2 -3
  11. package/components/digi-expandable-accordion.js +1 -1
  12. package/components/digi-expandable-faq-item.js +1 -1
  13. package/components/digi-footer.js +1 -2
  14. package/components/digi-form-checkbox.js +1 -1
  15. package/components/digi-form-error-list.js +18 -25
  16. package/components/digi-form-file-upload.js +2 -2
  17. package/components/digi-form-filter.js +1 -1
  18. package/components/digi-form-radiobutton.js +1 -1
  19. package/components/digi-form-receipt.js +0 -1
  20. package/components/digi-form-select-filter.js +1 -2
  21. package/components/digi-header-avatar.js +3 -3
  22. package/components/digi-header-navigation.js +12 -8
  23. package/components/digi-header.js +3 -4
  24. package/components/digi-info-card-multi.js +4 -4
  25. package/components/digi-info-card.js +3 -3
  26. package/components/digi-link-button.js +1 -1
  27. package/components/digi-link-external.js +1 -1
  28. package/components/digi-link-internal.js +1 -1
  29. package/components/digi-link.js +1 -1
  30. package/components/digi-list.js +2 -2
  31. package/components/digi-loader-skeleton.js +3 -3
  32. package/components/digi-loader-spinner.js +1 -1
  33. package/components/digi-logo.js +1 -1
  34. package/components/digi-media-figure.js +1 -1
  35. package/components/digi-media-image.js +1 -1
  36. package/components/digi-navigation-breadcrumbs.js +2 -2
  37. package/components/digi-navigation-pagination.js +8 -9
  38. package/components/digi-navigation-sidebar-button.js +1 -1
  39. package/components/digi-navigation-sidebar.js +4 -4
  40. package/components/digi-navigation-vertical-menu-item.js +6 -6
  41. package/components/digi-navigation-vertical-menu.js +1 -1
  42. package/components/digi-notification-alert.js +1 -1
  43. package/components/digi-notification-error-page.js +5 -6
  44. package/components/digi-progress-circle.js +8 -8
  45. package/components/digi-progress-indicator.js +3 -3
  46. package/components/digi-progress-list-item.js +5 -5
  47. package/components/digi-progress-list.js +2 -2
  48. package/components/digi-progressbar.js +2 -2
  49. package/components/digi-quote.js +4 -4
  50. package/components/digi-table.js +1 -1
  51. package/components/digi-tablist-panel.js +2 -2
  52. package/components/digi-tablist.js +5 -5
  53. package/components/digi-tag-media.js +1 -1
  54. package/components/digi-tag.js +1 -1
  55. package/components/digi-tools-feedback-banner.js +3 -3
  56. package/components/digi-tools-feedback-rating.js +4 -4
  57. package/components/digi-tools-feedback.js +1 -2
  58. package/components/digi-tools-theme-provider.js +1 -1
  59. package/components/digi-typography-heading-jumbo.js +1 -1
  60. package/components/digi-typography-meta.js +1 -1
  61. package/components/digi-typography-preamble.js +1 -1
  62. package/components/digi-typography-time.js +1 -1
  63. package/components/digi-typography.js +1 -1
  64. package/components/digi-util-breakpoint-observer.js +1 -1
  65. package/components/digi-util-detect-click-outside.js +1 -1
  66. package/components/digi-util-detect-focus-outside.js +1 -1
  67. package/components/digi-util-intersection-observer.js +1 -1
  68. package/components/digi-util-keydown-handler.js +1 -1
  69. package/components/digi-util-keyup-handler.js +1 -1
  70. package/components/digi-util-resize-observer.js +1 -1
  71. package/components/index.d.ts +0 -2
  72. package/components/index.js +0 -2
  73. package/components/{p-71708b05.js → p-05348bac.js} +1 -1
  74. package/components/{p-cbffee0e.js → p-06ff97e5.js} +3 -3
  75. package/components/{p-75659814.js → p-1240776d.js} +1 -1
  76. package/components/{p-9db189da.js → p-1bf785c6.js} +16 -23
  77. package/components/{p-d68a2616.js → p-282382c4.js} +4 -12
  78. package/components/{p-0fa9b53d.js → p-3550df5a.js} +1 -1
  79. package/components/{p-96b491a1.js → p-3bd8c19c.js} +0 -1
  80. package/components/{p-dabc44e6.js → p-5c4776c7.js} +1 -1
  81. package/components/{p-ff3602a0.js → p-5c935ce6.js} +8 -17
  82. package/components/{p-b117b485.js → p-71ee8db6.js} +1 -1
  83. package/components/{p-0d72a9c0.js → p-75510c73.js} +3 -3
  84. package/components/{p-82193a3f.js → p-783a8315.js} +2 -2
  85. package/components/{p-6f28ab30.js → p-7930f1eb.js} +1 -1
  86. package/components/{p-8c8ce786.js → p-7cc477d1.js} +1 -1
  87. package/components/{p-02fa1893.js → p-a5754a21.js} +2 -2
  88. package/components/{p-94611ca8.js → p-ac22eb1c.js} +1 -1
  89. package/components/{p-0eac1dba.js → p-d03f0b8f.js} +2 -2
  90. package/custom-elements.json +5 -32
  91. package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-1611825e.js} +6 -0
  92. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  93. package/dist/cjs/{digi-bar-chart_8.cjs.entry.js → digi-bar-chart.cjs.entry.js} +0 -258
  94. package/dist/cjs/digi-button_16.cjs.entry.js +798 -0
  95. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +4 -10
  96. package/dist/cjs/digi-code-block_3.cjs.entry.js +8 -21
  97. package/dist/cjs/digi-code-example.cjs.entry.js +3 -4
  98. package/dist/cjs/digi-code.cjs.entry.js +1 -1
  99. package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
  100. package/dist/cjs/digi-dialog.cjs.entry.js +4 -10
  101. package/dist/cjs/digi-footer.cjs.entry.js +3 -9
  102. package/dist/cjs/digi-form-checkbox.cjs.entry.js +6 -14
  103. package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -9
  104. package/dist/cjs/digi-form-file-upload.cjs.entry.js +1 -1
  105. package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -3
  106. package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -9
  107. package/dist/cjs/digi-form-select-filter.cjs.entry.js +3 -9
  108. package/dist/cjs/digi-header-avatar.cjs.entry.js +1 -1
  109. package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +53 -0
  110. package/dist/cjs/digi-icon-chart_2.cjs.entry.js +53 -0
  111. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +1 -1
  112. package/dist/cjs/{digi-icon-notification-error_5.cjs.entry.js → digi-icon-notification-error_4.cjs.entry.js} +0 -23
  113. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  114. package/dist/cjs/digi-link-internal.cjs.entry.js +2 -2
  115. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  116. package/dist/cjs/digi-list.cjs.entry.js +1 -1
  117. package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
  118. package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
  119. package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
  120. package/dist/cjs/digi-media-image_2.cjs.entry.js +3 -3
  121. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +2 -2
  122. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +9 -15
  123. package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
  124. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +6 -6
  125. package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +1 -1
  126. package/dist/cjs/digi-notification-alert.cjs.entry.js +6 -12
  127. package/dist/cjs/digi-notification-error-page.cjs.entry.js +6 -12
  128. package/dist/cjs/digi-progress-circle.cjs.entry.js +8 -8
  129. package/dist/cjs/digi-progress-indicator.cjs.entry.js +3 -3
  130. package/dist/cjs/digi-progress-list-item.cjs.entry.js +5 -5
  131. package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
  132. package/dist/cjs/digi-progressbar.cjs.entry.js +2 -2
  133. package/dist/cjs/digi-quote.cjs.entry.js +2 -2
  134. package/dist/cjs/digi-table.cjs.entry.js +1 -1
  135. package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
  136. package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
  137. package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
  138. package/dist/cjs/digi-tag.cjs.entry.js +1 -1
  139. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
  140. package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
  141. package/dist/cjs/digi-tools-feedback.cjs.entry.js +6 -12
  142. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +1 -1
  143. package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
  144. package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
  145. package/dist/cjs/digi-typography.cjs.entry.js +26 -0
  146. package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
  147. package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
  148. package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
  149. package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
  150. package/dist/cjs/{form-input-search-variation.enum-c50239bc.js → form-input-search-variation.enum-e0e025b1.js} +7 -0
  151. package/dist/cjs/index-81fc5a97.js +18 -50
  152. package/dist/cjs/index.cjs.js +66 -78
  153. package/dist/cjs/loader.cjs.js +1 -1
  154. package/dist/cjs/{typography-variation.enum-d6a04b47.js → typography-variation.enum-e636523c.js} +48 -0
  155. package/dist/collection/collection-manifest.json +0 -1
  156. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +2 -2
  157. package/dist/collection/components/_code/code/code.css +4 -0
  158. package/dist/collection/components/_form/form-checkbox/form-checkbox.css +2 -2
  159. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +8 -21
  160. package/dist/collection/components/_form/form-file-upload/form-file-upload.css +5 -2
  161. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +13 -19
  162. package/dist/collection/components/_header/header-avatar/header-avatar.css +2 -2
  163. package/dist/collection/components/_header/header-navigation/header-navigation.js +10 -5
  164. package/dist/collection/components/_link/link/link.js +1 -1
  165. package/dist/collection/components/_link/link-button/link-button.js +1 -1
  166. package/dist/collection/components/_link/link-external/link-external.js +1 -1
  167. package/dist/collection/components/_link/link-internal/link-internal.css +2 -2
  168. package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
  169. package/dist/collection/components/_list/list/list.js +1 -1
  170. package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
  171. package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
  172. package/dist/collection/components/_logo/logo/logo.js +2 -2
  173. package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
  174. package/dist/collection/components/_media/media-image/media-image.js +2 -2
  175. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
  176. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
  177. package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
  178. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
  179. package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
  180. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
  181. package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
  182. package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
  183. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
  184. package/dist/collection/components/_notification/notification-alert/notification-alert.css +9 -1
  185. package/dist/collection/components/_notification/notification-alert/notification-alert.js +3 -3
  186. package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
  187. package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
  188. package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
  189. package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
  190. package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
  191. package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
  192. package/dist/collection/components/_quote/quote/quote.css +1 -1
  193. package/dist/collection/components/_quote/quote/quote.js +1 -1
  194. package/dist/collection/components/_table/table/table.js +1 -1
  195. package/dist/collection/components/_tag/tag/tag.js +1 -1
  196. package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
  197. package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
  198. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
  199. package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
  200. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +1 -1
  201. package/dist/collection/components/_typography/typography/typography.js +1 -1
  202. package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
  203. package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
  204. package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
  205. package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
  206. package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
  207. package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
  208. package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
  209. package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
  210. package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
  211. package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
  212. package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
  213. package/dist/collection/enums.js +0 -1
  214. package/dist/collection/styles/src/themes/_common.mixin.scss +2 -2
  215. package/dist/collection/styles/src/tokens-documentation/web-AF25.json +138 -163
  216. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
  217. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  218. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  219. package/dist/digi-arbetsformedlingen/{p-a9364824.entry.js → p-06f479a0.entry.js} +1 -1
  220. package/dist/digi-arbetsformedlingen/p-0f0d34f5.entry.js +1 -0
  221. package/dist/digi-arbetsformedlingen/{p-e1c15beb.entry.js → p-10d61ca1.entry.js} +1 -1
  222. package/dist/digi-arbetsformedlingen/{p-5000780c.entry.js → p-13bbfd07.entry.js} +1 -1
  223. package/dist/digi-arbetsformedlingen/{p-6b4f5007.entry.js → p-14971f37.entry.js} +1 -1
  224. package/dist/digi-arbetsformedlingen/p-157b2ef0.entry.js +1 -0
  225. package/dist/digi-arbetsformedlingen/{p-806f8bc3.entry.js → p-16681b2b.entry.js} +1 -1
  226. package/dist/digi-arbetsformedlingen/p-168178b4.entry.js +1 -0
  227. package/dist/digi-arbetsformedlingen/p-1879ec52.entry.js +1 -0
  228. package/dist/digi-arbetsformedlingen/p-1f90221c.entry.js +1 -0
  229. package/dist/digi-arbetsformedlingen/{p-956b92a1.entry.js → p-1ff4b356.entry.js} +1 -1
  230. package/dist/digi-arbetsformedlingen/{p-a2c089de.entry.js → p-2e41f811.entry.js} +1 -1
  231. package/dist/digi-arbetsformedlingen/{p-882c9deb.entry.js → p-2fc2869e.entry.js} +1 -1
  232. package/dist/digi-arbetsformedlingen/{p-70d5b6d8.entry.js → p-361adda6.entry.js} +1 -1
  233. package/dist/digi-arbetsformedlingen/p-3a1c753e.js +1 -0
  234. package/dist/digi-arbetsformedlingen/{p-aa68d8a7.entry.js → p-3dc1fd5e.entry.js} +1 -1
  235. package/dist/digi-arbetsformedlingen/{p-152d14c0.entry.js → p-450f026e.entry.js} +1 -1
  236. package/dist/digi-arbetsformedlingen/p-4841b4e1.js +1 -0
  237. package/dist/digi-arbetsformedlingen/p-491ecb85.entry.js +1 -0
  238. package/dist/digi-arbetsformedlingen/{p-e73d19bc.entry.js → p-52946d56.entry.js} +1 -1
  239. package/dist/digi-arbetsformedlingen/p-53d9556b.js +1 -0
  240. package/dist/digi-arbetsformedlingen/{p-4f573972.entry.js → p-56daef7c.entry.js} +1 -1
  241. package/dist/digi-arbetsformedlingen/{p-91e65c6d.entry.js → p-5f29f1df.entry.js} +1 -1
  242. package/dist/digi-arbetsformedlingen/p-61087620.entry.js +1 -0
  243. package/dist/digi-arbetsformedlingen/p-64268e59.entry.js +1 -0
  244. package/dist/digi-arbetsformedlingen/{p-3f98a40d.entry.js → p-64480425.entry.js} +1 -1
  245. package/dist/digi-arbetsformedlingen/p-69bb6a30.entry.js +1 -0
  246. package/dist/digi-arbetsformedlingen/p-6b803e1c.entry.js +1 -0
  247. package/dist/digi-arbetsformedlingen/p-6eb07401.entry.js +1 -0
  248. package/dist/digi-arbetsformedlingen/{p-d4bd3c67.entry.js → p-708ff3a0.entry.js} +1 -1
  249. package/dist/digi-arbetsformedlingen/p-70f4e550.entry.js +1 -0
  250. package/dist/digi-arbetsformedlingen/{p-8e9c52c1.entry.js → p-79ccfb51.entry.js} +1 -1
  251. package/dist/digi-arbetsformedlingen/p-7b94a3c7.entry.js +1 -0
  252. package/dist/digi-arbetsformedlingen/{p-fb73b450.entry.js → p-8258b417.entry.js} +1 -1
  253. package/dist/digi-arbetsformedlingen/p-82ea167c.entry.js +1 -0
  254. package/dist/digi-arbetsformedlingen/{p-94e3298a.entry.js → p-83b255e1.entry.js} +1 -1
  255. package/dist/digi-arbetsformedlingen/{p-0079fe23.entry.js → p-85adb0c4.entry.js} +1 -1
  256. package/dist/digi-arbetsformedlingen/{p-40992279.entry.js → p-869ec116.entry.js} +1 -1
  257. package/dist/digi-arbetsformedlingen/{p-bc867ac9.entry.js → p-8a7516f8.entry.js} +1 -1
  258. package/dist/digi-arbetsformedlingen/p-921261c4.entry.js +1 -0
  259. package/dist/digi-arbetsformedlingen/{p-0dabfbf2.entry.js → p-93163416.entry.js} +1 -1
  260. package/dist/digi-arbetsformedlingen/p-936d781a.entry.js +1 -0
  261. package/dist/digi-arbetsformedlingen/p-9bdbcfe7.entry.js +1 -0
  262. package/dist/digi-arbetsformedlingen/{p-379388e8.entry.js → p-a564d73b.entry.js} +1 -1
  263. package/dist/digi-arbetsformedlingen/{p-4387f5b9.entry.js → p-ad49b24c.entry.js} +1 -1
  264. package/dist/digi-arbetsformedlingen/{p-788edc66.entry.js → p-b1318357.entry.js} +1 -1
  265. package/dist/digi-arbetsformedlingen/{p-1b26e051.entry.js → p-b41f36a3.entry.js} +1 -1
  266. package/dist/digi-arbetsformedlingen/{p-5520c068.entry.js → p-c573eb62.entry.js} +1 -1
  267. package/dist/digi-arbetsformedlingen/{p-8dc34fe3.entry.js → p-cb0d3ca3.entry.js} +1 -1
  268. package/dist/digi-arbetsformedlingen/{p-62ff3ed7.entry.js → p-ce3c9714.entry.js} +1 -1
  269. package/dist/digi-arbetsformedlingen/p-d09975d2.entry.js +1 -0
  270. package/dist/digi-arbetsformedlingen/p-d2660122.entry.js +1 -0
  271. package/dist/digi-arbetsformedlingen/p-d619d74f.entry.js +1 -0
  272. package/dist/digi-arbetsformedlingen/{p-e2fe3edf.entry.js → p-df3bf19b.entry.js} +1 -1
  273. package/dist/digi-arbetsformedlingen/{p-a20e4bdd.entry.js → p-e5121833.entry.js} +1 -1
  274. package/dist/digi-arbetsformedlingen/{p-f80bf0cf.entry.js → p-e69a47b0.entry.js} +1 -1
  275. package/dist/digi-arbetsformedlingen/p-eb32406e.entry.js +1 -0
  276. package/dist/digi-arbetsformedlingen/p-ef35a8e5.entry.js +1 -0
  277. package/dist/digi-arbetsformedlingen/p-f44865c5.entry.js +1 -0
  278. package/dist/digi-arbetsformedlingen/p-f5ac3db8.entry.js +1 -0
  279. package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +2 -2
  280. package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +138 -163
  281. package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-e656d235.js} +7 -1
  282. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  283. package/dist/esm/{digi-bar-chart_8.entry.js → digi-bar-chart.entry.js} +2 -253
  284. package/dist/esm/digi-button_16.entry.js +779 -0
  285. package/dist/esm/digi-calendar-datepicker.entry.js +4 -10
  286. package/dist/esm/digi-code-block_3.entry.js +7 -20
  287. package/dist/esm/digi-code-example.entry.js +1 -2
  288. package/dist/esm/digi-code.entry.js +1 -1
  289. package/dist/esm/digi-context-menu.entry.js +3 -3
  290. package/dist/esm/digi-dialog.entry.js +3 -9
  291. package/dist/esm/digi-footer.entry.js +3 -9
  292. package/dist/esm/digi-form-checkbox.entry.js +6 -14
  293. package/dist/esm/digi-form-error-list.entry.js +3 -9
  294. package/dist/esm/digi-form-file-upload.entry.js +1 -1
  295. package/dist/esm/digi-form-input-search.entry.js +1 -2
  296. package/dist/esm/digi-form-receipt.entry.js +3 -9
  297. package/dist/esm/digi-form-select-filter.entry.js +3 -9
  298. package/dist/esm/digi-header-avatar.entry.js +1 -1
  299. package/dist/esm/digi-icon-caret-down_2.entry.js +48 -0
  300. package/dist/esm/digi-icon-chart_2.entry.js +48 -0
  301. package/dist/esm/digi-icon-external-link-alt_2.entry.js +1 -1
  302. package/dist/esm/{digi-icon-notification-error_5.entry.js → digi-icon-notification-error_4.entry.js} +1 -23
  303. package/dist/esm/digi-link-button.entry.js +1 -1
  304. package/dist/esm/digi-link-internal.entry.js +2 -2
  305. package/dist/esm/digi-link.entry.js +1 -1
  306. package/dist/esm/digi-list.entry.js +1 -1
  307. package/dist/esm/digi-loader-skeleton.entry.js +3 -3
  308. package/dist/esm/digi-loader-spinner.entry.js +1 -1
  309. package/dist/esm/digi-media-figure.entry.js +1 -1
  310. package/dist/esm/digi-media-image_2.entry.js +3 -3
  311. package/dist/esm/digi-navigation-breadcrumbs.entry.js +2 -2
  312. package/dist/esm/digi-navigation-pagination.entry.js +9 -15
  313. package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
  314. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +6 -6
  315. package/dist/esm/digi-navigation-vertical-menu.entry.js +1 -1
  316. package/dist/esm/digi-notification-alert.entry.js +6 -12
  317. package/dist/esm/digi-notification-error-page.entry.js +6 -12
  318. package/dist/esm/digi-progress-circle.entry.js +8 -8
  319. package/dist/esm/digi-progress-indicator.entry.js +3 -3
  320. package/dist/esm/digi-progress-list-item.entry.js +5 -5
  321. package/dist/esm/digi-progress-list.entry.js +1 -1
  322. package/dist/esm/digi-progressbar.entry.js +2 -2
  323. package/dist/esm/digi-quote.entry.js +2 -2
  324. package/dist/esm/digi-table.entry.js +1 -1
  325. package/dist/esm/digi-tablist-panel.entry.js +2 -2
  326. package/dist/esm/digi-tablist.entry.js +5 -5
  327. package/dist/esm/digi-tag-media.entry.js +2 -2
  328. package/dist/esm/digi-tag.entry.js +1 -1
  329. package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
  330. package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
  331. package/dist/esm/digi-tools-feedback.entry.js +4 -10
  332. package/dist/esm/digi-tools-theme-provider.entry.js +1 -1
  333. package/dist/esm/digi-typography-meta.entry.js +1 -1
  334. package/dist/esm/digi-typography-time.entry.js +1 -1
  335. package/dist/esm/digi-typography.entry.js +22 -0
  336. package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
  337. package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
  338. package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
  339. package/dist/esm/digi-util-resize-observer.entry.js +1 -1
  340. package/dist/esm/{form-input-search-variation.enum-f9d669f2.js → form-input-search-variation.enum-6d8dc10a.js} +8 -1
  341. package/dist/esm/index-bfea2cc5.js +18 -50
  342. package/dist/esm/index.js +3 -9
  343. package/dist/esm/loader.js +1 -1
  344. package/dist/esm/{typography-variation.enum-0f0f74d5.js → typography-variation.enum-f574b1a7.js} +49 -1
  345. package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +8 -6
  346. package/dist/types/components/_form/form-radiobutton/form-radiobutton.d.ts +12 -8
  347. package/dist/types/components.d.ts +22 -69
  348. package/dist/types/enums.d.ts +0 -1
  349. package/hydrate/index.js +114 -173
  350. package/hydrate/index.mjs +114 -173
  351. package/package.json +1 -1
  352. package/components/digi-layout-media-object.d.ts +0 -11
  353. package/components/digi-layout-media-object.js +0 -6
  354. package/components/p-0ced52b5.js +0 -41
  355. package/components/p-85914c7f.js +0 -9
  356. package/dist/cjs/button-size.enum-1fd86b9e.js +0 -7
  357. package/dist/cjs/button-type.enum-406723db.js +0 -8
  358. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +0 -27
  359. package/dist/cjs/digi-header-navigation.cjs.entry.js +0 -226
  360. package/dist/cjs/digi-header-notification.cjs.entry.js +0 -23
  361. package/dist/cjs/digi-header.cjs.entry.js +0 -99
  362. package/dist/cjs/digi-icon-bars.cjs.entry.js +0 -30
  363. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +0 -30
  364. package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
  365. package/dist/cjs/digi-logo_2.cjs.entry.js +0 -64
  366. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
  367. package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
  368. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +0 -48
  369. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -83
  370. package/dist/cjs/layout-container-max-width.enum-7e637f44.js +0 -21
  371. package/dist/cjs/layout-media-object-alignment.enum-81c8e205.js +0 -9
  372. package/dist/cjs/logo-variation.enum-607fadb4.js +0 -13
  373. package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
  374. package/dist/collection/components/_layout/layout-media-object/layout-media-object-alignment.enum.js +0 -7
  375. package/dist/collection/components/_layout/layout-media-object/layout-media-object.css +0 -24
  376. package/dist/collection/components/_layout/layout-media-object/layout-media-object.js +0 -75
  377. package/dist/collection/design-tokens/components/_layout-media-object.variables.scss +0 -5
  378. package/dist/digi-arbetsformedlingen/design-tokens/components/_layout-media-object.variables.scss +0 -5
  379. package/dist/digi-arbetsformedlingen/p-0a56661d.entry.js +0 -1
  380. package/dist/digi-arbetsformedlingen/p-0c5cce11.entry.js +0 -1
  381. package/dist/digi-arbetsformedlingen/p-0d896f6b.entry.js +0 -1
  382. package/dist/digi-arbetsformedlingen/p-0e722a95.entry.js +0 -1
  383. package/dist/digi-arbetsformedlingen/p-13230035.entry.js +0 -1
  384. package/dist/digi-arbetsformedlingen/p-1c92b365.entry.js +0 -1
  385. package/dist/digi-arbetsformedlingen/p-1d53eba5.entry.js +0 -1
  386. package/dist/digi-arbetsformedlingen/p-290d1746.js +0 -1
  387. package/dist/digi-arbetsformedlingen/p-2c2f8595.entry.js +0 -1
  388. package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
  389. package/dist/digi-arbetsformedlingen/p-314a9153.entry.js +0 -1
  390. package/dist/digi-arbetsformedlingen/p-4b87e336.entry.js +0 -1
  391. package/dist/digi-arbetsformedlingen/p-543fe1c4.entry.js +0 -1
  392. package/dist/digi-arbetsformedlingen/p-58d7d227.entry.js +0 -1
  393. package/dist/digi-arbetsformedlingen/p-5a602122.js +0 -1
  394. package/dist/digi-arbetsformedlingen/p-5b31f86f.entry.js +0 -1
  395. package/dist/digi-arbetsformedlingen/p-608cc0bd.entry.js +0 -1
  396. package/dist/digi-arbetsformedlingen/p-645b33ab.entry.js +0 -1
  397. package/dist/digi-arbetsformedlingen/p-79514af6.entry.js +0 -1
  398. package/dist/digi-arbetsformedlingen/p-7f574281.entry.js +0 -1
  399. package/dist/digi-arbetsformedlingen/p-7ffd27d3.entry.js +0 -1
  400. package/dist/digi-arbetsformedlingen/p-85914c7f.js +0 -1
  401. package/dist/digi-arbetsformedlingen/p-8b372f1f.entry.js +0 -1
  402. package/dist/digi-arbetsformedlingen/p-8d3b02b9.entry.js +0 -1
  403. package/dist/digi-arbetsformedlingen/p-8d60df32.entry.js +0 -1
  404. package/dist/digi-arbetsformedlingen/p-98fca451.entry.js +0 -1
  405. package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
  406. package/dist/digi-arbetsformedlingen/p-bd5122b0.js +0 -1
  407. package/dist/digi-arbetsformedlingen/p-bdc6dba1.entry.js +0 -1
  408. package/dist/digi-arbetsformedlingen/p-c27aae81.entry.js +0 -1
  409. package/dist/digi-arbetsformedlingen/p-c2b92eaa.entry.js +0 -1
  410. package/dist/digi-arbetsformedlingen/p-c39bc356.entry.js +0 -1
  411. package/dist/digi-arbetsformedlingen/p-cdf86efc.js +0 -1
  412. package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
  413. package/dist/digi-arbetsformedlingen/p-da0c0168.entry.js +0 -1
  414. package/dist/digi-arbetsformedlingen/p-e20facdd.entry.js +0 -1
  415. package/dist/digi-arbetsformedlingen/p-e480e0ed.entry.js +0 -1
  416. package/dist/digi-arbetsformedlingen/p-ec765628.entry.js +0 -1
  417. package/dist/digi-arbetsformedlingen/p-ee9589e6.js +0 -1
  418. package/dist/digi-arbetsformedlingen/p-fcc48716.entry.js +0 -1
  419. package/dist/digi-arbetsformedlingen/p-fee0e9e0.entry.js +0 -1
  420. package/dist/esm/button-size.enum-d5ff6ff3.js +0 -7
  421. package/dist/esm/button-type.enum-5250ae0b.js +0 -8
  422. package/dist/esm/digi-header-navigation-item.entry.js +0 -23
  423. package/dist/esm/digi-header-navigation.entry.js +0 -222
  424. package/dist/esm/digi-header-notification.entry.js +0 -19
  425. package/dist/esm/digi-header.entry.js +0 -95
  426. package/dist/esm/digi-icon-bars.entry.js +0 -26
  427. package/dist/esm/digi-icon-bell-filled.entry.js +0 -26
  428. package/dist/esm/digi-layout-block_2.entry.js +0 -87
  429. package/dist/esm/digi-logo_2.entry.js +0 -59
  430. package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
  431. package/dist/esm/digi-typography-preamble.entry.js +0 -16
  432. package/dist/esm/digi-util-breakpoint-observer.entry.js +0 -44
  433. package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
  434. package/dist/esm/layout-container-max-width.enum-c40018ac.js +0 -21
  435. package/dist/esm/layout-media-object-alignment.enum-305b86b6.js +0 -9
  436. package/dist/esm/logo-variation.enum-5b68b79f.js +0 -13
  437. package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
  438. package/dist/types/components/_layout/layout-media-object/layout-media-object-alignment.enum.d.ts +0 -6
  439. package/dist/types/components/_layout/layout-media-object/layout-media-object.d.ts +0 -22
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designsystem-se/af",
3
3
  "author": "Arbetsförmedlingen",
4
- "version": "35.0.1",
4
+ "version": "35.1.0",
5
5
  "description": "Web Components for Digi Designsystem",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./dist/index.cjs.js",
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DigiLayoutMediaObject extends Components.DigiLayoutMediaObject, HTMLElement {}
4
- export const DigiLayoutMediaObject: {
5
- prototype: DigiLayoutMediaObject;
6
- new (): DigiLayoutMediaObject;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,6 +0,0 @@
1
- import { L as LayoutMediaObject, d as defineCustomElement$1 } from './p-0ced52b5.js';
2
-
3
- const DigiLayoutMediaObject = LayoutMediaObject;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { DigiLayoutMediaObject, defineCustomElement };
@@ -1,41 +0,0 @@
1
- import { p as proxyCustomElement, H, h } from './p-e5abfc2d.js';
2
- import { L as LayoutMediaObjectAlignment } from './p-85914c7f.js';
3
-
4
- const layoutMediaObjectCss = ".sc-digi-layout-media-object-h{--digi--layout-media-object--gutter:var(--digi--gutter--largest);--digi--layout-media-object--alignment:flex-start;--digi--layout-media-object--flex-wrap:wrap}.sc-digi-layout-media-object-h .digi-layout-media-object.sc-digi-layout-media-object{display:flex;align-items:var(--digi--layout-media-object--alignment);gap:var(--digi--layout-media-object--gutter);flex-wrap:var(--digi--layout-media-object--flex-wrap)}.sc-digi-layout-media-object-h .digi-layout-media-object--alignment-center.sc-digi-layout-media-object{--digi--layout-media-object--alignment:center}.sc-digi-layout-media-object-h .digi-layout-media-object--alignment-end.sc-digi-layout-media-object{--digi--layout-media-object--alignment:flex-end}.sc-digi-layout-media-object-h .digi-layout-media-object--alignment-stretch.sc-digi-layout-media-object{--digi--layout-media-object--alignment:stretch}.digi-layout-media-object__last.sc-digi-layout-media-object{flex:1}";
5
- const DigiLayoutMediaObjectStyle0 = layoutMediaObjectCss;
6
-
7
- const LayoutMediaObject = /*@__PURE__*/ proxyCustomElement(class LayoutMediaObject extends H {
8
- constructor() {
9
- super();
10
- this.__registerHost();
11
- this.afAlignment = LayoutMediaObjectAlignment.START;
12
- }
13
- componentDidLoad() {
14
- }
15
- get cssModifiers() {
16
- return {
17
- [`digi-layout-media-object--alignment-${this.afAlignment}`]: !!this.afAlignment
18
- };
19
- }
20
- render() {
21
- return (h("div", { key: 'd754e730a2bca91e5c3c2215c256af5a921b433e', class: Object.assign({ 'digi-layout-media-object': true }, this.cssModifiers) }, h("div", { key: '0948f19ee99175751f738eb9538b2d4ef6d52000', class: "digi-layout-media-object__first" }, h("slot", { key: '0f4ae2d67e8b55ef243262b995269fe428c03fed', name: "media" })), h("div", { key: '857d72cd6e6b6184c03bdf3372833b02bc452906', class: "digi-layout-media-object__last" }, h("slot", { key: 'eaa6f85c21f56b5a028f4f9bf85a5544a9396d77' }))));
22
- }
23
- static get style() { return DigiLayoutMediaObjectStyle0; }
24
- }, [6, "digi-layout-media-object", {
25
- "afAlignment": [1, "af-alignment"]
26
- }]);
27
- function defineCustomElement() {
28
- if (typeof customElements === "undefined") {
29
- return;
30
- }
31
- const components = ["digi-layout-media-object"];
32
- components.forEach(tagName => { switch (tagName) {
33
- case "digi-layout-media-object":
34
- if (!customElements.get(tagName)) {
35
- customElements.define(tagName, LayoutMediaObject);
36
- }
37
- break;
38
- } });
39
- }
40
-
41
- export { LayoutMediaObject as L, defineCustomElement as d };
@@ -1,9 +0,0 @@
1
- var LayoutMediaObjectAlignment;
2
- (function (LayoutMediaObjectAlignment) {
3
- LayoutMediaObjectAlignment["CENTER"] = "center";
4
- LayoutMediaObjectAlignment["START"] = "start";
5
- LayoutMediaObjectAlignment["END"] = "end";
6
- LayoutMediaObjectAlignment["STRETCH"] = "stretch";
7
- })(LayoutMediaObjectAlignment || (LayoutMediaObjectAlignment = {}));
8
-
9
- export { LayoutMediaObjectAlignment as L };
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ButtonSize = void 0;
4
- (function (ButtonSize) {
5
- ButtonSize["SMALL"] = "small";
6
- ButtonSize["MEDIUM"] = "medium";
7
- })(exports.ButtonSize || (exports.ButtonSize = {}));
@@ -1,8 +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 = {}));
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-81fc5a97.js');
6
-
7
- const headerNavigationItemCss = ".sc-digi-header-navigation-item-h{--digi--header-navigation-item--font-family:var(--digi--global--typography--font-family--default);--digi--header-navigation-item--font-size:var(--digi--typography--body--font-size--desktop);--digi--header-navigation-item--color:var(--digi--color--text--interactive--tertiary);--digi--header-navigation-item--color-hover:var(--digi--color--text--interactive--primary);--digi--header-navigation-item--color-active:var(--digi--color--text--interactive--primary);--digi--header-navigation-item-indicator--inactive--color:var(--digi--color--background--secondary-muted);--digi--header-navigation-item-indicator--inactive-hover--color:var(--digi--color--background--interactive--hover--quarternary);--digi--header-navigation-item-indicator--active--color:var(--digi--color--marking--navigation--selected);display:block;--INDICATOR-COLOR:var(--digi--header-navigation-item-indicator--inactive--color)}.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a{display:block;text-decoration:none;padding:var(--digi--padding--medium);color:var(--digi--header-navigation-item--color);font-family:var(--digi--header-navigation-item--font-family);font-size:var(--digi--header-navigation-item--font-size)}.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:hover,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a:hover,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:active,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a:active,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:focus-visible,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a:focus-visible{background-color:var(--digi--header-navigation-item-indicator--inactive-hover--color);color:var(--digi--header-navigation-item--color-hover);text-decoration:underline}.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:hover,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:hover+.digi-header-navigation-item-indicator,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a:hover+.digi-header-navigation-item-indicator{--INDICATOR-COLOR:var(--digi--header-navigation-item-indicator--inactive-hover--color)}.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:hover,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:hover+.digi-header-navigation-item-indicator,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:hover+.digi-header-navigation-item-indicator--active,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a:hover+.digi-header-navigation-item-indicator--active{--INDICATOR-COLOR:var(--digi--header-navigation-item-indicator--active--color)}.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a,.sc-digi-header-navigation-item-h.sc-digi-header-navigation-item-s>a:focus-visible,.sc-digi-header-navigation-item-h .sc-digi-header-navigation-item-s>a:focus-visible{outline:2px solid black;outline-offset:-3px;box-shadow:0px 0px 0px 5px inset white}.digi-header-navigation-item-indicator.sc-digi-header-navigation-item{height:0.25rem;width:100%;background-color:var(--INDICATOR-COLOR)}.digi-header-navigation-item-indicator--active.sc-digi-header-navigation-item{--INDICATOR-COLOR:var(--digi--header-navigation-item-indicator--active--color)}.digi-header-navigation-item--active.sc-digi-header-navigation-item-s>a,.digi-header-navigation-item--active .sc-digi-header-navigation-item-s>a{font-weight:bold}";
8
- const DigiHeaderNavigationItemStyle0 = headerNavigationItemCss;
9
-
10
- const HeaderNavigationItem = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.afCurrentPage = undefined;
14
- }
15
- get cssModifiers() {
16
- return {
17
- 'digi-header-navigation-item--active': this.afCurrentPage,
18
- 'digi-header-navigation-item-indicator--active': this.afCurrentPage
19
- };
20
- }
21
- render() {
22
- return (index.h("div", { key: '2da8031ab1a04399c649122865b19b085ad0f816', role: "listitem", class: Object.assign({ 'digi-header-navigation-item': true }, this.cssModifiers) }, index.h("slot", { key: 'ee3a995a79159ca84e881d1040e98c9f27ccf6e4' }), index.h("div", { key: '7295781cf81a2c899dc1f7a9a577ada093782796', class: Object.assign({ 'digi-header-navigation-item-indicator': true }, this.cssModifiers) })));
23
- }
24
- };
25
- HeaderNavigationItem.style = DigiHeaderNavigationItemStyle0;
26
-
27
- exports.digi_header_navigation_item = HeaderNavigationItem;
@@ -1,226 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-81fc5a97.js');
6
- require('./badge-notification-shape.enum-ff802554.js');
7
- const typographyVariation_enum = require('./typography-variation.enum-d6a04b47.js');
8
- require('./badge-status-variation.enum-0a5adc21.js');
9
- require('./button-size.enum-1fd86b9e.js');
10
- require('./button-type.enum-406723db.js');
11
- require('./button-variation.enum-bc521499.js');
12
- require('./calendar-week-view-heading-level.enum-fd0c841b.js');
13
- require('./bar-chart-variation.enum-a4e866b6.js');
14
- require('./code-example-variation.enum-c6557727.js');
15
- require('./code-variation.enum-c4a4e6fd.js');
16
- require('./expandable-accordion-header-level.enum-45483252.js');
17
- require('./expandable-faq-item-variation.enum-89427195.js');
18
- require('./expandable-faq-variation.enum-af923f49.js');
19
- require('./footer-card-variation.enum-99555edc.js');
20
- require('./form-checkbox-variation.enum-d2ca879e.js');
21
- require('./form-file-upload-variation.enum-634cfae8.js');
22
- require('./form-input-search-variation.enum-c50239bc.js');
23
- require('./form-input-type.enum-9c8ee12a.js');
24
- require('./form-input-variation.enum-c750520c.js');
25
- require('./form-select-variation.enum-528c1bf0.js');
26
- require('./form-textarea-variation.enum-9c90d40f.js');
27
- require('./form-validation-message-variation.enum-855ae0be.js');
28
- require('./info-card-multi-type.enum-14746572.js');
29
- require('./info-card-variation.enum-64cef637.js');
30
- require('./layout-container-max-width.enum-7e637f44.js');
31
- require('./layout-block-variation.enum-f6102119.js');
32
- require('./layout-columns-variation.enum-65675649.js');
33
- require('./layout-media-object-alignment.enum-81c8e205.js');
34
- require('./link-button-variation.enum-137785e3.js');
35
- require('./list-type.enum-aea4d012.js');
36
- require('./loader-skeleton-variation.enum-d52ba55e.js');
37
- require('./loader-spinner-size.enum-db2973f0.js');
38
- require('./logo-variation.enum-607fadb4.js');
39
- require('./media-figure-alignment.enum-3885aba5.js');
40
- require('./navigation-sidebar-variation.enum-1c0c3064.js');
41
- require('./navigation-vertical-menu-variation.enum-c237edd3.js');
42
- require('./progress-indicator-variation.enum-7cf8e0e4.js');
43
- require('./progress-list-item-variation.enum-90e4c874.js');
44
- require('./progress-list-variation.enum-06d5ce27.js');
45
- require('./progressbar-variation.enum-aff9fa80.js');
46
- require('./quote-image-inner-position.enum-e64e7a6d.js');
47
- require('./table-variation.enum-25df2ad7.js');
48
- require('./tag-media-icon.enum-372563c5.js');
49
- require('./tag-size.enum-387c516c.js');
50
- require('./tools-feedback-banner-type.enum-de373ba0.js');
51
- require('./tools-feedback-rating-variation.enum-2f71e84d.js');
52
- require('./tools-theme-provider.brand.enum-bc855272.js');
53
- require('./typography-heading-jumbo-variation.enum-8677e099.js');
54
- require('./typography-meta-variation.enum-13ac3538.js');
55
- require('./typography-time-variation.enum-bce1d87e.js');
56
- const utilBreakpointObserverBreakpoints_enum = require('./util-breakpoint-observer-breakpoints.enum-e96d3a84.js');
57
-
58
- const headerNavigationCss = ".sc-digi-header-navigation-h{--digi--header--border-color:var(--digi--color--divider--secondary);--digi--header--close-button--padding:var(--digi--padding--smaller);display:block}.sc-digi-header-navigation-h .digi-header-navigation.sc-digi-header-navigation{z-index:99}.sc-digi-header-navigation-h .digi-header-navigation__backdrop.sc-digi-header-navigation{background:rgba(0, 0, 0, 0.7);width:100%;height:100%;position:fixed;top:0;left:0}.sc-digi-header-navigation-h .digi-header-navigation__wrapper.sc-digi-header-navigation{display:none;grid-area:nav;background-color:var(--digi--color--background--secondary-muted);border-bottom:var(--digi--header--border-width) solid var(--digi--header--border-color)}.sc-digi-header-navigation-h .digi-header-navigation--visible.sc-digi-header-navigation .digi-header-navigation__wrapper.sc-digi-header-navigation{display:block}.sc-digi-header-navigation-h .digi-header-navigation__close-button.sc-digi-header-navigation{display:flex;flex-wrap:wrap;align-items:center;padding:var(--digi--header--close-button--padding) 0}.sc-digi-header-navigation-h .digi-header-navigation--mobile.sc-digi-header-navigation{width:0;position:fixed;height:100%;right:0;top:0;visibility:hidden}.sc-digi-header-navigation-h .digi-header-navigation--mobile.sc-digi-header-navigation .digi-header-navigation__wrapper.sc-digi-header-navigation{position:absolute;top:0;right:0;height:100%;transform:translateX(100%);width:90vw;transition:ease var(--digi--animation--duration--base) all;overflow-y:auto}.sc-digi-header-navigation-h .digi-header-navigation--mobile.sc-digi-header-navigation .digi-header-navigation__inner.sc-digi-header-navigation{padding:0;display:block}.sc-digi-header-navigation-h .digi-header-navigation--mobile .digi-header-navigation__inner.sc-digi-header-navigation-s>digi-header-navigation-item:first-child,.sc-digi-header-navigation-h .digi-header-navigation--mobile .digi-header-navigation__inner.sc-digi-header-navigation-s>digi-header-navigation-item,.sc-digi-header-navigation-h .digi-header-navigation--mobile .digi-header-navigation__inner .sc-digi-header-navigation-s>digi-header-navigation-item:first-child{border-top:1px solid var(--digi--header--border-color)}.sc-digi-header-navigation-h .digi-header-navigation--mobile .digi-header-navigation__inner.sc-digi-header-navigation-s>digi-header-navigation-item,.sc-digi-header-navigation-h .digi-header-navigation--mobile .digi-header-navigation__inner .sc-digi-header-navigation-s>digi-header-navigation-item{border-bottom:1px solid var(--digi--header--border-color)}.sc-digi-header-navigation-h .digi-header-navigation--open.sc-digi-header-navigation{visibility:visible}.sc-digi-header-navigation-h .digi-header-navigation--open.sc-digi-header-navigation .digi-header-navigation__wrapper.sc-digi-header-navigation{transform:translateX(0)}.sc-digi-header-navigation-h .digi-header-navigation--open.sc-digi-header-navigation .digi-header-navigation__backdrop.sc-digi-header-navigation{display:block}.sc-digi-header-navigation-h .digi-header-navigation__inner.sc-digi-header-navigation{list-style:none;margin:0;display:flex}.sc-digi-header-navigation-h .digi-header-navigation__navigation-link.sc-digi-header-navigation{display:block;text-decoration:none;color:inherit;padding:var(--digi--padding--medium)}.sc-digi-header-navigation-h .digi-header-navigation__navigation-link.sc-digi-header-navigation:hover{background-color:var(--digi--color--background--interactive--hover--quarternary)}";
59
- const DigiHeaderNavigationStyle0 = headerNavigationCss;
60
-
61
- const HeaderNavigation = class {
62
- constructor(hostRef) {
63
- index.registerInstance(this, hostRef);
64
- this.afOnClose = index.createEvent(this, "afOnClose", 7);
65
- this.afOnEsc = index.createEvent(this, "afOnEsc", 7);
66
- this.afOnBackdropClick = index.createEvent(this, "afOnBackdropClick", 7);
67
- this.afOnToggle = index.createEvent(this, "afOnToggle", 7);
68
- this._focusableElementsSelectors = 'a, input, select, textarea, button, button:not(hidden), iframe, object, [tabindex="0"]';
69
- this.focusableElements = [];
70
- this.isMobile = undefined;
71
- this.isVisible = undefined;
72
- this.afCloseButtonText = undefined;
73
- this.afNavAriaLabel = undefined;
74
- this.afCloseButtonAriaLabel = undefined;
75
- this.afFocusableElement = undefined;
76
- this.afCloseFocusableElement = undefined;
77
- this.afActive = false;
78
- this.afBackdrop = true;
79
- this.afCentered = typographyVariation_enum.HeaderCenterContentWidth.DEFAULT;
80
- }
81
- //private _observer: any;
82
- enablePageScroll() {
83
- document.body.style.height = '';
84
- document.body.style.overflowY = '';
85
- document.body.style.paddingRight = '';
86
- }
87
- disablePageScroll() {
88
- document.body.style.height = '100vh';
89
- document.body.style.overflowY = 'hidden';
90
- }
91
- toggleHandler(e) {
92
- const element = e.target;
93
- this._closeFocusableElement = element.querySelector('.digi-navigation-sidebar-button button');
94
- if (element.matches('digi-navigation-sidebar-button')) {
95
- this.afActive = true;
96
- }
97
- }
98
- get shouldUseFocusTrap() {
99
- return this.isMobile && this.focusableElements.length > 0;
100
- }
101
- closeHandler(e) {
102
- this.afActive = false;
103
- this.afOnClose.emit(e);
104
- }
105
- escHandler(e) {
106
- if (this.isMobile) {
107
- this.afActive = false;
108
- this.afOnClose.emit(e);
109
- }
110
- }
111
- tabHandler(e) {
112
- if (this.shouldUseFocusTrap) {
113
- if (document.activeElement === this.lastFocusableEl) {
114
- e.detail.preventDefault();
115
- this.firstFocusableEl.focus();
116
- }
117
- }
118
- }
119
- backdropClickHandler(e) {
120
- this.afActive = false;
121
- this.afOnClose.emit(e);
122
- }
123
- shiftHandler(e) {
124
- if (this.shouldUseFocusTrap) {
125
- if (document.activeElement === this.firstFocusableEl) {
126
- e.detail.preventDefault();
127
- this.lastFocusableEl.focus();
128
- }
129
- }
130
- }
131
- clickHandler(e) {
132
- // If clicking on toggle button, refresh the focusable items list
133
- // with the new sub level of items
134
- if (this.shouldUseFocusTrap) {
135
- const el = e.detail.target;
136
- if (el.tagName.toLowerCase() === 'button') {
137
- setTimeout(() => {
138
- this.getFocusableItems();
139
- }, 100);
140
- }
141
- }
142
- }
143
- setMobileView(isMobile) {
144
- isMobile && this.afActive
145
- ? (this.disablePageScroll(), this.getFocusableItems())
146
- : this.enablePageScroll();
147
- }
148
- breakpointChange(e) {
149
- this.isVisible = false;
150
- const element = e.target;
151
- const type = element.nodeName;
152
- if (type.toLowerCase() === 'digi-util-breakpoint-observer') {
153
- this.isMobile =
154
- e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL;
155
- }
156
- setTimeout(() => {
157
- this.isVisible = true;
158
- }, 100);
159
- }
160
- componentDidLoad() {
161
- const transition = this._wrapper;
162
- transition.addEventListener('transitionend', () => {
163
- this.getFocusableItems();
164
- this.setFocus();
165
- });
166
- }
167
- getFocusableItems() {
168
- const allElements = this._wrapper.querySelectorAll(this._focusableElementsSelectors);
169
- // Filters out visible items
170
- this.focusableElements = Array.prototype.slice
171
- .call(allElements)
172
- .filter(function (item) {
173
- return item.offsetParent !== null;
174
- });
175
- // Sets first and last focusable element
176
- if (this.focusableElements.length > 0) {
177
- this.firstFocusableEl = this.focusableElements[0];
178
- this.lastFocusableEl = this.focusableElements[this.focusableElements.length - 1];
179
- }
180
- }
181
- setFocus() {
182
- if (this.afActive) {
183
- let el;
184
- const firstNavLink = this.firstFocusableEl;
185
- if (this.afFocusableElement) {
186
- el = this.hostElement.querySelector(`${this.afFocusableElement}`);
187
- }
188
- else {
189
- el = firstNavLink;
190
- }
191
- if (el) {
192
- el.focus();
193
- }
194
- }
195
- else {
196
- if (this.afCloseFocusableElement) {
197
- const el = document.querySelector(`${this.afCloseFocusableElement}`);
198
- el.focus();
199
- }
200
- else if (this._closeFocusableElement) {
201
- const el = this._closeFocusableElement;
202
- el.focus();
203
- }
204
- }
205
- }
206
- get cssModifiers() {
207
- return {
208
- 'digi-header-navigation--open': this.afActive,
209
- 'digi-header-navigation--mobile': this.isMobile,
210
- 'digi-header-navigation--visible': this.isVisible
211
- };
212
- }
213
- render() {
214
- return (index.h("div", { key: 'fb9799e806c7d3206d7ddcf49ad0bd8e7ca6ffe2', class: Object.assign({ 'digi-header-navigation': true }, this.cssModifiers) }, index.h("digi-util-breakpoint-observer", { key: '562777731f122a7a2912e5b1775bb562b774ff71', onAfOnChange: (e) => (this.isMobile =
215
- e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL) }, index.h("digi-util-keydown-handler", { key: '7c84be7716a54d1d83e54ef6526d038e356a4fd2', onAfOnEsc: (e) => this.escHandler(e), onAfOnTab: (e) => this.tabHandler(e), onAfOnShiftTab: (e) => this.shiftHandler(e) }, index.h("div", { key: '4afd16f7da455f883f77dab67de218a8a950116f' }, this.isMobile && (index.h("div", { key: 'c35304399f6fabb8d030555cff53fffa147c27c4', class: "digi-header-navigation__backdrop", onClick: (e) => this.backdropClickHandler(e) })), index.h("nav", { key: 'b55416c51335f005d3670e3cac4e3918a118b790', class: "digi-header-navigation__wrapper", "aria-label": this.afNavAriaLabel, "af-centered": this.afCentered, ref: (el) => {
216
- this._wrapper = el;
217
- } }, this.isMobile && (index.h("digi-button", { key: '6ef4bc09d8c93f1077b1c3e2fc962c02b0f4b012', onClick: (e) => this.closeHandler(e), "af-variation": "function", "af-aria-label": this.afCloseButtonAriaLabel, class: "digi-header-navigation__close-button" }, this.afCloseButtonText, index.h("digi-icon-x", { key: '8ede0075c443e4c818591a4bc9c708e0433fffef', slot: "icon-secondary" }))), this.afCentered !== typographyVariation_enum.HeaderCenterContentWidth.DEFAULT ? (index.h("digi-layout-container", { "af-max-width": this.afCentered }, index.h("div", { role: "list", class: "digi-header-navigation__inner" }, index.h("slot", null)))) : (index.h("div", { role: "list", class: "digi-header-navigation__inner" }, index.h("slot", null)))))))));
218
- }
219
- get hostElement() { return index.getElement(this); }
220
- static get watchers() { return {
221
- "isMobile": ["setMobileView"]
222
- }; }
223
- };
224
- HeaderNavigation.style = DigiHeaderNavigationStyle0;
225
-
226
- exports.digi_header_navigation = HeaderNavigation;
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-81fc5a97.js');
6
-
7
- const headerNotificationCss = ".sc-digi-header-notification-h .digi-header-notification.sc-digi-header-notification{--digi--header-notification--font-family:var(--digi--global--typography--font-family--default);--digi--header-notification--font-size:var(--digi--typography--body--font-size--desktop);--digi--header-notification--color:var(--digi--color--text--primary);--digi--header-notification--color-hover:var(--digi--color--text--interactive--primary);--digi--header-notification--color-active:var(--digi--color--text--interactive--primary);display:flex;position:relative;align-items:center;font-family:\"Open Sans\"}.sc-digi-header-notification-h .digi-header-notification__number.sc-digi-header-notification{background-color:var(--digi--color--background--notification);color:var(--digi--color--text--secondary--light);padding:2px;z-index:5;font-size:12px;line-height:normal;font-weight:600;border-radius:10px;padding:1px 6px;position:absolute;top:-12px;left:20px;letter-spacing:0.5px}.sc-digi-header-notification-h.sc-digi-header-notification-s>a,.sc-digi-header-notification-h .sc-digi-header-notification-s>a{display:flex;position:relative;align-items:center;margin-right:8px;text-decoration:none;color:var(--digi--header-notification--color);font-family:var(--digi--header-notification--font-family);font-size:var(--digi--header-notification--font-size)}.sc-digi-header-notification-h.sc-digi-header-notification-s>a,.sc-digi-header-notification-h.sc-digi-header-notification-s>a [class*=digi-icon]:not(svg),.sc-digi-header-notification-h .sc-digi-header-notification-s>a [class*=digi-icon]:not(svg){height:2rem;width:2rem;display:flex;align-items:center;flex-grow:1;background:var(--digi--color--background--interactive--default--tertiary);justify-content:center;border-radius:100%;margin-right:8px}.sc-digi-header-notification-h.sc-digi-header-notification-s>a,.sc-digi-header-notification-h.sc-digi-header-notification-s>a svg,.sc-digi-header-notification-h .sc-digi-header-notification-s>a svg{--digi--icon--width:1rem;--digi--icon--height:1rem}.sc-digi-header-notification-h.sc-digi-header-notification-s>a,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:hover,.sc-digi-header-notification-h .sc-digi-header-notification-s>a:hover,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:active,.sc-digi-header-notification-h .sc-digi-header-notification-s>a:active,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:focus-visible,.sc-digi-header-notification-h .sc-digi-header-notification-s>a:focus-visible{color:var(--digi--header-notification--color-hover);text-decoration:underline}.sc-digi-header-notification-h.sc-digi-header-notification-s>a,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:hover,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:hover svg,.sc-digi-header-notification-h .sc-digi-header-notification-s>a:hover svg,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:active,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:active svg,.sc-digi-header-notification-h .sc-digi-header-notification-s>a:active svg{color:var(--digi--color--text--primary)}.sc-digi-header-notification-h.sc-digi-header-notification-s>a,.sc-digi-header-notification-h.sc-digi-header-notification-s>a:focus-visible,.sc-digi-header-notification-h .sc-digi-header-notification-s>a:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}";
8
- const DigiHeaderNotificationStyle0 = headerNotificationCss;
9
-
10
- const HeaderNotification = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.afNotificationAmount = undefined;
14
- }
15
- render() {
16
- return (index.h("div", { key: 'c089287f32f02bccec66f787f7c9ee4d82479269', class: "digi-header-notification" }, this.afNotificationAmount > 0 && (index.h("span", { key: '6ccb42a9d7b4aca287cdb8543be541067806fa43', class: "digi-header-notification__number" }, this.afNotificationAmount < 100
17
- ? this.afNotificationAmount
18
- : '+99')), index.h("slot", { key: 'd1cb6d49219784cf960c553a47d1d06e5b33946d' })));
19
- }
20
- };
21
- HeaderNotification.style = DigiHeaderNotificationStyle0;
22
-
23
- exports.digi_header_notification = HeaderNotification;
@@ -1,99 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-81fc5a97.js');
6
- require('./badge-notification-shape.enum-ff802554.js');
7
- const typographyVariation_enum = require('./typography-variation.enum-d6a04b47.js');
8
- require('./badge-status-variation.enum-0a5adc21.js');
9
- require('./button-size.enum-1fd86b9e.js');
10
- require('./button-type.enum-406723db.js');
11
- require('./button-variation.enum-bc521499.js');
12
- require('./calendar-week-view-heading-level.enum-fd0c841b.js');
13
- require('./bar-chart-variation.enum-a4e866b6.js');
14
- require('./code-example-variation.enum-c6557727.js');
15
- require('./code-variation.enum-c4a4e6fd.js');
16
- require('./expandable-accordion-header-level.enum-45483252.js');
17
- require('./expandable-faq-item-variation.enum-89427195.js');
18
- require('./expandable-faq-variation.enum-af923f49.js');
19
- require('./footer-card-variation.enum-99555edc.js');
20
- require('./form-checkbox-variation.enum-d2ca879e.js');
21
- require('./form-file-upload-variation.enum-634cfae8.js');
22
- require('./form-input-search-variation.enum-c50239bc.js');
23
- require('./form-input-type.enum-9c8ee12a.js');
24
- require('./form-input-variation.enum-c750520c.js');
25
- require('./form-select-variation.enum-528c1bf0.js');
26
- require('./form-textarea-variation.enum-9c90d40f.js');
27
- require('./form-validation-message-variation.enum-855ae0be.js');
28
- require('./info-card-multi-type.enum-14746572.js');
29
- require('./info-card-variation.enum-64cef637.js');
30
- const layoutContainerMaxWidth_enum = require('./layout-container-max-width.enum-7e637f44.js');
31
- require('./layout-block-variation.enum-f6102119.js');
32
- require('./layout-columns-variation.enum-65675649.js');
33
- require('./layout-media-object-alignment.enum-81c8e205.js');
34
- require('./link-button-variation.enum-137785e3.js');
35
- require('./list-type.enum-aea4d012.js');
36
- require('./loader-skeleton-variation.enum-d52ba55e.js');
37
- require('./loader-spinner-size.enum-db2973f0.js');
38
- require('./logo-variation.enum-607fadb4.js');
39
- require('./media-figure-alignment.enum-3885aba5.js');
40
- require('./navigation-sidebar-variation.enum-1c0c3064.js');
41
- require('./navigation-vertical-menu-variation.enum-c237edd3.js');
42
- require('./progress-indicator-variation.enum-7cf8e0e4.js');
43
- require('./progress-list-item-variation.enum-90e4c874.js');
44
- require('./progress-list-variation.enum-06d5ce27.js');
45
- require('./progressbar-variation.enum-aff9fa80.js');
46
- require('./quote-image-inner-position.enum-e64e7a6d.js');
47
- require('./table-variation.enum-25df2ad7.js');
48
- require('./tag-media-icon.enum-372563c5.js');
49
- require('./tag-size.enum-387c516c.js');
50
- require('./tools-feedback-banner-type.enum-de373ba0.js');
51
- require('./tools-feedback-rating-variation.enum-2f71e84d.js');
52
- require('./tools-theme-provider.brand.enum-bc855272.js');
53
- require('./typography-heading-jumbo-variation.enum-8677e099.js');
54
- require('./typography-meta-variation.enum-13ac3538.js');
55
- require('./typography-time-variation.enum-bce1d87e.js');
56
- const utilBreakpointObserverBreakpoints_enum = require('./util-breakpoint-observer-breakpoints.enum-e96d3a84.js');
57
-
58
- const headerCss = ".sc-digi-header-h{display:block;--digi--header--padding:var(--digi--padding--large);--digi--header--border-width:var(--digi--border-width--primary);--digi--header--border-color:var(--digi--color--divider--primary);--digi--header--padding-right:var(--digi--padding--medium);--digi--header--font-size:var(--digi--typography--body--font-size--desktop);--digi--header--font-weight:var(--digi--typography--title-logo--font-weight--desktop)}.sc-digi-header-h .digi-header__logo.sc-digi-header{display:flex;width:100%;align-items:stretch;padding-top:var(--digi--header--padding);padding-bottom:var(--digi--header--padding)}.sc-digi-header-h .digi-header__border.sc-digi-header{border-bottom:var(--digi--header--border-width) solid var(--digi--header--border-color)}.sc-digi-header-h .digi-header__logo-link.sc-digi-header{text-decoration:none}.sc-digi-header-h .digi-header__content.sc-digi-header{display:flex;align-items:center;margin-left:auto}.sc-digi-header-h .digi-header__wrapper.sc-digi-header{position:relative}.sc-digi-header-h .digi-header.sc-digi-header-s>a[slot=header-logo],.sc-digi-header-h .digi-header .sc-digi-header-s>a[slot=header-logo]{position:absolute;height:100%;width:100%;top:0;left:0}.sc-digi-header-h .digi-header.sc-digi-header-s>a[slot=header-logo],.sc-digi-header-h .digi-header.sc-digi-header-s>a[slot=header-logo]:focus-visible,.sc-digi-header-h .digi-header .sc-digi-header-s>a[slot=header-logo]:focus-visible{outline:2px solid black;outline-offset:-3px;box-shadow:0px 0px 0px 5px inset white}.sc-digi-header-h .digi-header.sc-digi-header-s>div[slot=header-content],.sc-digi-header-h .digi-header .sc-digi-header-s>div[slot=header-content]{--digi--header--padding:var(--digi--padding--large);--digi--header--border-width:var(--digi--border-width--primary);--digi--header--border-color:var(--digi--color--divider--primary);--digi--header--padding-right:var(--digi--padding--medium);--digi--header--font-size:var(--digi--typography--body--font-size--desktop);--digi--header--font-weight:var(--digi--typography--title-logo--font-weight--desktop);display:flex;align-items:center;padding-right:var(--digi--header--padding-right)}";
59
- const DigiHeaderStyle0 = headerCss;
60
-
61
- const Header = class {
62
- constructor(hostRef) {
63
- index.registerInstance(this, hostRef);
64
- this.afActive = undefined;
65
- this.isMobile = undefined;
66
- this.afSystemName = undefined;
67
- this.afMenuButtonText = undefined;
68
- this.afAriaLabel = undefined;
69
- this.afHideSystemName = undefined;
70
- this.afCentered = typographyVariation_enum.HeaderCenterContentWidth.DEFAULT;
71
- }
72
- toggleHandler(e) {
73
- const element = e.target;
74
- if (element.matches('digi-navigation-sidebar-button')) {
75
- this.afActive = true;
76
- }
77
- }
78
- closeHandler() {
79
- this.afActive = false;
80
- }
81
- breakpointChange(e) {
82
- const element = e.target;
83
- const type = element.nodeName;
84
- if (type.toLowerCase() === 'digi-util-breakpoint-observer') {
85
- this.isMobile =
86
- e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL;
87
- }
88
- }
89
- renderContent() {
90
- return (index.h(index.Fragment, null, index.h("div", { class: "digi-header__logo", "aria-label": this.afAriaLabel }, index.h("div", { class: "digi-header__wrapper" }, ((this.isMobile && !this.afHideSystemName) || !this.isMobile) && (index.h("digi-logo", { "af-system-name": this.afSystemName, afSvgAriaHidden: true })), this.afHideSystemName && this.isMobile && (index.h("digi-logo", { "af-system-name": " ", afSvgAriaHidden: true })), index.h("slot", { name: "header-logo" })), index.h("div", { class: "digi-header__content" }, index.h("slot", { name: "header-content" }), this.isMobile && (index.h("digi-navigation-sidebar-button", { "aria-hidden": this.afActive ? 'true' : 'false', "af-text": this.afMenuButtonText }))))));
91
- }
92
- render() {
93
- return (index.h("header", { key: 'ea9eb6c5bb6e37082b4b0f674d663b728147f025', class: "digi-header" }, index.h("digi-util-breakpoint-observer", { key: 'a12bc91705505a970bbc4f1ab7c8954ca12314cf', onAfOnChange: (e) => (this.isMobile =
94
- e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL) }), index.h("digi-layout-block", { key: '8a7719561230ff04cd023046f6dd21dfe01cb96e', afContainer: layoutContainerMaxWidth_enum.LayoutBlockContainer.NONE }, this.afCentered !== typographyVariation_enum.HeaderCenterContentWidth.DEFAULT ? (index.h("digi-layout-container", { "af-max-width": this.afCentered }, this.renderContent())) : (this.renderContent()), index.h("div", { key: '46f513081b8c03d98b0c41de087c40ab8086ce62', class: "digi-header__border", "aria-label": this.afAriaLabel }), index.h("div", { key: '75ee0f61ee70d099e4940d99f989b4403b1570df', class: "digi-header__navigation" }, index.h("slot", { key: '2ef66a2070710fea45087cf96d4c56fbe02e03f1', name: "header-navigation" })))));
95
- }
96
- };
97
- Header.style = DigiHeaderStyle0;
98
-
99
- exports.digi_header = Header;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-81fc5a97.js');
6
- const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
-
8
- const iconBarsCss = ".sc-digi-icon-bars-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-bars-h svg.sc-digi-icon-bars{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
9
- const DigiIconBarsStyle0 = iconBarsCss;
10
-
11
- const IconBars = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.afTitle = undefined;
15
- this.afDesc = undefined;
16
- this.afSvgAriaHidden = true;
17
- this.afSvgAriaLabelledby = undefined;
18
- this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
19
- }
20
- render() {
21
- return (index.h("svg", { key: '883806bdea911c1b8b55617a06c4ffbc0af4ec33', class: "digi-icon-bars", width: "22", height: "26", viewBox: "0 0 22 26", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
22
- ? this.afSvgAriaLabelledby
23
- : this.afTitle
24
- ? this.titleId
25
- : undefined }, this.afTitle && index.h("title", { key: '72757904a255f9c645e0cdae2e6a081e5d9bcf12', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: '40f918cde0da44267cf5d4fe7eaa247c852df6c9' }, this.afDesc), index.h("path", { key: 'bb4135a129924a8cca8522ca198419cbf06e2e58', class: "digi-icon-bars__shape", d: "M0.8,6.9h20.4c0.4,0,0.8-0.4,0.8-0.8v-2c0-0.4-0.4-0.8-0.8-0.8H0.8C0.4,3.4,0,3.7,0,4.2v2C0,6.6,0.4,6.9,0.8,6.9z M0.8,14.8 h20.4c0.4,0,0.8-0.4,0.8-0.8v-2c0-0.4-0.4-0.8-0.8-0.8H0.8C0.4,11.2,0,11.6,0,12v2C0,14.4,0.4,14.8,0.8,14.8z M0.8,22.6h20.4 c0.4,0,0.8-0.4,0.8-0.8v-2c0-0.4-0.4-0.8-0.8-0.8H0.8c-0.4,0-0.8,0.4-0.8,0.8v2C0,22.3,0.4,22.6,0.8,22.6z", fill: "currentColor", "fill-rule": "nonzero" })));
26
- }
27
- };
28
- IconBars.style = DigiIconBarsStyle0;
29
-
30
- exports.digi_icon_bars = IconBars;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-81fc5a97.js');
6
- const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
-
8
- const iconBellFilledCss = ".sc-digi-icon-bell-filled-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-bell-filled-h svg.sc-digi-icon-bell-filled{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
9
- const DigiIconBellFilledStyle0 = iconBellFilledCss;
10
-
11
- const IconBellFilled = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.afTitle = undefined;
15
- this.afDesc = undefined;
16
- this.afSvgAriaHidden = true;
17
- this.afSvgAriaLabelledby = undefined;
18
- this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
19
- }
20
- render() {
21
- return (index.h("svg", { key: 'd3c88387173fc02a0bdd9c18bbb4f93fc7c87bea', class: "digi-icon-bell-filled", width: "48", height: "48", viewBox: "0 0 48 48", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
22
- ? this.afSvgAriaLabelledby
23
- : this.afTitle
24
- ? this.titleId
25
- : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '9f3370aac18a1cd98449c01fe0fce9add1937cdc', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: '1ab0693cb5e4ebaacdba29d9c6ea090dfa2c0789' }, this.afDesc), index.h("path", { key: '61451edca9df8cd650bbd36aec3a70d586201366', class: "digi-icon-bell-filled__shape", d: "M23.555833,48 C26.8859842,48 29.5872534,45.3140625 29.5872534,42 L17.5244126,42 C17.5244126,45.3140625 20.2256818,48 23.555833,48 Z M43.8639093,33.9646875 C42.0423204,32.0184375 38.6339126,29.090625 38.6339126,19.5 C38.6339126,12.215625 33.4972582,6.384375 26.5710718,4.95375 L26.5710718,3 C26.5710718,1.3434375 25.2209086,0 23.555833,0 C21.8907574,0 20.5405942,1.3434375 20.5405942,3 L20.5405942,4.95375 C13.6144078,6.384375 8.47775338,12.215625 8.47775338,19.5 C8.47775338,29.090625 5.06934557,32.0184375 3.24775666,33.9646875 C2.68204582,34.569375 2.43124734,35.2921875 2.43589641,36 C2.44633297,37.5375 3.65978272,39 5.4625146,39 L41.6491514,39 C43.4518833,39 44.6662759,37.5375 44.6757696,36 C44.6804187,35.2921875 44.4296202,34.5684375 43.8639093,33.9646875 L43.8639093,33.9646875 Z", fill: "currentColor", "fill-rule": "nonzero" })));
26
- }
27
- };
28
- IconBellFilled.style = DigiIconBellFilledStyle0;
29
-
30
- exports.digi_icon_bell_filled = IconBellFilled;