@designsystem-se/af 35.2.1-beta.1 → 35.2.1-beta.2

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 (462) hide show
  1. package/components/digi-badge-notification.d.ts +1 -1
  2. package/components/digi-badge-status.d.ts +1 -1
  3. package/components/digi-bar-chart.d.ts +1 -1
  4. package/components/digi-bar-chart.js +1 -1
  5. package/components/digi-button.d.ts +1 -1
  6. package/components/digi-calendar-datepicker.d.ts +1 -1
  7. package/components/digi-calendar-datepicker.js +63 -48
  8. package/components/digi-calendar-week-view.d.ts +1 -1
  9. package/components/digi-calendar-week-view.js +1 -1
  10. package/components/digi-calendar.d.ts +1 -1
  11. package/components/digi-calendar.js +1 -1
  12. package/components/digi-chart-line.d.ts +1 -1
  13. package/components/digi-chart-line.js +1 -1
  14. package/components/digi-code-block.d.ts +1 -1
  15. package/components/digi-code-block.js +1 -1
  16. package/components/digi-code-example.d.ts +1 -1
  17. package/components/digi-code-example.js +2 -2
  18. package/components/digi-code.d.ts +1 -1
  19. package/components/digi-context-menu.d.ts +1 -1
  20. package/components/digi-dialog.d.ts +1 -1
  21. package/components/digi-expandable-accordion.d.ts +1 -1
  22. package/components/digi-expandable-accordion.js +1 -1
  23. package/components/digi-expandable-faq-item.d.ts +1 -1
  24. package/components/digi-expandable-faq.d.ts +1 -1
  25. package/components/digi-footer-card.d.ts +1 -1
  26. package/components/digi-footer.d.ts +1 -1
  27. package/components/digi-form-category-filter.d.ts +1 -1
  28. package/components/digi-form-category-filter.js +2 -2
  29. package/components/digi-form-checkbox.d.ts +1 -1
  30. package/components/digi-form-error-list.d.ts +1 -1
  31. package/components/digi-form-fieldset.d.ts +1 -1
  32. package/components/digi-form-file-upload.d.ts +1 -1
  33. package/components/digi-form-file-upload.js +8 -8
  34. package/components/digi-form-filter.d.ts +1 -1
  35. package/components/digi-form-filter.js +1 -1
  36. package/components/digi-form-input-search.d.ts +1 -1
  37. package/components/digi-form-input-search.js +2 -2
  38. package/components/digi-form-input.d.ts +1 -1
  39. package/components/digi-form-input.js +1 -1
  40. package/components/digi-form-label.d.ts +1 -1
  41. package/components/digi-form-label.js +1 -1
  42. package/components/digi-form-radiobutton.d.ts +1 -1
  43. package/components/digi-form-radiogroup.d.ts +1 -1
  44. package/components/digi-form-receipt.d.ts +1 -1
  45. package/components/digi-form-select-filter.d.ts +1 -1
  46. package/components/digi-form-select-filter.js +10 -10
  47. package/components/digi-form-select.d.ts +1 -1
  48. package/components/digi-form-select.js +1 -1
  49. package/components/digi-form-textarea.d.ts +1 -1
  50. package/components/digi-form-textarea.js +6 -9
  51. package/components/digi-form-validation-message.d.ts +1 -1
  52. package/components/digi-header-avatar.d.ts +1 -1
  53. package/components/digi-header-navigation-item.d.ts +1 -1
  54. package/components/digi-header-navigation.d.ts +1 -1
  55. package/components/digi-header-notification.d.ts +1 -1
  56. package/components/digi-header.d.ts +1 -1
  57. package/components/digi-icon-accessibility-deaf.d.ts +1 -1
  58. package/components/digi-icon-accessibility-universal.d.ts +1 -1
  59. package/components/digi-icon-apple.d.ts +1 -1
  60. package/components/digi-icon-archive-outline.d.ts +1 -1
  61. package/components/digi-icon-archive.d.ts +1 -1
  62. package/components/digi-icon-arrow-back.d.ts +1 -1
  63. package/components/digi-icon-arrow-down.d.ts +1 -1
  64. package/components/digi-icon-arrow-left.d.ts +1 -1
  65. package/components/digi-icon-arrow-right.d.ts +1 -1
  66. package/components/digi-icon-arrow-sign-in.d.ts +1 -1
  67. package/components/digi-icon-arrow-sign-out.d.ts +1 -1
  68. package/components/digi-icon-arrow-up.d.ts +1 -1
  69. package/components/digi-icon-at.d.ts +1 -1
  70. package/components/digi-icon-bars.d.ts +1 -1
  71. package/components/digi-icon-bell-filled.d.ts +1 -1
  72. package/components/digi-icon-bell.d.ts +1 -1
  73. package/components/digi-icon-book.d.ts +1 -1
  74. package/components/digi-icon-bookmark-outline.d.ts +1 -1
  75. package/components/digi-icon-bookmark-solid.d.ts +1 -1
  76. package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
  77. package/components/digi-icon-bubble.d.ts +1 -1
  78. package/components/digi-icon-building-outline.d.ts +1 -1
  79. package/components/digi-icon-building-solid.d.ts +1 -1
  80. package/components/digi-icon-bullseye.d.ts +1 -1
  81. package/components/digi-icon-calculator-solid.d.ts +1 -1
  82. package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
  83. package/components/digi-icon-calendar-alt.d.ts +1 -1
  84. package/components/digi-icon-calendar.d.ts +1 -1
  85. package/components/digi-icon-caret-circle-right.d.ts +1 -1
  86. package/components/digi-icon-caret-down.d.ts +1 -1
  87. package/components/digi-icon-caret-left.d.ts +1 -1
  88. package/components/digi-icon-caret-right.d.ts +1 -1
  89. package/components/digi-icon-caret-up.d.ts +1 -1
  90. package/components/digi-icon-chart.d.ts +1 -1
  91. package/components/digi-icon-chat.d.ts +1 -1
  92. package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
  93. package/components/digi-icon-check-circle-solid.d.ts +1 -1
  94. package/components/digi-icon-check.d.ts +1 -1
  95. package/components/digi-icon-checklist.d.ts +1 -1
  96. package/components/digi-icon-chevron-down.d.ts +1 -1
  97. package/components/digi-icon-chevron-left.d.ts +1 -1
  98. package/components/digi-icon-chevron-right.d.ts +1 -1
  99. package/components/digi-icon-chevron-up.d.ts +1 -1
  100. package/components/digi-icon-clock.d.ts +1 -1
  101. package/components/digi-icon-communication-play-solid.d.ts +1 -1
  102. package/components/digi-icon-compress-alt.d.ts +1 -1
  103. package/components/digi-icon-comunication-case.d.ts +1 -1
  104. package/components/digi-icon-comunication-flag.d.ts +1 -1
  105. package/components/digi-icon-comunication-graduate.d.ts +1 -1
  106. package/components/digi-icon-comunication-play.d.ts +1 -1
  107. package/components/digi-icon-cooperation.d.ts +1 -1
  108. package/components/digi-icon-copy.d.ts +1 -1
  109. package/components/digi-icon-danger-outline.d.ts +1 -1
  110. package/components/digi-icon-download.d.ts +1 -1
  111. package/components/digi-icon-dxa.d.ts +1 -1
  112. package/components/digi-icon-edit.d.ts +1 -1
  113. package/components/digi-icon-ellipsis.d.ts +1 -1
  114. package/components/digi-icon-envelope-filled.d.ts +1 -1
  115. package/components/digi-icon-envelope.d.ts +1 -1
  116. package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
  117. package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
  118. package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
  119. package/components/digi-icon-exclamation-triangle.d.ts +1 -1
  120. package/components/digi-icon-expand-alt.d.ts +1 -1
  121. package/components/digi-icon-external-link-alt.d.ts +1 -1
  122. package/components/digi-icon-eye-slash.d.ts +1 -1
  123. package/components/digi-icon-eye.d.ts +1 -1
  124. package/components/digi-icon-facebook-square.d.ts +1 -1
  125. package/components/digi-icon-file-add.d.ts +1 -1
  126. package/components/digi-icon-file-document.d.ts +1 -1
  127. package/components/digi-icon-file-excel.d.ts +1 -1
  128. package/components/digi-icon-file-export.d.ts +1 -1
  129. package/components/digi-icon-file-governing.d.ts +1 -1
  130. package/components/digi-icon-file-pdf.d.ts +1 -1
  131. package/components/digi-icon-file-powerpoint.d.ts +1 -1
  132. package/components/digi-icon-file-remove.d.ts +1 -1
  133. package/components/digi-icon-file-word.d.ts +1 -1
  134. package/components/digi-icon-film.d.ts +1 -1
  135. package/components/digi-icon-filter.d.ts +1 -1
  136. package/components/digi-icon-folder-add.d.ts +1 -1
  137. package/components/digi-icon-folder-directory.d.ts +1 -1
  138. package/components/digi-icon-folder-open.d.ts +1 -1
  139. package/components/digi-icon-folder.d.ts +1 -1
  140. package/components/digi-icon-globe-filled.d.ts +1 -1
  141. package/components/digi-icon-globe.d.ts +1 -1
  142. package/components/digi-icon-headphones.d.ts +1 -1
  143. package/components/digi-icon-heart-solid.d.ts +1 -1
  144. package/components/digi-icon-heart.d.ts +1 -1
  145. package/components/digi-icon-history.d.ts +1 -1
  146. package/components/digi-icon-home.d.ts +1 -1
  147. package/components/digi-icon-image.d.ts +1 -1
  148. package/components/digi-icon-info-circle-solid.d.ts +1 -1
  149. package/components/digi-icon-input-select-marker.d.ts +1 -1
  150. package/components/digi-icon-instagram.d.ts +1 -1
  151. package/components/digi-icon-job-suggestion.d.ts +1 -1
  152. package/components/digi-icon-language-outline.d.ts +1 -1
  153. package/components/digi-icon-language.d.ts +1 -1
  154. package/components/digi-icon-laptop-phone.d.ts +1 -1
  155. package/components/digi-icon-lattlast.d.ts +1 -1
  156. package/components/digi-icon-licence-bus.d.ts +1 -1
  157. package/components/digi-icon-licence-car.d.ts +1 -1
  158. package/components/digi-icon-licence-motorcycle.d.ts +1 -1
  159. package/components/digi-icon-licence-truck.d.ts +1 -1
  160. package/components/digi-icon-lightbulb.d.ts +1 -1
  161. package/components/digi-icon-linkedin-in.d.ts +1 -1
  162. package/components/digi-icon-list-ul.d.ts +1 -1
  163. package/components/digi-icon-lock.d.ts +1 -1
  164. package/components/digi-icon-marker-filled.d.ts +1 -1
  165. package/components/digi-icon-marker.d.ts +1 -1
  166. package/components/digi-icon-media-course.d.ts +1 -1
  167. package/components/digi-icon-media-podcast.d.ts +1 -1
  168. package/components/digi-icon-microphone-off.d.ts +1 -1
  169. package/components/digi-icon-microphone.d.ts +1 -1
  170. package/components/digi-icon-minus.d.ts +1 -1
  171. package/components/digi-icon-move.d.ts +1 -1
  172. package/components/digi-icon-news.d.ts +1 -1
  173. package/components/digi-icon-notification-error.d.ts +1 -1
  174. package/components/digi-icon-notification-info.d.ts +1 -1
  175. package/components/digi-icon-notification-succes.d.ts +1 -1
  176. package/components/digi-icon-notification-warning.d.ts +1 -1
  177. package/components/digi-icon-online-computervideo.d.ts +1 -1
  178. package/components/digi-icon-online-interview.d.ts +1 -1
  179. package/components/digi-icon-online-meeting.d.ts +1 -1
  180. package/components/digi-icon-online-task.d.ts +1 -1
  181. package/components/digi-icon-online-video.d.ts +1 -1
  182. package/components/digi-icon-open-source.d.ts +1 -1
  183. package/components/digi-icon-palette.d.ts +1 -1
  184. package/components/digi-icon-paperclip.d.ts +1 -1
  185. package/components/digi-icon-paste.d.ts +1 -1
  186. package/components/digi-icon-pen.d.ts +1 -1
  187. package/components/digi-icon-phone-hangup.d.ts +1 -1
  188. package/components/digi-icon-phone.d.ts +1 -1
  189. package/components/digi-icon-plus.d.ts +1 -1
  190. package/components/digi-icon-pod.d.ts +1 -1
  191. package/components/digi-icon-print.d.ts +1 -1
  192. package/components/digi-icon-read.d.ts +1 -1
  193. package/components/digi-icon-redo.d.ts +1 -1
  194. package/components/digi-icon-scale.d.ts +1 -1
  195. package/components/digi-icon-screensharing-off.d.ts +1 -1
  196. package/components/digi-icon-screensharing.d.ts +1 -1
  197. package/components/digi-icon-search.d.ts +1 -1
  198. package/components/digi-icon-send-outline.d.ts +1 -1
  199. package/components/digi-icon-send-solid.d.ts +1 -1
  200. package/components/digi-icon-settings.d.ts +1 -1
  201. package/components/digi-icon-share-alt.d.ts +1 -1
  202. package/components/digi-icon-share-chain.d.ts +1 -1
  203. package/components/digi-icon-sign.d.ts +1 -1
  204. package/components/digi-icon-sliders-h.d.ts +1 -1
  205. package/components/digi-icon-sokkandidat.d.ts +1 -1
  206. package/components/digi-icon-sort-down.d.ts +1 -1
  207. package/components/digi-icon-sort-up.d.ts +1 -1
  208. package/components/digi-icon-sort.d.ts +1 -1
  209. package/components/digi-icon-spinner.d.ts +1 -1
  210. package/components/digi-icon-star-reg.d.ts +1 -1
  211. package/components/digi-icon-star.d.ts +1 -1
  212. package/components/digi-icon-suitcase-outline.d.ts +1 -1
  213. package/components/digi-icon-suitcase-solid.d.ts +1 -1
  214. package/components/digi-icon-system-assistance.d.ts +1 -1
  215. package/components/digi-icon-table-column.d.ts +1 -1
  216. package/components/digi-icon-table-row.d.ts +1 -1
  217. package/components/digi-icon-table.d.ts +1 -1
  218. package/components/digi-icon-task-done.d.ts +1 -1
  219. package/components/digi-icon-toggle-off.d.ts +1 -1
  220. package/components/digi-icon-toggle-on.d.ts +1 -1
  221. package/components/digi-icon-trash.d.ts +1 -1
  222. package/components/digi-icon-twitter.d.ts +1 -1
  223. package/components/digi-icon-tyck-till.d.ts +1 -1
  224. package/components/digi-icon-unlock.d.ts +1 -1
  225. package/components/digi-icon-update.d.ts +1 -1
  226. package/components/digi-icon-upload.d.ts +1 -1
  227. package/components/digi-icon-user-add.d.ts +1 -1
  228. package/components/digi-icon-user-alt.d.ts +1 -1
  229. package/components/digi-icon-user-edit.d.ts +1 -1
  230. package/components/digi-icon-users-solid.d.ts +1 -1
  231. package/components/digi-icon-validation-error.d.ts +1 -1
  232. package/components/digi-icon-validation-success.d.ts +1 -1
  233. package/components/digi-icon-validation-warning.d.ts +1 -1
  234. package/components/digi-icon-videocamera-off.d.ts +1 -1
  235. package/components/digi-icon-videocamera.d.ts +1 -1
  236. package/components/digi-icon-volume.d.ts +1 -1
  237. package/components/digi-icon-web-tv.d.ts +1 -1
  238. package/components/digi-icon-webinar.d.ts +1 -1
  239. package/components/digi-icon-wifi-signal0.d.ts +1 -1
  240. package/components/digi-icon-wifi-signal1.d.ts +1 -1
  241. package/components/digi-icon-wifi-signal2.d.ts +1 -1
  242. package/components/digi-icon-wifi-signal3.d.ts +1 -1
  243. package/components/digi-icon-window.d.ts +1 -1
  244. package/components/digi-icon-x-button-outline.d.ts +1 -1
  245. package/components/digi-icon-x-button.d.ts +1 -1
  246. package/components/digi-icon-x.d.ts +1 -1
  247. package/components/digi-icon-youtube.d.ts +1 -1
  248. package/components/digi-info-card-multi-container.d.ts +1 -1
  249. package/components/digi-info-card-multi.d.ts +1 -1
  250. package/components/digi-info-card.d.ts +1 -1
  251. package/components/digi-layout-block.d.ts +1 -1
  252. package/components/digi-layout-columns.d.ts +1 -1
  253. package/components/digi-layout-container.d.ts +1 -1
  254. package/components/digi-link-button.d.ts +1 -1
  255. package/components/digi-link-external.d.ts +1 -1
  256. package/components/digi-link-internal.d.ts +1 -1
  257. package/components/digi-link.d.ts +1 -1
  258. package/components/digi-list.d.ts +1 -1
  259. package/components/digi-loader-skeleton.d.ts +1 -1
  260. package/components/digi-loader-spinner.d.ts +1 -1
  261. package/components/digi-logo.d.ts +1 -1
  262. package/components/digi-media-figure.d.ts +1 -1
  263. package/components/digi-media-image.d.ts +1 -1
  264. package/components/digi-navigation-breadcrumbs.d.ts +1 -1
  265. package/components/digi-navigation-breadcrumbs.js +1 -1
  266. package/components/digi-navigation-pagination.d.ts +1 -1
  267. package/components/digi-navigation-sidebar-button.d.ts +1 -1
  268. package/components/digi-navigation-sidebar.d.ts +1 -1
  269. package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
  270. package/components/digi-navigation-vertical-menu.d.ts +1 -1
  271. package/components/digi-notification-alert.d.ts +1 -1
  272. package/components/digi-notification-error-page.d.ts +1 -1
  273. package/components/digi-progress-circle.d.ts +1 -1
  274. package/components/digi-progress-circle.js +1 -1
  275. package/components/digi-progress-indicator.d.ts +1 -1
  276. package/components/digi-progress-indicator.js +1 -1
  277. package/components/digi-progress-list-item.d.ts +1 -1
  278. package/components/digi-progress-list-item.js +1 -1
  279. package/components/digi-progress-list.d.ts +1 -1
  280. package/components/digi-progressbar.d.ts +1 -1
  281. package/components/digi-progressbar.js +1 -1
  282. package/components/digi-quote.d.ts +1 -1
  283. package/components/digi-table.d.ts +1 -1
  284. package/components/digi-tablist-panel.d.ts +1 -1
  285. package/components/digi-tablist.d.ts +1 -1
  286. package/components/digi-tag-media.d.ts +1 -1
  287. package/components/digi-tag.d.ts +1 -1
  288. package/components/digi-tag.js +1 -1
  289. package/components/digi-tools-feedback-banner.d.ts +1 -1
  290. package/components/digi-tools-feedback-rating.d.ts +1 -1
  291. package/components/digi-tools-feedback.d.ts +1 -1
  292. package/components/digi-tools-theme-provider.d.ts +1 -1
  293. package/components/digi-typography-heading-jumbo.d.ts +1 -1
  294. package/components/digi-typography-meta.d.ts +1 -1
  295. package/components/digi-typography-preamble.d.ts +1 -1
  296. package/components/digi-typography-time.d.ts +1 -1
  297. package/components/digi-typography-time.js +1 -1
  298. package/components/digi-typography.d.ts +1 -1
  299. package/components/digi-util-breakpoint-observer.d.ts +1 -1
  300. package/components/digi-util-detect-click-outside.d.ts +1 -1
  301. package/components/digi-util-detect-focus-outside.d.ts +1 -1
  302. package/components/digi-util-intersection-observer.d.ts +1 -1
  303. package/components/digi-util-keydown-handler.d.ts +1 -1
  304. package/components/digi-util-keyup-handler.d.ts +1 -1
  305. package/components/digi-util-mutation-observer.d.ts +1 -1
  306. package/components/digi-util-resize-observer.d.ts +1 -1
  307. package/components/index.d.ts +283 -283
  308. package/components/{p-98765f91.js → p-504118d4.js} +1 -1
  309. package/components/{p-0dd35954.js → p-669e7c83.js} +54 -72
  310. package/components/{p-08cf2c0e.js → p-903a27d9.js} +19 -0
  311. package/components/{p-e3961597.js → p-9cbf7565.js} +9 -9
  312. package/components/{p-5010c1e6.js → p-aa63b60e.js} +1 -1
  313. package/components/{p-05a97800.js → p-cb20ea78.js} +5 -5
  314. package/custom-elements.json +23 -23
  315. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  316. package/dist/cjs/digi-bar-chart.cjs.entry.js +1 -1
  317. package/dist/cjs/{digi-button_19.cjs.entry.js → digi-button_17.cjs.entry.js} +117 -268
  318. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +1 -1
  319. package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
  320. package/dist/cjs/digi-code-block_3.cjs.entry.js +3 -2
  321. package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
  322. package/dist/cjs/digi-dialog.cjs.entry.js +2 -1
  323. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
  324. package/dist/cjs/digi-footer.cjs.entry.js +2 -1
  325. package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
  326. package/dist/cjs/digi-form-error-list.cjs.entry.js +2 -1
  327. package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
  328. package/dist/cjs/digi-form-filter.cjs.entry.js +1 -1
  329. package/dist/cjs/digi-form-receipt.cjs.entry.js +2 -1
  330. package/dist/cjs/digi-form-select-filter.cjs.entry.js +10 -9
  331. package/dist/cjs/digi-form-textarea.cjs.entry.js +133 -0
  332. package/dist/cjs/digi-header-navigation.cjs.entry.js +2 -1
  333. package/dist/cjs/digi-header.cjs.entry.js +2 -1
  334. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +1 -1
  335. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +2 -1
  336. package/dist/cjs/digi-notification-alert.cjs.entry.js +2 -1
  337. package/dist/cjs/digi-notification-error-page.cjs.entry.js +2 -1
  338. package/dist/cjs/digi-progress-circle.cjs.entry.js +1 -1
  339. package/dist/cjs/digi-progress-indicator.cjs.entry.js +1 -1
  340. package/dist/cjs/digi-progress-list-item.cjs.entry.js +1 -1
  341. package/dist/cjs/digi-progressbar.cjs.entry.js +1 -1
  342. package/dist/cjs/digi-tag.cjs.entry.js +1 -1
  343. package/dist/cjs/digi-tools-feedback.cjs.entry.js +2 -1
  344. package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
  345. package/dist/cjs/digi-typography.cjs.entry.js +26 -0
  346. package/dist/cjs/form-textarea-variation.enum-9c90d40f.js +17 -0
  347. package/dist/cjs/index-81fc5a97.js +10 -2
  348. package/dist/cjs/index.cjs.js +14 -13
  349. package/dist/cjs/loader.cjs.js +1 -1
  350. package/dist/cjs/{text-3157012b.js → text-65b1b58c.js} +19 -0
  351. package/dist/cjs/{typography-variation.enum-c6bb12f2.js → typography-variation.enum-6077eba3.js} +0 -16
  352. package/dist/collection/components/_calendar/calendar/calendar.js +61 -77
  353. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +4 -1
  354. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +115 -75
  355. package/dist/collection/components/_form/form-category-filter/form-category-filter.js +13 -13
  356. package/dist/collection/components/_form/form-file-upload/form-file-upload.js +6 -6
  357. package/dist/collection/components/_form/form-input/form-input.js +9 -9
  358. package/dist/collection/components/_form/form-select/form-select.js +6 -6
  359. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +27 -15
  360. package/dist/collection/components/_form/form-textarea/form-textarea.js +6 -9
  361. package/dist/collection/text/locale/sv/text.js +19 -0
  362. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  363. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  364. package/dist/digi-arbetsformedlingen/{p-460572d9.entry.js → p-038a6f4d.entry.js} +1 -1
  365. package/dist/digi-arbetsformedlingen/p-03e35369.entry.js +1 -0
  366. package/dist/digi-arbetsformedlingen/{p-5ffc1490.entry.js → p-04b9fcfc.entry.js} +1 -1
  367. package/dist/digi-arbetsformedlingen/p-086ef192.entry.js +1 -0
  368. package/dist/digi-arbetsformedlingen/{p-58a86b5f.entry.js → p-1472371d.entry.js} +1 -1
  369. package/dist/digi-arbetsformedlingen/p-19f13b56.entry.js +1 -0
  370. package/dist/digi-arbetsformedlingen/p-220c63f6.entry.js +1 -0
  371. package/dist/digi-arbetsformedlingen/p-365e6558.entry.js +1 -0
  372. package/dist/digi-arbetsformedlingen/{p-693e33b2.entry.js → p-3d0c0083.entry.js} +1 -1
  373. package/dist/digi-arbetsformedlingen/{p-48f60428.entry.js → p-41e16393.entry.js} +1 -1
  374. package/dist/digi-arbetsformedlingen/{p-4a1af082.entry.js → p-4e81efad.entry.js} +1 -1
  375. package/dist/digi-arbetsformedlingen/p-59bf3077.js +1 -0
  376. package/dist/digi-arbetsformedlingen/p-64067f33.entry.js +1 -0
  377. package/dist/digi-arbetsformedlingen/{p-73358d64.entry.js → p-6ea62ad2.entry.js} +1 -1
  378. package/dist/digi-arbetsformedlingen/p-7bdbb8b4.entry.js +1 -0
  379. package/dist/digi-arbetsformedlingen/p-903a27d9.js +1 -0
  380. package/dist/digi-arbetsformedlingen/{p-e2fe3edf.entry.js → p-954b1a74.entry.js} +1 -1
  381. package/dist/digi-arbetsformedlingen/p-9c5a93d8.js +1 -0
  382. package/dist/digi-arbetsformedlingen/{p-bfb78e9e.entry.js → p-9ebefb9c.entry.js} +1 -1
  383. package/dist/digi-arbetsformedlingen/p-9ed7d731.entry.js +1 -0
  384. package/dist/digi-arbetsformedlingen/p-ac812f71.entry.js +1 -0
  385. package/dist/digi-arbetsformedlingen/p-b21ccf7c.entry.js +1 -0
  386. package/dist/digi-arbetsformedlingen/p-b4c9f295.entry.js +1 -0
  387. package/dist/digi-arbetsformedlingen/p-d0465354.entry.js +1 -0
  388. package/dist/digi-arbetsformedlingen/{p-3ae0fb97.entry.js → p-d24cebf9.entry.js} +1 -1
  389. package/dist/digi-arbetsformedlingen/p-d6cc9061.entry.js +1 -0
  390. package/dist/digi-arbetsformedlingen/p-df0dfa95.entry.js +1 -0
  391. package/dist/digi-arbetsformedlingen/{p-79c6ecc6.entry.js → p-dff9777b.entry.js} +1 -1
  392. package/dist/digi-arbetsformedlingen/{p-1a12faea.entry.js → p-e03b9727.entry.js} +1 -1
  393. package/dist/digi-arbetsformedlingen/{p-1443ee18.entry.js → p-e955c7bd.entry.js} +1 -1
  394. package/dist/digi-arbetsformedlingen/p-ed3db5d0.entry.js +1 -0
  395. package/dist/digi-arbetsformedlingen/p-fb17bf4b.entry.js +1 -0
  396. package/dist/digi-arbetsformedlingen/p-fd32cb7c.entry.js +1 -0
  397. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  398. package/dist/esm/digi-bar-chart.entry.js +1 -1
  399. package/dist/esm/{digi-button_19.entry.js → digi-button_17.entry.js} +118 -267
  400. package/dist/esm/digi-calendar-week-view.entry.js +1 -1
  401. package/dist/esm/digi-chart-line.entry.js +1 -1
  402. package/dist/esm/digi-code-block_3.entry.js +3 -2
  403. package/dist/esm/digi-code-example.entry.js +1 -1
  404. package/dist/esm/digi-dialog.entry.js +2 -1
  405. package/dist/esm/digi-expandable-accordion.entry.js +1 -1
  406. package/dist/esm/digi-footer.entry.js +2 -1
  407. package/dist/esm/digi-form-category-filter.entry.js +2 -2
  408. package/dist/esm/digi-form-error-list.entry.js +2 -1
  409. package/dist/esm/digi-form-file-upload.entry.js +7 -7
  410. package/dist/esm/digi-form-filter.entry.js +1 -1
  411. package/dist/esm/digi-form-receipt.entry.js +2 -1
  412. package/dist/esm/digi-form-select-filter.entry.js +10 -9
  413. package/dist/esm/digi-form-textarea.entry.js +129 -0
  414. package/dist/esm/digi-header-navigation.entry.js +2 -1
  415. package/dist/esm/digi-header.entry.js +2 -1
  416. package/dist/esm/digi-navigation-breadcrumbs.entry.js +1 -1
  417. package/dist/esm/digi-navigation-pagination.entry.js +2 -1
  418. package/dist/esm/digi-notification-alert.entry.js +2 -1
  419. package/dist/esm/digi-notification-error-page.entry.js +2 -1
  420. package/dist/esm/digi-progress-circle.entry.js +1 -1
  421. package/dist/esm/digi-progress-indicator.entry.js +1 -1
  422. package/dist/esm/digi-progress-list-item.entry.js +1 -1
  423. package/dist/esm/digi-progressbar.entry.js +1 -1
  424. package/dist/esm/digi-tag.entry.js +1 -1
  425. package/dist/esm/digi-tools-feedback.entry.js +2 -1
  426. package/dist/esm/digi-typography-time.entry.js +1 -1
  427. package/dist/esm/digi-typography.entry.js +22 -0
  428. package/dist/esm/form-textarea-variation.enum-05017e8e.js +17 -0
  429. package/dist/esm/index-bfea2cc5.js +10 -2
  430. package/dist/esm/index.js +2 -1
  431. package/dist/esm/loader.js +1 -1
  432. package/dist/esm/{text-26e02c8d.js → text-8f88c0f6.js} +19 -0
  433. package/dist/esm/{typography-variation.enum-dea0fe69.js → typography-variation.enum-04944af5.js} +1 -17
  434. package/dist/types/components/_calendar/calendar/calendar.d.ts +12 -12
  435. package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +38 -32
  436. package/dist/types/components/_form/form-category-filter/form-category-filter.d.ts +10 -10
  437. package/dist/types/components/_form/form-input/form-input.d.ts +0 -1
  438. package/dist/types/components/_form/form-select/form-select.d.ts +2 -2
  439. package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +4 -4
  440. package/dist/types/components/_form/form-textarea/form-textarea.d.ts +0 -1
  441. package/dist/types/components.d.ts +126 -110
  442. package/dist/types/text/locale/sv/text.d.ts +6 -0
  443. package/hydrate/index.js +158 -147
  444. package/hydrate/index.mjs +158 -147
  445. package/package.json +1 -1
  446. package/dist/digi-arbetsformedlingen/p-02a6c3e6.entry.js +0 -1
  447. package/dist/digi-arbetsformedlingen/p-08cf2c0e.js +0 -1
  448. package/dist/digi-arbetsformedlingen/p-11035a85.entry.js +0 -1
  449. package/dist/digi-arbetsformedlingen/p-2242582b.entry.js +0 -1
  450. package/dist/digi-arbetsformedlingen/p-4f68f34d.entry.js +0 -1
  451. package/dist/digi-arbetsformedlingen/p-5990798b.entry.js +0 -1
  452. package/dist/digi-arbetsformedlingen/p-5bd4feb1.entry.js +0 -1
  453. package/dist/digi-arbetsformedlingen/p-5c6726e4.entry.js +0 -1
  454. package/dist/digi-arbetsformedlingen/p-648ed420.entry.js +0 -1
  455. package/dist/digi-arbetsformedlingen/p-6c701c64.entry.js +0 -1
  456. package/dist/digi-arbetsformedlingen/p-70cd00fd.entry.js +0 -1
  457. package/dist/digi-arbetsformedlingen/p-871eb27f.entry.js +0 -1
  458. package/dist/digi-arbetsformedlingen/p-8dde1275.entry.js +0 -1
  459. package/dist/digi-arbetsformedlingen/p-903cd4b7.entry.js +0 -1
  460. package/dist/digi-arbetsformedlingen/p-94170a0d.entry.js +0 -1
  461. package/dist/digi-arbetsformedlingen/p-aa63b05a.entry.js +0 -1
  462. package/dist/digi-arbetsformedlingen/p-bb92f2eb.js +0 -1
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiCodeBlock extends Components.DigiCodeBlock, HTMLElement {}
4
4
  export const DigiCodeBlock: {
@@ -1,4 +1,4 @@
1
- import { C as CodeBlock, d as defineCustomElement$1 } from './p-5010c1e6.js';
1
+ import { C as CodeBlock, d as defineCustomElement$1 } from './p-aa63b60e.js';
2
2
 
3
3
  const DigiCodeBlock = CodeBlock;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiCodeExample extends Components.DigiCodeExample, HTMLElement {}
4
4
  export const DigiCodeExample: {
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, h } from './p-e5abfc2d.js';
2
2
  import { b as CodeBlockVariation, d as CodeExampleVariation, c as CodeExampleLanguage } from './p-ea2c5384.js';
3
3
  import { b as ButtonVariation, B as ButtonSize } from './p-f518a4cf.js';
4
- import { _ as _t } from './p-08cf2c0e.js';
4
+ import { _ as _t } from './p-903a27d9.js';
5
5
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
6
6
  import { d as defineCustomElement$b } from './p-4a9363d9.js';
7
- import { d as defineCustomElement$a } from './p-5010c1e6.js';
7
+ import { d as defineCustomElement$a } from './p-aa63b60e.js';
8
8
  import { d as defineCustomElement$9 } from './p-74689bb5.js';
9
9
  import { d as defineCustomElement$8 } from './p-9839cf46.js';
10
10
  import { d as defineCustomElement$7 } from './p-49a67d97.js';
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiCode extends Components.DigiCode, HTMLElement {}
4
4
  export const DigiCode: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiContextMenu extends Components.DigiContextMenu, HTMLElement {}
4
4
  export const DigiContextMenu: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiDialog extends Components.DigiDialog, HTMLElement {}
4
4
  export const DigiDialog: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiExpandableAccordion extends Components.DigiExpandableAccordion, HTMLElement {}
4
4
  export const DigiExpandableAccordion: {
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './p-e5abfc2d.js';
2
- import { _ as _t } from './p-08cf2c0e.js';
2
+ import { _ as _t } from './p-903a27d9.js';
3
3
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
4
4
  import { E as ExpandableAccordionHeaderLevel } from './p-ad16c7a1.js';
5
5
  import { d as defineCustomElement$3 } from './p-d96a2a60.js';
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiExpandableFaqItem extends Components.DigiExpandableFaqItem, HTMLElement {}
4
4
  export const DigiExpandableFaqItem: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiExpandableFaq extends Components.DigiExpandableFaq, HTMLElement {}
4
4
  export const DigiExpandableFaq: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFooterCard extends Components.DigiFooterCard, HTMLElement {}
4
4
  export const DigiFooterCard: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFooter extends Components.DigiFooter, HTMLElement {}
4
4
  export const DigiFooter: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormCategoryFilter extends Components.DigiFormCategoryFilter, HTMLElement {}
4
4
  export const DigiFormCategoryFilter: {
@@ -99,7 +99,7 @@ const FormCategoryFilter = /*@__PURE__*/ proxyCustomElement(class FormCategoryFi
99
99
  this.afHideToggle = !this.toggleHidden;
100
100
  }
101
101
  render() {
102
- return (h(Host, { key: '4098c877261aa9b69dbfc0969d7d4b99a8ebe5f3' }, h("div", { key: '0907f7f36b12cd3324cae1ea48bd06f2da91012c', class: {
102
+ return (h(Host, { key: '1116adb138d4455a8946696bd148de4470fc8278' }, h("div", { key: '888f3e8c1133706105581a7a89966ef93ccad0c9', class: {
103
103
  'digi-form-category-filter': true
104
104
  } }, this.displayCategories().map((category) => (h("digi-button", { class: {
105
105
  'digi-form-category-filter--category': true,
@@ -107,7 +107,7 @@ const FormCategoryFilter = /*@__PURE__*/ proxyCustomElement(class FormCategoryFi
107
107
  }, afVariation: "primary", afAriaPressed: this.selectedCategories.includes(category.name), onAfOnClick: () => {
108
108
  this.toggleCategory(category);
109
109
  } }, typeof category.hits === 'undefined' && category.name, typeof category.hits !== 'undefined' && (h("span", null, category.name, ' ', h("span", { class: "digi-form-category-filter--category--thin-text" }, "(", category.hits, ")")))))), this.afHideToggle === false &&
110
- this.afCategories.length > this.afVisibleCollapsed && (h("div", { key: 'e6e524d7840a99cf360b9a2bb3c7967617b2de6d' }, h("digi-button", { key: '66a292db85e82ba5eafbf7ada307395ff777876b', afVariation: "function", afAriaExpanded: !this.collapsed, onClick: () => {
110
+ this.afCategories.length > this.afVisibleCollapsed && (h("div", { key: 'b717e98f7a11951d09332be733c9f42ffce092df' }, h("digi-button", { key: '405ae252571b1702e02db338cf0137955f1cbef6', afVariation: "function", afAriaExpanded: !this.collapsed, onClick: () => {
111
111
  this.toggleCollapsed();
112
112
  } }, this.collapsed ? 'Visa alla' : 'Visa färre', this.collapsed ? (h("digi-icon-plus", { slot: "icon", "aria-hidden": "true" })) : (h("digi-icon-minus", { slot: "icon", "aria-hidden": "true" }))))))));
113
113
  }
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormCheckbox extends Components.DigiFormCheckbox, HTMLElement {}
4
4
  export const DigiFormCheckbox: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormErrorList extends Components.DigiFormErrorList, HTMLElement {}
4
4
  export const DigiFormErrorList: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormFieldset extends Components.DigiFormFieldset, HTMLElement {}
4
4
  export const DigiFormFieldset: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormFileUpload extends Components.DigiFormFileUpload, HTMLElement {}
4
4
  export const DigiFormFileUpload: {
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment } from './p-e5abfc2d.js';
2
- import { _ as _t } from './p-08cf2c0e.js';
2
+ import { _ as _t } from './p-903a27d9.js';
3
3
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
4
4
  import { b as FormFileUploadVariation, a as FormFileUploadValidation, F as FormFileUploadHeadingLevel } from './p-905ccb30.js';
5
5
  import { U as UtilBreakpointObserverBreakpoints } from './p-cdcaf0eb.js';
6
6
  import { F as FormValidationMessageVariation } from './p-7933b555.js';
7
- import { d as defineCustomElement$c } from './p-98765f91.js';
7
+ import { d as defineCustomElement$c } from './p-504118d4.js';
8
8
  import { d as defineCustomElement$b } from './p-49a67d97.js';
9
9
  import { d as defineCustomElement$a } from './p-dde470f1.js';
10
10
  import { d as defineCustomElement$9 } from './p-40b0ebf4.js';
@@ -561,18 +561,18 @@ const FormFileUpload = /*@__PURE__*/ proxyCustomElement(class FormFileUpload ext
561
561
  'digi-form-file-upload__upload-area': true,
562
562
  'digi-form-file-upload__upload-area--hover': this.fileHover
563
563
  }, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), onDragEnter: (e) => this.handleOnDragEnterLeave(e), onDragLeave: (e) => this.handleOnDragEnterLeave(e), onClick: (e) => this.handleInputClick(e) }, this.fileHover &&
564
- this.afVariation != FormFileUploadVariation.SMALL && (h("div", { key: '252d8551475a8efeafcb5422e3bc9a39ab766ee0', class: "digi-form-file-upload__upload-area-overlay" })), h("div", { key: 'e04056de0ca60a999f38e7fc2ee3dddb14f3352e', class: "digi-form-file-upload__text-area" }, h("button", { key: '1068e450b48ab821622eb193016c330edb05fc67', type: "button", ref: (el) => {
564
+ this.afVariation != FormFileUploadVariation.SMALL && (h("div", { key: '252d8551475a8efeafcb5422e3bc9a39ab766ee0', class: "digi-form-file-upload__upload-area-overlay" })), h("div", { key: 'e04056de0ca60a999f38e7fc2ee3dddb14f3352e', class: "digi-form-file-upload__text-area" }, h("button", { key: '9e7e1d5c75e32f5db420e92f32b428bfb66b430e', type: "button", id: this.afId + '-button', ref: (el) => {
565
565
  this._uploadButton = el;
566
566
  }, onClick: (e) => this.handleInputClick(e), class: "digi-form-file-upload__button hidden_mobile", style: {
567
567
  margin: '0'
568
- } }, h("digi-icon-paperclip", { key: 'a439e424f83e4ea197215a3812459882c322678b', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
568
+ } }, h("digi-icon-paperclip", { key: '16567976f7f354917cfe2c28046dcb99f302c828', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
569
569
  ? this.afUploadBtnText
570
- : _t.form.file_choose), h("input", { key: 'd194bb6becbe173f833634a4484a4542c5dfabb1', ref: (el) => {
570
+ : _t.form.file_choose), h("input", { key: '2bd5c1af11f38d32964c46a89fd31b04908d3de5', ref: (el) => {
571
571
  this._input = el;
572
- }, onChange: (e) => this.onButtonUploadFileHandler(e), class: "digi-form-file-upload__input", multiple: true, type: "file", id: this.afId, accept: this.afFileTypes, name: this.afName ? this.afName : null, required: this.afRequired ? this.afRequired : null, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), "aria-errormessage": "digi-form-file-upload__error", "aria-describedBy": "digi-form-file-upload__error" }), h("span", { key: 'b317ecd9f780111c20a529cd7d203ef5a765bb2c' }, this.afVariation !== FormFileUploadVariation.SMALL &&
573
- _t.form.file_dropzone))), h("p", { key: '85f16b73106ab1221a98591d01ee0157081d3778', class: "visually-hidden", role: "alert", "aria-atomic": "true", ref: (el) => {
572
+ }, onChange: (e) => this.onButtonUploadFileHandler(e), class: "digi-form-file-upload__input", multiple: true, type: "file", id: this.afId, accept: this.afFileTypes, name: this.afName ? this.afName : null, required: this.afRequired ? this.afRequired : null, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), "aria-errormessage": "digi-form-file-upload__error", "aria-describedBy": "digi-form-file-upload__error" }), h("span", { key: '8ba2509be773975eedfea52a75b51fb4f9890ed1' }, this.afVariation !== FormFileUploadVariation.SMALL &&
573
+ _t.form.file_dropzone))), h("p", { key: '82c7c35bc1ad2766687ba683c3f3b14836a74515', class: "visually-hidden", role: "alert", "aria-atomic": "true", ref: (el) => {
574
574
  this._srTextContainer = el;
575
- } }), (this.files.length > 0 || this.error) && (h("div", { key: 'eff456a01f0c09f4f6c1a80c76f3537e487d3fb2', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
575
+ } }), (this.files.length > 0 || this.error) && (h("div", { key: 'df0c06072fd8df4cd77eca15f67a046fca028a07', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
576
576
  }
577
577
  get hostElement() { return this; }
578
578
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormFilter extends Components.DigiFormFilter, HTMLElement {}
4
4
  export const DigiFormFilter: {
@@ -3,7 +3,7 @@ import { r as randomIdGenerator } from './p-ffe5c0e8.js';
3
3
  import { l as logger } from './p-e3d2e899.js';
4
4
  import { d as detectClickOutside } from './p-430607cb.js';
5
5
  import { d as detectFocusOutside } from './p-ee33960b.js';
6
- import { _ as _t } from './p-08cf2c0e.js';
6
+ import { _ as _t } from './p-903a27d9.js';
7
7
  import { d as defineCustomElement$4 } from './p-4a9363d9.js';
8
8
  import { d as defineCustomElement$3 } from './p-796665d9.js';
9
9
  import { d as defineCustomElement$2 } from './p-d96a2a60.js';
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormInputSearch extends Components.DigiFormInputSearch, HTMLElement {}
4
4
  export const DigiFormInputSearch: {
@@ -6,8 +6,8 @@ import { a as ButtonType } from './p-f518a4cf.js';
6
6
  import { d as detectClickOutside } from './p-430607cb.js';
7
7
  import { d as detectFocusOutside } from './p-ee33960b.js';
8
8
  import { d as defineCustomElement$9 } from './p-4a9363d9.js';
9
- import { d as defineCustomElement$8 } from './p-e3961597.js';
10
- import { d as defineCustomElement$7 } from './p-98765f91.js';
9
+ import { d as defineCustomElement$8 } from './p-9cbf7565.js';
10
+ import { d as defineCustomElement$7 } from './p-504118d4.js';
11
11
  import { d as defineCustomElement$6 } from './p-49a67d97.js';
12
12
  import { d as defineCustomElement$5 } from './p-c17548a3.js';
13
13
  import { d as defineCustomElement$4 } from './p-bd19f8cd.js';
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormInput extends Components.DigiFormInput, HTMLElement {}
4
4
  export const DigiFormInput: {
@@ -1,4 +1,4 @@
1
- import { F as FormInput, d as defineCustomElement$1 } from './p-e3961597.js';
1
+ import { F as FormInput, d as defineCustomElement$1 } from './p-9cbf7565.js';
2
2
 
3
3
  const DigiFormInput = FormInput;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormLabel extends Components.DigiFormLabel, HTMLElement {}
4
4
  export const DigiFormLabel: {
@@ -1,4 +1,4 @@
1
- import { F as FormLabel, d as defineCustomElement$1 } from './p-98765f91.js';
1
+ import { F as FormLabel, d as defineCustomElement$1 } from './p-504118d4.js';
2
2
 
3
3
  const DigiFormLabel = FormLabel;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormRadiobutton extends Components.DigiFormRadiobutton, HTMLElement {}
4
4
  export const DigiFormRadiobutton: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormRadiogroup extends Components.DigiFormRadiogroup, HTMLElement {}
4
4
  export const DigiFormRadiogroup: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormReceipt extends Components.DigiFormReceipt, HTMLElement {}
4
4
  export const DigiFormReceipt: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormSelectFilter extends Components.DigiFormSelectFilter, HTMLElement {}
4
4
  export const DigiFormSelectFilter: {
@@ -3,7 +3,7 @@ import { r as randomIdGenerator } from './p-ffe5c0e8.js';
3
3
  import { l as logger } from './p-e3d2e899.js';
4
4
  import { d as detectClickOutside } from './p-430607cb.js';
5
5
  import { d as detectFocusOutside } from './p-ee33960b.js';
6
- import { _ as _t } from './p-08cf2c0e.js';
6
+ import { _ as _t } from './p-903a27d9.js';
7
7
  import './p-717306ef.js';
8
8
  import { k as FormSelectFilterValidation } from './p-ea2c5384.js';
9
9
  import './p-a4a001e1.js';
@@ -54,8 +54,8 @@ import './p-a6ca40fc.js';
54
54
  import './p-b0e88537.js';
55
55
  import './p-cdcaf0eb.js';
56
56
  import { d as defineCustomElement$b } from './p-4a9363d9.js';
57
- import { d as defineCustomElement$a } from './p-e3961597.js';
58
- import { d as defineCustomElement$9 } from './p-98765f91.js';
57
+ import { d as defineCustomElement$a } from './p-9cbf7565.js';
58
+ import { d as defineCustomElement$9 } from './p-504118d4.js';
59
59
  import { d as defineCustomElement$8 } from './p-49a67d97.js';
60
60
  import { d as defineCustomElement$7 } from './p-a1607b17.js';
61
61
  import { d as defineCustomElement$6 } from './p-d96a2a60.js';
@@ -508,15 +508,15 @@ const FormSelectFilter = /*@__PURE__*/ proxyCustomElement(class FormSelectFilter
508
508
  } }, h("slot", { name: "empty-search-result" })))));
509
509
  }
510
510
  render() {
511
- return (h("div", { key: '0441a3108913933a52f7ce85a8e808637d1b3c91', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: '642aeed1224efdd28628722fc29c4885defe1f88', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: 'b5117f00c181ceb475eff973d9fef953ab057ffe', onAfOnEsc: () => this.escHandler() }, h("button", { key: 'f5ac9723c420b469f280751113b8fed4be799b2f', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-labelledby": this.afFilterButtonAriaDescribedby, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: '95f70c6e4a9ce0fb00d549ea9a2a56c889694536', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '1acd4598fe9a41669038186b086013a027c8e84f', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: '965fd1089e5ebe115ebada0e6a8bac72de406d83', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '23ee710f53016cf532cf74bd2288e3202418bffd', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: '55f99522a98d710b4d222b43e51c63961bdd390e', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
511
+ return (h("div", { key: '47778d535bf8b4297d22fef644727e29daab942d', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: '0987a58c51d49043f1141721a02faf6294156690', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: '83bb7d44629e0c23aef4d9d870e6d2b75de3f2b2', onAfOnEsc: () => this.escHandler() }, h("button", { key: '915f385d3eba371b737b589b194de2368f99dca4', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-labelledby": this.afFilterButtonAriaDescribedby, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: 'df2833df13736c53ff31f5d991d390604c3b5fb4', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '47029103d04679aa4eab91f075a8d7624d8faac5', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: 'da2a3bfcbb0d7954b169fdc140073ca6bea72f79', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '7d27fddb7228ed2f65c953431a5e6d52a05a218d', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: '3e33a6b8af63a097204223d7111e1d35009ef4d6', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
512
512
  'digi-form-select-filter__dropdown': true,
513
513
  'digi-form-select-filter__dropdown--right': this.afAlignRight,
514
514
  'digi-form-select-filter__dropdown--hidden': !this.isOpen
515
- } }, h("fieldset", { key: 'b801358f02ee8719a354128ce1669276ae26052c' }, h("div", { key: 'a307b294684fe855f61c3f1fae1359d79e118ed8', class: "digi-form-select-filter__header" }, h("legend", { key: '854730c3331539ff816c78bbb5c4afa8b3f8045f', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: 'ee515e0d2a5392fac6614309804762bb02b31b1b', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
515
+ } }, h("fieldset", { key: 'b6052c5c1630678be2fe5cb6062a91bef16d80b3' }, h("div", { key: '00be00b083cc86845f6bf332705c4c5f14139249', class: "digi-form-select-filter__header" }, h("legend", { key: 'c26418abfc62031873cecf02427ed32da9324291', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: '78299e86526afe7801a01a3c0099f09e17e3ed2f', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
516
516
  this.focusListItemIndex = 0;
517
517
  }, onAfOnKeyup: (e) => {
518
518
  this.inputSearchKeyboardHandler(e.detail);
519
- }, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '4c3b4dd67932713d3b0f9784ddb6908172bae788', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '21fd9e82b72a29c6d4f6d9483a189bd877f86c7f', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: '1c7566020cc272722d7978b618395177c114a9ac', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
519
+ }, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '9e2c976667ee00f6631c13056be4aa1bb004e770', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '53463d2aa5a0757c2be36634f11050f2254acdc5', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: 'a9053be0bfc7fc06cfff06834e6c287bf3f13316', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
520
520
  ? 'false'
521
521
  : this.afValidation === FormSelectFilterValidation.ERROR
522
522
  ? 'true'
@@ -524,11 +524,11 @@ const FormSelectFilter = /*@__PURE__*/ proxyCustomElement(class FormSelectFilter
524
524
  ? false
525
525
  : this.afRequired
526
526
  ? 'true'
527
- : 'false' }, this.showNeutralValue && (h("li", { key: '8d05cf89e96e8ac1483ce26a337a5978f838b639', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
527
+ : 'false' }, this.showNeutralValue && (h("li", { key: '6db36b1fb4a721be77a2db2442f00488b730f8ff', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
528
528
  ? 'false'
529
529
  : this.afRequired
530
530
  ? 'true'
531
- : 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: 'a38310179982e60d3f2689e86205b60954626a7b', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
531
+ : 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: 'a2a34d7082a28a85328cfcd55814a0914396b54f', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
532
532
  this._filteredResult.map((item, index) => {
533
533
  return (h("li", { class: "digi-form-select-filter__item", key: index, dir: item.dir, lang: item.lang, "aria-checked": this.isSelected(item.value) ? 'true' : 'false', role: this.afMultipleItems ? 'checkbox' : 'radio', "aria-required": this.afMultipleItems
534
534
  ? 'false'
@@ -540,9 +540,9 @@ const FormSelectFilter = /*@__PURE__*/ proxyCustomElement(class FormSelectFilter
540
540
  ? 'true'
541
541
  : 'false'
542
542
  : 'false', "aria-errormessage": `${this.afId}--validation-message`, onClick: () => this.selectItemHandler(item), tabIndex: this.showNeutralValue ? -1 : index === 0 ? 0 : -1 }, this.isSelected(item.value) && (h("digi-icon-check", { class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), item.label));
543
- }))))), this.afMultipleItems && (h("div", { key: '5b86ccce4ca0f6a5c8fdc02680aa792b97912a0b', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: 'b644d87b83ecbed6cfd1599a641e5264921ac4fc', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: 'b0e8623abc016dcae8614310ea8653f28ec5d9b3', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: '838f2780f265db6153e2e928ab23935a19885b51', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
543
+ }))))), this.afMultipleItems && (h("div", { key: '0f6fc63028d7286ddf1830a25c7441b8fd2a2ed9', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: '6e8f95754b33b7b3f16d85121c3d66d18a3dbec6', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: '828bd37c6f8f5e8eb0c8b3707587f999974d2ccd', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: '3ef5fddce6e20cbf578117112f7038dba6dba8e0', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
544
544
  this.setClosed(true);
545
- }, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: 'e2a972b032f28e6e0347e2bd7aca7724e7a144a2', class: "digi-form-select__footer" }, h("div", { key: 'f8d44fff602afedb23b2f64b80d5bcaf7b15b49e', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'c91161db619777dbb192afa4b600732e39769208', "af-variation": this.afValidation }, this.afValidationText))))));
545
+ }, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: 'c19aa161c29be9caf7f311c7cdafbc4e4349648c', class: "digi-form-select__footer" }, h("div", { key: '061934f8086fea4e00fea101a5d9b7d2bd49ee2b', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'ae827efc04d969a67f3c7ebae9592678c6eb2e6e', "af-variation": this.afValidation }, this.afValidationText))))));
546
546
  }
547
547
  get hostElement() { return this; }
548
548
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormSelect extends Components.DigiFormSelect, HTMLElement {}
4
4
  export const DigiFormSelect: {
@@ -1,4 +1,4 @@
1
- import { F as FormSelect, d as defineCustomElement$1 } from './p-05a97800.js';
1
+ import { F as FormSelect, d as defineCustomElement$1 } from './p-cb20ea78.js';
2
2
 
3
3
  const DigiFormSelect = FormSelect;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormTextarea extends Components.DigiFormTextarea, HTMLElement {}
4
4
  export const DigiFormTextarea: {
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './p-e5abfc2d.js';
2
2
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
3
3
  import { a as FormTextareaVariation, F as FormTextareaValidation } from './p-9c5a93d8.js';
4
- import { d as defineCustomElement$6 } from './p-98765f91.js';
4
+ import { d as defineCustomElement$6 } from './p-504118d4.js';
5
5
  import { d as defineCustomElement$5 } from './p-49a67d97.js';
6
6
  import { d as defineCustomElement$4 } from './p-bd19f8cd.js';
7
7
  import { d as defineCustomElement$3 } from './p-e795bd84.js';
@@ -26,7 +26,6 @@ const FormTextarea = /*@__PURE__*/ proxyCustomElement(class FormTextarea extends
26
26
  this.hasActiveValidationMessage = false;
27
27
  this.dirty = false;
28
28
  this.touched = false;
29
- this.isEditing = false;
30
29
  this.afLabel = undefined;
31
30
  this.afLabelDescription = undefined;
32
31
  this.afVariation = FormTextareaVariation.MEDIUM;
@@ -82,15 +81,14 @@ const FormTextarea = /*@__PURE__*/ proxyCustomElement(class FormTextarea extends
82
81
  'digi-form-textarea--auto': this.afVariation === FormTextareaVariation.AUTO,
83
82
  'digi-form-textarea--neutral': this.afValidation === FormTextareaValidation.NEUTRAL,
84
83
  'digi-form-textarea--success': this.afValidation === FormTextareaValidation.SUCCESS,
85
- 'digi-form-textarea--error': !this.isEditing && this.afValidation === FormTextareaValidation.ERROR,
86
- 'digi-form-textarea--warning': !this.isEditing && this.afValidation === FormTextareaValidation.WARNING,
84
+ 'digi-form-textarea--error': this.afValidation === FormTextareaValidation.ERROR,
85
+ 'digi-form-textarea--warning': this.afValidation === FormTextareaValidation.WARNING,
87
86
  'digi-form-textarea--empty': !this.afValue &&
88
87
  (!this.afValidation ||
89
88
  this.afValidation === FormTextareaValidation.NEUTRAL)
90
89
  };
91
90
  }
92
91
  blurHandler(e) {
93
- this.isEditing = false;
94
92
  if (!this.touched) {
95
93
  this.afOnTouched.emit(e);
96
94
  this.touched = true;
@@ -120,10 +118,10 @@ const FormTextarea = /*@__PURE__*/ proxyCustomElement(class FormTextarea extends
120
118
  this.afOnInput.emit(e);
121
119
  }
122
120
  render() {
123
- return (h("div", { key: 'ca77f5d62dc794ff17223c0c914ef00d070d4845', class: Object.assign({ 'digi-form-textarea': true }, this.cssModifiers) }, h("div", { key: 'd155dcb5c0cb754cd76c557e9bc382836e3ef76a', class: "digi-form-textarea__label" }, h("digi-form-label", { key: '5c8d3b5b19417aa280812c2770cbb4cad2692969', afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText })), h("div", { key: 'dcddec6e31b9e97b9ba1d4109adf112af0a07b29', class: "digi-form-textarea__content" }, h("textarea", { key: 'c399e1aa0ef714c2a356edf6b538a71df1b27994', class: "digi-form-textarea__textarea", ref: (el) => (this._textarea = el), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onKeyDown: () => this.isEditing = true, onKeyUp: (e) => this.keyupHandler(e), onInput: (e) => this.inputHandler(e), "aria-activedescendant": this.afAriaActivedescendant, "aria-describedby": this.afAriaDescribedby, "aria-labelledby": this.afAriaLabelledby, "aria-invalid": this.afValidation === FormTextareaValidation.ERROR
121
+ return (h("div", { key: '4e161920de063a876f4f5c43dfa6944922eef59b', class: Object.assign({ 'digi-form-textarea': true }, this.cssModifiers) }, h("div", { key: '3ae923d8d252e998eccc232a0d0fee16175bf2ab', class: "digi-form-textarea__label" }, h("digi-form-label", { key: '302f582d624fe4680fd0b4dc381a35ab51c390b6', afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText })), h("div", { key: '8ab908ee5525be7edf84dc26c8844da4f2a8d43c', class: "digi-form-textarea__content" }, h("textarea", { key: '8bc1706df463f6d94d0a895691c33eca19dc2e0b', class: "digi-form-textarea__textarea", ref: (el) => (this._textarea = el), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onKeyUp: (e) => this.keyupHandler(e), onInput: (e) => this.inputHandler(e), "aria-activedescendant": this.afAriaActivedescendant, "aria-describedby": this.afAriaDescribedby, "aria-labelledby": this.afAriaLabelledby, "aria-invalid": this.afValidation === FormTextareaValidation.ERROR
124
122
  ? 'true'
125
- : 'false', maxLength: this.afMaxlength, minLength: this.afMinlength, role: this.afRole, required: this.afRequired, id: this.afId, name: this.afName, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null })), h("div", { key: '8954b122a04e741550553e5b5dc29145346501b3', class: "digi-form-textarea__footer" }, h("div", { key: '9540eee3c9c2aa70e0139b4b84f035494e9aee21', class: "digi-form-textarea__validation", "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, !this.isEditing && this.hasActiveValidationMessage &&
126
- this.afValidation != FormTextareaValidation.NEUTRAL && (h("digi-form-validation-message", { key: '350b51a7cd29627a53f2267a1726ad4917657cef', class: "digi-form-textarea__validation-message", "af-variation": this.afValidation }, this.afValidationText))))));
123
+ : 'false', maxLength: this.afMaxlength, minLength: this.afMinlength, role: this.afRole, required: this.afRequired, id: this.afId, name: this.afName, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null })), h("div", { key: 'b5267c63a67bc5b00f1b1e415230ebaca238beaf', class: "digi-form-textarea__footer" }, h("div", { key: '3306d1e5309d9a9dc0dcd72efb6d89b3f467b3eb', class: "digi-form-textarea__validation", "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.hasActiveValidationMessage &&
124
+ this.afValidation != FormTextareaValidation.NEUTRAL && (h("digi-form-validation-message", { key: '4fe2ef8decb98c91db107c4ed2db9cba5dbc0038', class: "digi-form-textarea__validation-message", "af-variation": this.afValidation }, this.afValidationText))))));
127
125
  }
128
126
  get hostElement() { return this; }
129
127
  static get watchers() { return {
@@ -156,7 +154,6 @@ const FormTextarea = /*@__PURE__*/ proxyCustomElement(class FormTextarea extends
156
154
  "hasActiveValidationMessage": [32],
157
155
  "dirty": [32],
158
156
  "touched": [32],
159
- "isEditing": [32],
160
157
  "afMGetFormControlElement": [64]
161
158
  }, undefined, {
162
159
  "value": ["onValueChanged"],
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiFormValidationMessage extends Components.DigiFormValidationMessage, HTMLElement {}
4
4
  export const DigiFormValidationMessage: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiHeaderAvatar extends Components.DigiHeaderAvatar, HTMLElement {}
4
4
  export const DigiHeaderAvatar: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiHeaderNavigationItem extends Components.DigiHeaderNavigationItem, HTMLElement {}
4
4
  export const DigiHeaderNavigationItem: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiHeaderNavigation extends Components.DigiHeaderNavigation, HTMLElement {}
4
4
  export const DigiHeaderNavigation: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiHeaderNotification extends Components.DigiHeaderNotification, HTMLElement {}
4
4
  export const DigiHeaderNotification: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiHeader extends Components.DigiHeader, HTMLElement {}
4
4
  export const DigiHeader: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconAccessibilityDeaf extends Components.DigiIconAccessibilityDeaf, HTMLElement {}
4
4
  export const DigiIconAccessibilityDeaf: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconAccessibilityUniversal extends Components.DigiIconAccessibilityUniversal, HTMLElement {}
4
4
  export const DigiIconAccessibilityUniversal: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconApple extends Components.DigiIconApple, HTMLElement {}
4
4
  export const DigiIconApple: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconArchiveOutline extends Components.DigiIconArchiveOutline, HTMLElement {}
4
4
  export const DigiIconArchiveOutline: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconArchive extends Components.DigiIconArchive, HTMLElement {}
4
4
  export const DigiIconArchive: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconArrowBack extends Components.DigiIconArrowBack, HTMLElement {}
4
4
  export const DigiIconArrowBack: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconArrowDown extends Components.DigiIconArrowDown, HTMLElement {}
4
4
  export const DigiIconArrowDown: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconArrowLeft extends Components.DigiIconArrowLeft, HTMLElement {}
4
4
  export const DigiIconArrowLeft: {
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../../../../libs/arbetsformedlingen/package/dist/types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface DigiIconArrowRight extends Components.DigiIconArrowRight, HTMLElement {}
4
4
  export const DigiIconArrowRight: {