@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
@@ -16,7 +16,6 @@ export class CalendarDatepicker {
16
16
  this.showDisabledDateError = false;
17
17
  this.showCalendar = false;
18
18
  this.userInput = '';
19
- this.isEditing = false;
20
19
  this.afId = randomIdGenerator('digi-calendar-datepicker');
21
20
  this.afLabel = _t.calendar.datepicker.label;
22
21
  this.afLabelDescription = _t.calendar.datepicker.description;
@@ -28,7 +27,7 @@ export class CalendarDatepicker {
28
27
  this.afValidationWrongFormat = _t.calendar.datepicker.validationWrongFormat;
29
28
  this.afValidationDisabledDate = _t.calendar.datepicker.validationDisabledDate;
30
29
  this.afRequired = undefined;
31
- this.afDisableValidation = undefined;
30
+ this.afDisableValidation = false;
32
31
  this.afRequiredText = undefined;
33
32
  this.afSelectedDates = [];
34
33
  this.afYearSelect = false;
@@ -38,6 +37,7 @@ export class CalendarDatepicker {
38
37
  this.afShowWeekNumber = false;
39
38
  this.afMultipleDates = false;
40
39
  this.afCloseOnSelect = false;
40
+ this.afOpenCalendarTo = undefined;
41
41
  }
42
42
  afDisableValidationChangeHandler(newVal) {
43
43
  if (!newVal) {
@@ -124,6 +124,10 @@ export class CalendarDatepicker {
124
124
  e.stopPropagation();
125
125
  }
126
126
  }
127
+ focusOnCalendarInput() {
128
+ const input = this.hostElement.querySelector(`#${this.afId}-datepicker input`);
129
+ input === null || input === void 0 ? void 0 : input.focus();
130
+ }
127
131
  focusOnCalendarButton() {
128
132
  const calendarButton = this.hostElement.querySelector(`#${this.afId}-button`);
129
133
  calendarButton.focus();
@@ -148,7 +152,7 @@ export class CalendarDatepicker {
148
152
  }
149
153
  parseInputString(value) {
150
154
  return value
151
- .split(/[&,]|och/g)
155
+ .split(new RegExp(`[&,]|${_t.and}`, 'g'))
152
156
  .map((text) => this.parseDateString(text.trim()));
153
157
  }
154
158
  resetValueAndState() {
@@ -175,8 +179,14 @@ export class CalendarDatepicker {
175
179
  validateInputAndShowErrors(dates) {
176
180
  this.showWrongFormatError = !!dates.find((date) => !isValid(date));
177
181
  this.showDisabledDateError = !!dates.find((date) => !this.isDateSelectable(date));
182
+ const inputIsValid = !this.showWrongFormatError && !this.showDisabledDateError;
178
183
  this.afOnValidationChange.emit({
179
- valid: !this.showWrongFormatError && !this.showDisabledDateError
184
+ isValid: inputIsValid,
185
+ validationText: inputIsValid
186
+ ? undefined
187
+ : this.showWrongFormatError
188
+ ? this.afValidationWrongFormat
189
+ : this.afValidationDisabledDate
180
190
  });
181
191
  }
182
192
  setValue(value) {
@@ -197,10 +207,22 @@ export class CalendarDatepicker {
197
207
  return;
198
208
  }
199
209
  let dates = this.parseInputString(newValue);
200
- if (this.afMultipleDates) {
210
+ // Single dates - acceptera inte flera datum inskrivna
211
+ if (!this.afDisableValidation &&
212
+ !this.afMultipleDates &&
213
+ dates.length > 1) {
214
+ this.showWrongFormatError = true;
215
+ this.afOnValidationChange.emit({
216
+ isValid: false,
217
+ validationText: this.afValidationWrongFormat
218
+ });
219
+ return;
220
+ }
221
+ // Multiple dates - filtrera bort dubbletter
222
+ if (!this.afDisableValidation && this.afMultipleDates) {
201
223
  const uniqueDates = this.removeDuplicateDates(dates);
202
224
  if (uniqueDates.length !== dates.length) {
203
- dates = this.removeDuplicateDates(uniqueDates);
225
+ dates = uniqueDates;
204
226
  this.userInput = this.datesToInputString(dates);
205
227
  }
206
228
  }
@@ -219,7 +241,7 @@ export class CalendarDatepicker {
219
241
  }
220
242
  this.userInput = '';
221
243
  this.setValue(evt.detail);
222
- this.afOnDisplayChange.emit(this.inputValue);
244
+ this.afOnDateChangeRawText.emit(this.inputValue);
223
245
  if (this.afCloseOnSelect) {
224
246
  this.toggleCalendar();
225
247
  this.focusOnCalendarButton();
@@ -312,7 +334,7 @@ export class CalendarDatepicker {
312
334
  datesToInputString(dates) {
313
335
  return dates.every((date) => date instanceof Date && !isNaN(date.getTime()))
314
336
  ? dates
315
- .map((date) => date.toLocaleDateString('sv-SE'))
337
+ .map((date) => date.toLocaleDateString(_t.locale))
316
338
  .flatMap((date, index, all) => {
317
339
  const isLast = index == all.length - 1;
318
340
  const isFirst = index === 0;
@@ -320,7 +342,7 @@ export class CalendarDatepicker {
320
342
  return date;
321
343
  }
322
344
  else if (isLast) {
323
- return [' och ', date];
345
+ return [` ${_t.and} `, date];
324
346
  }
325
347
  else {
326
348
  return [', ', date];
@@ -336,44 +358,37 @@ export class CalendarDatepicker {
336
358
  return this.afSelectedDates;
337
359
  }
338
360
  render() {
339
- return (h(Host, { key: '7498df7cd58780209c33cadaa0e65d8a935aa253' }, h("div", { key: 'edcf1672bb743fae4e802a8f73e30401139d89a1', class: Object.assign({ 'digi-calendar-datepicker': true }, this.cssModifiers), id: `${this.afId}-datepicker` }, h("div", { key: '8df4d331ce09fa8df6b333cd3a56f3dfd1b57af7', class: "digi-calendar-datepicker__input-field" }, h("digi-form-input", { key: 'cc59e5a03540fe01340f7ce46817f160868234e0', class: 'digi-calendar-datepicker__input-component', afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afName: this.afName, afValue: this.inputValue, afValidation: this.isEditing
340
- ? FormInputValidation.NEUTRAL
341
- : this.hasBuiltInValidationError()
342
- ? FormInputValidation.ERROR
343
- : this.afValidation, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, onAfOnChange: (evt) => {
361
+ return (h(Host, { key: '0e4fa182ae33ac82d440e3841f853e6328b67794' }, h("div", { key: '81e2d07ec330b4e2994e1fd86d693dcb5405410d', class: Object.assign({ 'digi-calendar-datepicker': true }, this.cssModifiers), id: `${this.afId}-datepicker` }, h("div", { key: 'a47c94fa8498d8f88caea31f725fd0294ea03ac2', class: "digi-calendar-datepicker__input-field" }, h("digi-form-input", { key: 'af7ad6bdec9ec1e45e11ff2ac06a51fdad7ea80a', class: 'digi-calendar-datepicker__input-component', afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afName: this.afName, afValue: this.inputValue, afValidation: this.hasBuiltInValidationError()
362
+ ? FormInputValidation.ERROR
363
+ : this.afValidation, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, onAfOnChange: (evt) => {
344
364
  evt.stopImmediatePropagation();
345
- this.isEditing = true;
346
365
  this.parseInput(evt);
347
366
  }, onAfOnBlur: (evt) => {
348
367
  evt.stopImmediatePropagation();
349
- this.isEditing = false;
350
- this.afOnDisplayChange.emit(this.inputValue);
351
- }, onKeyDown: () => {
352
- this.isEditing = true;
353
- } }, h("button", { key: '4a1200715cc96e9cf53a0fb07db6038031cf35cd', id: this.afId + '-button', class: "digi-calendar-datepicker__input-button", slot: "button", "aria-label": this.showCalendar
368
+ this.afOnDateChangeRawText.emit(this.inputValue);
369
+ }, onKeyDown: (e) => {
370
+ if (!this.showCalendar || e.key !== 'Tab' || !e.shiftKey)
371
+ return;
372
+ if (e.target.tagName !== 'INPUT')
373
+ return;
374
+ e.preventDefault();
375
+ const focusableDateButton = this.hostElement.querySelector('.digi-calendar__date[tabindex="0"]');
376
+ focusableDateButton === null || focusableDateButton === void 0 ? void 0 : focusableDateButton.focus();
377
+ } }, h("button", { key: 'fbd02f05da4d93f60a4c4d8b52adba311fc4a324', id: this.afId + '-button', class: "digi-calendar-datepicker__input-button", slot: "button", "aria-label": this.showCalendar
354
378
  ? this.afCloseCalendarAriaLabel
355
- : this.afOpenCalendarAriaLabel, "aria-controls": "calendar-popup", "aria-expanded": this.showCalendar ? 'true' : 'false', onClick: () => this.toggleCalendar(), type: "button" }, this.showCalendar ? (h("digi-icon-x", { class: "digi-calendar-datepicker__button-icon", slot: "icon" })) : (h("digi-icon-calendar-alt", { class: "digi-calendar-datepicker__button-icon", slot: "icon" }))))), h("div", { key: '5db4a77bf061632b589721796236f802f6d9b479', class: "digi-calendar-datepicker__calendar", id: "calendar-popup" }, h("p", { key: '830aa34e80ddd1c73bfc8c8592f3903b925703e5', role: "alert", class: "digi-calendar-datepicker__sr-instructions" }, this.showCalendar
379
+ : this.afOpenCalendarAriaLabel, "aria-controls": "calendar-popup", "aria-expanded": this.showCalendar ? 'true' : 'false', onClick: () => this.toggleCalendar(), type: "button" }, this.showCalendar ? (h("digi-icon-x", { class: "digi-calendar-datepicker__button-icon", slot: "icon" })) : (h("digi-icon-calendar-alt", { class: "digi-calendar-datepicker__button-icon", slot: "icon" }))))), h("div", { key: '07bed93717efb5bf1dba04ce61f2006403a860d2', class: "digi-calendar-datepicker__calendar", id: "calendar-popup" }, h("p", { key: '8fc156658ea084cf2291149f2f4c6a7a246b731f', role: "alert", class: "digi-calendar-datepicker__sr-instructions" }, this.showCalendar
356
380
  ? `${_t.calendar.screenReaderInstructions}${this.screenReaderUpdateTrigger ? '\u200B' : ''}`
357
- : ''), h("digi-calendar", { key: '12a2735b8811e53b618087004e9288fe2e9b8af2', afActive: this.showCalendar, afShowWeekNumber: this.afShowWeekNumber, afMultipleDates: this.afMultipleDates, afYearSelect: this.afYearSelect, afSelectedDates: this.getSelectedDates, afMinDate: this.afMinDate, afMaxDate: this.afMaxDate, "aria-hidden": !this.showCalendar, onAfOnDateSelectedChange: (evt) => {
381
+ : ''), h("digi-calendar", { key: '0cf7d10740ad6be29431c366127893741184544d', afActive: this.showCalendar, afShowWeekNumber: this.afShowWeekNumber, afMultipleDates: this.afMultipleDates, afYearSelect: this.afYearSelect, afSelectedDates: this.getSelectedDates, afMinDate: this.afMinDate, afMaxDate: this.afMaxDate, "aria-hidden": !this.showCalendar, afOpenCalendarTo: this.afOpenCalendarTo, onAfOnDateSelectedChange: (evt) => {
358
382
  evt.stopImmediatePropagation();
359
383
  this.parseCalendar(evt);
360
- }, onAfOnFocusOutside: (evt) => {
361
- if (this.showCalendar) {
362
- const relatedTarget = evt.detail.relatedTarget;
363
- if (!relatedTarget)
364
- return;
365
- evt.preventDefault();
366
- const isDateButton = relatedTarget.classList.contains('digi-calendar__date');
367
- const isToggleButton = relatedTarget.id === `${this.afId}-button`;
368
- if (isDateButton) {
369
- this.focusOnCalendarButton();
370
- }
371
- else if (isToggleButton) {
372
- const focusableDateButton = this.hostElement.querySelector('.digi-calendar__date[tabindex="0"]');
373
- focusableDateButton === null || focusableDateButton === void 0 ? void 0 : focusableDateButton.focus();
374
- }
375
- }
376
- } })), this.afCloseOnSelect && !this.afMultipleDates && (h("div", { key: 'e05fb1b11b44ad4c4f5c7ad452aa7f7e548f8db5', class: "digi-calendar-datepicker__selected-date-alert", role: "alert" }, this.afSelectedDates.length > 0
384
+ }, onKeyDown: (e) => {
385
+ if (!this.showCalendar || e.key !== 'Tab' || e.shiftKey)
386
+ return;
387
+ if (!e.target.classList.contains('digi-calendar__date'))
388
+ return;
389
+ e.preventDefault();
390
+ this.focusOnCalendarInput();
391
+ } })), this.afCloseOnSelect && !this.afMultipleDates && (h("div", { key: 'ba8d4fb43fc1c54cc417e48c42c47264e2731e74', class: "digi-calendar-datepicker__selected-date-alert", role: "alert" }, this.afSelectedDates.length > 0
377
392
  ? `${_t.calendar.datepicker.selectedDate}: ${this.datesToInputString(this.afSelectedDates)}`
378
393
  : '')))));
379
394
  }
@@ -404,9 +419,9 @@ export class CalendarDatepicker {
404
419
  "docs": {
405
420
  "tags": [{
406
421
  "name": "en",
407
- "text": "Sets an id attribute. Standard \u00E4r slumpm\u00E4ssig str\u00E4ng."
422
+ "text": "Sets an id attribute for the input field, and serves as the base for other ids in the component"
408
423
  }],
409
- "text": "S\u00E4tter ett id attribut."
424
+ "text": "S\u00E4tter attributet id f\u00F6r inputf\u00E4ltet, och utg\u00F6r basen f\u00F6r andra id:n i komponenten"
410
425
  },
411
426
  "getter": false,
412
427
  "setter": false,
@@ -429,7 +444,7 @@ export class CalendarDatepicker {
429
444
  "name": "en",
430
445
  "text": "The label text"
431
446
  }],
432
- "text": "Texten till labelelementet"
447
+ "text": "Texten till etiketten"
433
448
  },
434
449
  "getter": false,
435
450
  "setter": false,
@@ -452,7 +467,7 @@ export class CalendarDatepicker {
452
467
  "name": "en",
453
468
  "text": "Optional description text"
454
469
  }],
455
- "text": "Valfri beskrivande text"
470
+ "text": "Beskrivande text som b\u00F6r beskriva det f\u00F6rv\u00E4ntade formatet och/eller andra krav"
456
471
  },
457
472
  "getter": false,
458
473
  "setter": false,
@@ -473,9 +488,9 @@ export class CalendarDatepicker {
473
488
  "docs": {
474
489
  "tags": [{
475
490
  "name": "en",
476
- "text": "Sets the 'name' attribute on the inner input element."
491
+ "text": "Sets the 'name' attribute on the inner input element"
477
492
  }],
478
- "text": "S\u00E4tter attributet 'name' p\u00E5 det inre input-elementet."
493
+ "text": "S\u00E4tter attributet 'name' p\u00E5 det inre input-elementet"
479
494
  },
480
495
  "getter": false,
481
496
  "setter": false,
@@ -570,9 +585,9 @@ export class CalendarDatepicker {
570
585
  "docs": {
571
586
  "tags": [{
572
587
  "name": "en",
573
- "text": "Set input validation message"
588
+ "text": "Set input validation message for custom validation"
574
589
  }],
575
- "text": "S\u00E4tter valideringsmeddelandet"
590
+ "text": "S\u00E4tter valideringsmeddelandet f\u00F6r egen validering"
576
591
  },
577
592
  "getter": false,
578
593
  "setter": false,
@@ -592,9 +607,9 @@ export class CalendarDatepicker {
592
607
  "docs": {
593
608
  "tags": [{
594
609
  "name": "en",
595
- "text": "Set input validation message"
610
+ "text": "Set input validation message for the built-in format validation"
596
611
  }],
597
- "text": "S\u00E4tter valideringsmeddelandet"
612
+ "text": "S\u00E4tter valideringsmeddelandet f\u00F6r den inbyggda formatvalideringen"
598
613
  },
599
614
  "getter": false,
600
615
  "setter": false,
@@ -615,9 +630,9 @@ export class CalendarDatepicker {
615
630
  "docs": {
616
631
  "tags": [{
617
632
  "name": "en",
618
- "text": "Set input validation message"
633
+ "text": "Set input validation message for the built-in min/max date validation"
619
634
  }],
620
- "text": "S\u00E4tter valideringsmeddelandet"
635
+ "text": "S\u00E4tter valideringsmeddelandet f\u00F6r den inbyggda valideringen av min/max-datum"
621
636
  },
622
637
  "getter": false,
623
638
  "setter": false,
@@ -640,7 +655,7 @@ export class CalendarDatepicker {
640
655
  "name": "en",
641
656
  "text": "Input required attribute"
642
657
  }],
643
- "text": "S\u00E4tter attributet 'required'."
658
+ "text": "S\u00E4tter attributet 'required'"
644
659
  },
645
660
  "getter": false,
646
661
  "setter": false,
@@ -660,14 +675,15 @@ export class CalendarDatepicker {
660
675
  "docs": {
661
676
  "tags": [{
662
677
  "name": "en",
663
- "text": "Set this to true to disable internal validation."
678
+ "text": "Set this to true to disable internal validation"
664
679
  }],
665
- "text": "S\u00E4tt denna till true f\u00F6r att st\u00E4nga av komponentens egna validering."
680
+ "text": "S\u00E4tt denna till true f\u00F6r att st\u00E4nga av komponentens egna validering"
666
681
  },
667
682
  "getter": false,
668
683
  "setter": false,
669
684
  "attribute": "af-disable-validation",
670
- "reflect": false
685
+ "reflect": false,
686
+ "defaultValue": "false"
671
687
  },
672
688
  "afRequiredText": {
673
689
  "type": "string",
@@ -682,9 +698,9 @@ export class CalendarDatepicker {
682
698
  "docs": {
683
699
  "tags": [{
684
700
  "name": "en",
685
- "text": "Set text for afRequired."
701
+ "text": "Set text for afRequired"
686
702
  }],
687
- "text": "S\u00E4tter text f\u00F6r afRequired."
703
+ "text": "S\u00E4tter text f\u00F6r afRequired"
688
704
  },
689
705
  "getter": false,
690
706
  "setter": false,
@@ -840,9 +856,9 @@ export class CalendarDatepicker {
840
856
  "docs": {
841
857
  "tags": [{
842
858
  "name": "en",
843
- "text": "Show week number in the calander. Default is false"
859
+ "text": "Show week number in the calander."
844
860
  }],
845
- "text": "Visa veckonummer i kalender. F\u00F6rvalt \u00E4r false"
861
+ "text": "Visa veckonummer i kalender"
846
862
  },
847
863
  "getter": false,
848
864
  "setter": false,
@@ -863,9 +879,9 @@ export class CalendarDatepicker {
863
879
  "docs": {
864
880
  "tags": [{
865
881
  "name": "en",
866
- "text": "Set this to true to be able to select multiple dates in the calander. Default is false"
882
+ "text": "Set this to true to be able to select multiple dates in the calander"
867
883
  }],
868
- "text": "S\u00E4tt denna till true f\u00F6r att kunna markera mer en ett datum i kalendern. F\u00F6rvalt \u00E4r false"
884
+ "text": "S\u00E4tt denna till true f\u00F6r att kunna markera mer en ett datum i kalendern"
869
885
  },
870
886
  "getter": false,
871
887
  "setter": false,
@@ -886,15 +902,40 @@ export class CalendarDatepicker {
886
902
  "docs": {
887
903
  "tags": [{
888
904
  "name": "en",
889
- "text": "Set this to true if the calendar should close when a date is selected. Default is false"
905
+ "text": "Set this to true if the calendar should close when a date is selected"
890
906
  }],
891
- "text": "S\u00E4tt denna till true om kalendern ska st\u00E4ngas n\u00E4r anv\u00E4ndaren v\u00E4ljer ett datum. F\u00F6rvalt \u00E4r false"
907
+ "text": "S\u00E4tt denna till true om kalendern ska st\u00E4ngas n\u00E4r anv\u00E4ndaren v\u00E4ljer ett datum"
892
908
  },
893
909
  "getter": false,
894
910
  "setter": false,
895
911
  "attribute": "af-close-on-select",
896
912
  "reflect": false,
897
913
  "defaultValue": "false"
914
+ },
915
+ "afOpenCalendarTo": {
916
+ "type": "unknown",
917
+ "mutable": false,
918
+ "complexType": {
919
+ "original": "Date",
920
+ "resolved": "Date",
921
+ "references": {
922
+ "Date": {
923
+ "location": "global",
924
+ "id": "global::Date"
925
+ }
926
+ }
927
+ },
928
+ "required": false,
929
+ "optional": false,
930
+ "docs": {
931
+ "tags": [{
932
+ "name": "en",
933
+ "text": "Controls which month is shown from start, and which date button is the entry point for keyboard navigation. If not provided, selected date or today's date is used."
934
+ }],
935
+ "text": "Styr vilken m\u00E5nad som visas fr\u00E5n start, samt vilken datumknapp som \u00E4r ing\u00E5ngspunkt f\u00F6r tangentbordsnavigering. Om inte angiven anv\u00E4nds valt datum eller dagens datum."
936
+ },
937
+ "getter": false,
938
+ "setter": false
898
939
  }
899
940
  };
900
941
  }
@@ -903,8 +944,7 @@ export class CalendarDatepicker {
903
944
  "showWrongFormatError": {},
904
945
  "showDisabledDateError": {},
905
946
  "showCalendar": {},
906
- "userInput": {},
907
- "isEditing": {}
947
+ "userInput": {}
908
948
  };
909
949
  }
910
950
  static get events() {
@@ -917,9 +957,9 @@ export class CalendarDatepicker {
917
957
  "docs": {
918
958
  "tags": [{
919
959
  "name": "en",
920
- "text": "Sends the value as an array of Date objects when the date is updated."
960
+ "text": "Sends the value as an array of Date objects when the date is updated"
921
961
  }],
922
- "text": "Skickar v\u00E4rdet som en array av Date-objekt n\u00E4r datumet uppdateras."
962
+ "text": "Skickar v\u00E4rdet som en array av Date-objekt n\u00E4r datumet uppdateras"
923
963
  },
924
964
  "complexType": {
925
965
  "original": "Date[]",
@@ -932,17 +972,17 @@ export class CalendarDatepicker {
932
972
  }
933
973
  }
934
974
  }, {
935
- "method": "afOnDisplayChange",
936
- "name": "afOnDisplayChange",
975
+ "method": "afOnDateChangeRawText",
976
+ "name": "afOnDateChangeRawText",
937
977
  "bubbles": true,
938
978
  "cancelable": true,
939
979
  "composed": true,
940
980
  "docs": {
941
981
  "tags": [{
942
982
  "name": "en",
943
- "text": "Sends the string displayed in the input field when the date is updated."
983
+ "text": "Sends the string displayed in the input field when the date is updated"
944
984
  }],
945
- "text": "Skickar str\u00E4ngen som visas i inputf\u00E4ltet n\u00E4r datumet uppdateras."
985
+ "text": "Skickar str\u00E4ngen som visas i inputf\u00E4ltet n\u00E4r datumet uppdateras"
946
986
  },
947
987
  "complexType": {
948
988
  "original": "string",
@@ -958,13 +998,13 @@ export class CalendarDatepicker {
958
998
  "docs": {
959
999
  "tags": [{
960
1000
  "name": "en",
961
- "text": "Emits validation status as a boolean when validation occurs."
1001
+ "text": "Emits the validation result"
962
1002
  }],
963
- "text": "Skickar valideringsstatus som en boolean n\u00E4r validering sker."
1003
+ "text": "Skickar resultatet n\u00E4r validering sker"
964
1004
  },
965
1005
  "complexType": {
966
- "original": "{ valid: boolean }",
967
- "resolved": "{ valid: boolean; }",
1006
+ "original": "{\n isValid: boolean;\n validationText?: string;\n }",
1007
+ "resolved": "{ isValid: boolean; validationText?: string; }",
968
1008
  "references": {}
969
1009
  }
970
1010
  }];
@@ -92,7 +92,7 @@ export class FormCategoryFilter {
92
92
  this.afHideToggle = !this.toggleHidden;
93
93
  }
94
94
  render() {
95
- return (h(Host, { key: '4098c877261aa9b69dbfc0969d7d4b99a8ebe5f3' }, h("div", { key: '0907f7f36b12cd3324cae1ea48bd06f2da91012c', class: {
95
+ return (h(Host, { key: '1116adb138d4455a8946696bd148de4470fc8278' }, h("div", { key: '888f3e8c1133706105581a7a89966ef93ccad0c9', class: {
96
96
  'digi-form-category-filter': true
97
97
  } }, this.displayCategories().map((category) => (h("digi-button", { class: {
98
98
  'digi-form-category-filter--category': true,
@@ -100,7 +100,7 @@ export class FormCategoryFilter {
100
100
  }, afVariation: "primary", afAriaPressed: this.selectedCategories.includes(category.name), onAfOnClick: () => {
101
101
  this.toggleCategory(category);
102
102
  } }, 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 &&
103
- this.afCategories.length > this.afVisibleCollapsed && (h("div", { key: 'e6e524d7840a99cf360b9a2bb3c7967617b2de6d' }, h("digi-button", { key: '66a292db85e82ba5eafbf7ada307395ff777876b', afVariation: "function", afAriaExpanded: !this.collapsed, onClick: () => {
103
+ this.afCategories.length > this.afVisibleCollapsed && (h("div", { key: 'b717e98f7a11951d09332be733c9f42ffce092df' }, h("digi-button", { key: '405ae252571b1702e02db338cf0137955f1cbef6', afVariation: "function", afAriaExpanded: !this.collapsed, onClick: () => {
104
104
  this.toggleCollapsed();
105
105
  } }, 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" }))))))));
106
106
  }
@@ -162,9 +162,9 @@ export class FormCategoryFilter {
162
162
  "docs": {
163
163
  "tags": [{
164
164
  "name": "en",
165
- "text": "If the list should start with a 'All categories' category"
165
+ "text": "If the list should start with a button for 'All categories'"
166
166
  }],
167
- "text": "Ifall listan ska b\u00F6rja med en 'Alla kategorier' kategori"
167
+ "text": "Ifall listan ska b\u00F6rja med en knapp f\u00F6r 'Alla kategorier'"
168
168
  },
169
169
  "getter": false,
170
170
  "setter": false,
@@ -185,9 +185,9 @@ export class FormCategoryFilter {
185
185
  "docs": {
186
186
  "tags": [{
187
187
  "name": "en",
188
- "text": "If the 'All categories' category should start selected"
188
+ "text": "If the 'All categories' category should be selected from start"
189
189
  }],
190
- "text": "Ifall 'Alla kategorier' kategorin ska b\u00F6rja vald"
190
+ "text": "Ifall 'Alla kategorier' kategorin ska vara vald fr\u00E5n start"
191
191
  },
192
192
  "getter": false,
193
193
  "setter": false,
@@ -210,7 +210,7 @@ export class FormCategoryFilter {
210
210
  "name": "en",
211
211
  "text": "The name of the 'All categories' category"
212
212
  }],
213
- "text": "Namnet p\u00E5 'Alla kategorier' kategorin"
213
+ "text": "Namnet p\u00E5 'Alla kategorier'-kategorin"
214
214
  },
215
215
  "getter": false,
216
216
  "setter": false,
@@ -254,9 +254,9 @@ export class FormCategoryFilter {
254
254
  "docs": {
255
255
  "tags": [{
256
256
  "name": "en",
257
- "text": "If the list should start out collapsed"
257
+ "text": "If the list should be collapsed from start"
258
258
  }],
259
- "text": "Ifall listan ska var kollapsad fr\u00E5n b\u00F6rjan"
259
+ "text": "Ifall listan ska vara kollapsad fr\u00E5n b\u00F6rjan"
260
260
  },
261
261
  "getter": false,
262
262
  "setter": false,
@@ -300,9 +300,9 @@ export class FormCategoryFilter {
300
300
  "docs": {
301
301
  "tags": [{
302
302
  "name": "en",
303
- "text": "Show all categories and hide button to \"visa fler\"/\"visa f\u00E4rre\""
303
+ "text": "Show all categories and hide button to show more/fewer"
304
304
  }],
305
- "text": "Visa alla kategorier och d\u00F6lj knappen f\u00F6r att \"visa fler/visa f\u00E4rre"
305
+ "text": "Visa alla kategorier och d\u00F6lj knappen f\u00F6r att visa fler/f\u00E4rre"
306
306
  },
307
307
  "getter": false,
308
308
  "setter": false,
@@ -333,8 +333,8 @@ export class FormCategoryFilter {
333
333
  "text": "Sker vid \u00E4ndrade valda kategorier"
334
334
  },
335
335
  "complexType": {
336
- "original": "any",
337
- "resolved": "any",
336
+ "original": "string[]",
337
+ "resolved": "string[]",
338
338
  "references": {}
339
339
  }
340
340
  }];
@@ -547,18 +547,18 @@ export class FormFileUpload {
547
547
  'digi-form-file-upload__upload-area': true,
548
548
  'digi-form-file-upload__upload-area--hover': this.fileHover
549
549
  }, 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 &&
550
- 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) => {
550
+ 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) => {
551
551
  this._uploadButton = el;
552
552
  }, onClick: (e) => this.handleInputClick(e), class: "digi-form-file-upload__button hidden_mobile", style: {
553
553
  margin: '0'
554
- } }, h("digi-icon-paperclip", { key: 'a439e424f83e4ea197215a3812459882c322678b', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
554
+ } }, h("digi-icon-paperclip", { key: '16567976f7f354917cfe2c28046dcb99f302c828', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
555
555
  ? this.afUploadBtnText
556
- : _t.form.file_choose), h("input", { key: 'd194bb6becbe173f833634a4484a4542c5dfabb1', ref: (el) => {
556
+ : _t.form.file_choose), h("input", { key: '2bd5c1af11f38d32964c46a89fd31b04908d3de5', ref: (el) => {
557
557
  this._input = el;
558
- }, 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 &&
559
- _t.form.file_dropzone))), h("p", { key: '85f16b73106ab1221a98591d01ee0157081d3778', class: "visually-hidden", role: "alert", "aria-atomic": "true", ref: (el) => {
558
+ }, 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 &&
559
+ _t.form.file_dropzone))), h("p", { key: '82c7c35bc1ad2766687ba683c3f3b14836a74515', class: "visually-hidden", role: "alert", "aria-atomic": "true", ref: (el) => {
560
560
  this._srTextContainer = el;
561
- } }), (this.files.length > 0 || this.error) && (h("div", { key: 'eff456a01f0c09f4f6c1a80c76f3537e487d3fb2', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
561
+ } }), (this.files.length > 0 || this.error) && (h("div", { key: 'df0c06072fd8df4cd77eca15f67a046fca028a07', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
562
562
  }
563
563
  static get is() { return "digi-form-file-upload"; }
564
564
  static get encapsulation() { return "scoped"; }
@@ -18,7 +18,6 @@ export class FormInput {
18
18
  this.hasButton = undefined;
19
19
  this.dirty = false;
20
20
  this.touched = false;
21
- this.isEditing = false;
22
21
  this.afLabel = undefined;
23
22
  this.afLabelDescription = undefined;
24
23
  this.afType = FormInputType.TEXT;
@@ -57,6 +56,9 @@ export class FormInput {
57
56
  }
58
57
  onAfValueChanged(value) {
59
58
  this.value = value;
59
+ if (this._input && this._input.value !== String(value !== null && value !== void 0 ? value : '')) {
60
+ this._input.value = String(value !== null && value !== void 0 ? value : '');
61
+ }
60
62
  }
61
63
  afValidationTextWatch() {
62
64
  this.setActiveValidationMessage();
@@ -89,8 +91,8 @@ export class FormInput {
89
91
  'digi-form-input--large': this.afVariation === FormInputVariation.LARGE,
90
92
  'digi-form-input--neutral': this.afValidation === FormInputValidation.NEUTRAL,
91
93
  'digi-form-input--success': this.afValidation === FormInputValidation.SUCCESS,
92
- 'digi-form-input--error': !this.isEditing && this.afValidation === FormInputValidation.ERROR,
93
- 'digi-form-input--warning': !this.isEditing && this.afValidation === FormInputValidation.WARNING,
94
+ 'digi-form-input--error': this.afValidation === FormInputValidation.ERROR,
95
+ 'digi-form-input--warning': this.afValidation === FormInputValidation.WARNING,
94
96
  [`digi-form-input--button-variation-${this.afButtonVariation}`]: !!this.afButtonVariation,
95
97
  [`digi-form-input--has-button-${this.hasButton}`]: true,
96
98
  'digi-form-input--empty': !this.afValue &&
@@ -122,7 +124,6 @@ export class FormInput {
122
124
  this.afOnTouched.emit(e);
123
125
  this.touched = true;
124
126
  }
125
- this.isEditing = false;
126
127
  this.afOnBlur.emit(e);
127
128
  }
128
129
  changeHandler(e) {
@@ -154,10 +155,10 @@ export class FormInput {
154
155
  this.hasButton = !!this.hostElement.querySelector('[slot="button"]');
155
156
  }
156
157
  render() {
157
- return (h("div", { key: 'def034db4be8dcec58d6ee59c6ad9f5638cbc476', class: Object.assign({ 'digi-form-input': true }, this.cssModifiers) }, h("digi-form-label", { key: 'e461f9dd36690fc2aa08914972adcb8805121479', class: "digi-form-input__label", afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("div", { key: 'a986a18060e89a646e68e2e45bbc73d189bd5573', class: "digi-form-input__input-wrapper" }, h("input", Object.assign({ key: 'cb5e252a4bd3dab8f408c110ad0c37b0c5997129', class: "digi-form-input__input", ref: (el) => (this._input = 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-autocomplete": this.afAriaAutocomplete, "aria-invalid": this.afValidation === FormInputValidation.ERROR ? 'true' : 'false', "aria-controls": this.afAriaControls, autocomplete: this.afAutocomplete, autofocus: this.afAutofocus ? this.afAutofocus : null, maxLength: this.afMaxlength, minLength: this.afMinlength, max: this.afMax, min: this.afMin, step: this.afStep, list: this.afList, role: this.afRole, dirName: this.afDirname, required: this.afRequired, id: this.afId, name: this.afName, type: this.afType, value: this.afValue }, (this.afInputmode == FormInputMode.DEFAULT
158
+ return (h("div", { key: '6309c6b61d95e8a96c724c1493daac592aa79f81', class: Object.assign({ 'digi-form-input': true }, this.cssModifiers) }, h("digi-form-label", { key: '3ef5a2a1251e0e3c1c99a761482c4ec5ff634430', class: "digi-form-input__label", afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("div", { key: 'ebcb01079c78738339e5317cf9239f1a89e31921', class: "digi-form-input__input-wrapper" }, h("input", Object.assign({ key: '6ec3288227014624b27d7d10797fb7fde4c47f26', class: "digi-form-input__input", ref: (el) => (this._input = 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-autocomplete": this.afAriaAutocomplete, "aria-invalid": this.afValidation === FormInputValidation.ERROR ? 'true' : 'false', "aria-controls": this.afAriaControls, autocomplete: this.afAutocomplete, autofocus: this.afAutofocus ? this.afAutofocus : null, maxLength: this.afMaxlength, minLength: this.afMinlength, max: this.afMax, min: this.afMin, step: this.afStep, list: this.afList, role: this.afRole, dirName: this.afDirname, required: this.afRequired, id: this.afId, name: this.afName, type: this.afType, value: this.afValue }, (this.afInputmode == FormInputMode.DEFAULT
158
159
  ? {}
159
- : { inputmode: this.afInputmode }))), h("slot", { key: '8a16fed00c0d4b8be2bb3f6e42cb11a920439e8c', name: "button" })), h("div", { key: '02415ad4300e58dfc8693fe4f16738cf822936a7', class: "digi-form-input__footer" }, h("div", { key: '8c3ffd5dfefa5303897d832b204d6b14a0a11f30', class: "digi-form-input__validation", "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, !this.isEditing && this.hasActiveValidationMessage &&
160
- this.afValidation != FormInputValidation.NEUTRAL && (h("digi-form-validation-message", { key: '931d4f21777a7013164adeb51e3008d9aeebce6a', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText))))));
160
+ : { inputmode: this.afInputmode }))), h("slot", { key: '0da5dfcd73e997a16bf3be18b4cbd3651cab7ebb', name: "button" })), h("div", { key: '4f24b7c3b070e5f8fbe4396d38865c1afa59709e', class: "digi-form-input__footer" }, h("div", { key: 'f0b6ee56051886efbecf82c136338c42130d80d8', class: "digi-form-input__validation", "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.hasActiveValidationMessage &&
161
+ this.afValidation != FormInputValidation.NEUTRAL && (h("digi-form-validation-message", { key: '0f00497d0bf3c0da8a11f60fbdb302c11b41e8aa', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText))))));
161
162
  }
162
163
  static get is() { return "digi-form-input"; }
163
164
  static get encapsulation() { return "scoped"; }
@@ -924,8 +925,7 @@ export class FormInput {
924
925
  "hasActiveValidationMessage": {},
925
926
  "hasButton": {},
926
927
  "dirty": {},
927
- "touched": {},
928
- "isEditing": {}
928
+ "touched": {}
929
929
  };
930
930
  }
931
931
  static get events() {