@duetds/components 10.3.1 → 10.4.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 (425) hide show
  1. package/hydrate/index.js +329 -264
  2. package/hydrate/index.mjs +329 -264
  3. package/lib/cjs/{a11y-utils-dXXDBTyF.js → a11y-utils-BXDHn_nL.js} +1 -1
  4. package/lib/cjs/{app-globals-CyPV2FZK.js → app-globals-Bs3-XKhd.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +12 -12
  14. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +15 -13
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +26 -9
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +7 -7
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +33 -7
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +8 -8
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +14 -7
  31. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-hero.cjs.entry.js +9 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +17 -13
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +12 -12
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +21 -11
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +10 -8
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  70. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +7 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-textarea.cjs.entry.js +14 -21
  79. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  87. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-DQ-I8x2z.js → errorcodes.utils-W6UQ3hgy.js} +1 -1
  93. package/lib/cjs/{focus-utils-DstNW4_h.js → focus-utils-KTKpjKRi.js} +1 -1
  94. package/lib/cjs/{index-B_QTwXEx.js → index-C7Yvi8y8.js} +5 -5
  95. package/lib/cjs/{label-yAj5CKm3.js → label-DZ63Z3SI.js} +1 -1
  96. package/lib/cjs/{language-utils-DjtvVntE.js → language-utils-BsevPDrN.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-YUU0XWn9.js → slot-utils-DIDW777s.js} +2 -2
  99. package/lib/cjs/{themeable-component-h3OzJgCb.js → themeable-component-hQ83w5_A.js} +1 -1
  100. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  101. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  103. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  104. package/lib/collection/components/duet-chip/duet-chip.js +4 -2
  105. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  106. package/lib/collection/components/duet-choice/duet-choice.js +9 -36
  107. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +22 -5
  109. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.css +0 -1
  111. package/lib/collection/components/duet-empty-state/duet-empty-state.css +55 -2
  112. package/lib/collection/components/duet-empty-state/duet-empty-state.js +124 -6
  113. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  116. package/lib/collection/components/duet-grid/duet-grid.css +23 -0
  117. package/lib/collection/components/duet-grid/duet-grid.js +29 -2
  118. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  119. package/lib/collection/components/duet-heading/duet-heading.css +62 -0
  120. package/lib/collection/components/duet-heading/duet-heading.js +40 -2
  121. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  122. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  123. package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
  124. package/lib/collection/components/duet-input/duet-input.css +11 -2
  125. package/lib/collection/components/duet-input/duet-input.js +11 -7
  126. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  127. package/lib/collection/components/duet-link/duet-link.js +2 -2
  128. package/lib/collection/components/duet-list/duet-list.js +1 -1
  129. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  130. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  131. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  132. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  133. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  134. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  136. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  137. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  138. package/lib/collection/components/duet-multiselect/duet-multiselect.css +11 -2
  139. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  140. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  141. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  142. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  143. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  144. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  145. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  146. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  147. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  148. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  149. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -3
  150. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  151. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  152. package/lib/collection/components/duet-radio/duet-radio.js +6 -4
  153. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  154. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  155. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  156. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  157. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  158. package/lib/collection/components/duet-select/duet-select.css +11 -2
  159. package/lib/collection/components/duet-select/duet-select.js +5 -5
  160. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  161. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  162. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  163. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  164. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  165. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  166. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  167. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  168. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  169. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  170. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  171. package/lib/collection/components/duet-status-icon/duet-status-icon.css +39 -0
  172. package/lib/collection/components/duet-status-icon/duet-status-icon.js +13 -2
  173. package/lib/collection/components/duet-step/duet-step.js +2 -2
  174. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  175. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  176. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  177. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  178. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  179. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  180. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  181. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  182. package/lib/collection/components/duet-table/duet-table.js +2 -2
  183. package/lib/collection/components/duet-textarea/duet-textarea.css +11 -2
  184. package/lib/collection/components/duet-textarea/duet-textarea.js +8 -15
  185. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  186. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  187. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  188. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  189. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  190. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  191. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  192. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  193. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  194. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  195. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  196. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  197. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  198. package/lib/collection/utils/slot-utils.js +1 -1
  199. package/lib/duet/duet.esm.js +1 -1
  200. package/lib/duet/p--fmK3qPb.js +4 -0
  201. package/lib/duet/{p-4b8293b3.entry.js → p-01f3e30c.entry.js} +1 -1
  202. package/lib/duet/p-0395eb34.entry.js +4 -0
  203. package/lib/duet/{p-bfc75bb9.entry.js → p-0453edd0.entry.js} +1 -1
  204. package/lib/duet/p-07aa40df.entry.js +4 -0
  205. package/lib/duet/{p-b9a54319.entry.js → p-07c4b435.entry.js} +1 -1
  206. package/lib/duet/{p-8a28f86e.entry.js → p-0eb0e582.entry.js} +1 -1
  207. package/lib/duet/{p-ce4d9add.entry.js → p-104ddbf2.entry.js} +1 -1
  208. package/lib/duet/{p-0ccecf5b.entry.js → p-12e4e9b6.entry.js} +1 -1
  209. package/lib/duet/{p-fca9c5c4.entry.js → p-13b7f4e0.entry.js} +1 -1
  210. package/lib/duet/{p-c8e520b6.entry.js → p-14d4a45a.entry.js} +1 -1
  211. package/lib/duet/{p-5fb1092c.entry.js → p-1666aeaf.entry.js} +1 -1
  212. package/lib/duet/{p-f55f8bd9.entry.js → p-1705b6cf.entry.js} +1 -1
  213. package/lib/duet/{p-b4c18ee6.entry.js → p-184d53a7.entry.js} +1 -1
  214. package/lib/duet/{p-f15ab3b8.entry.js → p-1bdef0e0.entry.js} +1 -1
  215. package/lib/duet/p-1dcbbd67.entry.js +4 -0
  216. package/lib/duet/{p-301b8664.entry.js → p-1ed82a27.entry.js} +1 -1
  217. package/lib/duet/{p-d8bc628c.entry.js → p-1ee400e7.entry.js} +1 -1
  218. package/lib/duet/p-2168e431.entry.js +4 -0
  219. package/lib/duet/{p-BUWuSkQW.js → p-2HU78SJ-.js} +1 -1
  220. package/lib/duet/{p-3d00efb7.entry.js → p-2d43de54.entry.js} +1 -1
  221. package/lib/duet/{p-ae778cb1.entry.js → p-2e413951.entry.js} +1 -1
  222. package/lib/duet/{p-5c9530f1.entry.js → p-3361387d.entry.js} +1 -1
  223. package/lib/duet/p-3648404d.entry.js +4 -0
  224. package/lib/duet/{p-a6bec2da.entry.js → p-376f9d06.entry.js} +1 -1
  225. package/lib/duet/{p-86166f8d.entry.js → p-3bd45b5b.entry.js} +1 -1
  226. package/lib/duet/{p-b6dc4395.entry.js → p-3c26d300.entry.js} +1 -1
  227. package/lib/duet/{p-a8229728.entry.js → p-428db44b.entry.js} +1 -1
  228. package/lib/duet/p-4420973e.entry.js +4 -0
  229. package/lib/duet/{p-e9c2eb66.entry.js → p-455e8ebe.entry.js} +1 -1
  230. package/lib/duet/{p-162a0691.entry.js → p-46300680.entry.js} +1 -1
  231. package/lib/duet/{p-06f17fe7.entry.js → p-494755d0.entry.js} +1 -1
  232. package/lib/duet/{p-278ef4d8.entry.js → p-4c5a8ed3.entry.js} +1 -1
  233. package/lib/duet/{p-ecf69f6d.entry.js → p-4d39941c.entry.js} +1 -1
  234. package/lib/duet/p-4f7b0699.entry.js +4 -0
  235. package/lib/duet/p-526fa31c.entry.js +4 -0
  236. package/lib/duet/p-58496fb1.entry.js +4 -0
  237. package/lib/duet/p-58a70b3d.entry.js +4 -0
  238. package/lib/duet/{p-245c0535.entry.js → p-592a6542.entry.js} +1 -1
  239. package/lib/duet/p-5c8c691b.entry.js +4 -0
  240. package/lib/duet/p-5dde8fbb.entry.js +4 -0
  241. package/lib/duet/{p-6cffc5b7.entry.js → p-5ffc4081.entry.js} +1 -1
  242. package/lib/duet/{p-2e126e15.entry.js → p-61b6962a.entry.js} +1 -1
  243. package/lib/duet/{p-efa1cd0b.entry.js → p-6988c81c.entry.js} +1 -1
  244. package/lib/duet/{p-f71d04ce.entry.js → p-73ed0008.entry.js} +1 -1
  245. package/lib/duet/{p-3d0a716c.entry.js → p-7a2ca711.entry.js} +1 -1
  246. package/lib/duet/{p-12b2d402.entry.js → p-7a5066b8.entry.js} +1 -1
  247. package/lib/duet/{p-ec689a7c.entry.js → p-7a668cee.entry.js} +1 -1
  248. package/lib/duet/p-7e640c8e.entry.js +4 -0
  249. package/lib/duet/{p-17c063a3.entry.js → p-7eaa1fb5.entry.js} +1 -1
  250. package/lib/duet/p-81332db1.entry.js +4 -0
  251. package/lib/duet/{p-898d5701.entry.js → p-816caa58.entry.js} +1 -1
  252. package/lib/duet/{p-690beb31.entry.js → p-84420fbf.entry.js} +1 -1
  253. package/lib/duet/{p-ed750cdf.entry.js → p-870dc953.entry.js} +1 -1
  254. package/lib/duet/{p-93abd97a.entry.js → p-87bb797c.entry.js} +1 -1
  255. package/lib/duet/p-9d8027aa.entry.js +4 -0
  256. package/lib/duet/{p-B6Z_1gqI.js → p-BW3SZS4F.js} +1 -1
  257. package/lib/duet/{p-CW11pVgw.js → p-Chf7ZRmW.js} +1 -1
  258. package/lib/duet/p-CtBx3Trd.js +4 -0
  259. package/lib/duet/{p-DrqQiRTn.js → p-Cwhi6_oZ.js} +1 -1
  260. package/lib/duet/p-D2EBd3cT.js +4 -0
  261. package/lib/duet/p-DCDM41Ef.js +4 -0
  262. package/lib/duet/{p-DFAnksuG.js → p-DWIjWGAD.js} +1 -1
  263. package/lib/duet/{p-2d963ab0.entry.js → p-a4a1b8e3.entry.js} +1 -1
  264. package/lib/duet/p-a4db8c29.entry.js +4 -0
  265. package/lib/duet/{p-18eada94.entry.js → p-a63327c3.entry.js} +1 -1
  266. package/lib/duet/{p-0cc2921b.entry.js → p-a690a165.entry.js} +1 -1
  267. package/lib/duet/{p-3eba33cd.entry.js → p-a7bb038a.entry.js} +1 -1
  268. package/lib/duet/{p-d7506eaa.entry.js → p-adecab91.entry.js} +1 -1
  269. package/lib/duet/p-af9c8169.entry.js +4 -0
  270. package/lib/duet/{p-d2e74e89.entry.js → p-afd7d87a.entry.js} +1 -1
  271. package/lib/duet/{p-3a45c3a4.entry.js → p-b3ec9b98.entry.js} +1 -1
  272. package/lib/duet/{p-25b4886a.entry.js → p-b64b3e2f.entry.js} +1 -1
  273. package/lib/duet/{p-4856f07c.entry.js → p-bcced6eb.entry.js} +1 -1
  274. package/lib/duet/{p-608ebd47.entry.js → p-c1d4542d.entry.js} +1 -1
  275. package/lib/duet/{p-fe00331c.entry.js → p-c71f6942.entry.js} +1 -1
  276. package/lib/duet/p-c7851c15.entry.js +4 -0
  277. package/lib/duet/{p-234f4365.entry.js → p-cbd1069e.entry.js} +1 -1
  278. package/lib/duet/p-cd4f52a9.entry.js +4 -0
  279. package/lib/duet/{p-5fb783eb.entry.js → p-d0a54e6d.entry.js} +1 -1
  280. package/lib/duet/p-d181c624.entry.js +4 -0
  281. package/lib/duet/{p-de4b0518.entry.js → p-d2c04a7e.entry.js} +1 -1
  282. package/lib/duet/{p-1e168d4b.entry.js → p-d2c91ed0.entry.js} +1 -1
  283. package/lib/duet/p-d3dac8af.entry.js +4 -0
  284. package/lib/duet/{p-968546f6.entry.js → p-dc87f3f4.entry.js} +1 -1
  285. package/lib/duet/{p-d83f38c7.entry.js → p-dfd55180.entry.js} +1 -1
  286. package/lib/duet/{p-44a97d21.entry.js → p-e8bd6dab.entry.js} +1 -1
  287. package/lib/duet/{p-bdf6a296.entry.js → p-e9ed96cf.entry.js} +1 -1
  288. package/lib/duet/p-eab349f2.entry.js +4 -0
  289. package/lib/duet/{p-07b9b6c3.entry.js → p-eebf150c.entry.js} +1 -1
  290. package/lib/duet/{p-806c4ab8.entry.js → p-f210e405.entry.js} +1 -1
  291. package/lib/duet/{p-67b3a01a.entry.js → p-f600e215.entry.js} +1 -1
  292. package/lib/duet/{p-a73b7110.entry.js → p-f652a9c7.entry.js} +1 -1
  293. package/lib/duet/{p-65350441.entry.js → p-fbce84d5.entry.js} +1 -1
  294. package/lib/duet/{p-17413943.entry.js → p-fea479fd.entry.js} +1 -1
  295. package/lib/esm/{a11y-utils-D66Lzlz5.js → a11y-utils-sgAajRY0.js} +1 -1
  296. package/lib/esm/{app-globals-G9KPoeGD.js → app-globals-NNQmI_gc.js} +1 -1
  297. package/lib/esm/duet-action-button.entry.js +3 -3
  298. package/lib/esm/duet-alert.entry.js +4 -4
  299. package/lib/esm/duet-badge.entry.js +5 -5
  300. package/lib/esm/duet-banner.entry.js +3 -3
  301. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  302. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  303. package/lib/esm/duet-button_2.entry.js +4 -4
  304. package/lib/esm/duet-callout.entry.js +5 -5
  305. package/lib/esm/duet-caption_4.entry.js +12 -12
  306. package/lib/esm/duet-card.entry.js +3 -3
  307. package/lib/esm/duet-checkbox.entry.js +3 -3
  308. package/lib/esm/duet-checkmark.entry.js +4 -4
  309. package/lib/esm/duet-chip.entry.js +7 -5
  310. package/lib/esm/duet-choice_2.entry.js +15 -13
  311. package/lib/esm/duet-collapsible.entry.js +3 -3
  312. package/lib/esm/duet-combobox.entry.js +26 -9
  313. package/lib/esm/duet-contact-card.entry.js +5 -5
  314. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  315. package/lib/esm/duet-date-picker.entry.js +7 -7
  316. package/lib/esm/duet-divider_2.entry.js +3 -3
  317. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  318. package/lib/esm/duet-empty-state.entry.js +33 -7
  319. package/lib/esm/duet-fieldset.entry.js +6 -6
  320. package/lib/esm/duet-file-chooser.entry.js +3 -3
  321. package/lib/esm/duet-footer.entry.js +8 -8
  322. package/lib/esm/duet-grid_2.entry.js +14 -7
  323. package/lib/esm/duet-header_2.entry.js +4 -4
  324. package/lib/esm/duet-hero.entry.js +9 -9
  325. package/lib/esm/duet-icon.entry.js +5 -5
  326. package/lib/esm/duet-indicator.entry.js +5 -5
  327. package/lib/esm/duet-input_2.entry.js +17 -13
  328. package/lib/esm/duet-layout.entry.js +7 -7
  329. package/lib/esm/duet-list_2.entry.js +5 -5
  330. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  331. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  332. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  333. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  334. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  335. package/lib/esm/duet-menu-bar.entry.js +6 -6
  336. package/lib/esm/duet-modal.entry.js +12 -12
  337. package/lib/esm/duet-multiselect.entry.js +11 -11
  338. package/lib/esm/duet-nav.entry.js +3 -3
  339. package/lib/esm/duet-notification_2.entry.js +9 -9
  340. package/lib/esm/duet-number-input.entry.js +8 -8
  341. package/lib/esm/duet-overlay.entry.js +3 -3
  342. package/lib/esm/duet-page-heading.entry.js +4 -4
  343. package/lib/esm/duet-pagination_2.entry.js +16 -16
  344. package/lib/esm/duet-panel.entry.js +4 -4
  345. package/lib/esm/duet-phone-input.entry.js +4 -4
  346. package/lib/esm/duet-popup-menu_2.entry.js +21 -11
  347. package/lib/esm/duet-progress.entry.js +3 -3
  348. package/lib/esm/duet-promo-card.entry.js +5 -5
  349. package/lib/esm/duet-radio_2.entry.js +10 -8
  350. package/lib/esm/duet-range-slider.entry.js +6 -6
  351. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  352. package/lib/esm/duet-section-layout.entry.js +4 -4
  353. package/lib/esm/duet-select.entry.js +10 -10
  354. package/lib/esm/duet-shaped-image.entry.js +4 -4
  355. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  356. package/lib/esm/duet-share-chart.entry.js +6 -6
  357. package/lib/esm/duet-show-more.entry.js +5 -5
  358. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  359. package/lib/esm/duet-slideout-link.entry.js +7 -7
  360. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  361. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  362. package/lib/esm/duet-slideout.entry.js +10 -10
  363. package/lib/esm/duet-status-icon.entry.js +7 -3
  364. package/lib/esm/duet-step_2.entry.js +6 -6
  365. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  366. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  367. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  368. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  369. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  370. package/lib/esm/duet-textarea.entry.js +14 -21
  371. package/lib/esm/duet-toggle.entry.js +8 -8
  372. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  373. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  374. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  375. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  376. package/lib/esm/duet-toolbar.entry.js +4 -4
  377. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  378. package/lib/esm/duet-tooltip.entry.js +4 -4
  379. package/lib/esm/duet-tray.entry.js +5 -5
  380. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  381. package/lib/esm/duet-upload-item.entry.js +6 -6
  382. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  383. package/lib/esm/duet.js +4 -4
  384. package/lib/esm/{errorcodes.utils-C6zptXiM.js → errorcodes.utils-CqW0-HM8.js} +1 -1
  385. package/lib/esm/{focus-utils-YZ2ticmM.js → focus-utils-Dokkd7xz.js} +1 -1
  386. package/lib/esm/{index-DrqQiRTn.js → index-Cwhi6_oZ.js} +5 -5
  387. package/lib/esm/{label-CnTwCD-3.js → label-CyQlly6Z.js} +1 -1
  388. package/lib/esm/{language-utils-BEG0cFmw.js → language-utils-LZh-sc2s.js} +1 -1
  389. package/lib/esm/loader.js +4 -4
  390. package/lib/esm/{slot-utils-Dzrezpl3.js → slot-utils-CEZnAp61.js} +2 -2
  391. package/lib/esm/{themeable-component-BLql61nC.js → themeable-component-D_FVcjsD.js} +1 -1
  392. package/lib/types/common-types.d.ts +11 -28
  393. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  394. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +24 -4
  395. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  396. package/lib/types/components/duet-heading/duet-heading.d.ts +10 -0
  397. package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -5
  398. package/lib/types/components.d.ts +72 -6
  399. package/package.json +5 -5
  400. package/lib/duet/p-0a80de40.entry.js +0 -4
  401. package/lib/duet/p-10a326fa.entry.js +0 -4
  402. package/lib/duet/p-162993d2.entry.js +0 -4
  403. package/lib/duet/p-29599dc5.entry.js +0 -4
  404. package/lib/duet/p-2ac11077.entry.js +0 -4
  405. package/lib/duet/p-419b96b6.entry.js +0 -4
  406. package/lib/duet/p-550bfab9.entry.js +0 -4
  407. package/lib/duet/p-5c60eca3.entry.js +0 -4
  408. package/lib/duet/p-6e1b9cc8.entry.js +0 -4
  409. package/lib/duet/p-7ce31e10.entry.js +0 -4
  410. package/lib/duet/p-9172ba70.entry.js +0 -4
  411. package/lib/duet/p-BQVGvl4H.js +0 -4
  412. package/lib/duet/p-CLZq8YfV.js +0 -4
  413. package/lib/duet/p-D2JvSVnG.js +0 -4
  414. package/lib/duet/p-ELbbzMVZ.js +0 -4
  415. package/lib/duet/p-a3ad5622.entry.js +0 -4
  416. package/lib/duet/p-b1d91a91.entry.js +0 -4
  417. package/lib/duet/p-b9be36c8.entry.js +0 -4
  418. package/lib/duet/p-bdae48d3.entry.js +0 -4
  419. package/lib/duet/p-c8d10c67.entry.js +0 -4
  420. package/lib/duet/p-da275568.entry.js +0 -4
  421. package/lib/duet/p-dc5682d8.entry.js +0 -4
  422. package/lib/duet/p-e050ed5c.entry.js +0 -4
  423. package/lib/duet/p-ec5f40a5.entry.js +0 -4
  424. package/lib/duet/p-f68a4a23.entry.js +0 -4
  425. package/lib/duet/p-f8e26f21.entry.js +0 -4
@@ -110,7 +110,7 @@ export class DuetTab {
110
110
  * Always the last one in the class.
111
111
  */
112
112
  render() {
113
- return (h("div", { key: '6c6bd7f4b90785a517f5ffaa206a1cf5bb8be020', ref: element => {
113
+ return (h("div", { key: 'a022a330a4f4eef2664a452c8f0df2b84e46c429', ref: element => {
114
114
  if (!this.contentId) {
115
115
  this.tabpanelElement = element;
116
116
  }
@@ -119,7 +119,7 @@ export class DuetTab {
119
119
  "duet-tab": true,
120
120
  selected: this.selected,
121
121
  "has-content-id": !!this.contentId,
122
- }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: 'c68e037d36ea1953da46c6c914c77e38b1f2151b' })));
122
+ }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: 'fcb609d847cf496ada314f386a9b82dab58a7c19' })));
123
123
  }
124
124
  static get is() { return "duet-tab"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -281,13 +281,13 @@ export class DuetTabGroup {
281
281
  [largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
282
282
  "duet-theme-turva": this.theme === "turva",
283
283
  }, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (h("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, h("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, h("p", null, element.label), h("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), h("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, h("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label), element.indicator && (h("duet-indicator", { variation: element.indicator, "accessible-label": element.indicatorAccessibleLabel })))));
284
- return (h("div", { key: '1a61e0491f88c0a88cde77ebbdfd0030b574b537', class: {
284
+ return (h("div", { key: 'e2033f2294825d4208922a3705030fdc4410248c', class: {
285
285
  "duet-tab-group": true,
286
286
  "duet-theme-turva": this.theme === "turva",
287
287
  [variationClass]: true,
288
288
  "duet-tab-plain-scrolling": this.variation === "plain-scrolling",
289
289
  "duet-tab-group-scrolls": true,
290
- }, "aria-label": this.accessibleLabel }, h("div", { key: '23a7b5dbb12fb5386fabcde92a0806d1f037ae2f', role: "tablist", class: {
290
+ }, "aria-label": this.accessibleLabel }, h("div", { key: 'e296d279b91e3412d4bb11410eb7b752208828ba', role: "tablist", class: {
291
291
  "duet-m-0": this.margin === "none" || this.variation === "checked",
292
292
  "duet-tab-group-tabs": true,
293
293
  "duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
@@ -298,11 +298,11 @@ export class DuetTabGroup {
298
298
  } }, this.variation === "checked" ? (buttons) : (h("div", { class: {
299
299
  "duet-tab-group-scrollable-wrapper": true,
300
300
  "duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
301
- } }, this.fillSpace && !this.stretch && this.variation === "default" && (h("div", { class: "duet-scrollable-stretch-overlay" }, h("div", { class: "background" }), h("div", { class: "border" }))), h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), h("div", { key: '9727ecb4d515a36fec55607fe35eef78b07b3877', class: {
301
+ } }, this.fillSpace && !this.stretch && this.variation === "default" && (h("div", { class: "duet-scrollable-stretch-overlay" }, h("div", { class: "background" }), h("div", { class: "border" }))), h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), h("div", { key: '58eaf09f8633b86c594a0cd2662f6bbfa0a160ec', class: {
302
302
  "duet-tab-group-content": true,
303
303
  "duet-m-0": this.margin === "none",
304
304
  "checked-group-content": this.variation === "checked",
305
- } }, h("slot", { key: 'd5634f255c0d4ae18026e471a64a77d6dbe78854' }))));
305
+ } }, h("slot", { key: '45359a79c82f0c35f1a5502c2ecb8af934ad9248' }))));
306
306
  }
307
307
  static get is() { return "duet-tab-group"; }
308
308
  static get encapsulation() { return "shadow"; }
@@ -144,7 +144,7 @@ export class DuetTable {
144
144
  });
145
145
  }
146
146
  render() {
147
- return (h(Host, { key: 'a1dd7fa3685f9dba8b9e5dca8a0fd24c14431658', class: {
147
+ return (h(Host, { key: '02ed0a7f4b3c7504b0f6df2ee9e923f5afbca106', class: {
148
148
  [`duet-table-${this.variation}`]: true,
149
149
  "duet-table-flattened": !this.matchesBreakpoint,
150
150
  // sticky only valid when in regular table layout
@@ -153,7 +153,7 @@ export class DuetTable {
153
153
  "duet-m-0": this.margin === "none",
154
154
  "duet-theme-turva": this.theme === "turva",
155
155
  "duet-table-hide-head-visually": this.hideHeadVisually,
156
- } }, h("slot", { key: '3f4f49a2dc93f99278caa0089c0305a7049817e6' })));
156
+ } }, h("slot", { key: '946a620f959caf19dc712844d81ebc345870757d' })));
157
157
  }
158
158
  static get is() { return "duet-table"; }
159
159
  static get encapsulation() { return "shadow"; }
@@ -205,10 +205,10 @@ duet-tooltip,
205
205
  color: rgb(181, 198, 208);
206
206
  }
207
207
  .duet-textarea[disabled] {
208
- color: rgb(127, 150, 165) !important;
208
+ color: rgb(98, 121, 138) !important;
209
209
  cursor: not-allowed !important;
210
210
  outline: none !important;
211
- background: rgb(245, 248, 250) !important;
211
+ background: rgb(228, 236, 239) !important;
212
212
  border-color: rgb(181, 198, 208) !important;
213
213
  opacity: 1 !important;
214
214
  -webkit-text-fill-color: rgb(8, 42, 77) !important;
@@ -298,6 +298,15 @@ duet-tooltip,
298
298
  .duet-theme-turva .duet-textarea[disabled]::placeholder {
299
299
  color: rgb(23, 42, 59);
300
300
  }
301
+ .duet-theme-turva .duet-textarea[disabled] {
302
+ color: rgb(95, 122, 143) !important;
303
+ cursor: not-allowed !important;
304
+ outline: none !important;
305
+ background: rgb(228, 233, 237) !important;
306
+ border-color: rgb(178, 194, 205) !important;
307
+ opacity: 1 !important;
308
+ -webkit-text-fill-color: rgb(23, 42, 59) !important;
309
+ }
301
310
  .duet-theme-turva.has-error .duet-textarea-help {
302
311
  color: rgb(214, 28, 82);
303
312
  }
@@ -31,7 +31,7 @@ export class DuetTextarea {
31
31
  this.labelId = createID("DuetLabel");
32
32
  this.errorId = createID("DuetError");
33
33
  this.characterCountId = createID("DuetCharacterCount");
34
- this.visuallyHiddenCounterDebounceMS = 1000;
34
+ this.visuallyHiddenCounterDebounceMS = 2000;
35
35
  this.disallowPatternRegex = null;
36
36
  this.charactersRemainingLabel = {
37
37
  // The comma in Finnish is to prevent use of partitive case for remaining
@@ -132,6 +132,10 @@ export class DuetTextarea {
132
132
  * Component event handling.
133
133
  */
134
134
  this.handleInput = (ev) => {
135
+ if (this.maxlength && this.nativeInput.value.length > this.maxlength) {
136
+ // Android doesn't honor maxlength
137
+ this.nativeInput.value = this.nativeInput.value.slice(0, this.maxlength);
138
+ }
135
139
  if (this.disallowPatternRegex) {
136
140
  cleanValue(this.nativeInput, this.disallowPatternRegex);
137
141
  }
@@ -165,17 +169,6 @@ export class DuetTextarea {
165
169
  component: "duet-textarea",
166
170
  });
167
171
  };
168
- /**
169
- * When the character limit has been reached and key is pressed, switch the
170
- * visually hidden label temprorily to empty so it is re-read.
171
- */
172
- this.handleKeyDown = () => {
173
- var _a;
174
- if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.maxlength) {
175
- this.visuallyHiddenCounterText = "";
176
- setTimeout(() => this.updateVisuallyHiddenCounterText(), 10);
177
- }
178
- };
179
172
  this.getDescribedBy = () => {
180
173
  const describedBy = [];
181
174
  if (this.isCaptionVisible && this.topCaptionId) {
@@ -247,17 +240,17 @@ export class DuetTextarea {
247
240
  */
248
241
  render() {
249
242
  const identifier = this.identifier || this.textareaId;
250
- return (h(Host, { key: '628cfbee772dabe02ee28e28b45ac044ba306433', class: {
243
+ return (h(Host, { key: '05f3a128ed669c1c1ca8c0a2a18b3e031b324813', class: {
251
244
  "duet-m-0": this.margin === "none",
252
245
  "duet-has-counter": this.counter && !this.error,
253
246
  "duet-expand": this.expand,
254
- } }, h("div", { key: 'd3b269724ee0b454556b85713e4ce8d0da937121', class: {
247
+ } }, h("div", { key: 'cdd7bcb109c16962d31337146fe774bc7efb248c', class: {
255
248
  "duet-textarea-container": true,
256
249
  "duet-theme-turva": this.theme === "turva",
257
250
  "duet-label-hidden": this.labelHidden,
258
251
  "duet-input-top-caption-shown": this.isCaptionVisible,
259
252
  "has-error": !!this.error,
260
- } }, h(DuetInternalLabel, { key: '61b9d1d31d1c97ec59cc974fd3cf05e99a52c648', 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: 'f50f8d99b9b3459d8b14ad5de3d176e7d995bbde', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'aa111583f2f02af223491081de0ce0aa1d9e513e', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'd229d33d3027940241f0b38348af8c3d79618856', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: 'ef6a5f4d22a441b13f559373096294a657b22b74', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '728f08f538d521047bbc91ccd7bd3434d3e35cb8', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: 'b652877e0466100acb59ddd879bcc8eb3f833649', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, 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, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: 'eacd3bbbf8d40c476ed4dbdf5f6d2608d57303d8', alignment: "stretch" }, h("duet-grid-item", { key: '87e2b2af0d568101cb6535822b6b3f665240b080', margin: "none", fill: true }, h("div", { key: 'fe677c931f07c771e5146256ad638317416bfa64', 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: 'dd9d05aac20cd6eda3b66f8117ec74a66ab78a8a' }, this.error))), h("duet-grid-item", { key: '668485a22c325707308e35875136d289b65d8285', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '3911ad43e20c911266a1ee6446e7cbfecbdc6877', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: 'f3f27267532f3f62aec64d0b4b472616accf3bf1', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
253
+ } }, h(DuetInternalLabel, { key: '9577e3a46d2b1344744377fbada4ad5328482faa', 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: 'c7dfb100492fda0d4b0520a94817a21ff6f7b2f4', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '73d669dcf81bec021dd60d536bcc868a1219493b', name: "tooltip" }), this.caption && (h("duet-caption", { key: '87e9b7e449ab45c533471f0e4a55a56a2886938b', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '3d776d906f0c1aaec10060fea52ed11aed6cae20', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'c11be289c215a5a4a2487cffcbd3c154e266b506', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '20ad68b533a7f0ff28ab8d4834eb8d98640b80fa', 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, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '97abd3da766e5639bfe79bf20bb8ba0d8445cdfe', alignment: "stretch" }, h("duet-grid-item", { key: 'fcfe43263013ccb1df5f6b4ad99ba412d224ed87', margin: "none", fill: true }, h("div", { key: '88a02d777a98f50bf1827da24cd1b8e41826714f', 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: '626befd06c4ce9ee080962e223e6b0b5c90a52ee' }, this.error))), h("duet-grid-item", { key: '58e2571ae0fc52c2488b64aedfb26c722a90be48', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '3a0ae7aefb6b52348a252b49cf166139cb1b4e27', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: '146f69804cf6df2efcd04212e8853fdf15524f77', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
261
254
  }
262
255
  static get is() { return "duet-textarea"; }
263
256
  static get encapsulation() { return "shadow"; }
@@ -118,11 +118,11 @@ export class DuetToggle {
118
118
  */
119
119
  render() {
120
120
  const identifier = this.identifier || this.toggleId;
121
- return (h(Host, { key: '3ec57cff6ce3da317cddd00e7bedbc6650b5241d', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
121
+ return (h(Host, { key: '59feea89498c2b31bdeb767328bffb2d92c81856', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
122
122
  "duet-m-0": this.margin === "none",
123
123
  "duet-toggle-is-disabled": this.disabled,
124
124
  "duet-toggle-is-loading": this.loading,
125
- } }, h("div", { key: 'eee3e6b5baf3b19f1b3def60257a86bba82937f1', class: {
125
+ } }, h("div", { key: '7d66f262fd726f6552ccc0b4fcf7d65f79168bec', class: {
126
126
  "duet-toggle": true,
127
127
  "duet-theme-turva": this.theme === "turva",
128
128
  "duet-side-label": this.labelPosition !== "top",
@@ -130,7 +130,7 @@ export class DuetToggle {
130
130
  "duet-label-hidden": this.labelHidden,
131
131
  "duet-toggle-is-disabled": this.disabled,
132
132
  "duet-toggle-is-loading": this.loading,
133
- } }, h(DuetInternalLabel, { key: '34afba6477ca751f3a522128482b8adbd032ecfc', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("div", { key: 'b7148a180db8be5f24af8b07f78bdb1678135fc4', class: "duet-switch" }, h("input", { key: 'c1ae34876134d4a2b8e747ea1145a8230c1f793e', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), h("div", { key: 'e18149d2e165965f84bcd1c723b26ad86ad738f7', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && h("duet-spinner", { key: 'cb04987318d4ae466376b787fbb822b22da90b68', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: '41123444b69ac84d498781b6301c7188ad9c8293', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: '1d149ecd3ba90ed78770782efbd87082689776f1', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
133
+ } }, h(DuetInternalLabel, { key: 'b51094e9ff80a2d2d38d62207031e882e22c6594', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("div", { key: 'e43214898c9e9db3cdbff5a9bebb6a4123a1f60a', class: "duet-switch" }, h("input", { key: 'e7c74dafd11c4afc1bee288239f0e7fd3a07259d', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), h("div", { key: 'a44ada35c0d948eb093047aa5ebbfbdcd06d8da2', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && h("duet-spinner", { key: '8e3400e0d490ca097597adb600b7a6560593c4f8', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: '8cf3c405c4765f07b0e96359f88e527d0070be46', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: '5738bb3897bc0b07ef73299a6d12901c8c8be40c', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
134
134
  }
135
135
  static get is() { return "duet-toggle"; }
136
136
  static get encapsulation() { return "shadow"; }
@@ -36,11 +36,11 @@ export class DuetToolbar {
36
36
  : this.variation === "secondary"
37
37
  ? "secondary"
38
38
  : "default";
39
- return (h(Host, { key: '11cac89e811d6b909196be87f12ddf03fabc3880' }, h("nav", { key: '811f12c8c160dc6ca955cee1c442289e5be2ca87', class: {
39
+ return (h(Host, { key: '2434866ef0b95d7b07a2248edc89a4f473d9ecc6' }, h("nav", { key: '9938a3cd11e5230013027cb613c8aa81f95e5bf7', class: {
40
40
  "duet-toolbar": true,
41
41
  "duet-theme-turva": this.theme === "turva",
42
42
  [variation]: true,
43
- }, "aria-label": this.accessibleLabel }, h("div", { key: '386f1bc773de6027405dd241f7bf55c247e253da', class: "container" }, h("div", { key: '628fa593433c532ea8ba5e2ff728dfbbd03fa2c5', class: "list", role: "list" }, h("slot", { key: '99a06c1b2878c7ebc0bf9dbca19922fc35c96999', name: "left" })), h("div", { key: '88cf5b6bf106290b9aee832917ffe0cba4de8a56', class: "list", role: "list" }, h("slot", { key: '7cfe53a79d3f81b4a42c6661261698da60aa11df', name: "right" }))))));
43
+ }, "aria-label": this.accessibleLabel }, h("div", { key: '9c915e9ffe872ec9b253bf9c7b7ca58ac5c39bee', class: "container" }, h("div", { key: '7a1ce3f543e9b908638de889a1b6b8270f73d830', class: "list", role: "list" }, h("slot", { key: '396f255c2694dbff16ae2f2584be49e4f5d4fdf5', name: "left" })), h("div", { key: '975122519f64947d2fc01d8a5c9fa63c3052097a', class: "list", role: "list" }, h("slot", { key: '8d070c2c7e5a168d7c426df35a4b742a95696383', name: "right" }))))));
44
44
  }
45
45
  static get is() { return "duet-toolbar"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -64,18 +64,18 @@ export class DuetToolbarDropdown {
64
64
  itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
65
65
  }
66
66
  const variation = this.variation === "negative" ? "negative" : "white";
67
- return (h(Host, { key: '69eac2f06436172cce984b86ca20cc5b63478496', role: "listitem" }, h("div", { key: '9ac7f1b67f30a45617d57343d23126878f74160f', class: {
67
+ return (h(Host, { key: '7af8e188b72d1dd79f3445c543736d3c18d694e4', role: "listitem" }, h("div", { key: '128c0412da716469ad79877951bf5b81f7987515', class: {
68
68
  "duet-toolbar-dropdown": true,
69
69
  "duet-theme-turva": this.theme === "turva",
70
70
  [itemsAlign]: true,
71
71
  [variation]: true,
72
- } }, h("button", { key: 'c0e9bb1221661059cf94d287e2de1e1533c10999', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
72
+ } }, h("button", { key: 'efc3cbf2c159c3b8a528e8ee58312bc9546b561e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
73
73
  active: this.active,
74
74
  open: this.open,
75
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '0112de6cc27774c4b74e6c1c72971d64367bd74a', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: 'f906ad13a862f089ce526428409a26a4e636a7e7', class: "label" }, h("slot", { key: 'ba244f72115c5e4d89abd913c45167de8f209dbc', name: "label" }), h("duet-icon", { key: '9e327c87ecc34f5af2daaca6cfe0e262e3d7823e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '7e5665a075ed415a199b26b877358236d2a7abb4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
75
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '502ded69ce168a1de15bd937aa8c1995f2b5df88', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: '8c4851a8137ab50f524c9d24618f612834f38669', class: "label" }, h("slot", { key: 'eebb0b4107c2060e48b334f35cff1458fc7b4d7c', name: "label" }), h("duet-icon", { key: '961bcc314c446a4b85ae1259b67d5566a0dd0656', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '843d1e28eb1a821021ff4e6c96269bb437980de7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
76
76
  items: true,
77
77
  hidden: !this.open,
78
- } }, h("slot", { key: '230cab93cb351afae35d7f0a56383e3547048540' })))));
78
+ } }, h("slot", { key: '60c2a9af5229e10192605b60f2aaf8d65e136d42' })))));
79
79
  }
80
80
  static get is() { return "duet-toolbar-dropdown"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -45,11 +45,11 @@ export class DuetToolbarDropdownLink {
45
45
  * Always the last one in the class.
46
46
  */
47
47
  render() {
48
- return (h(Host, { key: '035633abc84750e47b20bdac26530ccbee19265f' }, h("a", { key: '1da75702c3371b0b65de19c2124ce4d815d9efc4', class: {
48
+ return (h(Host, { key: '34a5369d2806e4474bbb32400d5563fddcc3590a' }, h("a", { key: 'b16d10c8be40329d90136c486d568fb9511524d7', class: {
49
49
  "duet-toolbar-dropdown-link": true,
50
50
  "duet-theme-turva": this.theme === "turva",
51
51
  active: this.active,
52
- }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'c2d67e5fc451aef6ea005403e844ff5eea233acd', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: 'bd20fbe5b9a451e62e4e07317e72f59aead917b0', class: "label" }, h("slot", { key: 'b9c034f82fa9d16f81cbe23f3952dc3427235821' })), this.active && (h("duet-icon", { key: '5fbdc8f51e1242ac01bb1e8e6edc3673d7f6d9ba', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
52
+ }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'cce54b8721ad1d017e32ac331ebcc54d53fbd88c', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '515f4c68a3917e3403e59f938fc2a2ba296e1f63', class: "label" }, h("slot", { key: '43e7eddd00dc07766e9842a4070f09e908021551' })), this.active && (h("duet-icon", { key: 'e69da314290045e523944a6d3554158627151d48', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
53
53
  }
54
54
  static get is() { return "duet-toolbar-dropdown-link"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -86,17 +86,17 @@ export class DuetToolbarItem {
86
86
  : this.variation === "secondary"
87
87
  ? "secondary"
88
88
  : "default";
89
- return (h(Host, { key: '7a26d4462931957a1f1bc5d77654a147ad5a9d13', role: "listitem" }, this.badge && h("duet-indicator", { key: 'cdc9680681aa38be74316f74d4f96d89db25b678', variation: "change" }), h(TagName, { key: '6a0522aec330982bdb0ecc88b35b6b8f549c07eb', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
89
+ return (h(Host, { key: 'f36d0228f8546f61bd7f1a21fc94bbfacb229270', role: "listitem" }, this.badge && h("duet-indicator", { key: 'a46dc8ea7f76a4f8c76664dc4e1ad56941028a10', variation: "change" }), h(TagName, { key: 'e488df937c34dadf25be1f2beacfe29161ba73cf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
90
90
  "duet-toolbar-item": true,
91
91
  "duet-theme-turva": this.theme === "turva",
92
92
  active: this.active,
93
93
  [variation]: true,
94
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: '91a30ffed6071e0178a6b860e4bca8b27bfa51c6', class: "duet-toolbar-icon" }, h("duet-icon", { key: '7a07df3574f8395b9ea2f9ddcc6b880e41f6ac8f', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: '92faf3ceedbe859b1da6ec01080dc38d211f74b4', class: "duet-toolbar-badge" }))), h("slot", { key: '533190e10014971c270a814c239f88277f3fc0d8' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: 'fd4c0fb114e44e2511b1df3be704cdf587e8be02', class: "duet-toolbar-icon" }, h("duet-icon", { key: 'ae3207c0894228b1532ec15bae02b1768462b2a6', class: {
94
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: 'fb792acb4d635caf2dbe6d6b34eb7ca0257c6425', class: "duet-toolbar-icon" }, h("duet-icon", { key: '7aeb14377fab6bbba397bdcb85942bc7f9026f99', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: 'f2a6ed7704a7d21782c32fe02f1d768203a0e543', class: "duet-toolbar-badge" }))), h("slot", { key: 'c5f8d0d4644d68d9ae8bae97f3b26d9cb7ff2693' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '1258c07b9515853adcc3461d186240ba86fdc491', class: "duet-toolbar-icon" }, h("duet-icon", { key: '3472d1724fb3d148dd2ac58a964db4ab2ae7908e', class: {
95
95
  "trailing-icon": !!this.trailingIcon,
96
96
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
97
97
  "external-icon": !!(this.url && this.external),
98
98
  rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
99
- }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: 'f9fff2e52a62cc1dcbb9a5b5e7490701c1d849bf', class: "duet-toolbar-badge" }))))));
99
+ }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: 'df9aa0697ed176678be4f45596c3276da1218a33', class: "duet-toolbar-badge" }))))));
100
100
  }
101
101
  static get is() { return "duet-toolbar-item"; }
102
102
  static get encapsulation() { return "shadow"; }
@@ -38,12 +38,12 @@ export class DuetToolbarLink {
38
38
  */
39
39
  render() {
40
40
  const variation = this.variation === "negative" ? "negative" : "white";
41
- return (h(Host, { key: '3892831234a833b4a247d3de3f9a66c30135e5a2', role: "listitem" }, h("a", { key: '7f8a8e206d7775ed92ab5936304cc4c4aea4147a', class: {
41
+ return (h(Host, { key: '37bc6a6543039418aa1450349f23f7eba45adadb', role: "listitem" }, h("a", { key: '55cc4a44d00c2d228ab14686063417d471beec5d', class: {
42
42
  "duet-toolbar-link": true,
43
43
  "duet-theme-turva": this.theme === "turva",
44
44
  active: this.active,
45
45
  [variation]: true,
46
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '8c58a04f9ee135ee12d4b32aee1c43d5b0e9f18b', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'c6a1605ebb2b6d099a87e430792730aceeb9230a' }))));
46
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '363fec506c3668d762b5a706b720f4ab8efb0bb5', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '086cbb4a926a01fcee0ce4d7ca417ad031c60110' }))));
47
47
  }
48
48
  static get is() { return "duet-toolbar-link"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -36,13 +36,13 @@ export class DuetTooltipButton {
36
36
  * Always the last one in the class.
37
37
  */
38
38
  render() {
39
- const visuallyHidden = h("duet-visually-hidden", { key: '70a82f2c22f0f4f4550e15b1e7ec8c526e3c122e' }, this.accessibleLabel);
40
- return (h(Host, { key: '19556e89ed879d642f95db9e14dfe6350af14858' }, h("button", { key: '2b2fab3108b3575da91c00ad81a763d776476b28', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
39
+ const visuallyHidden = h("duet-visually-hidden", { key: 'bf8e82beb39bca3f67c6ffcdbaf684671f551ffa' }, this.accessibleLabel);
40
+ return (h(Host, { key: 'c014d004ab6a355f122447e806b5c12f62aba277' }, h("button", { key: 'eda0bd6c55287d8ac393c2af3f65cbb910cd8c50', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
41
41
  "duet-tooltip-button": true,
42
42
  "duet-tooltip-button-has-label": !!this.label,
43
43
  "duet-theme-turva": this.theme === "turva",
44
44
  "duet-tooltip-button-negative": this.negative,
45
- } }, h("svg", { key: 'b665bf9fc4f777eed4e4e152c394adce11fc4f4e', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2f25f9fefa3c82c6f182507c79d3a9cf904fa009', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { key: '2b0bea40ebef849a5faf6958f2d6da457180eaa1', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: '44744f79a997b131473388d0e02347277d04c42e', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label, visuallyHidden)) : (visuallyHidden))));
45
+ } }, h("svg", { key: 'f6d4082627cb5a653bdd3668cc899bb885d204a1', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '21df01e868e6f304a33a50d4ac2442d6f43376aa', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { key: 'ba4e4c5cb1bf9f5e91e5ab8746485ca140b9a597', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: '0a3e24ec139b2442be22ebc85c663c891a050c08', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label, visuallyHidden)) : (visuallyHidden))));
46
46
  }
47
47
  static get is() { return "duet-tooltip-button"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -53,14 +53,14 @@ export class DuetTooltipPopup {
53
53
  this.contentEl.focus();
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: 'cf44855d08d69141e629987f9ba2fdccdcdc21d7' }, h("div", { key: 'bf7580b8ecdf58b6c93c3c21cbb362234cc699b4', class: {
56
+ return (h(Host, { key: '63f303082985a668ae51759122ae462ae25404e0' }, h("div", { key: 'e3da6a6995872c70fb5d690ea87cf240240a2d0d', class: {
57
57
  "duet-tooltip": true,
58
58
  "duet-theme-turva": this.theme === "turva",
59
59
  "duet-tooltip-active": this.active === true,
60
- } }, h(FocusGuard, { key: '6f5a516e23035e8e0b9c2951ef4a10243b564d17', moveFocusTo: this.buttonEl }), h("div", { key: '3d1031a521b8085ee786692f678a599fe7c02512', ref: element => (this.contentEl = element), class: {
60
+ } }, h(FocusGuard, { key: '428ef9ad1157017747e93d3b0f6b45e6dd4d8854', moveFocusTo: this.buttonEl }), h("div", { key: 'cf4af07ba0054be6658c5724c7552854b3471472', ref: element => (this.contentEl = element), class: {
61
61
  "duet-tooltip-content-area": true,
62
62
  "duet-theme-turva": this.theme === "turva",
63
- }, tabindex: -1, id: this.tooltipId }, h("slot", { key: 'f40fff5023fe51f2413b7a2cc3fd4fcae353502e' })), h("div", { key: 'e549848c426e3056c540a3b7aa808f05416bb5b3', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '21e7fddb4ee364c03887c4238dfe3d23beb97ac3', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: 'fbef02a023d8b1943a812811e574c9953dce843e', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '7b4b8aaac8a97ede79cb3390f2e85159dbc0e61f', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '9fd02bc99e3fdb9791575525da12a2998d40334a' }, this.accessibleCloseLabel)), h(FocusGuard, { key: '794b71cceb911fbcfdf27110c0d08bd5da230944', moveFocusTo: this.contentEl }))));
63
+ }, tabindex: -1, id: this.tooltipId }, h("slot", { key: '3d21605221e8f16c59a2a62790dfce1a9cd15ea5' })), h("div", { key: 'e2e7ae6376f8dd497ef19ff673f22b699f8a55e6', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '0bd6b8b42c5e1b2b6eaf89c19a5ad2a968f3e541', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: '1b7be53d18b09050af7fc192f65c2e9e01ec62a8', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '91636953a64d83fc88e888dab06b1ca482f47dd4', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '487a4c4b37a1891f07f203bb5cf22f8dc999c8e5' }, this.accessibleCloseLabel)), h(FocusGuard, { key: 'cd18c3c009967eca235de7d7d5e9f7208692bb56', moveFocusTo: this.contentEl }))));
64
64
  }
65
65
  static get is() { return "duet-tooltip-popup"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -129,14 +129,14 @@ export class DuetTray {
129
129
  * Always the last one in the class.
130
130
  */
131
131
  render() {
132
- return (h("div", { key: '4feb3ea8d6067ec6d82c6eaf9225fe6728bd4acc', class: {
132
+ return (h("div", { key: 'f214ce1bc33434f910d47ad3eb6c32f9def079a6', class: {
133
133
  "duet-tray": true,
134
134
  "duet-tray-is-active": this.active,
135
135
  "duet-tray-is-hidden": this.hiddenState,
136
136
  "duet-tray-is-responsive": this.responsive,
137
137
  "duet-theme-turva": this.theme === "turva",
138
138
  "duet-tray-is-expandable": this.hasAdditionalContent,
139
- } }, h("div", { key: 'c51904bcc9f3d0297da08c32952be7ea690bafc8', class: "duet-tray-default-content", role: "status" }, h("slot", { key: '52e8b11bdf354f65b34fb1d6d2facbf636a01758' })), this.hasAdditionalContent && (h(Fragment, { key: '86e6560df02094fcc7b7df9146c34c47923d89eb' }, h("button", { key: '000c5472ff2f7f1a0ffe6e796817a51fcaecd856', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, h("duet-icon", { key: '02489a52896b40ce4916a3b6dfcdd40d36212251', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: '866528d950899fe557f6023f8f9ca79e9545fd15' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: 'c3400e3dda10617ffd45395e46247ef88a2157a8', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: 'f2176a2e171dfae93254cba98d31e13855c3b0e5', class: "duet-tray-expandable-content" }, h("slot", { key: '21d7e1276815c885a9832fcdb87ffbd96fe8a03c', name: "additional" })))))));
139
+ } }, h("div", { key: '4b233933831bb971fdfcbcfeb1a45a24376c9334', class: "duet-tray-default-content", role: "status" }, h("slot", { key: 'dd4e32bc8ac1287203ae396fe8c21184971ed452' })), this.hasAdditionalContent && (h(Fragment, { key: '978f4eac8618d6e6806c2b949e61555881739314' }, h("button", { key: '733c5973d36830c6c93d80e74d943f89d6cc02ea', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, h("duet-icon", { key: '84843a2d3b1481545f27f6dd15854e7382f712ea', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: 'c071fa18c128c620dd838dd8a0d6fce553bb60aa' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: '85ae38a4a6b17d8acec9bbd7948eba44ed6bf28c', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: '3cf4e3889f982c47287b962430c62596aad7f81c', class: "duet-tray-expandable-content" }, h("slot", { key: 'ea85e6c58ed79bc61d885f859d296ec9a6a590d3', name: "additional" })))))));
140
140
  }
141
141
  static get is() { return "duet-tray"; }
142
142
  static get encapsulation() { return "shadow"; }
@@ -953,10 +953,10 @@ export class DuetUpload {
953
953
  this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
954
954
  }
955
955
  // @ts-ignore
956
- return (h(Host, { key: 'dc222a10613a05aa4d56526accf4f20d09a85524', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: 'afd3bbefc25846e30ea0a4a3dd6fef490cfce55d', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: '9927e358eb190f2023f863d4de2306390d71fc8b', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '843385b600508604aeed2894ae0d13134c4726d0', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'c75ef6ac779000de5dee49f7793a01dcad735808', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'f9756746a31507f1dca930bdf7fea75ccf2c577b', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: 'b88ca83dcc669708410ac4ff2ab95c171909bcfd', 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", { key: 'cf7410f30e64f19d7dfc05848cae516c3c4c4998', name: "filefooter" }), h("slot", { key: '3d6ae7f015427bc576b46bcbad37ad21c75c5cff', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'd9839e2f61e00879f0fe4d804b76884eb3a3c426', margin: "none", size: "small" }, h("div", { key: '0793e849c010f2611e8c30fc9a1adfd5739036ca', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'aea1cf5e8be9c04cfe942a63b609304b89dbd3bf', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '5bc3f7808057aecbe5a082aa960cfd0179a5ebb8' }, h("duet-spacer", { key: 'dea860e2657fdd9d826a56ed1cbd3c29c27a6566', size: "large" }), h("duet-button", { key: 'd2e2120f450bd44190d819bcc8b7d3193a2fd7f1', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "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 ||
956
+ return (h(Host, { key: '855e27e55645747625669bf080e6f65423b9bbf0', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '89d6b1b88260ccb7ffa2f4a3130fdf74d904e048', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: '10b9cdc44bd94871f538a9299ea6252f4375a864', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '924905b1aafa76175b93f12dd6e7d7ac8ac5b5e3', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'f744c2afdb520cd0e69a15c0a942f6ecd8e30b75', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'da55dafcb732e24b895185995040decfe40382c6', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '199e78733f262f857124540bbd055e7c6cbcaf6a', 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", { key: 'd6327694548a1ee39188af3935c67d0a6eaead79', name: "filefooter" }), h("slot", { key: '718e1e5d1f7041d2d596ada75a717942b74999f6', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'd15f3fd09b07de11dc1f725bc9ee344889b6445f', margin: "none", size: "small" }, h("div", { key: '1e4e1c3a29338fa3339cd2de701ba3c776c1166a', class: "upload-bottom-caption" }, caption))), h("slot", { key: '90f1e8de4c8359df2b8dded1bf5211857ce48a79', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '431fb04536068eefdf974fc34f89f56e712674c9' }, h("duet-spacer", { key: 'c98d3f3e0f06d17b1b86ab40486a663ef8c6a75e', size: "large" }), h("duet-button", { key: '1f057848bdacb5e69ef63e2bfdc81e216271f455', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "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 ||
957
957
  this.bytesMaxReached ||
958
958
  this.filesToUploadExceedsLimit ||
959
- this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: 'fcf6947ea9fd60eb05745627ea9bcfdc0a186ae2' }, h("duet-spacer", { key: '0d8d15f15c9dcecb7749d481e29073be66c1e77f', size: "medium" }), h("duet-alert", { key: '392a1d62012973d5e0b730a58ad3d97c48db3256', 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", { key: 'ecf1098f5d21721d322bc382ff218b2b374e907a', "aria-hidden": "true" }, h("input", { key: 'd47f7522e739d1bda7407882e7ceda5f3e416b3d', ref: input => {
959
+ this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '8169162805d7ec3a093344e09a4bd9241c1b9c58' }, h("duet-spacer", { key: '0f6500a4ada6c4b3c73f6524bf224ee1d79f0ae6', size: "medium" }), h("duet-alert", { key: '8bbc63eb777fa98ff0f797d970d66835ac6155a5', 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", { key: '5fb70459ca757cc24041ce6e01414165ba6497b5', "aria-hidden": "true" }, h("input", { key: '808b15c23e12cf691f85e48e1a03106409b81565', ref: input => {
960
960
  this.nativeInput = input;
961
961
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
962
962
  "duet-upload": true,
@@ -85,7 +85,7 @@ export class DuetUploadAriaStatus {
85
85
  * Always the last one in the class.
86
86
  */
87
87
  render() {
88
- return (h(Host, { key: '2084d67e27f201170cb0915e97235481a8f42ff6', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: 'f774f8926c1f2500866e4b50781cf83a1263b0c2' }, this.statusMessage)));
88
+ return (h(Host, { key: 'dfba0ccef69bd34b3c4f8980caa95375ed480f83', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: '20bd47d50fbc2097aae0656ffb367299284ff441' }, this.statusMessage)));
89
89
  }
90
90
  static get is() { return "duet-upload-aria-status"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -73,9 +73,9 @@ export class DuetUploadItem {
73
73
  const { uid, meta, item } = this.data;
74
74
  const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
75
75
  const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
76
- return (h("div", { key: 'a4236da565d327c0745c1d0838cb8521c9aeacd2', class: {
76
+ return (h("div", { key: 'af4b480a7c50c90ebf35c2744a0c6d301c026ee9', class: {
77
77
  "upload-item-row": true,
78
- } }, this.showCategory && (h("div", { key: 'ded27f92a61d2f8e793c6132eefce939935f4560', class: "item-categories" }, h("duet-heading", { key: '945bf9ec37ef6aa7abfec637e991ec9fa531e998', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: 'f1bddfee393d02f814bc46ff678ca6ecfffde402', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '40831fd68ebd159d9c1ed6fa01c1563b25842f92', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '36bb6e40d039ff13d87b6499a27db274a4ad47a9', class: "item-actions" }, this.actions.map(actionItem => {
78
+ } }, this.showCategory && (h("div", { key: '4717379f9f4b5848066dd29975972f19b46e2ca2', class: "item-categories" }, h("duet-heading", { key: '629de4c001a31d3ac9e509f4d8c4e48453b861bb', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: '0bab4d7664d6f2032dac1ea95b2b608297ab4d2a', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '65d2a44a4b4b3353766658557242ad53c357236e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '5e5cce5f36a34f4b24c21a1055874ba9bc59493b', class: "item-actions" }, this.actions.map(actionItem => {
79
79
  return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
80
80
  }))));
81
81
  }
@@ -8,7 +8,7 @@ export class DuetVisuallyHidden {
8
8
  * Always the last one in the class.
9
9
  */
10
10
  render() {
11
- return (h(Host, { key: '2ac2536c5fb762954d328da1080105d92292c8b4', class: "duet-visually-hidden" }, h("slot", { key: '4f58c2bdca5f9d629586174be225448f22662155' })));
11
+ return (h(Host, { key: '0b6d7c8ffd99088d9679558cf45fd682f17754b8', class: "duet-visually-hidden" }, h("slot", { key: 'a1fd4a31404091a50c989a4ccbe6ea9b8233fa73' })));
12
12
  }
13
13
  static get is() { return "duet-visually-hidden"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -96,7 +96,7 @@ export const proxyInputToSlot = (element, id, name, value, required, checked = u
96
96
  return;
97
97
  }
98
98
  input.id = id;
99
- if (name !== undefined && name !== null) {
99
+ if (name !== undefined && name !== null && input.name !== name) {
100
100
  input.name = name;
101
101
  }
102
102
  if (required) {