@duetds/components 10.0.0-alpha.27 → 10.0.0-alpha.29

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 (352) hide show
  1. package/hydrate/index.js +164 -127
  2. package/hydrate/index.mjs +164 -127
  3. package/lib/cjs/{a11y-utils-B33qnv_c.js → a11y-utils-C2urHioz.js} +1 -1
  4. package/lib/cjs/{app-globals-DxEBgBDv.js → app-globals-CiRzLcdj.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-alert.cjs.entry.js +5 -5
  7. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -20
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +12 -10
  14. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +8 -8
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -5
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +10 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +23 -10
  31. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-hero.cjs.entry.js +18 -11
  33. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-indicator.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-input_2.cjs.entry.js +22 -23
  36. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-modal.cjs.entry.js +26 -14
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  49. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  79. package/lib/cjs/duet-toggle.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  87. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-D9V4NJkh.js → errorcodes.utils-CT287Ycp.js} +1 -1
  93. package/lib/cjs/{focus-utils-2MQWj2yf.js → focus-utils-DYmtJ1FV.js} +1 -1
  94. package/lib/cjs/{index-CgbT-GDe.js → index-ULRMHMT6.js} +1 -1
  95. package/lib/cjs/{label-B2EZulEI.js → label-Cw2Vvd6f.js} +1 -1
  96. package/lib/cjs/{language-utils-DjVt82-o.js → language-utils-D_noDTNR.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-mZWWDERy.js → slot-utils-CuWfl8gF.js} +1 -1
  99. package/lib/cjs/{themeable-component-DtTN09xK.js → themeable-component-vXSpPXDS.js} +1 -1
  100. package/lib/cjs/{token-utils-DsVwGXGM.js → token-utils-b3aW02zZ.js} +7 -4
  101. package/lib/collection/components/duet-alert/duet-alert.css +1 -0
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +9 -22
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  105. package/lib/collection/components/duet-button/duet-button.css +3 -0
  106. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  107. package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -3
  108. package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
  109. package/lib/collection/components/duet-date-picker/duet-date-picker.js +3 -3
  110. package/lib/collection/components/duet-fieldset/duet-fieldset.js +9 -4
  111. package/lib/collection/components/duet-grid/duet-grid.js +27 -12
  112. package/lib/collection/components/duet-hero/duet-hero.css +4 -0
  113. package/lib/collection/components/duet-hero/duet-hero.js +13 -6
  114. package/lib/collection/components/duet-input/duet-input.css +7 -0
  115. package/lib/collection/components/duet-input/duet-input.js +26 -42
  116. package/lib/collection/components/duet-link/duet-link.css +6 -0
  117. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
  118. package/lib/collection/components/duet-modal/duet-modal.js +20 -8
  119. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  120. package/lib/collection/components/duet-nav/duet-nav.css +4 -0
  121. package/lib/collection/components/duet-number-input/duet-number-input.js +3 -3
  122. package/lib/collection/components/duet-page-heading/duet-page-heading.js +1 -1
  123. package/lib/collection/components/duet-panel/duet-panel.css +5 -4
  124. package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -0
  125. package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -2
  126. package/lib/collection/components/duet-phone-input/duet-phone-input.js +1 -1
  127. package/lib/collection/components/duet-radio-group/duet-radio-group.js +2 -2
  128. package/lib/collection/components/duet-select/duet-select.js +6 -6
  129. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
  130. package/lib/collection/components/duet-table/duet-table-styles.js +1 -0
  131. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  132. package/lib/collection/utils/token-utils.js +3 -3
  133. package/lib/duet/duet.esm.js +1 -1
  134. package/lib/duet/{p-493d938a.entry.js → p-01b28129.entry.js} +1 -1
  135. package/lib/duet/{p-e439d733.entry.js → p-01bfda23.entry.js} +1 -1
  136. package/lib/duet/{p-875dd701.entry.js → p-01c80d5a.entry.js} +1 -1
  137. package/lib/duet/{p-0528f691.entry.js → p-06ca53e7.entry.js} +1 -1
  138. package/lib/duet/{p-8ff78f91.entry.js → p-098d9160.entry.js} +1 -1
  139. package/lib/duet/{p-72c7db64.entry.js → p-0a9945d3.entry.js} +1 -1
  140. package/lib/duet/{p-6fe283f7.entry.js → p-0eb86bf1.entry.js} +1 -1
  141. package/lib/duet/{p-cd4d12c2.entry.js → p-10640c4f.entry.js} +1 -1
  142. package/lib/duet/{p-b37b1542.entry.js → p-18674149.entry.js} +1 -1
  143. package/lib/duet/{p-4107efb5.entry.js → p-1d192423.entry.js} +1 -1
  144. package/lib/duet/p-1e043a65.entry.js +4 -0
  145. package/lib/duet/{p-f6b76f66.entry.js → p-218d8d0c.entry.js} +1 -1
  146. package/lib/duet/{p-9af77c24.entry.js → p-22baa879.entry.js} +1 -1
  147. package/lib/duet/{p-d11b094d.entry.js → p-22c91ab8.entry.js} +1 -1
  148. package/lib/duet/{p-c4fe8bae.entry.js → p-23cf09fc.entry.js} +1 -1
  149. package/lib/duet/{p-7379c2ed.entry.js → p-242e8590.entry.js} +1 -1
  150. package/lib/duet/p-2defb00a.entry.js +4 -0
  151. package/lib/duet/p-35d6644f.entry.js +4 -0
  152. package/lib/duet/p-366f6c75.entry.js +4 -0
  153. package/lib/duet/{p-a94cc8a6.entry.js → p-368f8b17.entry.js} +1 -1
  154. package/lib/duet/{p-208fdfe6.entry.js → p-3740d6a3.entry.js} +1 -1
  155. package/lib/duet/{p-e882bbb5.entry.js → p-38f1f411.entry.js} +1 -1
  156. package/lib/duet/{p-5efda812.entry.js → p-3a774155.entry.js} +1 -1
  157. package/lib/duet/{p-1228299f.entry.js → p-40965806.entry.js} +1 -1
  158. package/lib/duet/{p-fc7d6429.entry.js → p-43417674.entry.js} +1 -1
  159. package/lib/duet/{p-076d2d0d.entry.js → p-4743f2de.entry.js} +1 -1
  160. package/lib/duet/{p-2c976b5a.entry.js → p-49bccc83.entry.js} +1 -1
  161. package/lib/duet/{p-5a8f14cf.entry.js → p-4a0f1cdb.entry.js} +1 -1
  162. package/lib/duet/{p-c43669b3.entry.js → p-4a4795be.entry.js} +1 -1
  163. package/lib/duet/{p-b025df86.entry.js → p-4c421d4a.entry.js} +1 -1
  164. package/lib/duet/{p-91f39296.entry.js → p-5175a2dd.entry.js} +1 -1
  165. package/lib/duet/{p-5b2527f7.entry.js → p-531ccf9e.entry.js} +1 -1
  166. package/lib/duet/{p-a582e823.entry.js → p-545fc3f7.entry.js} +1 -1
  167. package/lib/duet/{p-d65a706f.entry.js → p-55905e75.entry.js} +1 -1
  168. package/lib/duet/p-5689da45.entry.js +4 -0
  169. package/lib/duet/{p-4f638a3d.entry.js → p-56fbb9c9.entry.js} +1 -1
  170. package/lib/duet/{p-bc7d4da0.entry.js → p-5eaf6164.entry.js} +1 -1
  171. package/lib/duet/{p-4b032feb.entry.js → p-5ef0982d.entry.js} +1 -1
  172. package/lib/duet/p-6442c2be.entry.js +4 -0
  173. package/lib/duet/{p-a431d704.entry.js → p-6b5e575b.entry.js} +1 -1
  174. package/lib/duet/{p-6943a2ef.entry.js → p-6c1a7d2a.entry.js} +1 -1
  175. package/lib/duet/{p-59cd72fc.entry.js → p-726b706a.entry.js} +1 -1
  176. package/lib/duet/{p-25ebe6a5.entry.js → p-73041240.entry.js} +1 -1
  177. package/lib/duet/{p-15d4751c.entry.js → p-7340a148.entry.js} +1 -1
  178. package/lib/duet/{p-bed6b29f.entry.js → p-78f0104d.entry.js} +1 -1
  179. package/lib/duet/{p-ba6dc53e.entry.js → p-7c4b51bc.entry.js} +1 -1
  180. package/lib/duet/p-7d682f0c.entry.js +4 -0
  181. package/lib/duet/p-7dde6589.entry.js +4 -0
  182. package/lib/duet/{p-9500f26b.entry.js → p-80c2a22b.entry.js} +1 -1
  183. package/lib/duet/{p-39087512.entry.js → p-86613005.entry.js} +1 -1
  184. package/lib/duet/{p-a274b8fd.entry.js → p-866d5fba.entry.js} +1 -1
  185. package/lib/duet/{p-79c93372.entry.js → p-878e745d.entry.js} +1 -1
  186. package/lib/duet/{p-7ace4629.entry.js → p-89de527f.entry.js} +1 -1
  187. package/lib/duet/{p-41dd144f.entry.js → p-8eb11318.entry.js} +1 -1
  188. package/lib/duet/p-96179df4.entry.js +4 -0
  189. package/lib/duet/{p-3facac5a.entry.js → p-994e0989.entry.js} +1 -1
  190. package/lib/duet/{p-931b4437.entry.js → p-9d630f8d.entry.js} +1 -1
  191. package/lib/duet/{p-Ob09ol4-.js → p-B0lHdUDq.js} +1 -1
  192. package/lib/duet/{p-BSOF0zb5.js → p-Bq8ssolA.js} +1 -1
  193. package/lib/duet/p-C-pON5qf.js +4 -0
  194. package/lib/duet/{p-vt84lkeQ.js → p-Cg-Sy7Qf.js} +1 -1
  195. package/lib/duet/p-CmVjSa2G.js +4 -0
  196. package/lib/duet/{p-1s1EpusX.js → p-D8Vx4GZo.js} +1 -1
  197. package/lib/duet/{p-BXJZKiJg.js → p-DNq3_6qZ.js} +1 -1
  198. package/lib/duet/p-DhhvHRbK.js +4 -0
  199. package/lib/duet/p-Do6ugHz0.js +4 -0
  200. package/lib/duet/{p-fe393084.entry.js → p-a456687d.entry.js} +1 -1
  201. package/lib/duet/p-a6eed3fb.entry.js +4 -0
  202. package/lib/duet/p-a954bbc6.entry.js +4 -0
  203. package/lib/duet/{p-ed5f5c6b.entry.js → p-ac84994d.entry.js} +1 -1
  204. package/lib/duet/{p-a9094bdc.entry.js → p-ae830c4f.entry.js} +1 -1
  205. package/lib/duet/{p-55a63695.entry.js → p-b8f14348.entry.js} +1 -1
  206. package/lib/duet/{p-deb90dc7.entry.js → p-c3e002cb.entry.js} +1 -1
  207. package/lib/duet/{p-a0e708db.entry.js → p-c6c245d2.entry.js} +1 -1
  208. package/lib/duet/p-c6c2f1dc.entry.js +4 -0
  209. package/lib/duet/{p-b6354004.entry.js → p-ca1ac603.entry.js} +1 -1
  210. package/lib/duet/{p-3389969d.entry.js → p-cb5020b3.entry.js} +1 -1
  211. package/lib/duet/{p-4289c214.entry.js → p-cc2fe910.entry.js} +1 -1
  212. package/lib/duet/{p-1995091e.entry.js → p-d0fe1162.entry.js} +1 -1
  213. package/lib/duet/{p-fe29dee3.entry.js → p-d4c5c776.entry.js} +1 -1
  214. package/lib/duet/{p-9f9576a2.entry.js → p-d77d51df.entry.js} +1 -1
  215. package/lib/duet/{p-338667ab.entry.js → p-e03b4d6d.entry.js} +1 -1
  216. package/lib/duet/{p-75fd0eca.entry.js → p-e18ded3f.entry.js} +1 -1
  217. package/lib/duet/{p-b001a8a4.entry.js → p-e1997fb2.entry.js} +1 -1
  218. package/lib/duet/p-e41e1570.entry.js +4 -0
  219. package/lib/duet/{p-3c7ba14f.entry.js → p-e443cf8a.entry.js} +1 -1
  220. package/lib/duet/{p-ef821bec.entry.js → p-e6a4707d.entry.js} +1 -1
  221. package/lib/duet/{p-ab61831a.entry.js → p-e9ff33aa.entry.js} +1 -1
  222. package/lib/duet/{p-ca2fd9dc.entry.js → p-eb7799de.entry.js} +1 -1
  223. package/lib/duet/{p-167290f7.entry.js → p-ed4f565e.entry.js} +1 -1
  224. package/lib/duet/{p-263790e3.entry.js → p-ee8f51c9.entry.js} +1 -1
  225. package/lib/duet/{p-50afabfb.entry.js → p-f25c9b3a.entry.js} +1 -1
  226. package/lib/duet/{p-503a290b.entry.js → p-f950ae45.entry.js} +1 -1
  227. package/lib/duet/{p-c745c02a.entry.js → p-fd19cbeb.entry.js} +1 -1
  228. package/lib/duet/{p-6a95d722.entry.js → p-ffa644e6.entry.js} +1 -1
  229. package/lib/duet/p-vLG7vkZg.js +4 -0
  230. package/lib/esm/{a11y-utils-CROKOfOD.js → a11y-utils-k-txkQIa.js} +1 -1
  231. package/lib/esm/{app-globals-CahJi_2c.js → app-globals-BL1PM4GK.js} +1 -1
  232. package/lib/esm/duet-action-button.entry.js +4 -4
  233. package/lib/esm/duet-alert.entry.js +5 -5
  234. package/lib/esm/duet-badge.entry.js +3 -3
  235. package/lib/esm/duet-banner.entry.js +4 -4
  236. package/lib/esm/duet-breadcrumb.entry.js +11 -20
  237. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  238. package/lib/esm/duet-button_2.entry.js +5 -5
  239. package/lib/esm/duet-callout.entry.js +3 -3
  240. package/lib/esm/duet-caption_4.entry.js +12 -10
  241. package/lib/esm/duet-card.entry.js +4 -4
  242. package/lib/esm/duet-checkbox.entry.js +4 -4
  243. package/lib/esm/duet-checkmark.entry.js +2 -2
  244. package/lib/esm/duet-chip.entry.js +3 -3
  245. package/lib/esm/duet-choice_2.entry.js +6 -6
  246. package/lib/esm/duet-collapsible.entry.js +17 -8
  247. package/lib/esm/duet-combobox.entry.js +4 -4
  248. package/lib/esm/duet-contact-card.entry.js +3 -3
  249. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  250. package/lib/esm/duet-date-picker.entry.js +8 -8
  251. package/lib/esm/duet-divider_2.entry.js +3 -3
  252. package/lib/esm/duet-editable-table_3.entry.js +6 -5
  253. package/lib/esm/duet-empty-state.entry.js +2 -2
  254. package/lib/esm/duet-fieldset.entry.js +10 -6
  255. package/lib/esm/duet-file-chooser.entry.js +2 -2
  256. package/lib/esm/duet-footer.entry.js +4 -4
  257. package/lib/esm/duet-grid_2.entry.js +23 -10
  258. package/lib/esm/duet-header_2.entry.js +4 -4
  259. package/lib/esm/duet-hero.entry.js +18 -11
  260. package/lib/esm/duet-icon.entry.js +3 -3
  261. package/lib/esm/duet-indicator.entry.js +2 -2
  262. package/lib/esm/duet-input_2.entry.js +22 -23
  263. package/lib/esm/duet-layout.entry.js +2 -2
  264. package/lib/esm/duet-list_2.entry.js +2 -2
  265. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  266. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  267. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  268. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  269. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  270. package/lib/esm/duet-menu-bar.entry.js +4 -4
  271. package/lib/esm/duet-modal.entry.js +26 -14
  272. package/lib/esm/duet-multiselect.entry.js +10 -10
  273. package/lib/esm/duet-nav.entry.js +3 -3
  274. package/lib/esm/duet-notification_2.entry.js +3 -3
  275. package/lib/esm/duet-number-input.entry.js +6 -6
  276. package/lib/esm/duet-overlay.entry.js +2 -2
  277. package/lib/esm/duet-page-heading.entry.js +3 -3
  278. package/lib/esm/duet-pagination_2.entry.js +4 -4
  279. package/lib/esm/duet-panel.entry.js +3 -3
  280. package/lib/esm/duet-phone-input.entry.js +4 -4
  281. package/lib/esm/duet-popup-menu_2.entry.js +4 -4
  282. package/lib/esm/duet-progress.entry.js +3 -3
  283. package/lib/esm/duet-promo-card.entry.js +4 -4
  284. package/lib/esm/duet-radio_2.entry.js +4 -4
  285. package/lib/esm/duet-range-slider.entry.js +4 -4
  286. package/lib/esm/duet-scrollable_3.entry.js +5 -5
  287. package/lib/esm/duet-section-layout.entry.js +1 -1
  288. package/lib/esm/duet-select.entry.js +9 -9
  289. package/lib/esm/duet-shaped-image.entry.js +2 -2
  290. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  291. package/lib/esm/duet-share-chart.entry.js +5 -5
  292. package/lib/esm/duet-show-more.entry.js +3 -3
  293. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  294. package/lib/esm/duet-slideout-link.entry.js +5 -5
  295. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  296. package/lib/esm/duet-slideout-panel.entry.js +6 -6
  297. package/lib/esm/duet-slideout.entry.js +6 -6
  298. package/lib/esm/duet-status-icon.entry.js +1 -1
  299. package/lib/esm/duet-step_2.entry.js +3 -3
  300. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  301. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  302. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  303. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  304. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  305. package/lib/esm/duet-textarea.entry.js +8 -8
  306. package/lib/esm/duet-toggle.entry.js +4 -4
  307. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  308. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  309. package/lib/esm/duet-toolbar-item.entry.js +5 -5
  310. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  311. package/lib/esm/duet-toolbar.entry.js +2 -2
  312. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  313. package/lib/esm/duet-tooltip.entry.js +4 -4
  314. package/lib/esm/duet-tray.entry.js +3 -3
  315. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  316. package/lib/esm/duet-upload-item.entry.js +4 -4
  317. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  318. package/lib/esm/duet.js +4 -4
  319. package/lib/esm/{errorcodes.utils-6V_f8y5q.js → errorcodes.utils-DMBhYFft.js} +1 -1
  320. package/lib/esm/{focus-utils-CErdQceY.js → focus-utils-CKJz94Qb.js} +1 -1
  321. package/lib/esm/{index-vt84lkeQ.js → index-Cg-Sy7Qf.js} +1 -1
  322. package/lib/esm/{label-BosP5JdK.js → label-CiT_iRKt.js} +1 -1
  323. package/lib/esm/{language-utils-B9dLrWKg.js → language-utils-CQS4gIfI.js} +1 -1
  324. package/lib/esm/loader.js +4 -4
  325. package/lib/esm/{slot-utils-BZXZ33TK.js → slot-utils-BtxgUznn.js} +1 -1
  326. package/lib/esm/{themeable-component-CsnFpp6R.js → themeable-component-C76K02P9.js} +1 -1
  327. package/lib/esm/{token-utils-BGFYWQ6j.js → token-utils-C-c-tsXV.js} +7 -4
  328. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  329. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -3
  330. package/lib/types/components/duet-hero/duet-hero.d.ts +2 -0
  331. package/lib/types/components/duet-input/duet-input.d.ts +5 -10
  332. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  333. package/lib/types/components.d.ts +24 -4
  334. package/package.json +3 -3
  335. package/lib/duet/p-26146512.entry.js +0 -4
  336. package/lib/duet/p-3d3aff4c.entry.js +0 -4
  337. package/lib/duet/p-46eaee49.entry.js +0 -4
  338. package/lib/duet/p-537d3b11.entry.js +0 -4
  339. package/lib/duet/p-61105f0d.entry.js +0 -4
  340. package/lib/duet/p-950c4ec0.entry.js +0 -4
  341. package/lib/duet/p-Cq7Ixl9a.js +0 -4
  342. package/lib/duet/p-DejMEymG.js +0 -4
  343. package/lib/duet/p-Dr2j33H2.js +0 -4
  344. package/lib/duet/p-G09pKpI-.js +0 -4
  345. package/lib/duet/p-aWO-HcmJ.js +0 -4
  346. package/lib/duet/p-b2780442.entry.js +0 -4
  347. package/lib/duet/p-babbf633.entry.js +0 -4
  348. package/lib/duet/p-c516bf93.entry.js +0 -4
  349. package/lib/duet/p-c588fc15.entry.js +0 -4
  350. package/lib/duet/p-cbedc26b.entry.js +0 -4
  351. package/lib/duet/p-f46480c6.entry.js +0 -4
  352. package/lib/duet/p-fd989bd6.entry.js +0 -4
@@ -171,7 +171,7 @@ export class DuetModal {
171
171
  this.duetClose.emit();
172
172
  this.teleport.removeInertFromSiblings();
173
173
  if (this.focusElementOnClose !== "") {
174
- setTimeout(() => {
174
+ setTimeout(async () => {
175
175
  let focusEl = this.focusedElBeforeOpen;
176
176
  if (typeof this.focusElementOnClose === "string") {
177
177
  focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
@@ -179,6 +179,18 @@ export class DuetModal {
179
179
  else {
180
180
  focusEl = this.focusElementOnClose || focusEl;
181
181
  }
182
+ if (focusEl.tagName.toLowerCase() === "duet-popup-menu-item") {
183
+ const menu = focusEl.closest("duet-popup-menu");
184
+ const isOpen = await menu.isOpen();
185
+ if (!isOpen && menu.controller) {
186
+ if (typeof menu.controller === "string") {
187
+ focusEl = document.getElementById(menu.controller);
188
+ }
189
+ else {
190
+ focusEl = menu.controller;
191
+ }
192
+ }
193
+ }
182
194
  focusElement(focusEl);
183
195
  }, TRANSITION_MS);
184
196
  }
@@ -326,14 +338,14 @@ export class DuetModal {
326
338
  var _a, _b;
327
339
  const iconColor = postfixTheme("primary", this.theme);
328
340
  const closeColor = postfixTheme("secondary", this.theme);
329
- const closingButton = (h("div", { key: 'ee572843326c7c6981aa9e70724bfb73de2f5b18', class: "duet-modal-close" }, h("duet-button", { key: '18d574610d760318b8533137648b8cd6eb0cd242', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
330
- return (h("div", { key: '8908f9d800b06078fde788e21e6230ad05765147', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
341
+ const closingButton = (h("div", { key: 'c025f6cdd3a46f67dabf96a33953cf975a4b7d23', class: "duet-modal-close" }, h("duet-button", { key: '07adb7bd15b71826eea2c5fe8fdd9675c34b10a2', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
342
+ return (h("div", { key: '34d84de0dff1153e1fa04d8b2d568edd06ed92a1', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
331
343
  "duet-modal-container": true,
332
344
  "duet-theme-turva": this.theme === "turva",
333
345
  "duet-modal-active": this.open,
334
346
  "duet-modal-slide-up": this.variation === "slide-up",
335
347
  "duet-modal-has-sticky-header": this.hasStickyHeader,
336
- } }, h("duet-overlay", { key: '3e2d20cd2b9c18631d7103c1679a9c24a5227eef', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '2559835e9bdf2436cc824914d84cca1d87175d84', ref: modalInner => (this.modalInnerEl = modalInner), class: {
348
+ } }, h("duet-overlay", { key: '94c016b5e1d57159562e7b7bc75203976d56c133', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'fb081fde606dbe819fbd9f4dd85928e06b73fc4b', ref: modalInner => (this.modalInnerEl = modalInner), class: {
337
349
  "duet-modal-inner": true,
338
350
  [this.size]: true,
339
351
  "duet-modal-slide-up": this.variation === "slide-up",
@@ -344,22 +356,22 @@ export class DuetModal {
344
356
  this.closeModal(e);
345
357
  }
346
358
  }
347
- } }, h("div", { key: '135c144620c16f237d1049be960c803139920a46', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
359
+ } }, h("div", { key: '35ff01594b4d85fae78d7ad2dda042d4b6fe3f18', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
348
360
  "duet-modal": true,
349
361
  "duet-modal-has-sticky-header": this.hasStickyHeader,
350
362
  [this.size]: true,
351
363
  [this.variation]: true,
352
- } }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '9a1fa991e33910557b8c952450cbdf8ae95eceeb' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: 'a4603f53a19537b5886ee96561b0b2a68c6205ee', class: {
364
+ } }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '79e1b71a87689e6b8509b859836f039c9fef0a76' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '86c37c55bd8a7738e4a859815f24ee06fefcb53d', class: {
353
365
  "duet-modal-body": true,
354
366
  "duet-modal-gutter-none": this.gutterSize === "none",
355
367
  "duet-modal-gutter-small": this.gutterSize === "small",
356
368
  "duet-modal-gutter-medium": this.gutterSize === "medium",
357
369
  "duet-modal-gutter-large": this.gutterSize === "large",
358
- }, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: 'e698bace2e3ed41ec283123dd3bdff378e439dbd', class: "duet-modal-header" }, h("span", { key: '34b6aaf5ba7d95c6800a57e993a08703f8b8f146', class: "duet-modal-inner-slot-top" }, h("slot", { key: '1b12b5a25096233e768446ca8d3908380d5e15d1', name: "top" })), this.icon && h("duet-icon", { key: '8bdafc9dd71f47bfef151dae0f0b73cd64cd54a6', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'e996638326c1526d58e579368a692b19a0ed88f8', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'b5261a092defb3671fc33a6a38507d99429b2549', class: "duet-modal-spinner" }, h("duet-spinner", { key: '42123ba82859618de11f0cfba09df8317fb2693c', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '7ac6dee3c05c9844ab64ec3f8a792cec98019d1d', "aria-live": this.variation === "loader"
370
+ }, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: 'eddd353009b508fe5ecd04aa866f076a064626de', class: "duet-modal-header" }, h("span", { key: '696ad960d20a5e5bf68dc9ec9da5d59773accf10', class: "duet-modal-inner-slot-top" }, h("slot", { key: '28f0677621250a3da6899f055ba374dd78a17a35', name: "top" })), this.icon && h("duet-icon", { key: '7b9e797b9f5296effdfc0beaac29be90e0310436', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'ba31f51f36989421ecb8f741b285d7d2638f2f7a', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '2bae6fedd2f1ab7b40264c2d6c3b4f69f9627d2c', class: "duet-modal-spinner" }, h("duet-spinner", { key: 'd5f27b579909233f930b09251b7faa6fd7d35a78', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '80dc7b4389d406fc348351678e2c234f17c22259', "aria-live": this.variation === "loader"
359
371
  ? "assertive"
360
372
  : this.accessibleAnnounceChanges === "body"
361
373
  ? "polite"
362
- : null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '787243109cdcf4c0ab5767027ad532ad99a69259' })))))));
374
+ : null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: 'fc0270b2ceb540d2e2015ba9131dcd46f01c702e' })))))));
363
375
  }
364
376
  static get is() { return "duet-modal"; }
365
377
  static get encapsulation() { return "shadow"; }
@@ -273,23 +273,23 @@ export class DuetMultiselect {
273
273
  */
274
274
  render() {
275
275
  var _a;
276
- return (h(Host, { key: '5e4b0b7b9dacba7e6552a38ffb797689de5d1694', class: {
276
+ return (h(Host, { key: '67ddcbeb2bcf7fd5b4c147097c5cabfba3613950', class: {
277
277
  "duet-m-0": this.margin === "none",
278
278
  "duet-expand": this.expand,
279
- } }, h("div", { key: 'b0bbc08ee68064b97641c47516e698cc4dfc6160', class: {
279
+ } }, h("div", { key: 'a54d376060dfbddff29662ae568673f2aead4a5a', class: {
280
280
  "duet-multiselect-container": true,
281
281
  "duet-label-hidden": this.labelHidden,
282
282
  "duet-theme-turva": this.theme === "turva",
283
283
  "duet-input-top-caption-shown": this.isCaptionVisible,
284
284
  "has-error": !!this.error,
285
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '9d6a23408a530eac7a5764822fe2ab64f47c1f09', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'eecf9f8896b8f95a833b010b76f8efaed851cdce', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '6cfb9e46327f25af55c35a4025aa25a6fa5105ec', name: "tooltip" }), this.caption && (h("duet-caption", { key: '34faed19f890d94368b1b2f92fcb85aac55c5ad2', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'da9ed35e8f61a283bc06eddd5b3761e58b817491', class: "duet-multiselect-wrapper" }, h("button", { key: '3efe23af8a4eee912fde966059b6e15c0bcc19be', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), 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: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '565444bc98bd29c23ee36c851b0566a11df35c32', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '5ca0c11f5b864e362f9cf7a6b0b6e4f34474f5a3', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '5a6f417f659169d4ea288cd19a0f5a479aa0b0e2' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), h("svg", { key: '876dc66671cad3719376a5c0cda901f952099420', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '478294c898ab6f7d50034dc41d73e72e13c7cef4', 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" }))), h("div", { key: '328f2ea531c42f7c15507ee23e8daf1fb92739c0', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
285
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '28d4d354951615891335fc0ea72267a95402b2a9', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '4abf88e4efcaa7d8ac7d3761389d291fb737bb90', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'd0fbab3c690c4c1049d402425942358644675442', name: "tooltip" }), this.caption && (h("duet-caption", { key: '80c6e3987c3d532129b62b8a101624a9650aa57d', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'fd7d501c4304a998f90203a0fef97f69659d5aa6', class: "duet-multiselect-wrapper" }, h("button", { key: 'ab72d3ec292db9a86e2e165db427702697043d23', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), 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: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '541f6bb2d46d313b0820aa608f3e8595e4d9d709', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '9de6b81f34e6b79bbe3f6d8cf825378a9cb1b840', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: 'c92f7fb9a3d4e14fbb655c1fb87250e9c69d5e01' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), h("svg", { key: '210050ff44ce316b94dbaa156a7dffc7e4b65f3b', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '85ba92d7e5a4130d1bfa809e539132afe34d6d32', 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" }))), h("div", { key: 'b38ee820cc9e9340d0b369d7b52176567d628228', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
286
286
  "duet-multiselect-checkboxes": true,
287
287
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
288
- }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: 'c5dd55f86aff43a62677969ab5aba54e89a5e3de', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'ac401a0cda9b93097ce15943be620940726d2348', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '7b5a6fcf434f6866229c787ecb56d2e95fe8eca8', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
288
+ }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: 'cecb7f5fb535c40313928e7dffd071ead9b74d0e', class: "duet-multiselect-all-control-buttons" }, h("button", { key: '34d051c56097c082c42e05c2f699e1f62bd4f238', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '3ec52e1f61e9ac1f6fd5c9b0d35d8525c28ffbf4', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
289
289
  this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
290
290
  var _a, _b;
291
291
  return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
292
- })))))), h("span", { key: '2964bb7f42ef736b9deae233826b3bfd7a55ce2f', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'e43ff30f9940548d5c92051289a33d77d771247b' }, this.error)))));
292
+ })))))), h("span", { key: 'd2d8ae7ca08a4cfd5ea9c2bc5cca2b62ddb13cf9', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '180fb990985b0564ce82c53d3b3901552a529108' }, this.error)))));
293
293
  }
294
294
  static get is() { return "duet-multiselect"; }
295
295
  static get encapsulation() { return "shadow"; }
@@ -348,7 +348,7 @@ export class DuetMultiselect {
348
348
  },
349
349
  "getter": false,
350
350
  "setter": false,
351
- "reflect": false,
351
+ "reflect": true,
352
352
  "defaultValue": "\"\""
353
353
  },
354
354
  "accessibleLiveError": {
@@ -31,6 +31,10 @@
31
31
  .container {
32
32
  position: relative;
33
33
  z-index: 400;
34
+ pointer-events: none;
35
+ }
36
+ .container * {
37
+ pointer-events: auto;
34
38
  }
35
39
 
36
40
  ::slotted(*[slot=mobile]) {
@@ -391,11 +391,11 @@ export class DuetNumberInput {
391
391
  const identifier = this.identifier || this.inputId;
392
392
  const maxlength = `${this.localizeValue(this.max)}${this.getUnitString()}`.length;
393
393
  const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
394
- return (h(Host, { key: 'f7f611052626013e23d6e950187e6ff4bae4785a', class: {
394
+ return (h(Host, { key: '238b4be322c64eeb2ad779617a1b5cc7b5185bb9', class: {
395
395
  "duet-theme-turva": this.theme === "turva",
396
396
  "duet-expand": this.expand,
397
397
  "duet-m-0": this.margin === "none",
398
- } }, h("div", { key: '3ab65aa403dd3795d71fc92663c9026decbc03d1', class: "duet-number-container" }, h("duet-input", { key: '996f35afadafef64a29b83b0264b2696cda1c4df', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}${this.getUnitString()}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: '3d231debb07358d38d378cb4fe016b2e96db7880', name: "tooltip" }), h("div", { key: '7dda2f48f29615328c419870b24f925b04f826a9', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: '0fa07991abc1894a2b6f160321588d0b1844bba6', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: '21306421a46e77a48b56f154360d63d2c8731e78' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: 'a7f4a92248d8906cdba527342060fcc89c935f75', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: '718295b62b418b47721c0cd09a4dd6d438c81724', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: '63aaf63fc103cb3f02114fc2f6a89111a1f8ecbc' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: '1ea520e7852bdcbdfc9c59cfe5f8df96f624b67f', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '13e72d3b1f8bd4427e4d7b9b0e94e31f787f81ec', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
398
+ } }, h("div", { key: '9226593291fc8c8b5c1d3a9dc58882d960e2d563', class: "duet-number-container" }, h("duet-input", { key: '3946db15d60ce52debcd986b4606d617e263a1b3', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}${this.getUnitString()}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: 'c61230be816c479bfe6b18c45f822888c5aa4e70', name: "tooltip" }), h("div", { key: '11440983439e723525666d658db5f4b5ac39980c', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: '17ae7a71c8ad6e3d8cb662fb00612abf80c1af77', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: 'f8a8a0a2f886746f73f3bd92a6e6936fd0703cea' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: 'fdc8f88ae3a53fa28c1a35d6eea40abdc16059b1', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: 'bffe46f71c030e615ffab560100c58ab432ab473', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: '836ff349ced5ca5fa0c4559ca429c90603e53ed2' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: '4468b28ee8bdefaf4b7a02db3996efca23c5870c', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '9a0005f7f8713f9dfc54297f2fc5ee4948b7e0c3', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
399
399
  }
400
400
  static get is() { return "duet-number-input"; }
401
401
  static get encapsulation() { return "shadow"; }
@@ -1040,7 +1040,7 @@ export class DuetNumberInput {
1040
1040
  },
1041
1041
  "getter": false,
1042
1042
  "setter": false,
1043
- "reflect": false,
1043
+ "reflect": true,
1044
1044
  "defaultValue": "\"\""
1045
1045
  },
1046
1046
  "tooltip": {
@@ -48,7 +48,7 @@ export class DuetPageHeading {
48
48
  "duet-theme-turva": this.theme === "turva",
49
49
  "has-icon": !!this.icon,
50
50
  [layout]: true,
51
- } }, h("div", { key: 'b8a5a752d4557b2ac2ac2bfc1c2e65861d4c0521', class: "background" }, this.theme === "turva" && h("div", { key: 'ff9cbab91c325792d84f24d227d67b5bd2f83401', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'c697b3df64c3300caccb801818e16e0f82be19b4', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '86bea79fd3c261f4042b7f55129cf5b3e2bbcc20', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'f95cb3034647398542c7eac251e3a8ee589fde3c', class: "brand-shaped-icon" }, h("duet-icon", { key: '5ea162f55f426e4fb23d062c42b452f9d02dd8db', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'ca049bcfa7903693dcd81e7053f9c8436f5bc972', class: "heading" }, h("slot", { key: '1f11d60c4883d6a083ab58a3549230893373a4b0', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: '059a56e68755466f02489b66ea25157f139cc441' }, h("duet-spacer", { key: '10335bc65bcd61f1ce9e424c5fac7058cfe267f5', size: "large" }), h("div", { key: 'c48a3f2f5846193c2428789cfa6bd68cdd4fe534', role: "presentation" }, this.progressIndicator()))))));
51
+ } }, h("div", { key: 'b8a5a752d4557b2ac2ac2bfc1c2e65861d4c0521', class: "background" }, this.theme === "turva" && h("div", { key: 'ff9cbab91c325792d84f24d227d67b5bd2f83401', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'c697b3df64c3300caccb801818e16e0f82be19b4', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '86bea79fd3c261f4042b7f55129cf5b3e2bbcc20', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'f95cb3034647398542c7eac251e3a8ee589fde3c', class: "brand-shaped-icon" }, h("duet-icon", { key: '5ea162f55f426e4fb23d062c42b452f9d02dd8db', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'ca049bcfa7903693dcd81e7053f9c8436f5bc972', class: "heading" }, h("slot", { key: '1f11d60c4883d6a083ab58a3549230893373a4b0', name: "heading" }), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (h("div", { key: '3d192a48b6d2f852c76bb4cca92a6bd260c89b6d' }, h("duet-spacer", { key: 'ae3a5aa598bca7741ddeefb498ad03a00f01ffa1', size: "large" }), h("div", { key: '145b65c13423049136df5afff6d6f0b75fceeff2', role: "presentation" }, this.progressIndicator()))))));
52
52
  }
53
53
  static get is() { return "duet-page-heading"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,4 @@
1
+ /* stylelint-disable scss/at-rule-no-unknown */
1
2
  :host {
2
3
  box-sizing: border-box;
3
4
  padding: 0;
@@ -12,7 +13,7 @@
12
13
  width: 100%;
13
14
  margin: 8px 0 20px 0;
14
15
  }
15
- @media (min-width: 36em) {
16
+ @container (width > 36em) {
16
17
  :host {
17
18
  margin: 12px 0 28px 0;
18
19
  }
@@ -37,7 +38,7 @@
37
38
  padding: 16px;
38
39
  border-radius: 12px;
39
40
  }
40
- @media (min-width: 36em) {
41
+ @container (width > 36em) {
41
42
  .duet-panel.padding-small {
42
43
  padding: 20px;
43
44
  }
@@ -45,7 +46,7 @@
45
46
  .duet-panel.padding-medium {
46
47
  padding: 20px;
47
48
  }
48
- @media (min-width: 36em) {
49
+ @container (width > 36em) {
49
50
  .duet-panel.padding-medium {
50
51
  padding: 28px;
51
52
  }
@@ -53,7 +54,7 @@
53
54
  .duet-panel.padding-large {
54
55
  padding: 28px;
55
56
  }
56
- @media (min-width: 36em) {
57
+ @container (width > 36em) {
57
58
  .duet-panel.padding-large {
58
59
  padding: 36px;
59
60
  }
@@ -49,6 +49,9 @@
49
49
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
50
50
  color: rgb(23, 28, 58);
51
51
  }
52
+ .duet-paragraph.duet-inherit-color {
53
+ color: inherit !important;
54
+ }
52
55
  .duet-paragraph.duet-paragraph-small {
53
56
  font-size: 0.875rem;
54
57
  }
@@ -11,6 +11,7 @@ import { getColorByName } from "../../utils/token-utils";
11
11
  export class DuetParagraph {
12
12
  constructor() {
13
13
  this.id = createID("duet-paragraph");
14
+ this.inheritingParents = ["duet-alert"];
14
15
  /**
15
16
  * Theme of the paragraph.
16
17
  */
@@ -51,7 +52,7 @@ export class DuetParagraph {
51
52
  const color = getColorByName(this.color);
52
53
  // aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
53
54
  // are not announced when placed inside duet-modal
54
- return (h(Host, { key: '99168fa787b98f3c65146d539ac5a1c391254a95', "aria-describedby": this.id }, h("p", { key: '9b4fb9eb7525804fd786ca72c13bafdfb4c9dfc8', id: this.id, class: {
55
+ return (h(Host, { key: '9ab8938bc5ed0af6161d83fd61c238aedfe72407', "aria-describedby": this.id }, h("p", { key: 'eb5de4278351c95fd0fabac7f94b2e268b788667', id: this.id, class: {
55
56
  "duet-paragraph": true,
56
57
  "duet-paragraph-small": this.size === "small",
57
58
  "duet-paragraph-semi-bold": this.weight === "semi-bold",
@@ -59,7 +60,8 @@ export class DuetParagraph {
59
60
  "duet-m-0": this.margin === "none",
60
61
  [this.variation]: true,
61
62
  "duet-theme-turva": this.theme === "turva",
62
- }, style: { color }, part: "duet-paragraph" }, h("slot", { key: '2cc4063866d09f9fc1569bbf3d26661472485147' }))));
63
+ "duet-inherit-color": !this.color && this.inheritingParents.some(p => this.element.closest(p)),
64
+ }, style: { color }, part: "duet-paragraph" }, h("slot", { key: '87b1d333d52ac248b6f9bf534ab98f29b115b25e' }))));
63
65
  }
64
66
  static get is() { return "duet-paragraph"; }
65
67
  static get encapsulation() { return "shadow"; }
@@ -676,7 +676,7 @@ export class DuetPhoneInput {
676
676
  },
677
677
  "getter": false,
678
678
  "setter": false,
679
- "reflect": false,
679
+ "reflect": true,
680
680
  "defaultValue": "\"\""
681
681
  },
682
682
  "tooltip": {
@@ -158,7 +158,7 @@ export class DuetRadioGroup {
158
158
  * Always the last one in the class.
159
159
  */
160
160
  render() {
161
- return (h(Host, { key: '75281a29a3832c1cb7da47661917bfafc9c62417', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '2901f0bea0d5dfc88cf8294e6327eae318126730', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '678ff82e3e50fcce19e728f2de3e6e5afdbab92b', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '9e6ab1dae2009df95255f36f15c81fffcfbf2550', name: "tooltip" }), h("div", { key: 'b5cafc4677568d85eb02dcd9db30a05415beabb7', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '7f6b9bf1351b7d2133068f7039aea53d8a8d51a3' })))));
161
+ return (h(Host, { key: 'c9c42e3d578a64ec328ad0b1aad6e9c3906dcc2b', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '6a38b0a95734aea6320ec9bb63cebc7a11279990', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '3f9d7aa7e79c08a743cd575d5a22542e3f89b26f', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '2a3125a48b3ebd4bc37cf127719ca0be1604e911', name: "tooltip" }), h("div", { key: 'c81542f71fe22646f761dab6fb2864c7fa269f48', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '5ff585a7895db4ad56916a1a7bc06bdc6915dc0e' })))));
162
162
  }
163
163
  static get is() { return "duet-radio-group"; }
164
164
  static get encapsulation() { return "shadow"; }
@@ -269,7 +269,7 @@ export class DuetRadioGroup {
269
269
  },
270
270
  "getter": false,
271
271
  "setter": false,
272
- "reflect": false,
272
+ "reflect": true,
273
273
  "defaultValue": "\"\""
274
274
  },
275
275
  "tooltip": {
@@ -200,23 +200,23 @@ export class DuetSelect {
200
200
  */
201
201
  render() {
202
202
  const identifier = this.identifier || this.selectId;
203
- return (h(Host, { key: '12696ad891ed3aac656379150b4fb42ee9b438eb', onClick: this.onClick, class: {
203
+ return (h(Host, { key: 'a00ff9414c52c0db96b33b3b7fdf059ec86acfe5', onClick: this.onClick, class: {
204
204
  "duet-m-0": this.margin === "none",
205
205
  "duet-expand": this.expand,
206
206
  [`duet-select-variation-${this.variation}`]: true,
207
- } }, h("div", { key: '48c83de632dfb790e5cde841fd86e518806ab9d0', class: {
207
+ } }, h("div", { key: 'f35c3ed30822b3ebe4d413f49e1400e20a46712d', class: {
208
208
  "duet-select-container": true,
209
209
  "duet-label-hidden": this.labelHidden,
210
210
  "duet-theme-turva": this.theme === "turva",
211
211
  [`duet-select-variation-${this.variation}`]: true,
212
212
  "duet-input-top-caption-shown": this.isCaptionVisible,
213
213
  "has-error": !!this.error,
214
- } }, h(DuetInternalLabel, { key: '58a180baf718e83ccd6afc154b0986098c378041', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'e569b839a9c0c2e02624ec892239f94f84c0d2b5', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'd6d7c011dfb11ddadbaf95b5391c124d1e7a76f1', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'eeff5cb9ef75a161020d0c3ed5d7c4bc22cc2f75', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'b483936049468a651634c5d5e075c860d1ddbc91', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'eb3c277270c2177dfd2a2381d137815d22681d4f', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: 'b6a901c14de9ba56540e08e685b1ae4bd95bfde3' }), h("select", { key: '19653ed57dce9ee8ebb05c92530e49940e72dd4c', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: '61d96c9c682e4789d6ee1c38c7e77683851aea20', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
214
+ } }, h(DuetInternalLabel, { key: 'fd43aa0091f7da7fac00aadba0acc92be0c5d952', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '5b2515db85ff5d701ebff47fd4019d33cf473fd5', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '2e05ecb6a0a98b5bc61e2f376ba5fcbf9118edf9', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'e841d3bccb810f16f78ebbc2b77506ba34ad7c61', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '2e1b71e200d5cae0811c21ea6c8d1199da2f654c', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '23c77b3402c8301dfa7ccc9be11a384597bb2ef9', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: '09854808d5dfd54f24a19ced9de94ab111e1dd8a' }), h("select", { key: 'a147ce96f44d928041c7e7f382e754b6ab204b29', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: 'b886953f516a374b6e7078d32e3c221cdbda631b', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
215
215
  return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
216
- }))), h("div", { key: 'c54b8f6526bdb4c98ea68c129515f218d0f6d72d', class: {
216
+ }))), h("div", { key: 'd49342461c777cfaddc460472b253a9485f2beac', class: {
217
217
  "duet-select": true,
218
218
  [`duet-select-variation-${this.variation}`]: true,
219
- }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: '975172b711f315f369710ab9999b4923e8fd2e6c', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '4ad21d1d0deb94b461d329c447165357d6c3fe41', 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" })))) || (h("duet-icon", { key: '69d1a79414b3f6a979f5f949f16c386e79c92014', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'da0790b7bc5ef09391ac1b111b168e0ea4a699e5', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: 'ff0bd43faa6dee4142d0ae21c780becd40a73e8f', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '7b5256e5baf684112fc012ac735261731e128bb2', class: "duet-select-error" }, this.error)))));
219
+ }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: '99b037a310acccad7ece3a7f9e0d2871dc2f7855', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2729d72292cf8bf37346ff6fa788e97a0e4f048e', 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" })))) || (h("duet-icon", { key: 'de52df34bc3806211ac281a1b99c17eeb57ffb18', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'e51f276c829420868782720aaee2a095c55a2dc7', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: 'edd762e2bb0316b8b449520c81df47a0e3a65591', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: 'b39b6f71ff3c12cd636226bc882cb38061ee1d93', class: "duet-select-error" }, this.error)))));
220
220
  }
221
221
  static get is() { return "duet-select"; }
222
222
  static get encapsulation() { return "shadow"; }
@@ -377,7 +377,7 @@ export class DuetSelect {
377
377
  },
378
378
  "getter": false,
379
379
  "setter": false,
380
- "reflect": false,
380
+ "reflect": true,
381
381
  "defaultValue": "\"\""
382
382
  },
383
383
  "accessibleLiveError": {
@@ -21,6 +21,10 @@
21
21
  -webkit-appearance: none;
22
22
  appearance: none;
23
23
  width: 100%;
24
+ pointer-events: none;
25
+ }
26
+ :host * {
27
+ pointer-events: auto;
24
28
  }
25
29
 
26
30
  :host(:not([open])) ::slotted(duet-submenu-bar-dropdown) {
@@ -170,6 +170,7 @@ duet-table {
170
170
  .duet-table-sticky thead th {
171
171
  position: sticky;
172
172
  top: 0;
173
+ z-index: $z-index-sticky;
173
174
  background: ${colorGrayLightest};
174
175
  }
175
176
 
@@ -230,17 +230,17 @@ export class DuetTextarea {
230
230
  */
231
231
  render() {
232
232
  const identifier = this.identifier || this.textareaId;
233
- return (h(Host, { key: '5de3b072ca14484736893df5d510e5bbfc83fab3', class: {
233
+ return (h(Host, { key: '624bdcddb58e1530c51ac379e2d274001b816883', class: {
234
234
  "duet-m-0": this.margin === "none",
235
235
  "duet-has-counter": this.counter && !this.error,
236
236
  "duet-expand": this.expand,
237
- } }, h("div", { key: 'aff76643e853e701fc4d5bb82580f91161b61375', class: {
237
+ } }, h("div", { key: '7052a9e19e9394d91343b9c356317706491483e4', class: {
238
238
  "duet-textarea-container": true,
239
239
  "duet-theme-turva": this.theme === "turva",
240
240
  "duet-label-hidden": this.labelHidden,
241
241
  "duet-input-top-caption-shown": this.isCaptionVisible,
242
242
  "has-error": !!this.error,
243
- } }, h(DuetInternalLabel, { key: '05ece6fdbb675493b3eb4ca8ad23b65b5a07abd6', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '7649e1a035c610ebf038b6eeae9fc72b672603da', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'cc8b32f11e16c20e61baf2c4b80c57becd7435a2', name: "tooltip" }), this.caption && (h("duet-caption", { key: '647dc96b065a3de10b195bfa5ee7f033f5fda717', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: 'ecad9b2c7e3bae1f853660bd0f36f1123eb0758e', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '54e5f14b0c0b0c4a9b9c869fced72e22c88f2a54', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '8572767a273e22ecc50a8858185afe4b683a3be7', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '20bb80d0199f477611c01b57fbe61861358c0dd1', alignment: "stretch" }, h("duet-grid-item", { key: '559786ddcf40c4867db4aa02678e56b73cd3e507', margin: "none", fill: true }, h("div", { key: 'dd7d4333c82c41b1314be95669994ed269e1abb0', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '903d46b5d1c83e3a989ebd7240291c7c7b91bebf' }, this.error))), h("duet-grid-item", { key: '9507d71aa07f732f1c4f49193b6cde0fb45f5601', margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { key: '8e583eba57239e54aac444d8d86f9da2546f39a8', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { key: 'eb71dba8a8524302d3b1733a57ddcbcf04b16f74', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
243
+ } }, h(DuetInternalLabel, { key: 'f485a02ef392a81b6ce9675943b97589ab104787', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '2c6ad7e4e904a8296cd78c10f44b4059766fb6e8', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'a9574cd2fe26c7aae531900b941b9f599bbf4cbb', name: "tooltip" }), this.caption && (h("duet-caption", { key: '37ff8e38f41f97d150a8ded794acd5134cf396dd', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '91d6f9e0aff8fa8cb1eb700cc8e942a761171427', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'f11e135d88137d819fefae10d48df76927122d5e', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '21d58de3abc2c2befac4c05ba19ecc24931ff873', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '5e20d51637a82792cc21934cd1047db4926f16c8', alignment: "stretch" }, h("duet-grid-item", { key: 'd661c25567e85f2371e473d41444e024f8396f3d', margin: "none", fill: true }, h("div", { key: '6953975b58cf0abb73c6577ad7a78ba46e88230b', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'a3609f7dfffead70a15375479ab2223f78eb3e50' }, this.error))), h("duet-grid-item", { key: 'c249410eedf7c2f384f9ce32ac03aeb29936a594', margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { key: 'abd891c68360549dd3c1a9ee0ff3dbeec5104049', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { key: '45e036b9eb30379561d79b4822902ef31719a26e', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
244
244
  this.hiddenCounterLabel = el;
245
245
  } })))));
246
246
  }
@@ -780,7 +780,7 @@ export class DuetTextarea {
780
780
  },
781
781
  "getter": false,
782
782
  "setter": false,
783
- "reflect": false,
783
+ "reflect": true,
784
784
  "defaultValue": "\"\""
785
785
  },
786
786
  "validity": {
@@ -87,11 +87,11 @@ export function getColorByName(name, theme = "") {
87
87
  if ((theme === "turva" || name.endsWith("-turva")) && isTurva2()) {
88
88
  switch (name.replace(/-turva$/, "")) {
89
89
  case "primary-lightest":
90
- return turva2ColorTokens["color-turva2-nude-00"];
90
+ return turva2ColorTokens["color-turva-nude-00"];
91
91
  case "primary-lighter":
92
- return turva2ColorTokens["color-turva2-nude-50"];
92
+ return turva2ColorTokens["color-turva-nude-50"];
93
93
  case "primary-light":
94
- return turva2ColorTokens["color-turva2-nude-200"];
94
+ return turva2ColorTokens["color-turva-nude-200"];
95
95
  case "primary":
96
96
  return turva2ColorTokens["color-turva2-red-600"];
97
97
  case "primary-darker":