@duetds/components 6.11.2 → 7.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 (640) hide show
  1. package/hydrate/index.js +309 -230
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +14 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +25 -19
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -2
  25. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-header_2.cjs.entry.js +14 -9
  28. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-modal.cjs.entry.js +6 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-number-input.cjs.entry.js +4 -1
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -4
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +2 -2
  79. package/lib/cjs/{teleport-d79735ca.js → floating-ui.dom.esm-d537b048.js} +154 -195
  80. package/lib/cjs/{focus-utils-e486f272.js → focus-utils-6d4f01d9.js} +1 -1
  81. package/lib/cjs/{index-04de4d35.js → index-b7f668db.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/teleport-04ad16c2.js +88 -0
  84. package/lib/cjs/{token-utils-18a05118.js → token-utils-c1864408.js} +1 -1
  85. package/lib/cjs/{tokens.module-d30fb52a.js → tokens.module-5fe478ed.js} +0 -1
  86. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  87. package/lib/collection/components/duet-alert/duet-alert.js +54 -2
  88. package/lib/collection/components/duet-button/duet-button.js +5 -5
  89. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  90. package/lib/collection/components/duet-card/duet-card.js +3 -3
  91. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  92. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  93. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  94. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  95. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  96. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  97. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  98. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  99. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  100. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  101. package/lib/collection/components/duet-fieldset/duet-fieldset.js +25 -1
  102. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  103. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  104. package/lib/collection/components/duet-header/duet-header.js +28 -23
  105. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  106. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  107. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  108. package/lib/collection/components/duet-input/duet-input.js +8 -8
  109. package/lib/collection/components/duet-label/duet-label.js +2 -2
  110. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  111. package/lib/collection/components/duet-list/duet-list.js +3 -3
  112. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  113. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  114. package/lib/collection/components/duet-modal/duet-modal.js +7 -3
  115. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  116. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  117. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  118. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  119. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  120. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  121. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  122. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  123. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  124. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  125. package/lib/collection/components/duet-select/duet-select.js +5 -5
  126. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  127. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  128. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  129. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  130. package/lib/collection/components/duet-step/duet-step.js +2 -2
  131. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  132. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  133. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  134. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  135. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  136. package/lib/collection/components/duet-upload/duet-upload.js +53 -29
  137. package/lib/collection/components/duet-upload/upload-item-header.js +6 -1
  138. package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -4
  139. package/lib/collection/utils/math.utils.js +3 -0
  140. package/lib/collection/utils/teleport.js +55 -7
  141. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  142. package/lib/dist-custom-elements/duet-alert.js +1 -1
  143. package/lib/dist-custom-elements/duet-badge.js +1 -1
  144. package/lib/dist-custom-elements/duet-banner.js +5 -5
  145. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  146. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  147. package/lib/dist-custom-elements/duet-button.js +1 -1
  148. package/lib/dist-custom-elements/duet-callout.js +3 -3
  149. package/lib/dist-custom-elements/duet-caption.js +1 -1
  150. package/lib/dist-custom-elements/duet-card.js +4 -4
  151. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  152. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  153. package/lib/dist-custom-elements/duet-chip.js +2 -2
  154. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  155. package/lib/dist-custom-elements/duet-choice.js +5 -5
  156. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  157. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  158. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  159. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  160. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  161. package/lib/dist-custom-elements/duet-divider.js +1 -1
  162. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  163. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  164. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  165. package/lib/dist-custom-elements/duet-footer.js +4 -4
  166. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  167. package/lib/dist-custom-elements/duet-grid.js +1 -1
  168. package/lib/dist-custom-elements/duet-header.js +20 -15
  169. package/lib/dist-custom-elements/duet-heading.js +1 -1
  170. package/lib/dist-custom-elements/duet-hero.js +9 -9
  171. package/lib/dist-custom-elements/duet-icon.js +1 -1
  172. package/lib/dist-custom-elements/duet-input.js +1 -1
  173. package/lib/dist-custom-elements/duet-label.js +1 -1
  174. package/lib/dist-custom-elements/duet-layout.js +1 -1
  175. package/lib/dist-custom-elements/duet-link.js +1 -1
  176. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  177. package/lib/dist-custom-elements/duet-list.js +1 -1
  178. package/lib/dist-custom-elements/duet-logo.js +1 -1
  179. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  180. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  181. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  182. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  183. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  184. package/lib/dist-custom-elements/duet-modal.js +11 -7
  185. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  186. package/lib/dist-custom-elements/duet-nav.js +1 -1
  187. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  188. package/lib/dist-custom-elements/duet-notification.js +2 -2
  189. package/lib/dist-custom-elements/duet-number-input.js +14 -11
  190. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  191. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  192. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  193. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  194. package/lib/dist-custom-elements/duet-popup-menu.js +3 -2
  195. package/lib/dist-custom-elements/duet-progress.js +1 -1
  196. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  197. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  198. package/lib/dist-custom-elements/duet-radio.js +1 -1
  199. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  200. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  201. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  202. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  203. package/lib/dist-custom-elements/duet-select.js +1 -1
  204. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  205. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  206. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  207. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  208. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  209. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  210. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  211. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  212. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  213. package/lib/dist-custom-elements/duet-step.js +4 -4
  214. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  215. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  216. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  217. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  218. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  219. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  220. package/lib/dist-custom-elements/duet-tab.js +1 -1
  221. package/lib/dist-custom-elements/duet-table.js +1 -1
  222. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  223. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  224. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  225. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  226. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  227. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  228. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  229. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  230. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  231. package/lib/dist-custom-elements/duet-tray.js +4 -4
  232. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  233. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  234. package/lib/dist-custom-elements/duet-upload.js +41 -34
  235. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  236. package/lib/dist-custom-elements/index.js +1 -1
  237. package/lib/dist-custom-elements/{p-e354b687.js → p-19b04293.js} +1 -1
  238. package/lib/dist-custom-elements/{p-b260c7b8.js → p-1fef65c4.js} +1 -1
  239. package/lib/dist-custom-elements/{p-f9076d3e.js → p-20d8a7ab.js} +14 -13
  240. package/lib/dist-custom-elements/{p-a5cb00f4.js → p-28facbdc.js} +2 -2
  241. package/lib/dist-custom-elements/{p-2bd44c3c.js → p-32a42529.js} +4 -4
  242. package/lib/dist-custom-elements/{p-4f3d4b28.js → p-34d193a7.js} +1 -1
  243. package/lib/dist-custom-elements/{p-411af53d.js → p-371290d2.js} +3 -3
  244. package/lib/dist-custom-elements/{p-44316a49.js → p-47bc3fc6.js} +1 -1
  245. package/lib/dist-custom-elements/{p-67584a63.js → p-4fa0d10e.js} +3 -3
  246. package/lib/dist-custom-elements/{p-df34106b.js → p-507ae246.js} +2 -2
  247. package/lib/dist-custom-elements/{p-f79fe19b.js → p-591040e5.js} +1 -1
  248. package/lib/dist-custom-elements/p-63c149ab.js +86 -0
  249. package/lib/dist-custom-elements/{p-baa9e0f3.js → p-66206ea5.js} +1 -1
  250. package/lib/dist-custom-elements/{p-9dc40c4f.js → p-80bd412e.js} +10 -10
  251. package/lib/dist-custom-elements/{p-2ca516d3.js → p-84003069.js} +5 -3
  252. package/lib/dist-custom-elements/{p-b244b9d4.js → p-86f35893.js} +1 -1
  253. package/lib/dist-custom-elements/{p-784fe90e.js → p-8adb9463.js} +155 -195
  254. package/lib/dist-custom-elements/{p-e4198c92.js → p-8dbc5e4b.js} +1 -1
  255. package/lib/dist-custom-elements/{p-748fb4e9.js → p-8e9d78b5.js} +1 -1
  256. package/lib/dist-custom-elements/{p-726f277c.js → p-91f98ca2.js} +5 -5
  257. package/lib/dist-custom-elements/{p-c56b4bad.js → p-93609c40.js} +2 -2
  258. package/lib/dist-custom-elements/{p-b4163126.js → p-960b00e1.js} +2 -2
  259. package/lib/dist-custom-elements/{p-2159ffc3.js → p-9fb22951.js} +2 -2
  260. package/lib/dist-custom-elements/{p-32fdcec8.js → p-a7cc7bd9.js} +2 -2
  261. package/lib/dist-custom-elements/{p-e22956bf.js → p-b1fa6ee7.js} +2 -2
  262. package/lib/dist-custom-elements/{p-351b0f8c.js → p-b95006a5.js} +2 -2
  263. package/lib/dist-custom-elements/{p-7a906a81.js → p-c2a056b1.js} +2 -2
  264. package/lib/dist-custom-elements/{p-c624c26b.js → p-c85f0028.js} +8 -8
  265. package/lib/dist-custom-elements/{p-229871c3.js → p-cbc43bac.js} +21 -7
  266. package/lib/dist-custom-elements/{p-d9bf49cf.js → p-da75f5d9.js} +1 -1
  267. package/lib/dist-custom-elements/{p-66ab9994.js → p-dd112690.js} +5 -5
  268. package/lib/dist-custom-elements/{p-7c68ac5a.js → p-de10f837.js} +7 -6
  269. package/lib/dist-custom-elements/{p-661e7864.js → p-de68431d.js} +1 -1
  270. package/lib/dist-custom-elements/{p-f13081a0.js → p-e78bd379.js} +3 -3
  271. package/lib/dist-custom-elements/{p-cd9b5f96.js → p-e8475b3c.js} +1 -1
  272. package/lib/dist-custom-elements/{p-ce09b821.js → p-eb0475d3.js} +1 -1
  273. package/lib/dist-custom-elements/{p-f30df343.js → p-f3ffb5b4.js} +2 -2
  274. package/lib/dist-custom-elements/{p-7ece12ec.js → p-f933f857.js} +1 -1
  275. package/lib/duet/duet.esm.js +1 -1
  276. package/lib/duet/duet.js +1 -1
  277. package/lib/duet/{p-31441d04.system.entry.js → p-01aaac6a.system.entry.js} +1 -1
  278. package/lib/duet/{p-cc9f1e7e.system.entry.js → p-01f3e23e.system.entry.js} +1 -1
  279. package/lib/duet/{p-5d5f6c7c.entry.js → p-02ce139d.entry.js} +1 -1
  280. package/lib/duet/{p-e0af1e68.system.entry.js → p-02fa277e.system.entry.js} +1 -1
  281. package/lib/duet/{p-581baf04.system.entry.js → p-04dd24ca.system.entry.js} +1 -1
  282. package/lib/duet/p-05545e81.entry.js +4 -0
  283. package/lib/duet/{p-beb2fcfd.entry.js → p-07871336.entry.js} +1 -1
  284. package/lib/duet/{p-4aa7c43e.entry.js → p-090b0eb4.entry.js} +1 -1
  285. package/lib/duet/{p-fb763129.system.entry.js → p-0c3cfb88.system.entry.js} +1 -1
  286. package/lib/duet/{p-97b7d224.entry.js → p-0ec7bc0d.entry.js} +1 -1
  287. package/lib/duet/{p-20a3bf2b.entry.js → p-104758cf.entry.js} +1 -1
  288. package/lib/duet/{p-02c5180a.entry.js → p-10b014f5.entry.js} +1 -1
  289. package/lib/duet/{p-ff433afd.entry.js → p-1137a234.entry.js} +1 -1
  290. package/lib/duet/{p-27c853fe.system.entry.js → p-11a22107.system.entry.js} +1 -1
  291. package/lib/duet/{p-8b533166.system.entry.js → p-125fff3c.system.entry.js} +1 -1
  292. package/lib/duet/{p-da62279b.system.entry.js → p-15c364ef.system.entry.js} +1 -1
  293. package/lib/duet/p-180b9ef7.entry.js +4 -0
  294. package/lib/duet/{p-9e675661.entry.js → p-1e2689a2.entry.js} +1 -1
  295. package/lib/duet/{p-23ba8301.entry.js → p-231e217b.entry.js} +1 -1
  296. package/lib/duet/{p-7d15ac32.system.entry.js → p-2362c81c.system.entry.js} +1 -1
  297. package/lib/duet/{p-e8323345.system.entry.js → p-236348a6.system.entry.js} +1 -1
  298. package/lib/duet/{p-2ec51250.entry.js → p-26082482.entry.js} +1 -1
  299. package/lib/duet/{p-d67196da.entry.js → p-27831ad1.entry.js} +1 -1
  300. package/lib/duet/{p-a47b67e2.system.entry.js → p-27cbcb00.system.entry.js} +1 -1
  301. package/lib/duet/{p-a262eecf.entry.js → p-28cbcde9.entry.js} +1 -1
  302. package/lib/duet/{p-abdf2879.system.entry.js → p-2b90e0bf.system.entry.js} +1 -1
  303. package/lib/duet/{p-994fd476.entry.js → p-2f8baf13.entry.js} +1 -1
  304. package/lib/duet/{p-a1d40591.entry.js → p-2f8ff010.entry.js} +1 -1
  305. package/lib/duet/{p-bd3fd83f.system.entry.js → p-31f51b63.system.entry.js} +1 -1
  306. package/lib/duet/{p-05dc550e.entry.js → p-3351f110.entry.js} +1 -1
  307. package/lib/duet/{p-3c2ae0d5.js → p-33620d03.js} +1 -1
  308. package/lib/duet/{p-cc6b57eb.entry.js → p-3493bd62.entry.js} +1 -1
  309. package/lib/duet/{p-262f4bf7.system.entry.js → p-361a40a6.system.entry.js} +1 -1
  310. package/lib/duet/{p-57fbcba7.entry.js → p-399ae33f.entry.js} +1 -1
  311. package/lib/duet/{p-5e96a337.system.entry.js → p-3a48878a.system.entry.js} +1 -1
  312. package/lib/duet/{p-dae9d8eb.entry.js → p-3addfa0b.entry.js} +1 -1
  313. package/lib/duet/{p-c4917f80.system.entry.js → p-3bd38a60.system.entry.js} +1 -1
  314. package/lib/duet/{p-475d6e82.entry.js → p-3bdaca53.entry.js} +1 -1
  315. package/lib/duet/{p-e380af5d.system.entry.js → p-3bf13db2.system.entry.js} +1 -1
  316. package/lib/duet/{p-ef2eb6d8.entry.js → p-3ddc61bc.entry.js} +1 -1
  317. package/lib/duet/p-3e3f76cc.entry.js +4 -0
  318. package/lib/duet/{p-b5ea61f3.entry.js → p-407bc2e8.entry.js} +1 -1
  319. package/lib/duet/{p-6753d3e9.entry.js → p-4525bb7b.entry.js} +1 -1
  320. package/lib/duet/p-45d92a24.system.js +4 -0
  321. package/lib/duet/{p-e6ebe252.system.entry.js → p-46ae0197.system.entry.js} +1 -1
  322. package/lib/duet/{p-a77b749b.system.entry.js → p-4908aa39.system.entry.js} +1 -1
  323. package/lib/duet/{p-00cf42c2.system.js → p-491006e1.system.js} +1 -1
  324. package/lib/duet/{p-9915e4e4.system.entry.js → p-494e7691.system.entry.js} +1 -1
  325. package/lib/duet/{p-07bea2fe.system.entry.js → p-49e39bc1.system.entry.js} +1 -1
  326. package/lib/duet/p-4b3bef47.entry.js +4 -0
  327. package/lib/duet/{p-c674c251.system.entry.js → p-4b57b898.system.entry.js} +1 -1
  328. package/lib/duet/{p-37fb65e4.entry.js → p-4d272de8.entry.js} +1 -1
  329. package/lib/duet/{p-aec52fd0.system.entry.js → p-4ee4938c.system.entry.js} +1 -1
  330. package/lib/duet/{p-de07a6c7.system.entry.js → p-4f99c879.system.entry.js} +1 -1
  331. package/lib/duet/{p-3b651d8c.entry.js → p-5003f2f7.entry.js} +1 -1
  332. package/lib/duet/p-501d76ac.system.entry.js +4 -0
  333. package/lib/duet/{p-c3c627fe.entry.js → p-51ea8a1e.entry.js} +1 -1
  334. package/lib/duet/{p-66dfe352.entry.js → p-56e8e51e.entry.js} +1 -1
  335. package/lib/duet/{p-df3c0a26.system.entry.js → p-5700d7df.system.entry.js} +1 -1
  336. package/lib/duet/{p-d7cb8511.system.entry.js → p-5726b0c6.system.entry.js} +1 -1
  337. package/lib/duet/{p-5aa537c3.system.entry.js → p-57c81cdf.system.entry.js} +1 -1
  338. package/lib/duet/{p-fc25294f.entry.js → p-58d191e0.entry.js} +1 -1
  339. package/lib/duet/{p-2dd573a3.system.entry.js → p-5bb44d21.system.entry.js} +1 -1
  340. package/lib/duet/{p-99cc8fb5.entry.js → p-5be89661.entry.js} +1 -1
  341. package/lib/duet/{p-1dc34d52.entry.js → p-5c682b2c.entry.js} +1 -1
  342. package/lib/duet/{p-892dab61.system.entry.js → p-5d06caee.system.entry.js} +1 -1
  343. package/lib/duet/{p-e8bef1aa.entry.js → p-5d1f9c44.entry.js} +1 -1
  344. package/lib/duet/{p-e500eae6.system.entry.js → p-61c551d2.system.entry.js} +1 -1
  345. package/lib/duet/{p-6049c423.system.entry.js → p-63330f08.system.entry.js} +1 -1
  346. package/lib/duet/{p-5b27a74d.system.entry.js → p-63566970.system.entry.js} +1 -1
  347. package/lib/duet/p-63c149ab.js +4 -0
  348. package/lib/duet/{p-a8ea10a9.system.entry.js → p-66ab3c0e.system.entry.js} +1 -1
  349. package/lib/duet/{p-3d94b518.system.entry.js → p-6c1482e6.system.entry.js} +1 -1
  350. package/lib/duet/{p-e7ddaaf0.entry.js → p-715db5f9.entry.js} +1 -1
  351. package/lib/duet/{p-277d9e45.system.js → p-71a46879.system.js} +1 -1
  352. package/lib/duet/{p-a829f5f4.entry.js → p-720ffaf8.entry.js} +1 -1
  353. package/lib/duet/{p-19babdcf.entry.js → p-74bee1d0.entry.js} +1 -1
  354. package/lib/duet/{p-dd6874b5.entry.js → p-7709b117.entry.js} +1 -1
  355. package/lib/duet/{p-107887be.entry.js → p-7a3c5568.entry.js} +1 -1
  356. package/lib/duet/{p-807acf6d.system.entry.js → p-7d1b0468.system.entry.js} +1 -1
  357. package/lib/duet/{p-b6e0c13e.entry.js → p-7d5e5659.entry.js} +1 -1
  358. package/lib/duet/{p-f08bc317.entry.js → p-7e43823e.entry.js} +1 -1
  359. package/lib/duet/{p-00ff74e5.system.entry.js → p-8894b5f8.system.entry.js} +1 -1
  360. package/lib/duet/p-892b0784.system.js +5 -0
  361. package/lib/duet/p-8ace7a8f.entry.js +4 -0
  362. package/lib/duet/{p-6ecf1c48.entry.js → p-8adadd0e.entry.js} +1 -1
  363. package/lib/duet/p-8adb9463.js +4 -0
  364. package/lib/duet/{p-2d1e8451.system.entry.js → p-8aee7f16.system.entry.js} +1 -1
  365. package/lib/duet/{p-7431d1f1.system.entry.js → p-8b01d5ae.system.entry.js} +1 -1
  366. package/lib/duet/p-8be782cb.system.entry.js +4 -0
  367. package/lib/duet/{p-6999dcca.system.entry.js → p-8bfe774e.system.entry.js} +1 -1
  368. package/lib/duet/{p-10695d55.system.js → p-8c6e3c4f.system.js} +1 -1
  369. package/lib/duet/{p-1a5b2354.system.entry.js → p-8e64876c.system.entry.js} +1 -1
  370. package/lib/duet/p-90b90630.system.entry.js +4 -0
  371. package/lib/duet/p-90d5fb9a.entry.js +4 -0
  372. package/lib/duet/{p-72e1da72.system.entry.js → p-9116810a.system.entry.js} +1 -1
  373. package/lib/duet/{p-e232c9a6.entry.js → p-91e92ff0.entry.js} +1 -1
  374. package/lib/duet/{p-1f2686b7.system.entry.js → p-92a26eb7.system.entry.js} +1 -1
  375. package/lib/duet/{p-a11c326b.entry.js → p-939bceb1.entry.js} +1 -1
  376. package/lib/duet/{p-a6b44386.system.entry.js → p-968c8724.system.entry.js} +1 -1
  377. package/lib/duet/{p-2f3e999c.system.entry.js → p-9837720e.system.entry.js} +1 -1
  378. package/lib/duet/{p-164aa67a.entry.js → p-99a6c65d.entry.js} +1 -1
  379. package/lib/duet/{p-9793321f.system.entry.js → p-9a9f4f83.system.entry.js} +1 -1
  380. package/lib/duet/{p-60b48a3d.entry.js → p-9ad54264.entry.js} +1 -1
  381. package/lib/duet/{p-3f96bb94.entry.js → p-9bad6410.entry.js} +1 -1
  382. package/lib/duet/{p-f601fb92.entry.js → p-9ef41dff.entry.js} +1 -1
  383. package/lib/duet/{p-9364781c.system.entry.js → p-a04538da.system.entry.js} +2 -2
  384. package/lib/duet/{p-b482b06d.system.entry.js → p-a4dc39b7.system.entry.js} +1 -1
  385. package/lib/duet/{p-2a49661d.entry.js → p-a61f629f.entry.js} +1 -1
  386. package/lib/duet/p-a659351d.system.js +4 -0
  387. package/lib/duet/{p-ac93ef4d.entry.js → p-a6a78989.entry.js} +1 -1
  388. package/lib/duet/{p-75f7a572.js → p-a76ceaf6.js} +1 -1
  389. package/lib/duet/{p-78207603.entry.js → p-acfd55b1.entry.js} +1 -1
  390. package/lib/duet/{p-2f35384b.entry.js → p-afd647b4.entry.js} +1 -1
  391. package/lib/duet/{p-6586bc19.entry.js → p-b150413c.entry.js} +1 -1
  392. package/lib/duet/{p-5ccd0a8a.system.entry.js → p-b4548652.system.entry.js} +1 -1
  393. package/lib/duet/{p-88b565dc.system.entry.js → p-b50fe6a3.system.entry.js} +1 -1
  394. package/lib/duet/p-b63e9d32.system.entry.js +4 -0
  395. package/lib/duet/p-b63fdf97.entry.js +4 -0
  396. package/lib/duet/{p-c84acb8f.entry.js → p-b70632f4.entry.js} +1 -1
  397. package/lib/duet/{p-d202fbd4.system.entry.js → p-b8f45b9b.system.entry.js} +1 -1
  398. package/lib/duet/{p-ab7d36e8.system.entry.js → p-ba8d654e.system.entry.js} +1 -1
  399. package/lib/duet/{p-1507d44f.entry.js → p-c047dce3.entry.js} +1 -1
  400. package/lib/duet/{p-2d4c9a5b.system.entry.js → p-c06dd7ff.system.entry.js} +1 -1
  401. package/lib/duet/{p-3ba5bafd.system.entry.js → p-c1aa415d.system.entry.js} +1 -1
  402. package/lib/duet/p-c6265d54.system.entry.js +4 -0
  403. package/lib/duet/{p-11c031c1.system.entry.js → p-c7f078b4.system.entry.js} +1 -1
  404. package/lib/duet/{p-18607658.entry.js → p-ca587193.entry.js} +1 -1
  405. package/lib/duet/{p-66604d21.system.entry.js → p-cc2c3bda.system.entry.js} +1 -1
  406. package/lib/duet/{p-aa6a1a0e.system.entry.js → p-ccbd26f8.system.entry.js} +1 -1
  407. package/lib/duet/{p-7b8bd6ae.system.entry.js → p-cd494ec0.system.entry.js} +1 -1
  408. package/lib/duet/{p-a9997645.entry.js → p-d0517764.entry.js} +1 -1
  409. package/lib/duet/{p-b4b2f99a.entry.js → p-d1ada824.entry.js} +1 -1
  410. package/lib/duet/{p-94ecf766.system.entry.js → p-d23f5574.system.entry.js} +1 -1
  411. package/lib/duet/{p-14fc2fba.entry.js → p-d38f4401.entry.js} +1 -1
  412. package/lib/duet/{p-eb3a72fc.system.entry.js → p-d5a72abd.system.entry.js} +1 -1
  413. package/lib/duet/{p-375a323f.system.entry.js → p-d976e355.system.entry.js} +1 -1
  414. package/lib/duet/p-dafb7efd.js +5 -0
  415. package/lib/duet/{p-a9a34171.system.entry.js → p-dc00285e.system.entry.js} +1 -1
  416. package/lib/duet/{p-ab26e29d.entry.js → p-ddec1906.entry.js} +1 -1
  417. package/lib/duet/{p-cfea40ab.system.entry.js → p-dfecd542.system.entry.js} +1 -1
  418. package/lib/duet/{p-a93132ea.entry.js → p-e1a2ad9b.entry.js} +1 -1
  419. package/lib/duet/{p-2b1d7c14.entry.js → p-e26224c8.entry.js} +1 -1
  420. package/lib/duet/{p-a6307cb3.entry.js → p-e2674cbd.entry.js} +1 -1
  421. package/lib/duet/{p-489c0d61.entry.js → p-e464c127.entry.js} +1 -1
  422. package/lib/duet/{p-2a6ca4ea.system.entry.js → p-e62bcf02.system.entry.js} +1 -1
  423. package/lib/duet/{p-9355b478.system.entry.js → p-e73904ab.system.entry.js} +1 -1
  424. package/lib/duet/{p-8459e611.entry.js → p-e775f206.entry.js} +1 -1
  425. package/lib/duet/{p-7de54682.entry.js → p-e8496052.entry.js} +1 -1
  426. package/lib/duet/p-e8e50fdb.entry.js +4 -0
  427. package/lib/duet/{p-dee965b3.system.entry.js → p-ecfdc7d9.system.entry.js} +1 -1
  428. package/lib/duet/p-edddef22.entry.js +4 -0
  429. package/lib/duet/{p-6a640a77.system.entry.js → p-ee2dc527.system.entry.js} +1 -1
  430. package/lib/duet/{p-86c132c9.entry.js → p-ee3d6a73.entry.js} +1 -1
  431. package/lib/duet/{p-9fbdd8b6.entry.js → p-ef194759.entry.js} +1 -1
  432. package/lib/duet/{p-747807c9.system.entry.js → p-f06b4b03.system.entry.js} +1 -1
  433. package/lib/duet/{p-3fcc6db9.entry.js → p-f29123b4.entry.js} +1 -1
  434. package/lib/duet/{p-e3b90925.system.js → p-f36c856d.system.js} +1 -1
  435. package/lib/duet/{p-197496f4.system.entry.js → p-f36ee41c.system.entry.js} +1 -1
  436. package/lib/duet/p-fa56fe59.entry.js +4 -0
  437. package/lib/duet/{p-e91ebfb3.system.entry.js → p-fa7cdc28.system.entry.js} +1 -1
  438. package/lib/duet/{p-8ac9042e.system.entry.js → p-fc3275ba.system.entry.js} +1 -1
  439. package/lib/duet/p-fd4785ab.js +4 -0
  440. package/lib/duet/{p-1274aa0f.system.entry.js → p-fd54a219.system.entry.js} +1 -1
  441. package/lib/duet/{p-3d8f8731.entry.js → p-fe4cd626.entry.js} +1 -1
  442. package/lib/esm/duet-action-button.entry.js +3 -3
  443. package/lib/esm/duet-alert.entry.js +14 -2
  444. package/lib/esm/duet-badge.entry.js +1 -1
  445. package/lib/esm/duet-banner.entry.js +3 -3
  446. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  447. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  448. package/lib/esm/duet-button_2.entry.js +3 -3
  449. package/lib/esm/duet-callout.entry.js +1 -1
  450. package/lib/esm/duet-caption_4.entry.js +3 -3
  451. package/lib/esm/duet-card.entry.js +3 -3
  452. package/lib/esm/duet-checkbox.entry.js +1 -1
  453. package/lib/esm/duet-checkmark.entry.js +1 -1
  454. package/lib/esm/duet-chip.entry.js +1 -1
  455. package/lib/esm/duet-choice_2.entry.js +2 -2
  456. package/lib/esm/duet-collapsible.entry.js +1 -1
  457. package/lib/esm/duet-combobox.entry.js +1 -1
  458. package/lib/esm/duet-contact-card.entry.js +1 -1
  459. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  460. package/lib/esm/duet-date-picker.entry.js +2 -2
  461. package/lib/esm/duet-divider_2.entry.js +3 -3
  462. package/lib/esm/duet-editable-table_3.entry.js +25 -19
  463. package/lib/esm/duet-empty-state.entry.js +1 -1
  464. package/lib/esm/duet-fieldset.entry.js +3 -2
  465. package/lib/esm/duet-footer.entry.js +1 -1
  466. package/lib/esm/duet-grid_2.entry.js +1 -1
  467. package/lib/esm/duet-header_2.entry.js +14 -9
  468. package/lib/esm/duet-hero.entry.js +1 -1
  469. package/lib/esm/duet-icon.entry.js +3 -3
  470. package/lib/esm/duet-input_2.entry.js +1 -1
  471. package/lib/esm/duet-layout.entry.js +1 -1
  472. package/lib/esm/duet-list_2.entry.js +1 -1
  473. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  474. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  475. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  476. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  477. package/lib/esm/duet-menu-bar.entry.js +1 -1
  478. package/lib/esm/duet-modal.entry.js +6 -2
  479. package/lib/esm/duet-multiselect.entry.js +1 -1
  480. package/lib/esm/duet-nav.entry.js +1 -1
  481. package/lib/esm/duet-notification_2.entry.js +1 -1
  482. package/lib/esm/duet-number-input.entry.js +4 -1
  483. package/lib/esm/duet-page-heading.entry.js +1 -1
  484. package/lib/esm/duet-pagination_2.entry.js +1 -1
  485. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  486. package/lib/esm/duet-popup-menu.entry.js +3 -3
  487. package/lib/esm/duet-progress.entry.js +1 -1
  488. package/lib/esm/duet-promo-card.entry.js +3 -3
  489. package/lib/esm/duet-radio_2.entry.js +1 -1
  490. package/lib/esm/duet-range-slider.entry.js +2 -2
  491. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  492. package/lib/esm/duet-section-layout.entry.js +1 -1
  493. package/lib/esm/duet-select.entry.js +1 -1
  494. package/lib/esm/duet-shaped-image.entry.js +1 -1
  495. package/lib/esm/duet-show-more.entry.js +1 -1
  496. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  497. package/lib/esm/duet-slideout-link.entry.js +1 -1
  498. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  499. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  500. package/lib/esm/duet-slideout.entry.js +4 -4
  501. package/lib/esm/duet-step_2.entry.js +1 -1
  502. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  503. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  504. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  505. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  506. package/lib/esm/duet-textarea.entry.js +1 -1
  507. package/lib/esm/duet-toggle.entry.js +1 -1
  508. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  509. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  510. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  511. package/lib/esm/duet-toolbar.entry.js +1 -1
  512. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  513. package/lib/esm/duet-tooltip.entry.js +3 -3
  514. package/lib/esm/duet-tray.entry.js +2 -2
  515. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  516. package/lib/esm/duet-upload-item.entry.js +5 -4
  517. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  518. package/lib/esm/duet.js +3 -3
  519. package/lib/esm/{teleport-542f423e.js → floating-ui.dom.esm-6025c98f.js} +155 -195
  520. package/lib/esm/{focus-utils-8008bc82.js → focus-utils-8a8cfffd.js} +1 -1
  521. package/lib/esm/{index-79528b07.js → index-d48e2c74.js} +1 -1
  522. package/lib/esm/loader.js +3 -3
  523. package/lib/esm/teleport-4ede216d.js +86 -0
  524. package/lib/esm/{token-utils-058d6220.js → token-utils-a1dcaa4b.js} +1 -1
  525. package/lib/esm/{tokens.module-f436c2cd.js → tokens.module-ed773027.js} +1 -1
  526. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  527. package/lib/esm-es5/duet-alert.entry.js +2 -2
  528. package/lib/esm-es5/duet-badge.entry.js +1 -1
  529. package/lib/esm-es5/duet-banner.entry.js +1 -1
  530. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  531. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  532. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  533. package/lib/esm-es5/duet-callout.entry.js +1 -1
  534. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  535. package/lib/esm-es5/duet-card.entry.js +1 -1
  536. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  537. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  538. package/lib/esm-es5/duet-chip.entry.js +1 -1
  539. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  540. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  541. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  542. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  543. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  544. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  545. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  546. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  547. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  548. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  549. package/lib/esm-es5/duet-footer.entry.js +1 -1
  550. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  551. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  552. package/lib/esm-es5/duet-hero.entry.js +1 -1
  553. package/lib/esm-es5/duet-icon.entry.js +1 -1
  554. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  555. package/lib/esm-es5/duet-layout.entry.js +1 -1
  556. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  557. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  558. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  559. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  560. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  561. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  562. package/lib/esm-es5/duet-modal.entry.js +1 -1
  563. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  564. package/lib/esm-es5/duet-nav.entry.js +1 -1
  565. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  566. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  567. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  568. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  569. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  570. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  571. package/lib/esm-es5/duet-progress.entry.js +1 -1
  572. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  573. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  574. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  575. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  576. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  577. package/lib/esm-es5/duet-select.entry.js +1 -1
  578. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  579. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  580. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  581. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  582. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  583. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  584. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  585. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  586. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  587. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  588. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  589. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  590. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  591. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  592. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  594. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  595. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  596. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  597. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  598. package/lib/esm-es5/duet-tray.entry.js +1 -1
  599. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  600. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  601. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  602. package/lib/esm-es5/duet.js +1 -1
  603. package/lib/esm-es5/floating-ui.dom.esm-6025c98f.js +4 -0
  604. package/lib/esm-es5/focus-utils-8a8cfffd.js +4 -0
  605. package/lib/esm-es5/index-d48e2c74.js +5 -0
  606. package/lib/esm-es5/loader.js +1 -1
  607. package/lib/esm-es5/teleport-4ede216d.js +4 -0
  608. package/lib/esm-es5/{token-utils-058d6220.js → token-utils-a1dcaa4b.js} +1 -1
  609. package/lib/esm-es5/{tokens.module-f436c2cd.js → tokens.module-ed773027.js} +1 -1
  610. package/lib/types/components/duet-alert/duet-alert.d.ts +12 -0
  611. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +6 -1
  612. package/lib/types/components/duet-header/duet-header.d.ts +3 -0
  613. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
  614. package/lib/types/components/duet-upload/duet-upload.d.ts +20 -16
  615. package/lib/types/components.d.ts +32 -4
  616. package/lib/types/utils/teleport.d.ts +14 -2
  617. package/package.json +5 -5
  618. package/lib/duet/p-042b1636.entry.js +0 -4
  619. package/lib/duet/p-0e6350bf.system.entry.js +0 -4
  620. package/lib/duet/p-1002e2ae.system.entry.js +0 -4
  621. package/lib/duet/p-247f5600.entry.js +0 -4
  622. package/lib/duet/p-27530b53.js +0 -5
  623. package/lib/duet/p-30218ca6.system.entry.js +0 -4
  624. package/lib/duet/p-3ca2dafc.entry.js +0 -4
  625. package/lib/duet/p-4c063f5f.entry.js +0 -4
  626. package/lib/duet/p-7649b95e.js +0 -4
  627. package/lib/duet/p-7a0c7e22.system.entry.js +0 -4
  628. package/lib/duet/p-8c7ae2a9.system.js +0 -4
  629. package/lib/duet/p-8f416ae3.entry.js +0 -4
  630. package/lib/duet/p-949c4fd0.entry.js +0 -4
  631. package/lib/duet/p-be192c5b.js +0 -4
  632. package/lib/duet/p-be52bfd0.system.entry.js +0 -4
  633. package/lib/duet/p-be567ab1.entry.js +0 -4
  634. package/lib/duet/p-d86d90f2.entry.js +0 -4
  635. package/lib/duet/p-e15bdc0f.entry.js +0 -4
  636. package/lib/duet/p-ea8d7c61.system.js +0 -5
  637. package/lib/duet/p-f1d9862a.entry.js +0 -4
  638. package/lib/esm-es5/focus-utils-8008bc82.js +0 -4
  639. package/lib/esm-es5/index-79528b07.js +0 -5
  640. package/lib/esm-es5/teleport-542f423e.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as s,g as o}from"./p-27530b53.js";import{i as l}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{f as a,o as u,j as n,d as h,b as c,a as d,c as m}from"./p-f077c646.js";import{g as p,c as b,d as g}from"./p-076452be.js";import{p as x}from"./p-5a9d75e1.js";const v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.errorId=r("DuetError"),this.labelId=r("DuetLabel"),this.topCaptionId=r("DuetCaptionTop"),this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"},this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"},this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"},this.onChange=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(a(t)||u(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{n(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;h(t)||c(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(d(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=p(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=r("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,this.refresh()}connectedCallback(){b(this)}disconnectedCallback(){g(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async refresh(){this.processedItems=x(this.items)}render(){return i(s,{class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-multiselect-wrapper"},i("button",{id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`},this.placeholder),this.value&&this.value.length>0&&i("duet-badge",{class:"duet-multiselect-badge",margin:"none",theme:this.theme},this.value.length," ",this.selectedLangObject[this.language],i("duet-visually-hidden",null,", ",this.value.map((t=>t.label)).join(", "))),i("svg",{role:"img",class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),i("div",{id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},this.processedItems&&this.allControls&&i("div",{class:"duet-multiselect-all-control-buttons"},i("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedItems.map(((t,e)=>{var s,o;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(s=this.value)||void 0===s?void 0:s.includes(t),"accessible-selected":(null===(o=this.value)||void 0===o?void 0:o.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})})))),i("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))}get element(){return o(this)}static get watchers(){return{items:["refresh"]}}};v.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip{position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{position:absolute;right:3rem}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{v as duet_multiselect}
4
+ import{r as t,c as e,h as i,H as s,g as o}from"./p-dafb7efd.js";import{i as l}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{f as a,o as u,j as n,d as h,b as c,a as d,c as m}from"./p-f077c646.js";import{g as p,c as b,d as g}from"./p-076452be.js";import{p as x}from"./p-5a9d75e1.js";const v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.errorId=r("DuetError"),this.labelId=r("DuetLabel"),this.topCaptionId=r("DuetCaptionTop"),this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"},this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"},this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"},this.onChange=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(a(t)||u(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{n(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;h(t)||c(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(d(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=p(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=r("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,this.refresh()}connectedCallback(){b(this)}disconnectedCallback(){g(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async refresh(){this.processedItems=x(this.items)}render(){return i(s,{class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-multiselect-wrapper"},i("button",{id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`},this.placeholder),this.value&&this.value.length>0&&i("duet-badge",{class:"duet-multiselect-badge",margin:"none",theme:this.theme},this.value.length," ",this.selectedLangObject[this.language],i("duet-visually-hidden",null,", ",this.value.map((t=>t.label)).join(", "))),i("svg",{role:"img",class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),i("div",{id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},this.processedItems&&this.allControls&&i("div",{class:"duet-multiselect-all-control-buttons"},i("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedItems.map(((t,e)=>{var s,o;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(s=this.value)||void 0===s?void 0:s.includes(t),"accessible-selected":(null===(o=this.value)||void 0===o?void 0:o.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})})))),i("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))}get element(){return o(this)}static get watchers(){return{items:["refresh"]}}};v.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip{position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{position:absolute;right:3rem}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{v as duet_multiselect}
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
7
  import { d as debounce } from './js-utils-fa98b8cd.js';
8
8
  import { i as isKeyboardClick } from './keyboard-utils-d237bd5a.js';
9
9
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
10
- import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './token-utils-058d6220.js';
10
+ import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './token-utils-a1dcaa4b.js';
11
11
  import './string-utils-5954f458.js';
12
- import './tokens.module-f436c2cd.js';
12
+ import './tokens.module-ed773027.js';
13
13
 
14
14
  const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(0, 41, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179) !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px rgb(23, 28, 58) !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";
15
15
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
7
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
@@ -44,6 +44,7 @@ const DuetAlert = class {
44
44
  this.padding = "auto";
45
45
  this.variation = "default";
46
46
  this.dismissible = false;
47
+ this.focusable = false;
47
48
  }
48
49
  watchLanguageStateHandler(newValue, oldValue) {
49
50
  if (newValue !== oldValue && this.accessibleLabel === this.accessibleLabelDefaults[oldValue]) {
@@ -82,6 +83,15 @@ const DuetAlert = class {
82
83
  async hide() {
83
84
  this.handleHide();
84
85
  }
86
+ /**
87
+ * Sets focus on the specified `duet-alert`.
88
+ * Works only when focusable property is set to true.
89
+ * Use this method instead of the global
90
+ * `button.focus()`.
91
+ */
92
+ async setFocus(options) {
93
+ this.alertContainer.focus(options);
94
+ }
85
95
  /**
86
96
  * There is bug in NVDA screen reader
87
97
  * that is causing multiple alert readings
@@ -105,7 +115,9 @@ const DuetAlert = class {
105
115
  "duet-m-0": this.margin === "none",
106
116
  [this.variation]: true,
107
117
  "duet-theme-turva": this.theme === "turva",
108
- } }, h("div", { class: "duet-alert-container" }, this.icon && (h("div", { class: "duet-alert-icon" }, h("duet-icon", { size: "auto", name: this.icon, color: "currentColor" }))), h("span", { id: this.descriptiveId }, h("slot", null))), this.dismissible && (h("div", { class: "duet-alert-dismiss" }, h("duet-button", { variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, color: closeColor, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: this.handleDismiss, fixed: true }))))));
118
+ } }, h("div", { class: "duet-alert-container", ref: element => {
119
+ this.alertContainer = element;
120
+ }, tabindex: this.focusable ? "0" : undefined }, this.icon && (h("div", { class: "duet-alert-icon" }, h("duet-icon", { size: "auto", name: this.icon, color: "currentColor" }))), h("span", { id: this.descriptiveId }, h("slot", null))), this.dismissible && (h("div", { class: "duet-alert-dismiss" }, h("duet-button", { variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, color: closeColor, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: this.handleDismiss, fixed: true }))))));
109
121
  }
110
122
  static get watchers() { return {
111
123
  "language": ["watchLanguageStateHandler"]
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#e6f1f7;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fef3df}.duet-badge.warning.duet-theme-turva{background:#fef1db}.duet-badge.danger{background:#fce9ef}.duet-badge.danger.duet-theme-turva{background:#fceae7}.duet-badge.success{background:#e6f3ef}.duet-badge.success.duet-theme-turva{background:#e6f3ed}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:rgb(247, 178, 40)}.duet-badge.background-strong.warning.duet-theme-turva{background:rgb(250, 164, 15)}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}";
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
- import { g as getColorByName } from './token-utils-058d6220.js';
7
- import './tokens.module-f436c2cd.js';
6
+ import { g as getColorByName } from './token-utils-a1dcaa4b.js';
7
+ import './tokens.module-ed773027.js';
8
8
 
9
9
  const duetBannerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
10
10
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetBreadcrumbCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { a as getLocaleString } from './language-utils-6be16ff0.js';
7
7
  import './string-utils-5954f458.js';
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
7
7
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
8
- import { g as getColorByName } from './token-utils-058d6220.js';
8
+ import { g as getColorByName } from './token-utils-a1dcaa4b.js';
9
9
  import './string-utils-5954f458.js';
10
- import './tokens.module-f436c2cd.js';
10
+ import './tokens.module-ed773027.js';
11
11
 
12
12
  const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(23, 28, 58, 0.7)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px rgb(0, 41, 77), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px rgb(23, 28, 58), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
13
13
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { s as sanitizeString } from './string-utils-5954f458.js';
7
- import { g as getColorByName } from './token-utils-058d6220.js';
7
+ import { g as getColorByName } from './token-utils-a1dcaa4b.js';
8
8
  import { a as actionArrowRight } from './action-arrow-right-f7d56681.js';
9
9
  import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
10
10
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
11
11
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
12
- import './tokens.module-f436c2cd.js';
12
+ import './tokens.module-ed773027.js';
13
13
 
14
14
  const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}";
15
15
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
7
  import { i as isKeyboardClick } from './keyboard-utils-d237bd5a.js';
8
8
  import { s as sanitizeString } from './string-utils-5954f458.js';
9
- import { g as getColorByName } from './token-utils-058d6220.js';
10
- import './tokens.module-f436c2cd.js';
9
+ import { g as getColorByName } from './token-utils-a1dcaa4b.js';
10
+ import './tokens.module-ed773027.js';
11
11
 
12
12
  const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
13
13
  const duetBlock = "div";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
7
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { h as hasSlot } from './slot-query-8c7dce21.js';
7
7
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
8
8
  import { c as createID } from './create-id-981107da.js';
9
- import { F as FocusGuard } from './focus-utils-8008bc82.js';
9
+ import { F as FocusGuard } from './focus-utils-8a8cfffd.js';
10
10
  import { i as isKeyboardClick, h as isQuestionKey, f as isEscapeKey } from './keyboard-utils-d237bd5a.js';
11
11
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
12
12
  import { f as findCheckedOption, w as watchForOptions } from './watch-options-dd55bce8.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
6
6
  import { f as font_size_medium, t as tokens } from './tokens-f6b32339.js';
7
7
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { d as debounce } from './js-utils-fa98b8cd.js';
7
7
  import { j as isEnterKey, f as isEscapeKey, o as isTabKey, b as isArrowUpKey, c as isArrowDownKey } from './keyboard-utils-d237bd5a.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
7
7
  import './string-utils-5954f458.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCookieConsentCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-cookie-consent{padding:20px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
- import { F as FocusGuard } from './focus-utils-8008bc82.js';
7
+ import { F as FocusGuard } from './focus-utils-8a8cfffd.js';
8
8
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
9
9
  import './string-utils-5954f458.js';
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, g as getElement, H as Host } from './index-79528b07.js';
4
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
- import { g as getColorByName } from './token-utils-058d6220.js';
7
- import './tokens.module-f436c2cd.js';
6
+ import { g as getColorByName } from './token-utils-a1dcaa4b.js';
7
+ import './tokens.module-ed773027.js';
8
8
 
9
9
  const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
10
10
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-79528b07.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { f as fieldSorter, d as debounce } from './js-utils-fa98b8cd.js';
7
7
  import { i as isKeyboardClick } from './keyboard-utils-d237bd5a.js';
8
8
  import { g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, a as getLocaleString, s as sanitizeString } from './language-utils-6be16ff0.js';
9
- import { p as sizeNavigation, s as sizeHeader } from './tokens.module-f436c2cd.js';
10
- import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-058d6220.js';
9
+ import { p as sizeNavigation, s as sizeHeader } from './tokens.module-ed773027.js';
10
+ import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-a1dcaa4b.js';
11
11
  import { c as createID } from './create-id-981107da.js';
12
12
  import { g as getError, a as getI18nError } from './errorcodes.utils-c0c33bce.js';
13
13
  import './string-utils-5954f458.js';
@@ -446,10 +446,15 @@ const errorCodes = [
446
446
  }
447
447
  ];
448
448
 
449
+ const headerAriaLabel = {
450
+ fi: "Liiteluettelo",
451
+ sv: "Lista över bilagor",
452
+ en: "Attachments list",
453
+ };
449
454
  const UploadItemHeader = ({ label, categoryLabel }) => {
450
- return (h("div", { class: "items-header" },
451
- categoryLabel && (h("duet-heading", { class: "category-header", border: "solid", color: "gray-darker", level: "h3", "visual-level": "h6", weight: "semibold", margin: "none" }, getLocaleString(categoryLabel))),
452
- h("duet-heading", { class: { "filename-header": true, "no-category": !categoryLabel }, border: "solid", color: "gray-darker", level: "h3", "visual-level": "h6", weight: "semibold", margin: "none" }, getLocaleString(label))));
455
+ return (h("div", { class: "items-header", tabindex: "0", "aria-label": getLocaleString(headerAriaLabel) },
456
+ categoryLabel && (h("duet-heading", { class: "category-header", border: "solid", color: "gray-darker", level: "h3", "visual-level": "h6", weight: "semibold", margin: "none", "aria-hidden": "true" }, getLocaleString(categoryLabel))),
457
+ h("duet-heading", { class: { "filename-header": true, "no-category": !categoryLabel }, border: "solid", color: "gray-darker", level: "h3", "visual-level": "h6", weight: "semibold", margin: "none", "aria-hidden": "true" }, getLocaleString(label))));
453
458
  };
454
459
 
455
460
  const validateFileExtension = (name, allowedExtensions) => {
@@ -1116,27 +1121,27 @@ const DuetUpload = class {
1116
1121
  this.caption = undefined;
1117
1122
  this.statusLabelDefaults = {
1118
1123
  fi: {
1119
- inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
1120
- inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
1121
- done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
1122
- doneWithErrors: "Lataus valmis, {filesUploaded} tiedostoa ladattu onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
1123
- files: "tiedostot",
1124
+ inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1125
+ inProgressWithErrors: "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1126
+ done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1127
+ doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1128
+ files: "tiedostoa",
1124
1129
  file: "tiedosto",
1125
1130
  },
1126
1131
  sv: {
1127
- inProgress: "Adding {filesUploaded} of {filesTotal}",
1132
+ inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1128
1133
  inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1129
- done: "Alla {filesTotal} har lagts till",
1130
- doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1134
+ done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1135
+ doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1131
1136
  files: "filer",
1132
1137
  file: "fil",
1133
1138
  },
1134
1139
  en: {
1135
- inProgress: "Adding {filesUploaded} of {filesTotal}",
1140
+ inProgress: "Uploading {filesUploaded} of {filesTotal}",
1136
1141
  inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1137
- done: "All {filesTotal} added successfully",
1138
- doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
1139
- files: "File",
1142
+ done: "Upload completed, {filesTotal} added successfully",
1143
+ doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1144
+ files: "files",
1140
1145
  file: "file",
1141
1146
  },
1142
1147
  };
@@ -1194,6 +1199,7 @@ const DuetUpload = class {
1194
1199
  sv: "Lägg till en bilaga",
1195
1200
  en: "Uploaded file",
1196
1201
  };
1202
+ this.headerHeadingLevel = "h3";
1197
1203
  this.hideHeader = false;
1198
1204
  this.emitEvent = false;
1199
1205
  this.groups = [
@@ -1330,7 +1336,7 @@ const DuetUpload = class {
1330
1336
  this.externalUploadButton.ariaLabel = caption;
1331
1337
  }
1332
1338
  // @ts-ignore
1333
- return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { margin: "none", size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), !this.hideButton && (h(Fragment, null, h("duet-spacer", { size: "large" }), h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
1339
+ return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { margin: "none", size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), !this.hideButton && (h(Fragment, null, h("duet-spacer", { size: "large" }), h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
1334
1340
  this.bytesMaxReached ||
1335
1341
  this.filesToUploadExceedsLimit ||
1336
1342
  this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, null, h("duet-spacer", { size: "medium" }), h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(0, 41, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d48e2c74.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { h as hasSlot } from './slot-query-8c7dce21.js';
7
7
  import { c as createID } from './create-id-981107da.js';
@@ -23,6 +23,7 @@ const DuetFieldset = class {
23
23
  this.label = undefined;
24
24
  this.error = undefined;
25
25
  this.accessibleLiveError = "polite";
26
+ this.labelHeadingLevel = "h3";
26
27
  this.labelHidden = false;
27
28
  }
28
29
  /**
@@ -44,7 +45,7 @@ const DuetFieldset = class {
44
45
  class: {
45
46
  "duet-fieldset": true,
46
47
  "duet-theme-turva": this.theme === "turva",
47
- } }, h("legend", { id: this.labelId }, h("span", null, this.label), this.caption && h("span", null, this.caption)), h("div", { class: {
48
+ } }, h("legend", { id: this.labelId }, h(this.labelHeadingLevel, null, this.label), this.caption && h("span", null, this.caption)), h("div", { class: {
48
49
  "duet-legend-wrapper": true,
49
50
  "duet-legend-has-caption": !!this.caption,
50
51
  "duet-legend-has-tooltip": this.hasTooltip,
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-79528b07.js';
4
+ import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-d48e2c74.js';
5
5
  import { a as actionArrowRight } from './action-arrow-right-f7d56681.js';
6
6
  import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
7
7
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';