@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,76 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-148a7577.js';
2
- import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
3
- import { F as FormRadiogroupValidation } from './form-radiogroup-validation.enum-d790fc66.js';
4
-
5
- const formRadiogroupCss = "";
6
- const DigiFormRadiogroupStyle0 = formRadiogroupCss;
7
-
8
- const FormRadiogroup = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.afOnGroupChange = createEvent(this, "afOnGroupChange", 7);
12
- this.radiobuttons = undefined;
13
- this.afId = randomIdGenerator('digi-form-radiogroup');
14
- this.afValue = undefined;
15
- this.value = undefined;
16
- this.afName = randomIdGenerator('digi-form-radiogroup');
17
- this.afValidation = FormRadiogroupValidation.NEUTRAL;
18
- this.afValidationText = undefined;
19
- this.afErrorMessageIsAlert = true;
20
- }
21
- OnAfValueChange(value) {
22
- this.value = value;
23
- }
24
- OnValueChange(value) {
25
- this.afValue = value;
26
- this.setRadiobuttons(value);
27
- }
28
- get errorMessageIsAlert() {
29
- return (this.afErrorMessageIsAlert !== false &&
30
- this.afErrorMessageIsAlert !== 'false');
31
- }
32
- /**
33
- * Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till den första radioknappen i gruppen
34
- * @en Listens for when focus is set on the custom element and propagates it down to the first radionutton in the group.
35
- */
36
- focusOnGroup() {
37
- const radioButtons = this.radiobuttons;
38
- if (radioButtons.length > 0) {
39
- radioButtons[0].focus();
40
- }
41
- }
42
- radiobuttonChangeListener(e) {
43
- if (Array.from(this.radiobuttons).includes(e.target)) {
44
- e.preventDefault();
45
- this.afValue = e.detail.target.value;
46
- this.afOnGroupChange.emit(e.detail.target.value);
47
- }
48
- }
49
- componentDidLoad() {
50
- this.setRadiobuttons(this.value || this.afValue);
51
- if (this.value)
52
- this.afValue = this.value;
53
- }
54
- setRadiobuttons(value) {
55
- this.radiobuttons = this.hostElement.querySelectorAll('digi-form-radiobutton');
56
- this.radiobuttons.forEach((r) => {
57
- r.afName = this.afName;
58
- if (value && r.afValue == value) {
59
- r.setAttribute('af-checked', 'true');
60
- }
61
- });
62
- }
63
- render() {
64
- return (h(Host, { key: '0b03e0ccdc03d2f06466f9a2527f68b937637e6f', tabindex: -1 }, h("div", { key: '02b0862fc0645ba6c5b12480279078d0b796f5ef', id: this.afId, class: {
65
- 'digi-form-radiogroup': true
66
- } }, h("digi-util-mutation-observer", { key: 'ed9e1a034e5d5221c4c004e12db780077277876e', onAfOnChange: (e) => this.radiobuttonChangeListener(e) }, h("slot", { key: '5572449dc6ad235472c92e8524d26688d56e1b10' }))), 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.NEUTRAL && (h("digi-form-validation-message", { key: '63cde6f36e3064bd421c7d162e72ab414f5584cf', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText)))));
67
- }
68
- get hostElement() { return getElement(this); }
69
- static get watchers() { return {
70
- "afValue": ["OnAfValueChange"],
71
- "value": ["OnValueChange"]
72
- }; }
73
- };
74
- FormRadiogroup.style = DigiFormRadiogroupStyle0;
75
-
76
- export { FormRadiogroup as digi_form_radiogroup };