@designsystem-se/af 36.0.3 → 37.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (496) 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-button.d.ts +1 -1
  5. package/components/digi-calendar-datepicker.d.ts +1 -1
  6. package/components/digi-calendar-week-view.d.ts +1 -1
  7. package/components/digi-calendar.d.ts +1 -1
  8. package/components/digi-chart-line.d.ts +1 -1
  9. package/components/digi-code-block.d.ts +1 -1
  10. package/components/digi-code-example.d.ts +1 -1
  11. package/components/digi-code-example.js +1 -1
  12. package/components/digi-code.d.ts +1 -1
  13. package/components/digi-context-menu.d.ts +1 -1
  14. package/components/digi-dialog.d.ts +1 -1
  15. package/components/digi-expandable-accordion.d.ts +1 -1
  16. package/components/digi-expandable-faq-item.d.ts +1 -1
  17. package/components/digi-expandable-faq.d.ts +1 -1
  18. package/components/digi-footer-card.d.ts +1 -1
  19. package/components/digi-footer.d.ts +1 -1
  20. package/components/digi-form-category-filter.d.ts +1 -1
  21. package/components/digi-form-checkbox.d.ts +1 -1
  22. package/components/digi-form-checkbox.js +1 -1
  23. package/components/digi-form-error-list.d.ts +1 -1
  24. package/components/digi-form-error-list.js +2 -2
  25. package/components/digi-form-fieldset.d.ts +1 -1
  26. package/components/digi-form-file-upload.d.ts +1 -1
  27. package/components/digi-form-filter.d.ts +1 -1
  28. package/components/digi-form-filter.js +1 -1
  29. package/components/digi-form-input-search.d.ts +1 -1
  30. package/components/digi-form-input.d.ts +1 -1
  31. package/components/digi-form-label.d.ts +1 -1
  32. package/components/digi-form-radiobutton.d.ts +1 -1
  33. package/components/digi-form-radiogroup.d.ts +1 -1
  34. package/components/digi-form-receipt.d.ts +1 -1
  35. package/components/digi-form-select-filter.d.ts +1 -1
  36. package/components/digi-form-select.d.ts +1 -1
  37. package/components/digi-form-textarea.d.ts +1 -1
  38. package/components/digi-form-textarea.js +15 -3
  39. package/components/digi-form-validation-message.d.ts +1 -1
  40. package/components/digi-header-avatar.d.ts +1 -1
  41. package/components/digi-header-avatar.js +1 -1
  42. package/components/digi-header-navigation-item.d.ts +1 -1
  43. package/components/digi-header-navigation.d.ts +1 -1
  44. package/components/digi-header-notification.d.ts +1 -1
  45. package/components/digi-header.d.ts +1 -1
  46. package/components/digi-header.js +3 -3
  47. package/components/digi-icon-accessibility-deaf.d.ts +1 -1
  48. package/components/digi-icon-accessibility-universal.d.ts +1 -1
  49. package/components/digi-icon-apple.d.ts +1 -1
  50. package/components/digi-icon-archive-outline.d.ts +1 -1
  51. package/components/digi-icon-archive.d.ts +1 -1
  52. package/components/digi-icon-arrow-back.d.ts +1 -1
  53. package/components/digi-icon-arrow-down.d.ts +1 -1
  54. package/components/digi-icon-arrow-left.d.ts +1 -1
  55. package/components/digi-icon-arrow-right.d.ts +1 -1
  56. package/components/digi-icon-arrow-sign-in.d.ts +1 -1
  57. package/components/digi-icon-arrow-sign-out.d.ts +1 -1
  58. package/components/digi-icon-arrow-up.d.ts +1 -1
  59. package/components/digi-icon-at.d.ts +1 -1
  60. package/components/digi-icon-bars.d.ts +1 -1
  61. package/components/digi-icon-bell-filled.d.ts +1 -1
  62. package/components/digi-icon-bell.d.ts +1 -1
  63. package/components/digi-icon-book.d.ts +1 -1
  64. package/components/digi-icon-bookmark-outline.d.ts +1 -1
  65. package/components/digi-icon-bookmark-solid.d.ts +1 -1
  66. package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
  67. package/components/digi-icon-bubble.d.ts +1 -1
  68. package/components/digi-icon-building-outline.d.ts +1 -1
  69. package/components/digi-icon-building-solid.d.ts +1 -1
  70. package/components/digi-icon-bullseye.d.ts +1 -1
  71. package/components/digi-icon-calculator-solid.d.ts +1 -1
  72. package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
  73. package/components/digi-icon-calendar-alt.d.ts +1 -1
  74. package/components/digi-icon-calendar.d.ts +1 -1
  75. package/components/digi-icon-caret-circle-right.d.ts +1 -1
  76. package/components/digi-icon-caret-down.d.ts +1 -1
  77. package/components/digi-icon-caret-left.d.ts +1 -1
  78. package/components/digi-icon-caret-right.d.ts +1 -1
  79. package/components/digi-icon-caret-up.d.ts +1 -1
  80. package/components/digi-icon-chart.d.ts +1 -1
  81. package/components/digi-icon-chat.d.ts +1 -1
  82. package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
  83. package/components/digi-icon-check-circle-solid.d.ts +1 -1
  84. package/components/digi-icon-check.d.ts +1 -1
  85. package/components/digi-icon-checklist.d.ts +1 -1
  86. package/components/digi-icon-chevron-down.d.ts +1 -1
  87. package/components/digi-icon-chevron-left.d.ts +1 -1
  88. package/components/digi-icon-chevron-right.d.ts +1 -1
  89. package/components/digi-icon-chevron-up.d.ts +1 -1
  90. package/components/digi-icon-clock.d.ts +1 -1
  91. package/components/digi-icon-communication-play-solid.d.ts +1 -1
  92. package/components/digi-icon-compress-alt.d.ts +1 -1
  93. package/components/digi-icon-comunication-case.d.ts +1 -1
  94. package/components/digi-icon-comunication-flag.d.ts +1 -1
  95. package/components/digi-icon-comunication-graduate.d.ts +1 -1
  96. package/components/digi-icon-comunication-play.d.ts +1 -1
  97. package/components/digi-icon-cooperation.d.ts +1 -1
  98. package/components/digi-icon-copy.d.ts +1 -1
  99. package/components/digi-icon-danger-outline.d.ts +1 -1
  100. package/components/digi-icon-download.d.ts +1 -1
  101. package/components/digi-icon-dxa.d.ts +1 -1
  102. package/components/digi-icon-edit.d.ts +1 -1
  103. package/components/digi-icon-ellipsis.d.ts +1 -1
  104. package/components/digi-icon-envelope-filled.d.ts +1 -1
  105. package/components/digi-icon-envelope.d.ts +1 -1
  106. package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
  107. package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
  108. package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
  109. package/components/digi-icon-exclamation-triangle.d.ts +1 -1
  110. package/components/digi-icon-expand-alt.d.ts +1 -1
  111. package/components/digi-icon-external-link-alt.d.ts +1 -1
  112. package/components/digi-icon-eye-slash.d.ts +1 -1
  113. package/components/digi-icon-eye.d.ts +1 -1
  114. package/components/digi-icon-facebook-square.d.ts +1 -1
  115. package/components/digi-icon-file-add.d.ts +1 -1
  116. package/components/digi-icon-file-document.d.ts +1 -1
  117. package/components/digi-icon-file-excel.d.ts +1 -1
  118. package/components/digi-icon-file-export.d.ts +1 -1
  119. package/components/digi-icon-file-governing.d.ts +1 -1
  120. package/components/digi-icon-file-pdf.d.ts +1 -1
  121. package/components/digi-icon-file-powerpoint.d.ts +1 -1
  122. package/components/digi-icon-file-remove.d.ts +1 -1
  123. package/components/digi-icon-file-word.d.ts +1 -1
  124. package/components/digi-icon-film.d.ts +1 -1
  125. package/components/digi-icon-filter.d.ts +1 -1
  126. package/components/digi-icon-folder-add.d.ts +1 -1
  127. package/components/digi-icon-folder-directory.d.ts +1 -1
  128. package/components/digi-icon-folder-open.d.ts +1 -1
  129. package/components/digi-icon-folder.d.ts +1 -1
  130. package/components/digi-icon-globe-filled.d.ts +1 -1
  131. package/components/digi-icon-globe.d.ts +1 -1
  132. package/components/digi-icon-headphones.d.ts +1 -1
  133. package/components/digi-icon-heart-solid.d.ts +1 -1
  134. package/components/digi-icon-heart.d.ts +1 -1
  135. package/components/digi-icon-history.d.ts +1 -1
  136. package/components/digi-icon-home.d.ts +1 -1
  137. package/components/digi-icon-image.d.ts +1 -1
  138. package/components/digi-icon-info-circle-solid.d.ts +1 -1
  139. package/components/digi-icon-input-select-marker.d.ts +1 -1
  140. package/components/digi-icon-instagram.d.ts +1 -1
  141. package/components/digi-icon-job-suggestion.d.ts +1 -1
  142. package/components/digi-icon-language-outline.d.ts +1 -1
  143. package/components/digi-icon-language.d.ts +1 -1
  144. package/components/digi-icon-laptop-phone.d.ts +1 -1
  145. package/components/digi-icon-lattlast.d.ts +1 -1
  146. package/components/digi-icon-licence-bus.d.ts +1 -1
  147. package/components/digi-icon-licence-car.d.ts +1 -1
  148. package/components/digi-icon-licence-motorcycle.d.ts +1 -1
  149. package/components/digi-icon-licence-truck.d.ts +1 -1
  150. package/components/digi-icon-lightbulb.d.ts +1 -1
  151. package/components/digi-icon-linkedin-in.d.ts +1 -1
  152. package/components/digi-icon-list-ul.d.ts +1 -1
  153. package/components/digi-icon-lock.d.ts +1 -1
  154. package/components/digi-icon-marker-filled.d.ts +1 -1
  155. package/components/digi-icon-marker.d.ts +1 -1
  156. package/components/digi-icon-media-course.d.ts +1 -1
  157. package/components/digi-icon-media-podcast.d.ts +1 -1
  158. package/components/digi-icon-microphone-off.d.ts +1 -1
  159. package/components/digi-icon-microphone.d.ts +1 -1
  160. package/components/digi-icon-minus.d.ts +1 -1
  161. package/components/digi-icon-move.d.ts +1 -1
  162. package/components/digi-icon-news.d.ts +1 -1
  163. package/components/digi-icon-notification-error.d.ts +1 -1
  164. package/components/digi-icon-notification-info.d.ts +1 -1
  165. package/components/digi-icon-notification-succes.d.ts +1 -1
  166. package/components/digi-icon-notification-warning.d.ts +1 -1
  167. package/components/digi-icon-online-computervideo.d.ts +1 -1
  168. package/components/digi-icon-online-interview.d.ts +1 -1
  169. package/components/digi-icon-online-meeting.d.ts +1 -1
  170. package/components/digi-icon-online-task.d.ts +1 -1
  171. package/components/digi-icon-online-video.d.ts +1 -1
  172. package/components/digi-icon-open-source.d.ts +1 -1
  173. package/components/digi-icon-palette.d.ts +1 -1
  174. package/components/digi-icon-paperclip.d.ts +1 -1
  175. package/components/digi-icon-paste.d.ts +1 -1
  176. package/components/digi-icon-pen.d.ts +1 -1
  177. package/components/digi-icon-phone-hangup.d.ts +1 -1
  178. package/components/digi-icon-phone.d.ts +1 -1
  179. package/components/digi-icon-plus.d.ts +1 -1
  180. package/components/digi-icon-pod.d.ts +1 -1
  181. package/components/digi-icon-print.d.ts +1 -1
  182. package/components/digi-icon-read.d.ts +1 -1
  183. package/components/digi-icon-redo.d.ts +1 -1
  184. package/components/digi-icon-scale.d.ts +1 -1
  185. package/components/digi-icon-screensharing-off.d.ts +1 -1
  186. package/components/digi-icon-screensharing.d.ts +1 -1
  187. package/components/digi-icon-search.d.ts +1 -1
  188. package/components/digi-icon-send-outline.d.ts +1 -1
  189. package/components/digi-icon-send-solid.d.ts +1 -1
  190. package/components/digi-icon-settings.d.ts +1 -1
  191. package/components/digi-icon-share-alt.d.ts +1 -1
  192. package/components/digi-icon-share-chain.d.ts +1 -1
  193. package/components/digi-icon-sign.d.ts +1 -1
  194. package/components/digi-icon-sliders-h.d.ts +1 -1
  195. package/components/digi-icon-sokkandidat.d.ts +1 -1
  196. package/components/digi-icon-sort-down.d.ts +1 -1
  197. package/components/digi-icon-sort-up.d.ts +1 -1
  198. package/components/digi-icon-sort.d.ts +1 -1
  199. package/components/digi-icon-spinner.d.ts +1 -1
  200. package/components/digi-icon-star-reg.d.ts +1 -1
  201. package/components/digi-icon-star.d.ts +1 -1
  202. package/components/digi-icon-suitcase-outline.d.ts +1 -1
  203. package/components/digi-icon-suitcase-solid.d.ts +1 -1
  204. package/components/digi-icon-system-assistance.d.ts +1 -1
  205. package/components/digi-icon-table-column.d.ts +1 -1
  206. package/components/digi-icon-table-row.d.ts +1 -1
  207. package/components/digi-icon-table.d.ts +1 -1
  208. package/components/digi-icon-task-done.d.ts +1 -1
  209. package/components/digi-icon-toggle-off.d.ts +1 -1
  210. package/components/digi-icon-toggle-on.d.ts +1 -1
  211. package/components/digi-icon-trash.d.ts +1 -1
  212. package/components/digi-icon-twitter.d.ts +1 -1
  213. package/components/digi-icon-tyck-till.d.ts +1 -1
  214. package/components/digi-icon-unlock.d.ts +1 -1
  215. package/components/digi-icon-update.d.ts +1 -1
  216. package/components/digi-icon-upload.d.ts +1 -1
  217. package/components/digi-icon-user-add.d.ts +1 -1
  218. package/components/digi-icon-user-alt.d.ts +1 -1
  219. package/components/digi-icon-user-edit.d.ts +1 -1
  220. package/components/digi-icon-users-solid.d.ts +1 -1
  221. package/components/digi-icon-validation-error.d.ts +1 -1
  222. package/components/digi-icon-validation-success.d.ts +1 -1
  223. package/components/digi-icon-validation-warning.d.ts +1 -1
  224. package/components/digi-icon-videocamera-off.d.ts +1 -1
  225. package/components/digi-icon-videocamera.d.ts +1 -1
  226. package/components/digi-icon-volume.d.ts +1 -1
  227. package/components/digi-icon-web-tv.d.ts +1 -1
  228. package/components/digi-icon-webinar.d.ts +1 -1
  229. package/components/digi-icon-wifi-signal0.d.ts +1 -1
  230. package/components/digi-icon-wifi-signal1.d.ts +1 -1
  231. package/components/digi-icon-wifi-signal2.d.ts +1 -1
  232. package/components/digi-icon-wifi-signal3.d.ts +1 -1
  233. package/components/digi-icon-window.d.ts +1 -1
  234. package/components/digi-icon-x-button-outline.d.ts +1 -1
  235. package/components/digi-icon-x-button.d.ts +1 -1
  236. package/components/digi-icon-x.d.ts +1 -1
  237. package/components/digi-icon-youtube.d.ts +1 -1
  238. package/components/digi-info-card-multi-container.d.ts +1 -1
  239. package/components/digi-info-card-multi.d.ts +1 -1
  240. package/components/digi-info-card.d.ts +1 -1
  241. package/components/digi-info-card.js +2 -2
  242. package/components/digi-layout-block.d.ts +1 -1
  243. package/components/digi-layout-columns.d.ts +1 -1
  244. package/components/digi-layout-container.d.ts +1 -1
  245. package/components/digi-link-button.d.ts +1 -1
  246. package/components/digi-link-button.js +1 -1
  247. package/components/digi-link-external.d.ts +1 -1
  248. package/components/digi-link-external.js +1 -1
  249. package/components/digi-link-internal.d.ts +1 -1
  250. package/components/digi-link-internal.js +1 -1
  251. package/components/digi-link.d.ts +1 -1
  252. package/components/digi-link.js +1 -1
  253. package/components/digi-list.d.ts +1 -1
  254. package/components/digi-loader-skeleton.d.ts +1 -1
  255. package/components/digi-loader-spinner.d.ts +1 -1
  256. package/components/digi-logo.d.ts +1 -1
  257. package/components/digi-media-figure.d.ts +1 -1
  258. package/components/digi-media-image.d.ts +1 -1
  259. package/components/digi-navigation-breadcrumbs.d.ts +1 -1
  260. package/components/digi-navigation-pagination.d.ts +1 -1
  261. package/components/digi-navigation-sidebar-button.d.ts +1 -1
  262. package/components/digi-navigation-sidebar.d.ts +1 -1
  263. package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
  264. package/components/digi-navigation-vertical-menu-item.js +6 -6
  265. package/components/digi-navigation-vertical-menu.d.ts +1 -1
  266. package/components/digi-notification-alert.d.ts +1 -1
  267. package/components/digi-notification-alert.js +1 -1
  268. package/components/digi-notification-error-page.d.ts +1 -1
  269. package/components/digi-progress-circle.d.ts +1 -1
  270. package/components/digi-progress-indicator.d.ts +1 -1
  271. package/components/digi-progress-list-item.d.ts +1 -1
  272. package/components/digi-progress-list.d.ts +1 -1
  273. package/components/digi-progressbar.d.ts +1 -1
  274. package/components/digi-quote.d.ts +1 -1
  275. package/components/digi-table.d.ts +1 -1
  276. package/components/digi-tablist-panel.d.ts +1 -1
  277. package/components/digi-tablist.d.ts +1 -1
  278. package/components/digi-tag-media.d.ts +1 -1
  279. package/components/digi-tag.d.ts +1 -1
  280. package/components/digi-title-logo.d.ts +1 -1
  281. package/components/digi-tools-feedback-banner.d.ts +1 -1
  282. package/components/digi-tools-feedback-banner.js +2 -2
  283. package/components/digi-tools-feedback-rating.d.ts +1 -1
  284. package/components/digi-tools-feedback-rating.js +2 -2
  285. package/components/digi-tools-feedback.d.ts +1 -1
  286. package/components/digi-tools-theme-provider.d.ts +1 -1
  287. package/components/digi-typography-heading-jumbo.d.ts +1 -1
  288. package/components/digi-typography-meta.d.ts +1 -1
  289. package/components/digi-typography-preamble.d.ts +1 -1
  290. package/components/digi-typography-time.d.ts +1 -1
  291. package/components/digi-typography.d.ts +1 -1
  292. package/components/digi-util-breakpoint-observer.d.ts +1 -1
  293. package/components/digi-util-detect-click-outside.d.ts +1 -1
  294. package/components/digi-util-detect-focus-outside.d.ts +1 -1
  295. package/components/digi-util-intersection-observer.d.ts +1 -1
  296. package/components/digi-util-keydown-handler.d.ts +1 -1
  297. package/components/digi-util-keyup-handler.d.ts +1 -1
  298. package/components/digi-util-mutation-observer.d.ts +1 -1
  299. package/components/digi-util-resize-observer.d.ts +1 -1
  300. package/components/index.d.ts +284 -284
  301. package/components/{p-0c919531.js → p-7b97818b.js} +1 -1
  302. package/components/{p-cd0370eb.js → p-7ff04204.js} +3 -3
  303. package/components/{p-85633f84.js → p-b57677c1.js} +2 -2
  304. package/components/{p-358965ba.js → p-ea46c737.js} +2 -2
  305. package/components/{p-f22b488a.js → p-ff4f4fb8.js} +2 -2
  306. package/custom-elements.json +9 -5
  307. package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-1611825e.js} +6 -0
  308. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  309. package/dist/cjs/digi-button_17.cjs.entry.js +1120 -0
  310. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +3 -6
  311. package/dist/cjs/digi-code-block_3.cjs.entry.js +4 -7
  312. package/dist/cjs/digi-code-example.cjs.entry.js +4 -5
  313. package/dist/cjs/digi-dialog.cjs.entry.js +4 -7
  314. package/dist/cjs/digi-footer.cjs.entry.js +3 -6
  315. package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
  316. package/dist/cjs/digi-form-error-list.cjs.entry.js +4 -7
  317. package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -3
  318. package/dist/cjs/digi-form-label_3.cjs.entry.js +129 -0
  319. package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -6
  320. package/dist/cjs/digi-form-select-filter.cjs.entry.js +3 -6
  321. package/dist/cjs/digi-form-select_2.cjs.entry.js +186 -0
  322. package/dist/cjs/digi-form-textarea.cjs.entry.js +14 -3
  323. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +1 -1
  324. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +53 -0
  325. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  326. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  327. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  328. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +3 -6
  329. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +6 -6
  330. package/dist/cjs/digi-notification-alert.cjs.entry.js +6 -9
  331. package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -6
  332. package/dist/cjs/digi-tools-feedback.cjs.entry.js +5 -8
  333. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
  334. package/dist/cjs/{form-input-search-variation.enum-c50239bc.js → form-input-search-variation.enum-e0e025b1.js} +7 -0
  335. package/dist/cjs/index-7a477838.js +12 -52
  336. package/dist/cjs/index.cjs.js +42 -45
  337. package/dist/cjs/loader.cjs.js +1 -1
  338. package/dist/cjs/{typography-variation.enum-50512a4e.js → typography-variation.enum-118ff8e5.js} +20 -0
  339. package/dist/collection/components/_code/code-example/code-example.css +0 -1
  340. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +3 -3
  341. package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
  342. package/dist/collection/components/_form/form-textarea/form-textarea.js +36 -3
  343. package/dist/collection/components/_header/header/header.css +2 -15
  344. package/dist/collection/components/_header/header/header.js +2 -2
  345. package/dist/collection/components/_header/header-avatar/header-avatar.css +0 -3
  346. package/dist/collection/components/_link/link/link.js +3 -3
  347. package/dist/collection/components/_link/link-button/link-button.js +3 -3
  348. package/dist/collection/components/_link/link-external/link-external.js +2 -2
  349. package/dist/collection/components/_link/link-internal/link-internal.js +3 -3
  350. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +7 -7
  351. package/dist/collection/components/_notification/notification-alert/notification-alert.css +6 -6
  352. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  353. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  354. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  355. package/dist/digi-arbetsformedlingen/p-029c4d40.entry.js +1 -0
  356. package/dist/digi-arbetsformedlingen/{p-501697cd.entry.js → p-07985aef.entry.js} +1 -1
  357. package/dist/digi-arbetsformedlingen/p-0c77050e.entry.js +1 -0
  358. package/dist/digi-arbetsformedlingen/p-22700f68.entry.js +1 -0
  359. package/dist/digi-arbetsformedlingen/p-2693c1d8.entry.js +1 -0
  360. package/dist/digi-arbetsformedlingen/p-2c698144.entry.js +1 -0
  361. package/dist/digi-arbetsformedlingen/p-4841b4e1.js +1 -0
  362. package/dist/digi-arbetsformedlingen/p-51149879.entry.js +1 -0
  363. package/dist/digi-arbetsformedlingen/p-51bfa2a9.entry.js +1 -0
  364. package/dist/digi-arbetsformedlingen/p-53d9556b.js +1 -0
  365. package/dist/digi-arbetsformedlingen/p-57a0cc63.entry.js +1 -0
  366. package/dist/digi-arbetsformedlingen/p-583d40dc.entry.js +1 -0
  367. package/dist/digi-arbetsformedlingen/p-7238fdb8.entry.js +1 -0
  368. package/dist/digi-arbetsformedlingen/{p-c8e29e68.entry.js → p-7327f45d.entry.js} +1 -1
  369. package/dist/digi-arbetsformedlingen/{p-030e608e.entry.js → p-7888e12c.entry.js} +1 -1
  370. package/dist/digi-arbetsformedlingen/{p-7d49df06.entry.js → p-78c99e87.entry.js} +1 -1
  371. package/dist/digi-arbetsformedlingen/p-7e125c6e.entry.js +1 -0
  372. package/dist/digi-arbetsformedlingen/{p-c799009f.entry.js → p-9a6ea3b7.entry.js} +1 -1
  373. package/dist/digi-arbetsformedlingen/p-9b7f0707.entry.js +1 -0
  374. package/dist/digi-arbetsformedlingen/p-9be9a291.js +1 -0
  375. package/dist/digi-arbetsformedlingen/p-a2561b9e.entry.js +1 -0
  376. package/dist/digi-arbetsformedlingen/p-bd55807c.entry.js +1 -0
  377. package/dist/digi-arbetsformedlingen/p-c68bf2b3.entry.js +1 -0
  378. package/dist/digi-arbetsformedlingen/p-ccd617cc.entry.js +1 -0
  379. package/dist/digi-arbetsformedlingen/{p-c0b39654.entry.js → p-eada91bf.entry.js} +1 -1
  380. package/dist/digi-arbetsformedlingen/p-edcb61eb.entry.js +1 -0
  381. package/dist/digi-arbetsformedlingen/p-eeca26b2.entry.js +1 -0
  382. package/dist/digi-arbetsformedlingen/p-f94db846.entry.js +1 -0
  383. package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-e656d235.js} +7 -1
  384. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  385. package/dist/esm/digi-button_17.entry.js +1100 -0
  386. package/dist/esm/digi-calendar-datepicker.entry.js +3 -6
  387. package/dist/esm/digi-code-block_3.entry.js +3 -6
  388. package/dist/esm/digi-code-example.entry.js +2 -3
  389. package/dist/esm/digi-dialog.entry.js +3 -6
  390. package/dist/esm/digi-footer.entry.js +3 -6
  391. package/dist/esm/digi-form-checkbox.entry.js +2 -2
  392. package/dist/esm/digi-form-error-list.entry.js +4 -7
  393. package/dist/esm/digi-form-input-search.entry.js +1 -2
  394. package/dist/esm/digi-form-label_3.entry.js +123 -0
  395. package/dist/esm/digi-form-receipt.entry.js +3 -6
  396. package/dist/esm/digi-form-select-filter.entry.js +3 -6
  397. package/dist/esm/digi-form-select_2.entry.js +181 -0
  398. package/dist/esm/digi-form-textarea.entry.js +14 -3
  399. package/dist/esm/digi-icon-external-link-alt_2.entry.js +1 -1
  400. package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
  401. package/dist/esm/digi-link-button.entry.js +1 -1
  402. package/dist/esm/digi-link-internal.entry.js +1 -1
  403. package/dist/esm/digi-link.entry.js +1 -1
  404. package/dist/esm/digi-navigation-pagination.entry.js +3 -6
  405. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +6 -6
  406. package/dist/esm/digi-notification-alert.entry.js +6 -9
  407. package/dist/esm/digi-notification-error-page.entry.js +3 -6
  408. package/dist/esm/digi-tools-feedback.entry.js +3 -6
  409. package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
  410. package/dist/esm/{form-input-search-variation.enum-f9d669f2.js → form-input-search-variation.enum-6d8dc10a.js} +8 -1
  411. package/dist/esm/index-148a7577.js +12 -52
  412. package/dist/esm/index.js +3 -6
  413. package/dist/esm/loader.js +1 -1
  414. package/dist/esm/{typography-variation.enum-8c3ff25c.js → typography-variation.enum-23eeecd2.js} +21 -1
  415. package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +1 -1
  416. package/dist/types/components/_form/form-error-list/form-error-list.d.ts +1 -1
  417. package/dist/types/components/_form/form-textarea/form-textarea.d.ts +5 -0
  418. package/dist/types/components/_link/link/link.d.ts +1 -1
  419. package/dist/types/components/_link/link-button/link-button.d.ts +1 -1
  420. package/dist/types/components/_link/link-internal/link-internal.d.ts +1 -1
  421. package/dist/types/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.d.ts +1 -1
  422. package/dist/types/components.d.ts +26 -16
  423. package/hydrate/index.js +36 -24
  424. package/hydrate/index.mjs +36 -24
  425. package/package.json +1 -1
  426. package/dist/cjs/button-size.enum-1fd86b9e.js +0 -7
  427. package/dist/cjs/button-type.enum-406723db.js +0 -8
  428. package/dist/cjs/digi-button_9.cjs.entry.js +0 -533
  429. package/dist/cjs/digi-header-avatar.cjs.entry.js +0 -114
  430. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +0 -27
  431. package/dist/cjs/digi-header-navigation.cjs.entry.js +0 -232
  432. package/dist/cjs/digi-header-notification.cjs.entry.js +0 -23
  433. package/dist/cjs/digi-header.cjs.entry.js +0 -148
  434. package/dist/cjs/digi-icon-bars.cjs.entry.js +0 -30
  435. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +0 -30
  436. package/dist/cjs/digi-icon-x.cjs.entry.js +0 -30
  437. package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
  438. package/dist/cjs/digi-media-image_2.cjs.entry.js +0 -167
  439. package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +0 -30
  440. package/dist/cjs/digi-title-logo.cjs.entry.js +0 -135
  441. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +0 -48
  442. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -83
  443. package/dist/cjs/layout-container-max-width.enum-7e637f44.js +0 -21
  444. package/dist/digi-arbetsformedlingen/p-0436c516.entry.js +0 -1
  445. package/dist/digi-arbetsformedlingen/p-14731327.entry.js +0 -1
  446. package/dist/digi-arbetsformedlingen/p-19c30198.entry.js +0 -1
  447. package/dist/digi-arbetsformedlingen/p-237cad1c.entry.js +0 -1
  448. package/dist/digi-arbetsformedlingen/p-2698dd2a.entry.js +0 -1
  449. package/dist/digi-arbetsformedlingen/p-2a86cc73.entry.js +0 -1
  450. package/dist/digi-arbetsformedlingen/p-2b7b69cd.entry.js +0 -1
  451. package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
  452. package/dist/digi-arbetsformedlingen/p-38627816.entry.js +0 -1
  453. package/dist/digi-arbetsformedlingen/p-4452f871.entry.js +0 -1
  454. package/dist/digi-arbetsformedlingen/p-55f525dd.entry.js +0 -1
  455. package/dist/digi-arbetsformedlingen/p-5a602122.js +0 -1
  456. package/dist/digi-arbetsformedlingen/p-73a6be41.entry.js +0 -1
  457. package/dist/digi-arbetsformedlingen/p-76022084.entry.js +0 -1
  458. package/dist/digi-arbetsformedlingen/p-832cbd71.entry.js +0 -1
  459. package/dist/digi-arbetsformedlingen/p-84719680.entry.js +0 -1
  460. package/dist/digi-arbetsformedlingen/p-89b457e8.entry.js +0 -1
  461. package/dist/digi-arbetsformedlingen/p-95330112.entry.js +0 -1
  462. package/dist/digi-arbetsformedlingen/p-9e56568b.entry.js +0 -1
  463. package/dist/digi-arbetsformedlingen/p-ac87daf1.entry.js +0 -1
  464. package/dist/digi-arbetsformedlingen/p-b328f60b.entry.js +0 -1
  465. package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
  466. package/dist/digi-arbetsformedlingen/p-bf53daba.entry.js +0 -1
  467. package/dist/digi-arbetsformedlingen/p-c24aab43.entry.js +0 -1
  468. package/dist/digi-arbetsformedlingen/p-cc9a96ff.entry.js +0 -1
  469. package/dist/digi-arbetsformedlingen/p-cdf86efc.js +0 -1
  470. package/dist/digi-arbetsformedlingen/p-e2c92528.entry.js +0 -1
  471. package/dist/digi-arbetsformedlingen/p-e6b65415.entry.js +0 -1
  472. package/dist/digi-arbetsformedlingen/p-e7e39ee7.entry.js +0 -1
  473. package/dist/digi-arbetsformedlingen/p-e9656bf8.entry.js +0 -1
  474. package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +0 -1
  475. package/dist/digi-arbetsformedlingen/p-ee9589e6.js +0 -1
  476. package/dist/digi-arbetsformedlingen/p-f8391f37.entry.js +0 -1
  477. package/dist/digi-arbetsformedlingen/p-fdecd798.entry.js +0 -1
  478. package/dist/digi-arbetsformedlingen/p-fe409f14.entry.js +0 -1
  479. package/dist/esm/button-size.enum-d5ff6ff3.js +0 -7
  480. package/dist/esm/button-type.enum-5250ae0b.js +0 -8
  481. package/dist/esm/digi-button_9.entry.js +0 -521
  482. package/dist/esm/digi-header-avatar.entry.js +0 -110
  483. package/dist/esm/digi-header-navigation-item.entry.js +0 -23
  484. package/dist/esm/digi-header-navigation.entry.js +0 -228
  485. package/dist/esm/digi-header-notification.entry.js +0 -19
  486. package/dist/esm/digi-header.entry.js +0 -144
  487. package/dist/esm/digi-icon-bars.entry.js +0 -26
  488. package/dist/esm/digi-icon-bell-filled.entry.js +0 -26
  489. package/dist/esm/digi-icon-x.entry.js +0 -26
  490. package/dist/esm/digi-layout-block_2.entry.js +0 -87
  491. package/dist/esm/digi-media-image_2.entry.js +0 -162
  492. package/dist/esm/digi-navigation-sidebar-button.entry.js +0 -26
  493. package/dist/esm/digi-title-logo.entry.js +0 -131
  494. package/dist/esm/digi-util-breakpoint-observer.entry.js +0 -44
  495. package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
  496. package/dist/esm/layout-container-max-width.enum-c40018ac.js +0 -21
@@ -5,14 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index$2 = require('./index-7a477838.js');
6
6
  const text = require('./text-65b1b58c.js');
7
7
  require('./badge-notification-shape.enum-ff802554.js');
8
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
8
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
9
9
  require('./badge-status-variation.enum-0a5adc21.js');
10
- require('./button-size.enum-1fd86b9e.js');
11
- require('./button-type.enum-406723db.js');
10
+ require('./code-example-variation.enum-1611825e.js');
11
+ require('./form-input-search-variation.enum-e0e025b1.js');
12
12
  require('./button-variation.enum-bc521499.js');
13
13
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
14
14
  require('./bar-chart-variation.enum-a4e866b6.js');
15
- require('./code-example-variation.enum-c6557727.js');
16
15
  require('./code-variation.enum-c4a4e6fd.js');
17
16
  require('./expandable-accordion-header-level.enum-45483252.js');
18
17
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -20,7 +19,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
20
19
  require('./footer-card-variation.enum-99555edc.js');
21
20
  require('./form-checkbox-variation.enum-d2ca879e.js');
22
21
  require('./form-file-upload-variation.enum-634cfae8.js');
23
- require('./form-input-search-variation.enum-c50239bc.js');
24
22
  require('./form-input-type.enum-9c8ee12a.js');
25
23
  const formInputVariation_enum = require('./form-input-variation.enum-c750520c.js');
26
24
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -29,7 +27,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
29
27
  require('./form-validation-message-variation.enum-855ae0be.js');
30
28
  require('./info-card-multi-type.enum-14746572.js');
31
29
  require('./info-card-variation.enum-64cef637.js');
32
- require('./layout-container-max-width.enum-7e637f44.js');
33
30
  require('./layout-block-variation.enum-f6102119.js');
34
31
  require('./layout-columns-variation.enum-65675649.js');
35
32
  require('./link-button-variation.enum-137785e3.js');
@@ -3,13 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
- const codeExampleVariation_enum = require('./code-example-variation.enum-c6557727.js');
7
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
6
+ const codeExampleVariation_enum = require('./code-example-variation.enum-1611825e.js');
7
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
8
8
  const prismGit = require('./prism-git-df985529.js');
9
9
  require('./badge-notification-shape.enum-ff802554.js');
10
10
  require('./badge-status-variation.enum-0a5adc21.js');
11
- const buttonSize_enum = require('./button-size.enum-1fd86b9e.js');
12
- require('./button-type.enum-406723db.js');
11
+ require('./form-input-search-variation.enum-e0e025b1.js');
13
12
  const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
14
13
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
15
14
  require('./bar-chart-variation.enum-a4e866b6.js');
@@ -20,7 +19,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
20
19
  require('./footer-card-variation.enum-99555edc.js');
21
20
  require('./form-checkbox-variation.enum-d2ca879e.js');
22
21
  require('./form-file-upload-variation.enum-634cfae8.js');
23
- require('./form-input-search-variation.enum-c50239bc.js');
24
22
  require('./form-input-type.enum-9c8ee12a.js');
25
23
  require('./form-input-variation.enum-c750520c.js');
26
24
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -29,7 +27,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
29
27
  require('./form-validation-message-variation.enum-855ae0be.js');
30
28
  require('./info-card-multi-type.enum-14746572.js');
31
29
  require('./info-card-variation.enum-64cef637.js');
32
- require('./layout-container-max-width.enum-7e637f44.js');
33
30
  require('./layout-block-variation.enum-f6102119.js');
34
31
  require('./layout-columns-variation.enum-65675649.js');
35
32
  require('./link-button-variation.enum-137785e3.js');
@@ -93,7 +90,7 @@ const CodeBlock = class {
93
90
  };
94
91
  }
95
92
  render() {
96
- return (index.h("div", { key: 'efc4eab4b814bc5ec01559f89d951d694ed695e1', class: Object.assign({ 'digi-code-block': true }, this.cssModifiers) }, index.h("pre", { key: '85b42423a9f62a227739e3107972251f9a825a97', class: `digi-code-block__pre language-${this.afLanguage}` }, index.h("code", { key: '266c28f90184f60eab0fc1febf743a53f46aab3b', class: "digi-code-block__code", lang: this.afLang, innerHTML: this.highlightedCode })), !this.afHideToolbar && (index.h("div", { key: '6230d33b96b03f7ea584d3b93efff81f636bad18', class: "digi-code-block__toolbar" }, index.h("digi-button", { key: 'b54ad1cc57faafeb0f82cc0de0865cf3e585fddf', class: "digi-code-block__button", onAfOnClick: () => this.copyButtonClickHandler(), afVariation: buttonVariation_enum.ButtonVariation.FUNCTION, afSize: buttonSize_enum.ButtonSize.SMALL }, index.h("digi-icon-copy", { key: 'f223bd2e83be5d853c78c0322d69c7fe34cd257a', class: "digi-code-block__icon", "aria-hidden": "true", slot: "icon" }), text._t.code.copy)))));
93
+ return (index.h("div", { key: 'efc4eab4b814bc5ec01559f89d951d694ed695e1', class: Object.assign({ 'digi-code-block': true }, this.cssModifiers) }, index.h("pre", { key: '85b42423a9f62a227739e3107972251f9a825a97', class: `digi-code-block__pre language-${this.afLanguage}` }, index.h("code", { key: '266c28f90184f60eab0fc1febf743a53f46aab3b', class: "digi-code-block__code", lang: this.afLang, innerHTML: this.highlightedCode })), !this.afHideToolbar && (index.h("div", { key: '6230d33b96b03f7ea584d3b93efff81f636bad18', class: "digi-code-block__toolbar" }, index.h("digi-button", { key: 'b54ad1cc57faafeb0f82cc0de0865cf3e585fddf', class: "digi-code-block__button", onAfOnClick: () => this.copyButtonClickHandler(), afVariation: buttonVariation_enum.ButtonVariation.FUNCTION, afSize: codeExampleVariation_enum.ButtonSize.SMALL }, index.h("digi-icon-copy", { key: 'f223bd2e83be5d853c78c0322d69c7fe34cd257a', class: "digi-code-block__icon", "aria-hidden": "true", slot: "icon" }), text._t.code.copy)))));
97
94
  }
98
95
  static get watchers() { return {
99
96
  "afCode": ["formatCode"]
@@ -3,13 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
- const codeExampleVariation_enum = require('./code-example-variation.enum-c6557727.js');
7
- const buttonSize_enum = require('./button-size.enum-1fd86b9e.js');
6
+ const codeExampleVariation_enum = require('./code-example-variation.enum-1611825e.js');
8
7
  const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
9
8
  const text = require('./text-65b1b58c.js');
10
9
  const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
11
10
 
12
- const codeExampleCss = ".sc-digi-code-example-h{--digi--code-example--background:var(--digi--color--background--primary);--digi--code-example--controls--width:16.25rem;display:block}.digi-code-example.sc-digi-code-example{background-size:20px 20px;background-position:0 0, 0 10px, 10px -10px, -10px 0px;border:var(--digi--border-width--primary) solid var(--digi--color--divider--primary--light);height:100%;display:flex;flex-direction:row;border-radius:0.3rem;position:relative}@media (max-width: 35.9375rem){.digi-code-example.sc-digi-code-example{min-width:360px}}.digi-code-example--light.sc-digi-code-example{background-color:#ffffff;background-image:linear-gradient(45deg, #efefef 25%, transparent 25%), linear-gradient(-45deg, #efefef 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #efefef 75%), linear-gradient(-45deg, transparent 75%, #efefef 75%)}.digi-code-example--dark.sc-digi-code-example{background-color:#787777;background-image:linear-gradient(45deg, #666666 25%, transparent 25%), linear-gradient(-45deg, #666666 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #666666 75%), linear-gradient(-45deg, transparent 75%, #666666 75%)}.digi-code-example__container.sc-digi-code-example{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1;position:relative}.digi-code-example--no-controls.sc-digi-code-example{flex-direction:column}.digi-code-example--no-controls.sc-digi-code-example .digi-code-example__copy-button.sc-digi-code-example{margin-top:0;align-self:flex-end;margin-bottom:0.2rem;z-index:1;position:absolute;bottom:0;right:0}.digi-code-example--no-controls.sc-digi-code-example .digi-code-example__copy-button--dark.sc-digi-code-example{--digi--button--color--text--function--default:var(--digi--color--text--secondary);--digi--button--color--text--function--hover:var(--digi--color--text--secondary);--digi--button--color--icon--function--default:var(--digi--color--text--secondary);--digi--button--color--icon--function--hover:var(--digi--color--text--secondary)}.digi-code-example__example.sc-digi-code-example{height:100%;padding:var(--digi--padding--largest-2);overflow-x:auto}@media (max-width: 48rem){.digi-code-example__example.sc-digi-code-example{padding:var(--digi--padding--medium)}}@media (max-width: 35.9375rem){.digi-code-example__example.sc-digi-code-example{padding:var(--digi--padding--small)}}.digi-code-example__copy-button.sc-digi-code-example{align-self:start;margin-top:var(--digi--padding--large);margin-right:var(--digi--padding--small)}.digi-code-example__codeblock.sc-digi-code-example digi-code-block.sc-digi-code-example{--digi--code-block--border-radius:0;--digi--code-block--border:none}.digi-code-example__controls.sc-digi-code-example{padding:var(--digi--padding--medium);background:var(--digi--color--background--secondary);display:flex;flex:0 var(--digi--code-example--controls--width);flex-direction:column;align-self:stretch;flex-shrink:0;justify-content:space-between;gap:var(--digi--gutter--medium)}@media (max-width: 48rem){.digi-code-example__controls.sc-digi-code-example{padding:var(--digi--padding--smaller)}}.digi-code-example__controls[hidden].sc-digi-code-example{display:none}.digi-code-example--inactive.sc-digi-code-example .digi-code-example__code.sc-digi-code-example{display:flex;flex-direction:column;flex-grow:1}.digi-code-example--inactive.sc-digi-code-example .digi-code-example__codeblock.sc-digi-code-example{flex-grow:1;height:64px;overflow-y:hidden;position:relative}.digi-code-example__code-expand.sc-digi-code-example{display:flex;align-items:center;justify-content:center;gap:var(--digi--gutter--icon);width:100%;padding:0.875rem 0;background:#272727;color:var(--digi--color--text--secondary);font-size:var(--digi--typography--body--font-size--desktop);font-family:var(--digi--global--typography--font-family--default);cursor:pointer;border:none}.digi-code-example__code-expand.sc-digi-code-example:hover{background:var(--digi--grayscale--900);text-decoration:underline}.digi-code-example__code-expand.sc-digi-code-example:focus-visible{outline:2px solid black;outline-offset:-3px;box-shadow:0px 0px 0px 5px inset white}.digi-code-example--no-controls.digi-code-example--inactive.sc-digi-code-example .digi-code-example__codeblock.sc-digi-code-example{height:64px}.digi-code-example__copy-button.sc-digi-code-example{--digi--button--padding--small:0;--digi--button--padding--medium:0;--digi--button--padding--large:0}.digi-code-example__code-expand-icon.sc-digi-code-example{--digi--icon--color:var(--digi--color--text--secondary);transition:ease-in-out var(--digi--animation--duration--base) all}.digi-code-example__code-expand-icon--open.sc-digi-code-example{transform:rotate(180deg)}.digi-code-example__fade.sc-digi-code-example{position:absolute;width:100%;bottom:0;height:var(--digi--padding--largest-2)}.digi-code-example__fade--light.sc-digi-code-example{background-image:linear-gradient(0deg, white, transparent)}.digi-code-example__fade--dark.sc-digi-code-example{--digi--color--background--inverted-3:#272727;background-image:linear-gradient(0deg, var(--digi--grayscale--900), transparent)}.slot__controls.sc-digi-code-example{margin-bottom:var(--digi--padding--smaller)}.sc-digi-code-example-s .slot__controls{display:flex;flex-direction:column;gap:var(--digi--padding--smaller)}.sc-digi-code-example-s .slot__controls[hidden]{display:none}.sc-digi-code-example-s .slot__controls digi-form-fieldset,.sc-digi-code-example-s .slot__controls digi-form-select,.sc-digi-code-example-s .slot__controls digi-form-fieldset+digi-form-checkbox,.sc-digi-code-example-s .slot__controls .divider{display:block;border-bottom:1px solid var(--digi--color--divider--primary--light);padding-bottom:var(--digi--padding--smaller);margin-bottom:var(--digi--padding--medium)}";
11
+ const codeExampleCss = ".sc-digi-code-example-h{--digi--code-example--background:var(--digi--color--background--primary);--digi--code-example--controls--width:16.25rem;display:block}.digi-code-example.sc-digi-code-example{background-size:20px 20px;background-position:0 0, 0 10px, 10px -10px, -10px 0px;border:var(--digi--border-width--primary) solid var(--digi--color--divider--primary--light);height:100%;display:flex;flex-direction:row;border-radius:0.3rem;position:relative}@media (max-width: 35.9375rem){.digi-code-example.sc-digi-code-example{min-width:360px}}.digi-code-example--light.sc-digi-code-example{background-color:#ffffff;background-image:linear-gradient(45deg, #efefef 25%, transparent 25%), linear-gradient(-45deg, #efefef 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #efefef 75%), linear-gradient(-45deg, transparent 75%, #efefef 75%)}.digi-code-example--dark.sc-digi-code-example{background-color:#787777;background-image:linear-gradient(45deg, #666666 25%, transparent 25%), linear-gradient(-45deg, #666666 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #666666 75%), linear-gradient(-45deg, transparent 75%, #666666 75%)}.digi-code-example__container.sc-digi-code-example{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1;position:relative}.digi-code-example--no-controls.sc-digi-code-example{flex-direction:column}.digi-code-example--no-controls.sc-digi-code-example .digi-code-example__copy-button.sc-digi-code-example{margin-top:0;align-self:flex-end;margin-bottom:0.2rem;z-index:1;position:absolute;bottom:0;right:0}.digi-code-example--no-controls.sc-digi-code-example .digi-code-example__copy-button--dark.sc-digi-code-example{--digi--button--color--text--function--default:var(--digi--color--text--secondary);--digi--button--color--text--function--hover:var(--digi--color--text--secondary);--digi--button--color--icon--function--default:var(--digi--color--text--secondary);--digi--button--color--icon--function--hover:var(--digi--color--text--secondary)}.digi-code-example__example.sc-digi-code-example{padding:var(--digi--padding--largest-2);overflow-x:auto}@media (max-width: 48rem){.digi-code-example__example.sc-digi-code-example{padding:var(--digi--padding--medium)}}@media (max-width: 35.9375rem){.digi-code-example__example.sc-digi-code-example{padding:var(--digi--padding--small)}}.digi-code-example__copy-button.sc-digi-code-example{align-self:start;margin-top:var(--digi--padding--large);margin-right:var(--digi--padding--small)}.digi-code-example__codeblock.sc-digi-code-example digi-code-block.sc-digi-code-example{--digi--code-block--border-radius:0;--digi--code-block--border:none}.digi-code-example__controls.sc-digi-code-example{padding:var(--digi--padding--medium);background:var(--digi--color--background--secondary);display:flex;flex:0 var(--digi--code-example--controls--width);flex-direction:column;align-self:stretch;flex-shrink:0;justify-content:space-between;gap:var(--digi--gutter--medium)}@media (max-width: 48rem){.digi-code-example__controls.sc-digi-code-example{padding:var(--digi--padding--smaller)}}.digi-code-example__controls[hidden].sc-digi-code-example{display:none}.digi-code-example--inactive.sc-digi-code-example .digi-code-example__code.sc-digi-code-example{display:flex;flex-direction:column;flex-grow:1}.digi-code-example--inactive.sc-digi-code-example .digi-code-example__codeblock.sc-digi-code-example{flex-grow:1;height:64px;overflow-y:hidden;position:relative}.digi-code-example__code-expand.sc-digi-code-example{display:flex;align-items:center;justify-content:center;gap:var(--digi--gutter--icon);width:100%;padding:0.875rem 0;background:#272727;color:var(--digi--color--text--secondary);font-size:var(--digi--typography--body--font-size--desktop);font-family:var(--digi--global--typography--font-family--default);cursor:pointer;border:none}.digi-code-example__code-expand.sc-digi-code-example:hover{background:var(--digi--grayscale--900);text-decoration:underline}.digi-code-example__code-expand.sc-digi-code-example:focus-visible{outline:2px solid black;outline-offset:-3px;box-shadow:0px 0px 0px 5px inset white}.digi-code-example--no-controls.digi-code-example--inactive.sc-digi-code-example .digi-code-example__codeblock.sc-digi-code-example{height:64px}.digi-code-example__copy-button.sc-digi-code-example{--digi--button--padding--small:0;--digi--button--padding--medium:0;--digi--button--padding--large:0}.digi-code-example__code-expand-icon.sc-digi-code-example{--digi--icon--color:var(--digi--color--text--secondary);transition:ease-in-out var(--digi--animation--duration--base) all}.digi-code-example__code-expand-icon--open.sc-digi-code-example{transform:rotate(180deg)}.digi-code-example__fade.sc-digi-code-example{position:absolute;width:100%;bottom:0;height:var(--digi--padding--largest-2)}.digi-code-example__fade--light.sc-digi-code-example{background-image:linear-gradient(0deg, white, transparent)}.digi-code-example__fade--dark.sc-digi-code-example{--digi--color--background--inverted-3:#272727;background-image:linear-gradient(0deg, var(--digi--grayscale--900), transparent)}.slot__controls.sc-digi-code-example{margin-bottom:var(--digi--padding--smaller)}.sc-digi-code-example-s .slot__controls{display:flex;flex-direction:column;gap:var(--digi--padding--smaller)}.sc-digi-code-example-s .slot__controls[hidden]{display:none}.sc-digi-code-example-s .slot__controls digi-form-fieldset,.sc-digi-code-example-s .slot__controls digi-form-select,.sc-digi-code-example-s .slot__controls digi-form-fieldset+digi-form-checkbox,.sc-digi-code-example-s .slot__controls .divider{display:block;border-bottom:1px solid var(--digi--color--divider--primary--light);padding-bottom:var(--digi--padding--smaller);margin-bottom:var(--digi--padding--medium)}";
13
12
  const DigiCodeExampleStyle0 = codeExampleCss;
14
13
 
15
14
  const CodeExample = class {
@@ -153,10 +152,10 @@ const CodeExample = class {
153
152
  'digi-code-example__fade--light': this.afCodeBlockVariation === 'light'
154
153
  }, onClick: () => this.toggleButtonClickHandler() })) : (''))))), this.hasControls || !!this.codeExampleLanguages ? (index.h("div", { class: {
155
154
  'digi-code-example__controls': true
156
- }, hidden: !!this.afHideControls }, index.h("span", null, index.h("slot", { name: "controls" }), index.h("div", { class: "slot__controls" }, this.codeExampleLanguages && (index.h("digi-form-fieldset", { "af-legend": text._t.code.language, "af-name": 'Code-Language-' + this._id, onChange: (e) => this.codeLanguageChangeHandler(e) }, this.codeExampleLanguages.map((codeLang) => (index.h("digi-form-radiobutton", { afName: 'Code-Language-' + this._id, afChecked: this.codeLanguage === codeLang, afValue: codeLang, afLabel: codeLang }))))))), index.h("digi-button", { class: "digi-code-example__copy-button", onAfOnClick: () => this.copyButtonClickHandler(), "af-variation": buttonVariation_enum.ButtonVariation.FUNCTION, "af-size": buttonSize_enum.ButtonSize.MEDIUM }, index.h("digi-icon-copy", { class: "digi-code-example__icon", "aria-hidden": "true", slot: "icon" }), text._t.code.copy))) : (!this.afHideControls && (index.h("digi-button", { class: {
155
+ }, hidden: !!this.afHideControls }, index.h("span", null, index.h("slot", { name: "controls" }), index.h("div", { class: "slot__controls" }, this.codeExampleLanguages && (index.h("digi-form-fieldset", { "af-legend": text._t.code.language, "af-name": 'Code-Language-' + this._id, onChange: (e) => this.codeLanguageChangeHandler(e) }, this.codeExampleLanguages.map((codeLang) => (index.h("digi-form-radiobutton", { afName: 'Code-Language-' + this._id, afChecked: this.codeLanguage === codeLang, afValue: codeLang, afLabel: codeLang }))))))), index.h("digi-button", { class: "digi-code-example__copy-button", onAfOnClick: () => this.copyButtonClickHandler(), "af-variation": buttonVariation_enum.ButtonVariation.FUNCTION, "af-size": codeExampleVariation_enum.ButtonSize.MEDIUM }, index.h("digi-icon-copy", { class: "digi-code-example__icon", "aria-hidden": "true", slot: "icon" }), text._t.code.copy))) : (!this.afHideControls && (index.h("digi-button", { class: {
157
156
  'digi-code-example__copy-button': true,
158
157
  'digi-code-example__copy-button--dark': this.afCodeBlockVariation === 'dark'
159
- }, onAfOnClick: () => this.copyButtonClickHandler(), "af-variation": buttonVariation_enum.ButtonVariation.FUNCTION, "af-size": buttonSize_enum.ButtonSize.MEDIUM }, index.h("digi-icon-copy", { class: "digi-code-example__icon", "aria-hidden": "true", slot: "icon" }), text._t.code.copy)))));
158
+ }, onAfOnClick: () => this.copyButtonClickHandler(), "af-variation": buttonVariation_enum.ButtonVariation.FUNCTION, "af-size": codeExampleVariation_enum.ButtonSize.MEDIUM }, index.h("digi-icon-copy", { class: "digi-code-example__icon", "aria-hidden": "true", slot: "icon" }), text._t.code.copy)))));
160
159
  }
161
160
  get hostElement() { return index.getElement(this); }
162
161
  static get watchers() { return {
@@ -3,16 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
6
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
7
7
  const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
8
8
  require('./badge-notification-shape.enum-ff802554.js');
9
9
  require('./badge-status-variation.enum-0a5adc21.js');
10
- const buttonSize_enum = require('./button-size.enum-1fd86b9e.js');
11
- require('./button-type.enum-406723db.js');
10
+ const codeExampleVariation_enum = require('./code-example-variation.enum-1611825e.js');
11
+ require('./form-input-search-variation.enum-e0e025b1.js');
12
12
  const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
13
13
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
14
14
  require('./bar-chart-variation.enum-a4e866b6.js');
15
- require('./code-example-variation.enum-c6557727.js');
16
15
  require('./code-variation.enum-c4a4e6fd.js');
17
16
  require('./expandable-accordion-header-level.enum-45483252.js');
18
17
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -20,7 +19,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
20
19
  require('./footer-card-variation.enum-99555edc.js');
21
20
  require('./form-checkbox-variation.enum-d2ca879e.js');
22
21
  require('./form-file-upload-variation.enum-634cfae8.js');
23
- require('./form-input-search-variation.enum-c50239bc.js');
24
22
  require('./form-input-type.enum-9c8ee12a.js');
25
23
  require('./form-input-variation.enum-c750520c.js');
26
24
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -29,7 +27,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
29
27
  require('./form-validation-message-variation.enum-855ae0be.js');
30
28
  require('./info-card-multi-type.enum-14746572.js');
31
29
  require('./info-card-variation.enum-64cef637.js');
32
- require('./layout-container-max-width.enum-7e637f44.js');
33
30
  require('./layout-block-variation.enum-f6102119.js');
34
31
  require('./layout-columns-variation.enum-65675649.js');
35
32
  require('./link-button-variation.enum-137785e3.js');
@@ -289,7 +286,7 @@ const Dialog = class {
289
286
  this._host = el;
290
287
  } }, this.afShowDialog && (index.h("div", { key: '46ae05735ed8f54c75a82b5cc5e23effae77e745', class: Object.assign({ 'digi-dialog': true }, this.cssModifiers) }, index.h("digi-util-keydown-handler", { key: '0740b3466fc4a3ac52bfe0a3d5d58fe2399c4474', onAfOnEsc: (e) => this.escHandler(e), onAfOnTab: (e) => this.tabHandler(e), onAfOnShiftTab: (e) => this.shiftHandler(e), class: "digi-dialog__keydown-handler" }, index.h("div", { key: 'd6da8ca0633774200dff4ade8fb170f2fd19b6b9', ref: (el) => {
291
288
  this._wrapper = el;
292
- }, role: "dialog", "aria-modal": "true", class: "digi-dialog__content" }, index.h("digi-typography", { key: 'e5532e07a112ba5cadc4f4ee012c7c0b1ebc7eac' }, this.afCloseButtonText && (index.h("digi-button", { key: 'e52c53a254adfca3c0e7d22500f381877feb798d', ref: (el) => (this._closeButton = el), class: "digi-dialog__close-button", afAriaLabel: this.afCloseButtonText, afSize: buttonSize_enum.ButtonSize.MEDIUM, "af-variation": "function", onAfOnClick: (e) => this.closeDialog(e) }, this.afCloseButtonText, index.h("digi-icon-x", { key: '78b867c769a5f170a7b09270f0a466358febd0df', class: "digi-dialog__close-icon", slot: "icon-secondary" }))), index.h("slot", { key: '20b204bea4212367ed6202e73185ee0f63ab85f3', name: "over-heading" }), this.afHeadingLevel && this.afHeading && (index.h(this.afHeadingLevel, { key: '20b227dc35ebe307589e097cb64bcd7c47913729', tabindex: "-1", ref: (el) => (this._dialogHeading = el) }, this.afHeading)), index.h("slot", { key: '2c5f707d8a5db9957a252e1a6a454824521b6541' }), index.h("div", { key: '167c44e5b9827f66b9355180d6af6a9fc8f783ad', ref: (el) => (this._buttonContainer = el), class: "digi-dialog__button-container" }, this.afSecondaryButtonText && (index.h("digi-button", { key: 'bca5ce02a71c2c4b43ec7eaebcc70016c5ea1d98', ref: (el) => (this._secondaryButton = el), afVariation: buttonVariation_enum.ButtonVariation.SECONDARY, onAfOnClick: (e) => this.secondaryClickHandler(e) }, this.afSecondaryButtonText)), this.afPrimaryButtonText && (index.h("digi-button", { key: '1208655a175f323aa4bff70b0cf8daa28e2f3e86', ref: (el) => (this._primaryButton = el), afVariation: buttonVariation_enum.ButtonVariation.PRIMARY, onAfOnClick: (e) => this.primaryClickHandler(e) }, this.afPrimaryButtonText))))))))));
289
+ }, role: "dialog", "aria-modal": "true", class: "digi-dialog__content" }, index.h("digi-typography", { key: 'e5532e07a112ba5cadc4f4ee012c7c0b1ebc7eac' }, this.afCloseButtonText && (index.h("digi-button", { key: 'e52c53a254adfca3c0e7d22500f381877feb798d', ref: (el) => (this._closeButton = el), class: "digi-dialog__close-button", afAriaLabel: this.afCloseButtonText, afSize: codeExampleVariation_enum.ButtonSize.MEDIUM, "af-variation": "function", onAfOnClick: (e) => this.closeDialog(e) }, this.afCloseButtonText, index.h("digi-icon-x", { key: '78b867c769a5f170a7b09270f0a466358febd0df', class: "digi-dialog__close-icon", slot: "icon-secondary" }))), index.h("slot", { key: '20b204bea4212367ed6202e73185ee0f63ab85f3', name: "over-heading" }), this.afHeadingLevel && this.afHeading && (index.h(this.afHeadingLevel, { key: '20b227dc35ebe307589e097cb64bcd7c47913729', tabindex: "-1", ref: (el) => (this._dialogHeading = el) }, this.afHeading)), index.h("slot", { key: '2c5f707d8a5db9957a252e1a6a454824521b6541' }), index.h("div", { key: '167c44e5b9827f66b9355180d6af6a9fc8f783ad', ref: (el) => (this._buttonContainer = el), class: "digi-dialog__button-container" }, this.afSecondaryButtonText && (index.h("digi-button", { key: 'bca5ce02a71c2c4b43ec7eaebcc70016c5ea1d98', ref: (el) => (this._secondaryButton = el), afVariation: buttonVariation_enum.ButtonVariation.SECONDARY, onAfOnClick: (e) => this.secondaryClickHandler(e) }, this.afSecondaryButtonText)), this.afPrimaryButtonText && (index.h("digi-button", { key: '1208655a175f323aa4bff70b0cf8daa28e2f3e86', ref: (el) => (this._primaryButton = el), afVariation: buttonVariation_enum.ButtonVariation.PRIMARY, onAfOnClick: (e) => this.primaryClickHandler(e) }, this.afPrimaryButtonText))))))))));
293
290
  }
294
291
  get hostElement() { return index.getElement(this); }
295
292
  };
@@ -3,15 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
6
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
7
7
  require('./badge-notification-shape.enum-ff802554.js');
8
8
  require('./badge-status-variation.enum-0a5adc21.js');
9
- require('./button-size.enum-1fd86b9e.js');
10
- require('./button-type.enum-406723db.js');
9
+ require('./code-example-variation.enum-1611825e.js');
10
+ require('./form-input-search-variation.enum-e0e025b1.js');
11
11
  require('./button-variation.enum-bc521499.js');
12
12
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
13
13
  require('./bar-chart-variation.enum-a4e866b6.js');
14
- require('./code-example-variation.enum-c6557727.js');
15
14
  require('./code-variation.enum-c4a4e6fd.js');
16
15
  require('./expandable-accordion-header-level.enum-45483252.js');
17
16
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -19,7 +18,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
19
18
  require('./footer-card-variation.enum-99555edc.js');
20
19
  require('./form-checkbox-variation.enum-d2ca879e.js');
21
20
  require('./form-file-upload-variation.enum-634cfae8.js');
22
- require('./form-input-search-variation.enum-c50239bc.js');
23
21
  require('./form-input-type.enum-9c8ee12a.js');
24
22
  require('./form-input-variation.enum-c750520c.js');
25
23
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -28,7 +26,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
28
26
  require('./form-validation-message-variation.enum-855ae0be.js');
29
27
  require('./info-card-multi-type.enum-14746572.js');
30
28
  require('./info-card-variation.enum-64cef637.js');
31
- require('./layout-container-max-width.enum-7e637f44.js');
32
29
  const layoutBlockVariation_enum = require('./layout-block-variation.enum-f6102119.js');
33
30
  require('./layout-columns-variation.enum-65675649.js');
34
31
  require('./link-button-variation.enum-137785e3.js');
@@ -106,7 +106,7 @@ const FormCheckbox = class {
106
106
  this.afOnInput.emit(e);
107
107
  }
108
108
  render() {
109
- return (index.h(index.Host, { key: '119dd4d2bd465e027f4d5c79f8334b0bb9491048', tabindex: -1 }, index.h("div", { key: '4bb8e86d4323bfe5f079f3c082bf64b6f7eec750', class: Object.assign({ 'digi-form-checkbox': true }, this.cssModifiers) }, index.h("input", { key: '5c780e58b7df31cd9c13563b920b5e06ea74022c', class: "digi-form-checkbox__input", ref: (el) => {
109
+ return (index.h(index.Host, { key: '510236a0bc0048a6a657f366a3107de346109636', tabindex: -1 }, index.h("div", { key: 'cd0fa14b3b6c6f2455bc6f50a81ca42f0329c7f1', class: Object.assign({ 'digi-form-checkbox': true }, this.cssModifiers) }, index.h("input", { key: '98053e7e641744319df5f9331f9a92badd6d3fd2', class: "digi-form-checkbox__input", ref: (el) => {
110
110
  var _a;
111
111
  this._input = el;
112
112
  (_a = this === null || this === void 0 ? void 0 : this.afInputRef) === null || _a === void 0 ? void 0 : _a.call(this, el);
@@ -114,7 +114,7 @@ const FormCheckbox = class {
114
114
  ? null
115
115
  : `${this.afAriaDescribedby ? `${this.afAriaDescribedby} ` : ''}${this.afDescription ? `${this.afId}-description` : ''}`, "aria-labelledby": this.afAriaLabelledby, "aria-label": this.afAriaLabel, "aria-invalid": this.afValidation === formCheckboxVariation_enum.FormCheckboxValidation.ERROR
116
116
  ? 'true'
117
- : 'false', required: this.afRequired, id: this.afId, name: this.afName, type: "checkbox", checked: this.afChecked, value: this.afValue, indeterminate: this.afIndeterminate, autofocus: this.afAutofocus ? this.afAutofocus : null }), index.h("label", { key: '71599f05c3436521e96f2210606ad3c71f6d341e', htmlFor: this.afId, class: "digi-form-checkbox__label" }, index.h("span", { key: '6f2ecde62ef62aa8a286aa2e64b1932d1d605e0a', class: "digi-form-checkbox__box" }), this.afLabel), !!this.afDescription && (index.h("p", { key: '2ca8d8ddfb9578b236712cbb761348fb1c456f18', id: `${this.afId}-description`, class: "digi-form-checkbox__description" }, this.afDescription)))));
117
+ : 'false', required: this.afRequired, id: this.afId, name: this.afName, type: "checkbox", checked: this.afChecked, value: this.afValue, indeterminate: this.afIndeterminate, autofocus: this.afAutofocus ? this.afAutofocus : null }), index.h("label", { key: 'b32b615db271a2d7bb76edc8596f0bbbf15e63c9', htmlFor: this.afId, class: "digi-form-checkbox__label" }, index.h("span", { key: '85524659643995903e06178f6085914d79fbba67', class: "digi-form-checkbox__box" }), this.afLabel), !!this.afDescription && (index.h("p", { key: '4c9c218bd9fe34fe036a33853735657fea7a4d42', id: `${this.afId}-description`, class: "digi-form-checkbox__description" }, this.afDescription)))));
118
118
  }
119
119
  get hostElement() { return index.getElement(this); }
120
120
  static get watchers() { return {
@@ -4,15 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
6
  const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
7
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
8
8
  require('./badge-notification-shape.enum-ff802554.js');
9
9
  require('./badge-status-variation.enum-0a5adc21.js');
10
- require('./button-size.enum-1fd86b9e.js');
11
- require('./button-type.enum-406723db.js');
10
+ require('./code-example-variation.enum-1611825e.js');
11
+ require('./form-input-search-variation.enum-e0e025b1.js');
12
12
  require('./button-variation.enum-bc521499.js');
13
13
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
14
14
  require('./bar-chart-variation.enum-a4e866b6.js');
15
- require('./code-example-variation.enum-c6557727.js');
16
15
  require('./code-variation.enum-c4a4e6fd.js');
17
16
  require('./expandable-accordion-header-level.enum-45483252.js');
18
17
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -20,7 +19,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
20
19
  require('./footer-card-variation.enum-99555edc.js');
21
20
  require('./form-checkbox-variation.enum-d2ca879e.js');
22
21
  require('./form-file-upload-variation.enum-634cfae8.js');
23
- require('./form-input-search-variation.enum-c50239bc.js');
24
22
  require('./form-input-type.enum-9c8ee12a.js');
25
23
  require('./form-input-variation.enum-c750520c.js');
26
24
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -29,7 +27,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
29
27
  require('./form-validation-message-variation.enum-855ae0be.js');
30
28
  require('./info-card-multi-type.enum-14746572.js');
31
29
  require('./info-card-variation.enum-64cef637.js');
32
- require('./layout-container-max-width.enum-7e637f44.js');
33
30
  require('./layout-block-variation.enum-f6102119.js');
34
31
  require('./layout-columns-variation.enum-65675649.js');
35
32
  require('./link-button-variation.enum-137785e3.js');
@@ -105,7 +102,7 @@ const FormErrorList = class {
105
102
  this.afOnClickLink.emit({ id });
106
103
  }
107
104
  render() {
108
- return (index.h("div", { key: '21fce283555655608307df2c622c110777ca78fc', class: "digi-form-error-list", id: this.afId }, index.h("digi-notification-alert", { key: '377d7dda9657fd6316fab80ec8db491c37970ce1', ref: (el) => (this._notificationAlert = el), "af-heading": this.afHeading, "af-heading-level": this.afHeadingLevel, "af-variation": typographyVariation_enum.NotificationAlertVariation.DANGER }, this.afDescription && (index.h("digi-typography", { key: '8fe62a6f8446faf2218b374f7ad5a7ba05f54424', "af-variation": typographyVariation_enum.TypographyVariation.SMALL }, index.h("p", { key: '1caa60c105eb0021b65b904229486e35ae936f77', class: "digi-form-error-list__description" }, this.afDescription))), index.h("slot", { key: '9dbdd2998a7223163642c78fd3b0b15537f16f78' }))));
105
+ return (index.h("div", { key: '20c0abb4ab980259a7df09361582ca810f3c7e49', class: "digi-form-error-list", id: this.afId }, index.h("digi-notification-alert", { key: '963c583b7a4b48aad78244ee152f3e667fa5a84b', ref: (el) => (this._notificationAlert = el), "af-heading": this.afHeading, "af-heading-level": this.afHeadingLevel, "af-variation": typographyVariation_enum.NotificationAlertVariation.DANGER }, this.afDescription && (index.h("digi-typography", { key: '64683c5c4291245db96757ecc62dc7611f440f46', "af-variation": typographyVariation_enum.TypographyVariation.SMALL }, index.h("p", { key: '56aecfbaf54858ce376c121061745364c445e72c', class: "digi-form-error-list__description" }, this.afDescription))), index.h("slot", { key: 'f09680d52c7895a1a888456e5b8e1f605fdf173b' }))));
109
106
  }
110
107
  get hostElement() { return index.getElement(this); }
111
108
  };
@@ -4,9 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
6
  const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
- const formInputSearchVariation_enum = require('./form-input-search-variation.enum-c50239bc.js');
7
+ const formInputSearchVariation_enum = require('./form-input-search-variation.enum-e0e025b1.js');
8
8
  const formInputType_enum = require('./form-input-type.enum-9c8ee12a.js');
9
- const buttonType_enum = require('./button-type.enum-406723db.js');
10
9
  const detectClickOutside_util = require('./detectClickOutside.util-3e764eb3.js');
11
10
  const detectFocusOutside_util = require('./detectFocusOutside.util-03c62976.js');
12
11
  require('./detectClosest.util-85b3507b.js');
@@ -45,7 +44,7 @@ const FormInputSearch = class {
45
44
  this.afAriaDescribedby = undefined;
46
45
  this.afVariation = formInputSearchVariation_enum.FormInputSearchVariation.MEDIUM;
47
46
  this.afHideButton = undefined;
48
- this.afButtonType = buttonType_enum.ButtonType.SUBMIT;
47
+ this.afButtonType = formInputSearchVariation_enum.ButtonType.SUBMIT;
49
48
  this.afButtonText = undefined;
50
49
  this.afButtonAriaLabel = undefined;
51
50
  this.afButtonAriaLabelledby = undefined;
@@ -0,0 +1,129 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7a477838.js');
6
+ const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
+ const logger_util = require('./logger.util-fdafc086.js');
8
+ const text = require('./text-65b1b58c.js');
9
+ const formValidationMessageVariation_enum = require('./form-validation-message-variation.enum-855ae0be.js');
10
+
11
+ const formLabelCss = ".sc-digi-form-label-h .digi-form-label.sc-digi-form-label{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--label--font-size--desktop);color:var(--digi--color--text--primary);display:flex;flex-direction:column}.sc-digi-form-label-h .digi-form-label__label--label.sc-digi-form-label{font-weight:var(--digi--typography--label--font-weight--desktop)}.sc-digi-form-label-h .digi-form-label__label--label.sc-digi-form-label,.sc-digi-form-label-h .digi-form-label__label--description.sc-digi-form-label{line-height:var(--digi--typography--label--line-height--desktop);cursor:pointer;display:block}.sc-digi-form-label-h .digi-form-label__label-group.sc-digi-form-label{display:inline-flex;align-items:center;gap:var(--digi--gutter--icon)}.sc-digi-form-label-h .digi-form-label__description.sc-digi-form-label{max-width:var(--digi--paragraph-width--medium);line-height:var(--digi--typography--label-description--line-height--desktop);font-size:var(--digi--typography--label-description--font-size--desktop)}";
12
+ const DigiFormLabelStyle0 = formLabelCss;
13
+
14
+ const FormLabel = class {
15
+ constructor(hostRef) {
16
+ index.registerInstance(this, hostRef);
17
+ this.labelText = undefined;
18
+ this.hasActionSlot = undefined;
19
+ this.afLabel = undefined;
20
+ this.afId = randomIdGenerator_util.randomIdGenerator('digi-form-label');
21
+ this.afFor = undefined;
22
+ this.afDescription = undefined;
23
+ this.afRequired = undefined;
24
+ this.afAnnounceIfOptional = false;
25
+ this.afRequiredText = text._t.required.toLowerCase();
26
+ this.afAnnounceIfOptionalText = text._t.optional.toLowerCase();
27
+ }
28
+ componentWillLoad() {
29
+ this.setLabelText();
30
+ this.validateFor();
31
+ this.handleSlotVisibility();
32
+ }
33
+ validateFor() {
34
+ if (this.afFor == null) {
35
+ logger_util.logger.warn(`digi-form-label must have a for attribute. Please add a for attribute using af-for`, this.hostElement);
36
+ }
37
+ }
38
+ setLabelText() {
39
+ this.labelText = `${this.afLabel} ${this.requiredText}`;
40
+ if (!this.afLabel) {
41
+ logger_util.logger.warn(`digi-form-label must have a label. Please add a label using af-label`, this.hostElement);
42
+ }
43
+ }
44
+ handleSlotVisibility() {
45
+ this.hasActionSlot = !!this.hostElement.querySelector('[slot="actions"]');
46
+ }
47
+ get requiredText() {
48
+ if (this.afRequired && !this.afAnnounceIfOptional) {
49
+ return this.afRequiredText ? ` (${this.afRequiredText})` : '';
50
+ }
51
+ else if (!this.afRequired && this.afAnnounceIfOptional) {
52
+ return this.afAnnounceIfOptionalText
53
+ ? ` (${this.afAnnounceIfOptionalText})`
54
+ : '';
55
+ }
56
+ else {
57
+ return '';
58
+ }
59
+ }
60
+ render() {
61
+ return (index.h("div", { key: '24ae333ab5edc928ce4d26e6e4da0f642617792a', class: "digi-form-label" }, index.h("div", { key: 'b1a5073a7c9883b13a86f741b865c3b368c1d02b', class: "digi-form-label__label-group" }, this.afFor && this.afLabel && (index.h("label", { key: '4dd98d11699d82e0e6b5f1127ca0e97382dc45d1', class: "digi-form-label__label", htmlFor: this.afFor, id: this.afId }, index.h("span", { key: 'a8c1b2cf89d24625e3c13a93bac5fd144d95a3cb', class: "digi-form-label__label--label" }, this.labelText), this.afDescription && (index.h("span", { key: '4a82c714e6b4f3189772d44bd5748c830252a8d5', class: "digi-form-label__label--description" }, this.afDescription)))), this.hasActionSlot && (index.h("div", { key: 'd07f90e8e0a8ba9061686bf7cc331480091fbb33', class: "digi-form-label__actions" }, index.h("slot", { key: '7c5f1750217d9666a6543044e6dbb29ee4839940', name: "actions" }))))));
62
+ }
63
+ get hostElement() { return index.getElement(this); }
64
+ static get watchers() { return {
65
+ "afFor": ["validateFor"],
66
+ "afLabel": ["setLabelText"],
67
+ "afRequired": ["setLabelText"],
68
+ "afAnnounceIfOptional": ["setLabelText"]
69
+ }; }
70
+ };
71
+ FormLabel.style = DigiFormLabelStyle0;
72
+
73
+ const formValidationMessageCss = ".sc-digi-form-validation-message-h{--digi--form-validation-message--icon-color--success:var(--digi--color--icon--validation--success);--digi--form-validation-message--icon-color--warning:var(--digi--color--icon--validation--warning);--digi--form-validation-message--icon-color--error:var(--digi--color--icon--validation--error)}.sc-digi-form-validation-message-h .digi-form-validation-message.sc-digi-form-validation-message{display:flex;flex-wrap:wrap;align-items:center}.sc-digi-form-validation-message-h .digi-form-validation-message--success.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--success)}.sc-digi-form-validation-message-h .digi-form-validation-message--warning.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--warning)}.sc-digi-form-validation-message-h .digi-form-validation-message--error.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--error)}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message{color:var(--ICON-COLOR);margin-inline-end:var(--digi--gutter--icon)}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message>*.sc-digi-form-validation-message{--digi--icon--width:1.25em;--digi--icon--height:1.25em;--digi--icon--color:var(--ICON-COLOR);display:flex}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message .warning.sc-digi-form-validation-message{top:3px;position:relative}.sc-digi-form-validation-message-h .digi-form-validation-message__text.sc-digi-form-validation-message{flex:1;font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--tag--font-size--desktop);color:var(--digi--color--text--primary)}";
74
+ const DigiFormValidationMessageStyle0 = formValidationMessageCss;
75
+
76
+ const FormValidationMessage = class {
77
+ constructor(hostRef) {
78
+ index.registerInstance(this, hostRef);
79
+ this.afVariation = formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS;
80
+ }
81
+ get cssModifiers() {
82
+ return {
83
+ 'digi-form-validation-message--success': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS,
84
+ 'digi-form-validation-message--error': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR,
85
+ 'digi-form-validation-message--warning': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.WARNING
86
+ };
87
+ }
88
+ get icon() {
89
+ switch (this.afVariation) {
90
+ case formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS:
91
+ return index.h("digi-icon-validation-success", null);
92
+ case formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR:
93
+ return index.h("digi-icon-validation-error", null);
94
+ case formValidationMessageVariation_enum.FormValidationMessageVariation.WARNING:
95
+ return index.h("digi-icon-validation-warning", { class: "warning" });
96
+ }
97
+ }
98
+ render() {
99
+ return (index.h("div", { key: 'b15c3cca06f4e015c7006bae470876b246b6ce06', class: Object.assign({ 'digi-form-validation-message': true }, this.cssModifiers) }, index.h("div", { key: '1e9378eb8b193c35e24e700ef865fb44ae4fb28b', class: "digi-form-validation-message__icon", "aria-hidden": "true" }, this.icon), index.h("span", { key: '6e72b4f07b641d63603914a33720d6b09a5bd44f', class: "digi-form-validation-message__text" }, index.h("slot", { key: '74cfa597bf12b19fb2dbef039eac148358ff2635' }))));
100
+ }
101
+ get hostElement() { return index.getElement(this); }
102
+ };
103
+ FormValidationMessage.style = DigiFormValidationMessageStyle0;
104
+
105
+ const iconValidationSuccessCss = ".sc-digi-icon-validation-success-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-validation-success-h svg.sc-digi-icon-validation-success{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
106
+ const DigiIconValidationSuccessStyle0 = iconValidationSuccessCss;
107
+
108
+ const IconCheckCircle = class {
109
+ constructor(hostRef) {
110
+ index.registerInstance(this, hostRef);
111
+ this.afTitle = undefined;
112
+ this.afDesc = undefined;
113
+ this.afSvgAriaHidden = true;
114
+ this.afSvgAriaLabelledby = undefined;
115
+ this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
116
+ }
117
+ render() {
118
+ return (index.h("svg", { key: '8e17bc8da17af20998fb67b64fc24b40461b176c', class: "digi-icon-validation-success", width: "25", height: "25", viewBox: "0 0 25 25", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
119
+ ? this.afSvgAriaLabelledby
120
+ : this.afTitle
121
+ ? this.titleId
122
+ : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '6f56caf229cfb9e2d8f6f54eaeaa4f86c9881eaf', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'f7fa4c25a72c4ef312a8f6daedf31ce199979bc2' }, this.afDesc), index.h("path", { key: 'f90d6e4c93085c88e81ef6935289f437a6a26aa6', class: "digi-icon-validation-success__shape", d: "M25 12.5C25 19.404 19.404 25 12.5 25S0 19.404 0 12.5 5.596 0 12.5 0 25 5.596 25 12.5zm-13.946 6.619l9.274-9.275a.806.806 0 000-1.14l-1.14-1.14a.806.806 0 00-1.14 0l-7.564 7.563-3.531-3.531a.807.807 0 00-1.14 0l-1.141 1.14a.806.806 0 000 1.14l5.242 5.243a.806.806 0 001.14 0z", fill: "currentColor", "fill-rule": "nonzero" })));
123
+ }
124
+ };
125
+ IconCheckCircle.style = DigiIconValidationSuccessStyle0;
126
+
127
+ exports.digi_form_label = FormLabel;
128
+ exports.digi_form_validation_message = FormValidationMessage;
129
+ exports.digi_icon_validation_success = IconCheckCircle;
@@ -3,15 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
6
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
7
7
  require('./badge-notification-shape.enum-ff802554.js');
8
8
  require('./badge-status-variation.enum-0a5adc21.js');
9
- require('./button-size.enum-1fd86b9e.js');
10
- require('./button-type.enum-406723db.js');
9
+ require('./code-example-variation.enum-1611825e.js');
10
+ require('./form-input-search-variation.enum-e0e025b1.js');
11
11
  require('./button-variation.enum-bc521499.js');
12
12
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
13
13
  require('./bar-chart-variation.enum-a4e866b6.js');
14
- require('./code-example-variation.enum-c6557727.js');
15
14
  require('./code-variation.enum-c4a4e6fd.js');
16
15
  require('./expandable-accordion-header-level.enum-45483252.js');
17
16
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -19,7 +18,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
19
18
  require('./footer-card-variation.enum-99555edc.js');
20
19
  require('./form-checkbox-variation.enum-d2ca879e.js');
21
20
  require('./form-file-upload-variation.enum-634cfae8.js');
22
- require('./form-input-search-variation.enum-c50239bc.js');
23
21
  require('./form-input-type.enum-9c8ee12a.js');
24
22
  require('./form-input-variation.enum-c750520c.js');
25
23
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -28,7 +26,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
28
26
  require('./form-validation-message-variation.enum-855ae0be.js');
29
27
  require('./info-card-multi-type.enum-14746572.js');
30
28
  require('./info-card-variation.enum-64cef637.js');
31
- require('./layout-container-max-width.enum-7e637f44.js');
32
29
  const layoutBlockVariation_enum = require('./layout-block-variation.enum-f6102119.js');
33
30
  require('./layout-columns-variation.enum-65675649.js');
34
31
  require('./link-button-variation.enum-137785e3.js');
@@ -9,14 +9,13 @@ const detectClickOutside_util = require('./detectClickOutside.util-3e764eb3.js')
9
9
  const detectFocusOutside_util = require('./detectFocusOutside.util-03c62976.js');
10
10
  const text = require('./text-65b1b58c.js');
11
11
  require('./badge-notification-shape.enum-ff802554.js');
12
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
12
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
13
13
  require('./badge-status-variation.enum-0a5adc21.js');
14
- require('./button-size.enum-1fd86b9e.js');
15
- require('./button-type.enum-406723db.js');
14
+ require('./code-example-variation.enum-1611825e.js');
15
+ require('./form-input-search-variation.enum-e0e025b1.js');
16
16
  require('./button-variation.enum-bc521499.js');
17
17
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
18
18
  require('./bar-chart-variation.enum-a4e866b6.js');
19
- require('./code-example-variation.enum-c6557727.js');
20
19
  require('./code-variation.enum-c4a4e6fd.js');
21
20
  require('./expandable-accordion-header-level.enum-45483252.js');
22
21
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -24,7 +23,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
24
23
  require('./footer-card-variation.enum-99555edc.js');
25
24
  require('./form-checkbox-variation.enum-d2ca879e.js');
26
25
  require('./form-file-upload-variation.enum-634cfae8.js');
27
- require('./form-input-search-variation.enum-c50239bc.js');
28
26
  const formInputType_enum = require('./form-input-type.enum-9c8ee12a.js');
29
27
  const formInputVariation_enum = require('./form-input-variation.enum-c750520c.js');
30
28
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -33,7 +31,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
33
31
  require('./form-validation-message-variation.enum-855ae0be.js');
34
32
  require('./info-card-multi-type.enum-14746572.js');
35
33
  require('./info-card-variation.enum-64cef637.js');
36
- require('./layout-container-max-width.enum-7e637f44.js');
37
34
  require('./layout-block-variation.enum-f6102119.js');
38
35
  require('./layout-columns-variation.enum-65675649.js');
39
36
  require('./link-button-variation.enum-137785e3.js');