@designsystem-se/af 37.0.1 → 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 (364) hide show
  1. package/components/digi-bar-chart.js +1 -1
  2. package/components/digi-button.js +1 -1
  3. package/components/digi-calendar-datepicker.js +4 -4
  4. package/components/digi-calendar-week-view.js +1 -1
  5. package/components/digi-calendar.js +1 -1
  6. package/components/digi-chart-line.js +1 -1
  7. package/components/digi-code-block.js +1 -1
  8. package/components/digi-code-example.js +3 -3
  9. package/components/digi-context-menu.js +1 -1
  10. package/components/digi-dialog.js +3 -3
  11. package/components/digi-expandable-faq-item.js +1 -1
  12. package/components/digi-footer.js +1 -1
  13. package/components/digi-form-category-filter.js +1 -1
  14. package/components/digi-form-checkbox.js +1 -1
  15. package/components/digi-form-error-list.js +3 -3
  16. package/components/digi-form-file-upload.js +1 -1
  17. package/components/digi-form-filter.js +2 -2
  18. package/components/digi-form-input-search.js +1 -1
  19. package/components/digi-form-receipt.js +1 -1
  20. package/components/digi-form-select-filter.js +3 -3
  21. package/components/digi-form-select.js +1 -1
  22. package/components/digi-header-avatar.js +1 -1
  23. package/components/digi-header-navigation.js +2 -2
  24. package/components/digi-header.js +3 -3
  25. package/components/digi-info-card.js +2 -2
  26. package/components/digi-link-internal.js +1 -1
  27. package/components/digi-logo.js +1 -1
  28. package/components/digi-navigation-pagination.js +2 -2
  29. package/components/digi-navigation-sidebar-button.js +1 -1
  30. package/components/digi-navigation-sidebar.js +1 -1
  31. package/components/digi-navigation-vertical-menu-item.js +1 -1
  32. package/components/digi-notification-alert.js +1 -1
  33. package/components/digi-notification-error-page.js +1 -1
  34. package/components/digi-progress-indicator.js +1 -1
  35. package/components/digi-quote.js +1 -1
  36. package/components/digi-tag.js +1 -1
  37. package/components/digi-title-logo.js +1 -1
  38. package/components/digi-tools-feedback.js +3 -3
  39. package/components/digi-tools-theme-provider.js +18 -5
  40. package/components/index.js +1 -1
  41. package/components/p-0d568c4b.js +66 -0
  42. package/components/{p-9466c4e0.js → p-117e7b18.js} +1 -1
  43. package/components/{p-7ff04204.js → p-29f63312.js} +2 -2
  44. package/components/p-606ba731.js +165 -0
  45. package/components/{p-44f143ea.js → p-7d3fb535.js} +2 -2
  46. package/components/{p-2ac136a0.js → p-a79e144f.js} +1 -1
  47. package/components/{p-f53eb01a.js → p-d2a95a3e.js} +1 -1
  48. package/components/p-d7ef9cb1.js +13 -0
  49. package/components/{p-62a0008b.js → p-e756fda7.js} +2 -2
  50. package/components/p-f77cb7ae.js +163 -0
  51. package/custom-elements.json +4 -0
  52. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  53. package/dist/cjs/digi-button_38.cjs.entry.js +5759 -0
  54. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
  55. package/dist/cjs/{digi-code-block_3.cjs.entry.js → digi-code-block.cjs.entry.js} +3 -143
  56. package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
  57. package/dist/cjs/digi-dialog.cjs.entry.js +4 -15
  58. package/dist/cjs/digi-footer.cjs.entry.js +3 -14
  59. package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -14
  60. package/dist/cjs/digi-form-file-upload.cjs.entry.js +10 -11
  61. package/dist/cjs/digi-form-input-search.cjs.entry.js +6 -7
  62. package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -14
  63. package/dist/cjs/digi-header-avatar.cjs.entry.js +114 -0
  64. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +27 -0
  65. package/dist/cjs/digi-header-navigation.cjs.entry.js +218 -0
  66. package/dist/cjs/digi-header-notification.cjs.entry.js +23 -0
  67. package/dist/cjs/digi-header.cjs.entry.js +134 -0
  68. package/dist/cjs/{digi-icon-copy.cjs.entry.js → digi-icon-bars.cjs.entry.js} +7 -7
  69. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +30 -0
  70. package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
  71. package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
  72. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  73. package/dist/cjs/digi-media-image_2.cjs.entry.js +167 -0
  74. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +3 -14
  75. package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +30 -0
  76. package/dist/cjs/digi-notification-alert.cjs.entry.js +3 -14
  77. package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -14
  78. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  79. package/dist/cjs/digi-title-logo.cjs.entry.js +121 -0
  80. package/dist/cjs/digi-tools-feedback.cjs.entry.js +4 -15
  81. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +48 -0
  82. package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
  83. package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
  84. package/dist/cjs/index-7a477838.js +44 -96
  85. package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
  86. package/dist/cjs/index.cjs.js +136 -141
  87. package/dist/cjs/loader.cjs.js +1 -1
  88. package/dist/cjs/{typography-variation.enum-118ff8e5.js → typography-variation.enum-e41bd69d.js} +138 -0
  89. package/dist/collection/components/_button/button/button.css +6 -6
  90. package/dist/collection/components/_calendar/calendar/calendar.css +7 -2
  91. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +347 -102
  92. package/dist/collection/components/_code/code-example/code-example.css +6 -0
  93. package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
  94. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
  95. package/dist/collection/components/_form/form-checkbox/form-checkbox.css +347 -102
  96. package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -3
  97. package/dist/collection/components/_form/form-select/form-select.css +2 -2
  98. package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
  99. package/dist/collection/components/_header/header-avatar/header-avatar.css +346 -101
  100. package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
  101. package/dist/collection/components/_link/link-internal/link-internal.css +346 -101
  102. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
  103. package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +4 -3
  104. package/dist/collection/components/_quote/quote/quote.css +2 -2
  105. package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
  106. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +113 -2
  107. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +43 -2
  108. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +5 -0
  109. package/dist/collection/design-tokens/components/_button.variables.scss +6 -6
  110. package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
  111. package/dist/collection/design-tokens/components/_calendar.variables.scss +3 -2
  112. package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
  113. package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
  114. package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
  115. package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +2 -0
  116. package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +1 -1
  117. package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
  118. package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
  119. package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  120. package/dist/collection/design-tokens/components/_quote.variables.scss +2 -2
  121. package/dist/collection/design-tokens/components/_tools-feedback.variables.scss +1 -1
  122. package/dist/collection/enums.js +1 -0
  123. package/dist/collection/styles/src/_alias.mixin.scss +274 -128
  124. package/dist/collection/styles/src/themes/_common.mixin.scss +7 -0
  125. package/dist/collection/styles/src/themes/_theme-af25.mixin.scss +143 -0
  126. package/dist/collection/styles/src/tokens-documentation/web-AF25.json +1406 -323
  127. package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -6
  128. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
  129. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +3 -2
  130. package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
  131. package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
  132. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
  133. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +2 -0
  134. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +1 -1
  135. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
  136. package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
  137. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  138. package/dist/digi-arbetsformedlingen/design-tokens/components/_quote.variables.scss +2 -2
  139. package/dist/digi-arbetsformedlingen/design-tokens/components/_tools-feedback.variables.scss +1 -1
  140. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
  141. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  142. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  143. package/dist/digi-arbetsformedlingen/p-0f543000.entry.js +1 -0
  144. package/dist/digi-arbetsformedlingen/p-13120f18.entry.js +1 -0
  145. package/dist/digi-arbetsformedlingen/p-180663ef.entry.js +1 -0
  146. package/dist/digi-arbetsformedlingen/p-1a619dd3.entry.js +1 -0
  147. package/dist/digi-arbetsformedlingen/p-237cad1c.entry.js +1 -0
  148. package/dist/digi-arbetsformedlingen/p-26e8ea70.entry.js +1 -0
  149. package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
  150. package/dist/digi-arbetsformedlingen/p-52a3c86a.entry.js +1 -0
  151. package/dist/digi-arbetsformedlingen/p-54d9bd3e.entry.js +1 -0
  152. package/dist/digi-arbetsformedlingen/p-5ca38506.entry.js +1 -0
  153. package/dist/digi-arbetsformedlingen/p-64b65586.entry.js +1 -0
  154. package/dist/digi-arbetsformedlingen/p-67e32cc2.entry.js +1 -0
  155. package/dist/digi-arbetsformedlingen/p-73a6be41.entry.js +1 -0
  156. package/dist/digi-arbetsformedlingen/p-76ec3619.entry.js +1 -0
  157. package/dist/digi-arbetsformedlingen/p-780519ec.entry.js +1 -0
  158. package/dist/digi-arbetsformedlingen/p-800b764b.entry.js +1 -0
  159. package/dist/digi-arbetsformedlingen/p-82225661.entry.js +1 -0
  160. package/dist/digi-arbetsformedlingen/p-84719680.entry.js +1 -0
  161. package/dist/digi-arbetsformedlingen/p-920aee36.entry.js +1 -0
  162. package/dist/digi-arbetsformedlingen/p-9b6e8cf8.entry.js +1 -0
  163. package/dist/digi-arbetsformedlingen/p-9e56568b.entry.js +1 -0
  164. package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
  165. package/dist/digi-arbetsformedlingen/p-ac87daf1.entry.js +1 -0
  166. package/dist/digi-arbetsformedlingen/p-b328f60b.entry.js +1 -0
  167. package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
  168. package/dist/digi-arbetsformedlingen/p-d9bcab5f.entry.js +1 -0
  169. package/dist/digi-arbetsformedlingen/p-e2c92528.entry.js +1 -0
  170. package/dist/digi-arbetsformedlingen/p-e540b80f.entry.js +1 -0
  171. package/dist/digi-arbetsformedlingen/p-e5fee242.js +1 -0
  172. package/dist/digi-arbetsformedlingen/p-e7ee9bea.entry.js +1 -0
  173. package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +1 -0
  174. package/dist/digi-arbetsformedlingen/p-fa44ce49.entry.js +1 -0
  175. package/dist/digi-arbetsformedlingen/p-fe409f14.entry.js +1 -0
  176. package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +274 -128
  177. package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +7 -0
  178. package/dist/digi-arbetsformedlingen/styles/src/themes/_theme-af25.mixin.scss +143 -0
  179. package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +1406 -323
  180. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  181. package/dist/esm/digi-button_38.entry.js +5718 -0
  182. package/dist/esm/digi-calendar-week-view.entry.js +1 -2
  183. package/dist/esm/digi-code-block.entry.js +85 -0
  184. package/dist/esm/digi-code-example.entry.js +1 -1
  185. package/dist/esm/digi-dialog.entry.js +4 -15
  186. package/dist/esm/digi-footer.entry.js +3 -14
  187. package/dist/esm/digi-form-error-list.entry.js +3 -14
  188. package/dist/esm/digi-form-file-upload.entry.js +2 -3
  189. package/dist/esm/digi-form-input-search.entry.js +1 -2
  190. package/dist/esm/digi-form-receipt.entry.js +3 -14
  191. package/dist/esm/digi-header-avatar.entry.js +110 -0
  192. package/dist/esm/digi-header-navigation-item.entry.js +23 -0
  193. package/dist/esm/digi-header-navigation.entry.js +214 -0
  194. package/dist/esm/digi-header-notification.entry.js +19 -0
  195. package/dist/esm/digi-header.entry.js +130 -0
  196. package/dist/esm/digi-icon-bars.entry.js +26 -0
  197. package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
  198. package/dist/esm/digi-icon-x.entry.js +26 -0
  199. package/dist/esm/digi-info-card.entry.js +1 -1
  200. package/dist/esm/digi-link-internal.entry.js +1 -1
  201. package/dist/esm/digi-media-image_2.entry.js +162 -0
  202. package/dist/esm/digi-navigation-pagination.entry.js +3 -14
  203. package/dist/esm/digi-navigation-sidebar-button.entry.js +26 -0
  204. package/dist/esm/digi-notification-alert.entry.js +3 -14
  205. package/dist/esm/digi-notification-error-page.entry.js +3 -14
  206. package/dist/esm/digi-quote.entry.js +1 -1
  207. package/dist/esm/digi-title-logo.entry.js +117 -0
  208. package/dist/esm/digi-tools-feedback.entry.js +4 -15
  209. package/dist/esm/digi-util-breakpoint-observer.entry.js +44 -0
  210. package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
  211. package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
  212. package/dist/esm/index-148a7577.js +44 -96
  213. package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
  214. package/dist/esm/index.js +3 -14
  215. package/dist/esm/loader.js +1 -1
  216. package/dist/esm/{typography-variation.enum-23eeecd2.js → typography-variation.enum-b07f76c9.js} +139 -1
  217. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +9 -0
  218. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +4 -0
  219. package/dist/types/components.d.ts +12 -0
  220. package/dist/types/enums.d.ts +1 -0
  221. package/hydrate/index.js +40 -21
  222. package/hydrate/index.mjs +40 -21
  223. package/package.json +1 -1
  224. package/components/p-4bad4fb0.js +0 -7
  225. package/components/p-b57677c1.js +0 -66
  226. package/components/p-e8fc33ed.js +0 -165
  227. package/components/p-ff4f4fb8.js +0 -163
  228. package/dist/cjs/digi-button_17.cjs.entry.js +0 -1120
  229. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2600
  230. package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
  231. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -97
  232. package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -121
  233. package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -127
  234. package/dist/cjs/digi-form-input.cjs.entry.js +0 -194
  235. package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -129
  236. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +0 -80
  237. package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -565
  238. package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -186
  239. package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
  240. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
  241. package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
  242. package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
  243. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -53
  244. package/dist/cjs/digi-link.cjs.entry.js +0 -75
  245. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +0 -150
  246. package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +0 -177
  247. package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -137
  248. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +0 -28
  249. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
  250. package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
  251. package/dist/cjs/digi-typography.cjs.entry.js +0 -26
  252. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
  253. package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +0 -18
  254. package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +0 -19
  255. package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +0 -15
  256. package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
  257. package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +0 -9
  258. package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
  259. package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
  260. package/dist/cjs/index-cad91a90.js +0 -66
  261. package/dist/cjs/index-e8333bcc.js +0 -174
  262. package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +0 -13
  263. package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +0 -13
  264. package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +0 -7
  265. package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
  266. package/dist/digi-arbetsformedlingen/p-029c4d40.entry.js +0 -1
  267. package/dist/digi-arbetsformedlingen/p-07985aef.entry.js +0 -1
  268. package/dist/digi-arbetsformedlingen/p-0c77050e.entry.js +0 -1
  269. package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
  270. package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
  271. package/dist/digi-arbetsformedlingen/p-24fe2189.js +0 -1
  272. package/dist/digi-arbetsformedlingen/p-2693c1d8.entry.js +0 -1
  273. package/dist/digi-arbetsformedlingen/p-2c698144.entry.js +0 -1
  274. package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +0 -1
  275. package/dist/digi-arbetsformedlingen/p-3a76bfde.entry.js +0 -1
  276. package/dist/digi-arbetsformedlingen/p-3b20ec86.js +0 -1
  277. package/dist/digi-arbetsformedlingen/p-3d7fff3c.entry.js +0 -1
  278. package/dist/digi-arbetsformedlingen/p-41bc039f.entry.js +0 -1
  279. package/dist/digi-arbetsformedlingen/p-4841b4e1.js +0 -1
  280. package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +0 -1
  281. package/dist/digi-arbetsformedlingen/p-4e36c467.entry.js +0 -1
  282. package/dist/digi-arbetsformedlingen/p-51149879.entry.js +0 -1
  283. package/dist/digi-arbetsformedlingen/p-51bfa2a9.entry.js +0 -1
  284. package/dist/digi-arbetsformedlingen/p-57319a80.entry.js +0 -1
  285. package/dist/digi-arbetsformedlingen/p-57a0cc63.entry.js +0 -1
  286. package/dist/digi-arbetsformedlingen/p-583d40dc.entry.js +0 -1
  287. package/dist/digi-arbetsformedlingen/p-5d3383f9.entry.js +0 -1
  288. package/dist/digi-arbetsformedlingen/p-681e7beb.entry.js +0 -1
  289. package/dist/digi-arbetsformedlingen/p-6bd60ab6.entry.js +0 -1
  290. package/dist/digi-arbetsformedlingen/p-6d864e79.entry.js +0 -1
  291. package/dist/digi-arbetsformedlingen/p-7238fdb8.entry.js +0 -1
  292. package/dist/digi-arbetsformedlingen/p-7327f45d.entry.js +0 -1
  293. package/dist/digi-arbetsformedlingen/p-750ff498.entry.js +0 -1
  294. package/dist/digi-arbetsformedlingen/p-78c99e87.entry.js +0 -1
  295. package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
  296. package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
  297. package/dist/digi-arbetsformedlingen/p-7e125c6e.entry.js +0 -1
  298. package/dist/digi-arbetsformedlingen/p-8142cc73.js +0 -1
  299. package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
  300. package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
  301. package/dist/digi-arbetsformedlingen/p-93766b5e.entry.js +0 -1
  302. package/dist/digi-arbetsformedlingen/p-96987381.entry.js +0 -1
  303. package/dist/digi-arbetsformedlingen/p-9a6ea3b7.entry.js +0 -1
  304. package/dist/digi-arbetsformedlingen/p-9b7f0707.entry.js +0 -1
  305. package/dist/digi-arbetsformedlingen/p-9be9a291.js +0 -1
  306. package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
  307. package/dist/digi-arbetsformedlingen/p-a2561b9e.entry.js +0 -1
  308. package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +0 -1
  309. package/dist/digi-arbetsformedlingen/p-bd55807c.entry.js +0 -1
  310. package/dist/digi-arbetsformedlingen/p-c29ab968.entry.js +0 -1
  311. package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
  312. package/dist/digi-arbetsformedlingen/p-c68bf2b3.entry.js +0 -1
  313. package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
  314. package/dist/digi-arbetsformedlingen/p-ccd617cc.entry.js +0 -1
  315. package/dist/digi-arbetsformedlingen/p-d055d564.entry.js +0 -1
  316. package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
  317. package/dist/digi-arbetsformedlingen/p-d5376b7c.entry.js +0 -1
  318. package/dist/digi-arbetsformedlingen/p-d7aa8315.entry.js +0 -1
  319. package/dist/digi-arbetsformedlingen/p-e9abb2b1.entry.js +0 -1
  320. package/dist/digi-arbetsformedlingen/p-edcb61eb.entry.js +0 -1
  321. package/dist/digi-arbetsformedlingen/p-eeca26b2.entry.js +0 -1
  322. package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +0 -1
  323. package/dist/digi-arbetsformedlingen/p-f447b984.js +0 -1
  324. package/dist/digi-arbetsformedlingen/p-f94db846.entry.js +0 -1
  325. package/dist/esm/digi-button_17.entry.js +0 -1100
  326. package/dist/esm/digi-calendar-datepicker.entry.js +0 -2596
  327. package/dist/esm/digi-calendar_2.entry.js +0 -459
  328. package/dist/esm/digi-code-block_3.entry.js +0 -223
  329. package/dist/esm/digi-expandable-faq-item.entry.js +0 -93
  330. package/dist/esm/digi-form-category-filter.entry.js +0 -117
  331. package/dist/esm/digi-form-checkbox.entry.js +0 -123
  332. package/dist/esm/digi-form-input.entry.js +0 -190
  333. package/dist/esm/digi-form-label_3.entry.js +0 -123
  334. package/dist/esm/digi-form-radiogroup.entry.js +0 -76
  335. package/dist/esm/digi-form-select-filter.entry.js +0 -561
  336. package/dist/esm/digi-form-select_2.entry.js +0 -181
  337. package/dist/esm/digi-icon-check.entry.js +0 -26
  338. package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
  339. package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
  340. package/dist/esm/digi-icon-copy.entry.js +0 -26
  341. package/dist/esm/digi-icon-minus_2.entry.js +0 -48
  342. package/dist/esm/digi-icon-validation-error_2.entry.js +0 -48
  343. package/dist/esm/digi-link.entry.js +0 -71
  344. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +0 -146
  345. package/dist/esm/digi-navigation-vertical-menu.entry.js +0 -173
  346. package/dist/esm/digi-progress-indicator.entry.js +0 -133
  347. package/dist/esm/digi-tools-theme-provider.entry.js +0 -24
  348. package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
  349. package/dist/esm/digi-typography-preamble.entry.js +0 -16
  350. package/dist/esm/digi-typography.entry.js +0 -22
  351. package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
  352. package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +0 -18
  353. package/dist/esm/form-checkbox-variation.enum-83e906fc.js +0 -19
  354. package/dist/esm/form-input-search-variation.enum-6d8dc10a.js +0 -15
  355. package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
  356. package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +0 -9
  357. package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
  358. package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
  359. package/dist/esm/index-5b6c95c6.js +0 -63
  360. package/dist/esm/index-8685f88d.js +0 -170
  361. package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +0 -13
  362. package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +0 -13
  363. package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +0 -7
  364. package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
@@ -1,129 +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
- const logger_util = require('./logger.util-fdafc086.js');
8
- const text = require('./text-65b1b58c.js');
9
- const formValidationMessageVariation_enum = require('./form-validation-message-variation.enum-855ae0be.js');
10
-
11
- const formLabelCss = ".sc-digi-form-label-h .digi-form-label.sc-digi-form-label{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--label--font-size--desktop);color:var(--digi--color--text--primary);display:flex;flex-direction:column}.sc-digi-form-label-h .digi-form-label__label--label.sc-digi-form-label{font-weight:var(--digi--typography--label--font-weight--desktop)}.sc-digi-form-label-h .digi-form-label__label--label.sc-digi-form-label,.sc-digi-form-label-h .digi-form-label__label--description.sc-digi-form-label{line-height:var(--digi--typography--label--line-height--desktop);cursor:pointer;display:block}.sc-digi-form-label-h .digi-form-label__label-group.sc-digi-form-label{display:inline-flex;align-items:center;gap:var(--digi--gutter--icon)}.sc-digi-form-label-h .digi-form-label__description.sc-digi-form-label{max-width:var(--digi--paragraph-width--medium);line-height:var(--digi--typography--label-description--line-height--desktop);font-size:var(--digi--typography--label-description--font-size--desktop)}";
12
- const DigiFormLabelStyle0 = formLabelCss;
13
-
14
- const FormLabel = class {
15
- constructor(hostRef) {
16
- index.registerInstance(this, hostRef);
17
- this.labelText = undefined;
18
- this.hasActionSlot = undefined;
19
- this.afLabel = undefined;
20
- this.afId = randomIdGenerator_util.randomIdGenerator('digi-form-label');
21
- this.afFor = undefined;
22
- this.afDescription = undefined;
23
- this.afRequired = undefined;
24
- this.afAnnounceIfOptional = false;
25
- this.afRequiredText = text._t.required.toLowerCase();
26
- this.afAnnounceIfOptionalText = text._t.optional.toLowerCase();
27
- }
28
- componentWillLoad() {
29
- this.setLabelText();
30
- this.validateFor();
31
- this.handleSlotVisibility();
32
- }
33
- validateFor() {
34
- if (this.afFor == null) {
35
- logger_util.logger.warn(`digi-form-label must have a for attribute. Please add a for attribute using af-for`, this.hostElement);
36
- }
37
- }
38
- setLabelText() {
39
- this.labelText = `${this.afLabel} ${this.requiredText}`;
40
- if (!this.afLabel) {
41
- logger_util.logger.warn(`digi-form-label must have a label. Please add a label using af-label`, this.hostElement);
42
- }
43
- }
44
- handleSlotVisibility() {
45
- this.hasActionSlot = !!this.hostElement.querySelector('[slot="actions"]');
46
- }
47
- get requiredText() {
48
- if (this.afRequired && !this.afAnnounceIfOptional) {
49
- return this.afRequiredText ? ` (${this.afRequiredText})` : '';
50
- }
51
- else if (!this.afRequired && this.afAnnounceIfOptional) {
52
- return this.afAnnounceIfOptionalText
53
- ? ` (${this.afAnnounceIfOptionalText})`
54
- : '';
55
- }
56
- else {
57
- return '';
58
- }
59
- }
60
- render() {
61
- return (index.h("div", { key: '24ae333ab5edc928ce4d26e6e4da0f642617792a', class: "digi-form-label" }, index.h("div", { key: 'b1a5073a7c9883b13a86f741b865c3b368c1d02b', class: "digi-form-label__label-group" }, this.afFor && this.afLabel && (index.h("label", { key: '4dd98d11699d82e0e6b5f1127ca0e97382dc45d1', class: "digi-form-label__label", htmlFor: this.afFor, id: this.afId }, index.h("span", { key: 'a8c1b2cf89d24625e3c13a93bac5fd144d95a3cb', class: "digi-form-label__label--label" }, this.labelText), this.afDescription && (index.h("span", { key: '4a82c714e6b4f3189772d44bd5748c830252a8d5', class: "digi-form-label__label--description" }, this.afDescription)))), this.hasActionSlot && (index.h("div", { key: 'd07f90e8e0a8ba9061686bf7cc331480091fbb33', class: "digi-form-label__actions" }, index.h("slot", { key: '7c5f1750217d9666a6543044e6dbb29ee4839940', name: "actions" }))))));
62
- }
63
- get hostElement() { return index.getElement(this); }
64
- static get watchers() { return {
65
- "afFor": ["validateFor"],
66
- "afLabel": ["setLabelText"],
67
- "afRequired": ["setLabelText"],
68
- "afAnnounceIfOptional": ["setLabelText"]
69
- }; }
70
- };
71
- FormLabel.style = DigiFormLabelStyle0;
72
-
73
- const formValidationMessageCss = ".sc-digi-form-validation-message-h{--digi--form-validation-message--icon-color--success:var(--digi--color--icon--validation--success);--digi--form-validation-message--icon-color--warning:var(--digi--color--icon--validation--warning);--digi--form-validation-message--icon-color--error:var(--digi--color--icon--validation--error)}.sc-digi-form-validation-message-h .digi-form-validation-message.sc-digi-form-validation-message{display:flex;flex-wrap:wrap;align-items:center}.sc-digi-form-validation-message-h .digi-form-validation-message--success.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--success)}.sc-digi-form-validation-message-h .digi-form-validation-message--warning.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--warning)}.sc-digi-form-validation-message-h .digi-form-validation-message--error.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--error)}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message{color:var(--ICON-COLOR);margin-inline-end:var(--digi--gutter--icon)}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message>*.sc-digi-form-validation-message{--digi--icon--width:1.25em;--digi--icon--height:1.25em;--digi--icon--color:var(--ICON-COLOR);display:flex}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message .warning.sc-digi-form-validation-message{top:3px;position:relative}.sc-digi-form-validation-message-h .digi-form-validation-message__text.sc-digi-form-validation-message{flex:1;font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--tag--font-size--desktop);color:var(--digi--color--text--primary)}";
74
- const DigiFormValidationMessageStyle0 = formValidationMessageCss;
75
-
76
- const FormValidationMessage = class {
77
- constructor(hostRef) {
78
- index.registerInstance(this, hostRef);
79
- this.afVariation = formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS;
80
- }
81
- get cssModifiers() {
82
- return {
83
- 'digi-form-validation-message--success': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS,
84
- 'digi-form-validation-message--error': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR,
85
- 'digi-form-validation-message--warning': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.WARNING
86
- };
87
- }
88
- get icon() {
89
- switch (this.afVariation) {
90
- case formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS:
91
- return index.h("digi-icon-validation-success", null);
92
- case formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR:
93
- return index.h("digi-icon-validation-error", null);
94
- case formValidationMessageVariation_enum.FormValidationMessageVariation.WARNING:
95
- return index.h("digi-icon-validation-warning", { class: "warning" });
96
- }
97
- }
98
- render() {
99
- return (index.h("div", { key: 'b15c3cca06f4e015c7006bae470876b246b6ce06', class: Object.assign({ 'digi-form-validation-message': true }, this.cssModifiers) }, index.h("div", { key: '1e9378eb8b193c35e24e700ef865fb44ae4fb28b', class: "digi-form-validation-message__icon", "aria-hidden": "true" }, this.icon), index.h("span", { key: '6e72b4f07b641d63603914a33720d6b09a5bd44f', class: "digi-form-validation-message__text" }, index.h("slot", { key: '74cfa597bf12b19fb2dbef039eac148358ff2635' }))));
100
- }
101
- get hostElement() { return index.getElement(this); }
102
- };
103
- FormValidationMessage.style = DigiFormValidationMessageStyle0;
104
-
105
- const iconValidationSuccessCss = ".sc-digi-icon-validation-success-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-validation-success-h svg.sc-digi-icon-validation-success{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)}";
106
- const DigiIconValidationSuccessStyle0 = iconValidationSuccessCss;
107
-
108
- const IconCheckCircle = class {
109
- constructor(hostRef) {
110
- index.registerInstance(this, hostRef);
111
- this.afTitle = undefined;
112
- this.afDesc = undefined;
113
- this.afSvgAriaHidden = true;
114
- this.afSvgAriaLabelledby = undefined;
115
- this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
116
- }
117
- render() {
118
- return (index.h("svg", { key: '8e17bc8da17af20998fb67b64fc24b40461b176c', class: "digi-icon-validation-success", width: "25", height: "25", viewBox: "0 0 25 25", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
119
- ? this.afSvgAriaLabelledby
120
- : this.afTitle
121
- ? this.titleId
122
- : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '6f56caf229cfb9e2d8f6f54eaeaa4f86c9881eaf', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'f7fa4c25a72c4ef312a8f6daedf31ce199979bc2' }, this.afDesc), index.h("path", { key: 'f90d6e4c93085c88e81ef6935289f437a6a26aa6', class: "digi-icon-validation-success__shape", d: "M25 12.5C25 19.404 19.404 25 12.5 25S0 19.404 0 12.5 5.596 0 12.5 0 25 5.596 25 12.5zm-13.946 6.619l9.274-9.275a.806.806 0 000-1.14l-1.14-1.14a.806.806 0 00-1.14 0l-7.564 7.563-3.531-3.531a.807.807 0 00-1.14 0l-1.141 1.14a.806.806 0 000 1.14l5.242 5.243a.806.806 0 001.14 0z", fill: "currentColor", "fill-rule": "nonzero" })));
123
- }
124
- };
125
- IconCheckCircle.style = DigiIconValidationSuccessStyle0;
126
-
127
- exports.digi_form_label = FormLabel;
128
- exports.digi_form_validation_message = FormValidationMessage;
129
- exports.digi_icon_validation_success = IconCheckCircle;
@@ -1,80 +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
- const formRadiogroupValidation_enum = require('./form-radiogroup-validation.enum-03a17d4d.js');
8
-
9
- const formRadiogroupCss = "";
10
- const DigiFormRadiogroupStyle0 = formRadiogroupCss;
11
-
12
- const FormRadiogroup = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.afOnGroupChange = index.createEvent(this, "afOnGroupChange", 7);
16
- this.radiobuttons = undefined;
17
- this.afId = randomIdGenerator_util.randomIdGenerator('digi-form-radiogroup');
18
- this.afValue = undefined;
19
- this.value = undefined;
20
- this.afName = randomIdGenerator_util.randomIdGenerator('digi-form-radiogroup');
21
- this.afValidation = formRadiogroupValidation_enum.FormRadiogroupValidation.NEUTRAL;
22
- this.afValidationText = undefined;
23
- this.afErrorMessageIsAlert = true;
24
- }
25
- OnAfValueChange(value) {
26
- this.value = value;
27
- }
28
- OnValueChange(value) {
29
- this.afValue = value;
30
- this.setRadiobuttons(value);
31
- }
32
- get errorMessageIsAlert() {
33
- return (this.afErrorMessageIsAlert !== false &&
34
- this.afErrorMessageIsAlert !== 'false');
35
- }
36
- /**
37
- * Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till den första radioknappen i gruppen
38
- * @en Listens for when focus is set on the custom element and propagates it down to the first radionutton in the group.
39
- */
40
- focusOnGroup() {
41
- const radioButtons = this.radiobuttons;
42
- if (radioButtons.length > 0) {
43
- radioButtons[0].focus();
44
- }
45
- }
46
- radiobuttonChangeListener(e) {
47
- if (Array.from(this.radiobuttons).includes(e.target)) {
48
- e.preventDefault();
49
- this.afValue = e.detail.target.value;
50
- this.afOnGroupChange.emit(e.detail.target.value);
51
- }
52
- }
53
- componentDidLoad() {
54
- this.setRadiobuttons(this.value || this.afValue);
55
- if (this.value)
56
- this.afValue = this.value;
57
- }
58
- setRadiobuttons(value) {
59
- this.radiobuttons = this.hostElement.querySelectorAll('digi-form-radiobutton');
60
- this.radiobuttons.forEach((r) => {
61
- r.afName = this.afName;
62
- if (value && r.afValue == value) {
63
- r.setAttribute('af-checked', 'true');
64
- }
65
- });
66
- }
67
- render() {
68
- return (index.h(index.Host, { key: '0b03e0ccdc03d2f06466f9a2527f68b937637e6f', tabindex: -1 }, index.h("div", { key: '02b0862fc0645ba6c5b12480279078d0b796f5ef', id: this.afId, class: {
69
- 'digi-form-radiogroup': true
70
- } }, index.h("digi-util-mutation-observer", { key: 'ed9e1a034e5d5221c4c004e12db780077277876e', onAfOnChange: (e) => this.radiobuttonChangeListener(e) }, index.h("slot", { key: '5572449dc6ad235472c92e8524d26688d56e1b10' }))), index.h("div", { key: 'b0696ddf7c218434fded2380f41bca17e407a797', class: "digi-form-input__validation", "aria-atomic": "true", role: this.errorMessageIsAlert ? 'alert' : null, id: `${this.afId}--validation-text` }, this.afValidation != formRadiogroupValidation_enum.FormRadiogroupValidation.NEUTRAL && (index.h("digi-form-validation-message", { key: '63cde6f36e3064bd421c7d162e72ab414f5584cf', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText)))));
71
- }
72
- get hostElement() { return index.getElement(this); }
73
- static get watchers() { return {
74
- "afValue": ["OnAfValueChange"],
75
- "value": ["OnValueChange"]
76
- }; }
77
- };
78
- FormRadiogroup.style = DigiFormRadiogroupStyle0;
79
-
80
- exports.digi_form_radiogroup = FormRadiogroup;