@duetds/components 10.0.0-alpha.26 → 10.0.0-alpha.28

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 (443) hide show
  1. package/hydrate/index.js +364 -273
  2. package/hydrate/index.mjs +364 -273
  3. package/lib/cjs/{a11y-utils-CnLnSK4z.js → a11y-utils-CJbT7JyN.js} +1 -1
  4. package/lib/cjs/{app-globals-B3iie8Hv.js → app-globals-Bg_Qat6e.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  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 +20 -9
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -20
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
  14. package/lib/cjs/duet-card.cjs.entry.js +5 -5
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
  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 +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -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 +11 -10
  31. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-hero.cjs.entry.js +15 -11
  33. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  35. package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
  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 +7 -7
  44. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  46. package/lib/cjs/duet-nav.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  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 +17 -17
  52. package/lib/cjs/duet-panel.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +21 -19
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  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 +7 -7
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -20
  70. package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -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 +8 -8
  78. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  79. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  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 +9 -9
  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 +8 -8
  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-BgHe-1YU.js → errorcodes.utils-CvAMXZjl.js} +1 -1
  93. package/lib/cjs/{focus-utils-CT74z9Qb.js → focus-utils-C8MDOQZG.js} +1 -1
  94. package/lib/cjs/{index-C6D9Bly8.js → index-BkDTP7hm.js} +5 -1
  95. package/lib/cjs/{label-tyZX3oPG.js → label-DYV9pC59.js} +1 -1
  96. package/lib/cjs/{language-utils-DcgSN-KH.js → language-utils-BxIeXBGy.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-ByPWwvPp.js → slot-utils-F-Jmx-3a.js} +1 -1
  99. package/lib/cjs/{themeable-component-Doq36ycm.js → themeable-component-DvX_Xgrg.js} +1 -1
  100. package/lib/cjs/{token-utils-DsVwGXGM.js → token-utils-b3aW02zZ.js} +7 -4
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  103. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  104. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +9 -22
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-button/duet-button.css +3 -0
  110. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  111. package/lib/collection/components/duet-card/duet-card.css +12 -3
  112. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  113. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  114. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  115. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  116. package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  119. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  120. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  121. package/lib/collection/components/duet-hero/duet-hero.css +220 -29
  122. package/lib/collection/components/duet-hero/duet-hero.js +10 -6
  123. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  124. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  125. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  126. package/lib/collection/components/duet-input/duet-input.js +8 -8
  127. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  128. package/lib/collection/components/duet-link/duet-link.js +2 -2
  129. package/lib/collection/components/duet-list/duet-list.js +1 -1
  130. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
  133. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  134. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  136. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  138. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  139. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  140. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  141. package/lib/collection/components/duet-nav/duet-nav.css +4 -0
  142. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  143. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  144. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  145. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  147. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  148. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  149. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  150. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  151. package/lib/collection/components/duet-panel/duet-panel.css +5 -4
  152. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  153. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  154. package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
  155. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  156. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  157. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  158. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  159. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  160. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  161. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  162. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  163. package/lib/collection/components/duet-select/duet-select.js +5 -5
  164. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  165. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  166. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  167. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  168. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  169. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  170. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  173. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  179. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
  184. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  185. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  186. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  187. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  188. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  189. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  191. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
  192. package/lib/collection/components/duet-table/duet-table.js +2 -2
  193. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  194. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  195. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  196. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  197. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  199. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  200. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  202. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  203. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  204. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  205. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  206. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  207. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  208. package/lib/collection/utils/token-utils.js +3 -3
  209. package/lib/duet/duet.esm.js +1 -1
  210. package/lib/duet/{p-4da25e3d.entry.js → p-01a9a47d.entry.js} +1 -1
  211. package/lib/duet/{p-534180fa.entry.js → p-09758ca7.entry.js} +1 -1
  212. package/lib/duet/{p-a745298d.entry.js → p-1206ff96.entry.js} +1 -1
  213. package/lib/duet/{p-84777c03.entry.js → p-12ac4ff1.entry.js} +1 -1
  214. package/lib/duet/{p-dd8216e7.entry.js → p-166bc231.entry.js} +1 -1
  215. package/lib/duet/{p-16f691fd.entry.js → p-16a96348.entry.js} +1 -1
  216. package/lib/duet/{p-ec72f3a2.entry.js → p-1a8da00c.entry.js} +1 -1
  217. package/lib/duet/p-20fa2389.entry.js +4 -0
  218. package/lib/duet/p-22e7cf7d.entry.js +4 -0
  219. package/lib/duet/p-2cdeebb1.entry.js +4 -0
  220. package/lib/duet/{p-88216acf.entry.js → p-2f21ed78.entry.js} +1 -1
  221. package/lib/duet/p-2f8ac3ad.entry.js +4 -0
  222. package/lib/duet/{p-a64da31d.entry.js → p-30035283.entry.js} +1 -1
  223. package/lib/duet/{p-0864a12e.entry.js → p-3208daa6.entry.js} +1 -1
  224. package/lib/duet/{p-f82a2ab7.entry.js → p-34ca9627.entry.js} +1 -1
  225. package/lib/duet/{p-d05bbd77.entry.js → p-35fdce02.entry.js} +1 -1
  226. package/lib/duet/{p-4cd019a5.entry.js → p-3a1c718a.entry.js} +1 -1
  227. package/lib/duet/{p-117970c7.entry.js → p-3a4a486b.entry.js} +1 -1
  228. package/lib/duet/p-41558cfd.entry.js +4 -0
  229. package/lib/duet/{p-a704d617.entry.js → p-447520f5.entry.js} +1 -1
  230. package/lib/duet/p-44e44f11.entry.js +4 -0
  231. package/lib/duet/{p-2d62148e.entry.js → p-49534af3.entry.js} +1 -1
  232. package/lib/duet/{p-0fccda7b.entry.js → p-4e6bc806.entry.js} +1 -1
  233. package/lib/duet/{p-2a563d22.entry.js → p-54dff5d5.entry.js} +1 -1
  234. package/lib/duet/p-5a2e2e55.entry.js +4 -0
  235. package/lib/duet/p-5cd78818.entry.js +4 -0
  236. package/lib/duet/{p-1f9c5d58.entry.js → p-5d626b10.entry.js} +1 -1
  237. package/lib/duet/p-5da18b67.entry.js +4 -0
  238. package/lib/duet/{p-806121b1.entry.js → p-631b16b7.entry.js} +1 -1
  239. package/lib/duet/{p-288da581.entry.js → p-66dc053b.entry.js} +1 -1
  240. package/lib/duet/{p-829482da.entry.js → p-68b125c1.entry.js} +1 -1
  241. package/lib/duet/{p-44deeddc.entry.js → p-6b79244a.entry.js} +1 -1
  242. package/lib/duet/{p-e9886226.entry.js → p-6e1454e9.entry.js} +1 -1
  243. package/lib/duet/{p-8194b05d.entry.js → p-6f710a62.entry.js} +1 -1
  244. package/lib/duet/{p-02ba799f.entry.js → p-787b30fc.entry.js} +1 -1
  245. package/lib/duet/{p-15a7a9be.entry.js → p-78db887a.entry.js} +1 -1
  246. package/lib/duet/{p-d079278e.entry.js → p-7912bc42.entry.js} +1 -1
  247. package/lib/duet/{p-4da439ae.entry.js → p-796eec58.entry.js} +1 -1
  248. package/lib/duet/p-7b718349.entry.js +4 -0
  249. package/lib/duet/{p-66cb6021.entry.js → p-7c3fcd96.entry.js} +1 -1
  250. package/lib/duet/{p-9a7382a4.entry.js → p-7e02804f.entry.js} +1 -1
  251. package/lib/duet/p-8017e834.entry.js +4 -0
  252. package/lib/duet/{p-ecb4e99d.entry.js → p-81992942.entry.js} +1 -1
  253. package/lib/duet/{p-f2ae56b2.entry.js → p-8356498a.entry.js} +1 -1
  254. package/lib/duet/p-87fa61b0.entry.js +4 -0
  255. package/lib/duet/p-882f0aaf.entry.js +4 -0
  256. package/lib/duet/{p-92b13088.entry.js → p-88e2e400.entry.js} +1 -1
  257. package/lib/duet/p-8d3c4a3f.entry.js +4 -0
  258. package/lib/duet/p-8de6d1e2.entry.js +4 -0
  259. package/lib/duet/p-97ba0b31.entry.js +4 -0
  260. package/lib/duet/{p-066f855b.entry.js → p-97bb619b.entry.js} +1 -1
  261. package/lib/duet/p-9ac2964f.entry.js +4 -0
  262. package/lib/duet/{p-34706bbb.entry.js → p-9dd85685.entry.js} +1 -1
  263. package/lib/duet/{p-C-YpEPL-.js → p-BFsh4y5I.js} +1 -1
  264. package/lib/duet/{p-DoTAjqzf.js → p-BVUumLs-.js} +1 -1
  265. package/lib/duet/{p-BPFqbaxm.js → p-BfHFKBVa.js} +1 -1
  266. package/lib/duet/p-D3JjrjH_.js +4 -0
  267. package/lib/duet/{p-BkHWWyft.js → p-D4WDSjzx.js} +1 -1
  268. package/lib/duet/p-DEF77zC7.js +4 -0
  269. package/lib/duet/p-DeH5mj7m.js +4 -0
  270. package/lib/duet/p-Do6ugHz0.js +4 -0
  271. package/lib/duet/{p-C2xFZ1pZ.js → p-Yh6R_0l1.js} +1 -1
  272. package/lib/duet/{p-6fa7de01.entry.js → p-a1442533.entry.js} +1 -1
  273. package/lib/duet/{p-23475050.entry.js → p-abd2d2e5.entry.js} +1 -1
  274. package/lib/duet/p-adf33c50.entry.js +4 -0
  275. package/lib/duet/{p-4c118ad6.entry.js → p-b88c7286.entry.js} +1 -1
  276. package/lib/duet/{p-148b6203.entry.js → p-b9125a20.entry.js} +1 -1
  277. package/lib/duet/{p-d71a366e.entry.js → p-b942ee5a.entry.js} +1 -1
  278. package/lib/duet/{p-8625d3ce.entry.js → p-bd08aba8.entry.js} +1 -1
  279. package/lib/duet/p-be077745.entry.js +4 -0
  280. package/lib/duet/{p-433a9f98.entry.js → p-c084c91d.entry.js} +1 -1
  281. package/lib/duet/{p-ad08429f.entry.js → p-c43dc2fd.entry.js} +1 -1
  282. package/lib/duet/{p-15859eb3.entry.js → p-c9ef3dfc.entry.js} +1 -1
  283. package/lib/duet/p-c9fd65ce.entry.js +4 -0
  284. package/lib/duet/{p-0e15fd30.entry.js → p-caf2cab9.entry.js} +1 -1
  285. package/lib/duet/{p-babe244b.entry.js → p-cb78347a.entry.js} +1 -1
  286. package/lib/duet/p-cc343a6c.entry.js +4 -0
  287. package/lib/duet/p-d0cc1c5b.entry.js +4 -0
  288. package/lib/duet/{p-e9becc58.entry.js → p-d83d4c83.entry.js} +1 -1
  289. package/lib/duet/{p-22641f21.entry.js → p-d93c2be4.entry.js} +1 -1
  290. package/lib/duet/{p-5fdfb13d.entry.js → p-daa8f255.entry.js} +1 -1
  291. package/lib/duet/{p-4a325ef1.entry.js → p-dd8692cb.entry.js} +1 -1
  292. package/lib/duet/{p-2f150cd4.entry.js → p-ddbdbe11.entry.js} +1 -1
  293. package/lib/duet/{p-78a9b684.entry.js → p-ea979f26.entry.js} +1 -1
  294. package/lib/duet/p-eab48b73.entry.js +4 -0
  295. package/lib/duet/p-ee38050b.entry.js +4 -0
  296. package/lib/duet/p-f0076621.entry.js +4 -0
  297. package/lib/duet/p-f2b7be73.entry.js +4 -0
  298. package/lib/duet/{p-6b2697ad.entry.js → p-f30823aa.entry.js} +1 -1
  299. package/lib/duet/p-f78c747f.entry.js +4 -0
  300. package/lib/duet/p-fc2d3b85.entry.js +4 -0
  301. package/lib/duet/{p-6dca8f77.entry.js → p-fcc4cd08.entry.js} +1 -1
  302. package/lib/duet/{p-9440a479.entry.js → p-fdab5c0b.entry.js} +1 -1
  303. package/lib/duet/{p-5a6fd350.entry.js → p-fec4da8c.entry.js} +1 -1
  304. package/lib/duet/{p-62df87ea.entry.js → p-ff169773.entry.js} +1 -1
  305. package/lib/duet/{p-D5MfS1RP.js → p-x84EsPoI.js} +1 -1
  306. package/lib/esm/{a11y-utils-C6cn5C3e.js → a11y-utils-CRHgvsu9.js} +1 -1
  307. package/lib/esm/{app-globals-CcxHDwb4.js → app-globals-CYQv_sg4.js} +1 -1
  308. package/lib/esm/duet-action-button.entry.js +4 -4
  309. package/lib/esm/duet-alert.entry.js +4 -4
  310. package/lib/esm/duet-badge.entry.js +5 -5
  311. package/lib/esm/duet-banner.entry.js +20 -9
  312. package/lib/esm/duet-breadcrumb.entry.js +11 -20
  313. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  314. package/lib/esm/duet-button_2.entry.js +7 -7
  315. package/lib/esm/duet-callout.entry.js +5 -5
  316. package/lib/esm/duet-caption_4.entry.js +10 -10
  317. package/lib/esm/duet-card.entry.js +5 -5
  318. package/lib/esm/duet-checkbox.entry.js +2 -2
  319. package/lib/esm/duet-checkmark.entry.js +4 -4
  320. package/lib/esm/duet-chip.entry.js +4 -4
  321. package/lib/esm/duet-choice_2.entry.js +7 -7
  322. package/lib/esm/duet-collapsible.entry.js +17 -8
  323. package/lib/esm/duet-combobox.entry.js +4 -4
  324. package/lib/esm/duet-contact-card.entry.js +5 -5
  325. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  326. package/lib/esm/duet-date-picker.entry.js +6 -6
  327. package/lib/esm/duet-divider_2.entry.js +4 -4
  328. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  329. package/lib/esm/duet-empty-state.entry.js +2 -2
  330. package/lib/esm/duet-fieldset.entry.js +6 -6
  331. package/lib/esm/duet-file-chooser.entry.js +2 -2
  332. package/lib/esm/duet-footer.entry.js +4 -4
  333. package/lib/esm/duet-grid_2.entry.js +11 -10
  334. package/lib/esm/duet-header_2.entry.js +5 -5
  335. package/lib/esm/duet-hero.entry.js +15 -11
  336. package/lib/esm/duet-icon.entry.js +6 -6
  337. package/lib/esm/duet-indicator.entry.js +51 -0
  338. package/lib/esm/duet-input_2.entry.js +12 -12
  339. package/lib/esm/duet-layout.entry.js +7 -7
  340. package/lib/esm/duet-list_2.entry.js +5 -5
  341. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  343. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  344. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  345. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  346. package/lib/esm/duet-menu-bar.entry.js +7 -7
  347. package/lib/esm/duet-modal.entry.js +13 -13
  348. package/lib/esm/duet-multiselect.entry.js +10 -10
  349. package/lib/esm/duet-nav.entry.js +4 -4
  350. package/lib/esm/duet-notification_2.entry.js +9 -9
  351. package/lib/esm/duet-number-input.entry.js +6 -6
  352. package/lib/esm/duet-overlay.entry.js +3 -3
  353. package/lib/esm/duet-page-heading.entry.js +4 -4
  354. package/lib/esm/duet-pagination_2.entry.js +17 -17
  355. package/lib/esm/duet-panel.entry.js +5 -5
  356. package/lib/esm/duet-phone-input.entry.js +22 -7
  357. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  358. package/lib/esm/duet-progress.entry.js +3 -3
  359. package/lib/esm/duet-promo-card.entry.js +6 -6
  360. package/lib/esm/duet-radio_2.entry.js +7 -7
  361. package/lib/esm/duet-range-slider.entry.js +6 -6
  362. package/lib/esm/duet-scrollable_3.entry.js +21 -19
  363. package/lib/esm/duet-section-layout.entry.js +4 -4
  364. package/lib/esm/duet-select.entry.js +9 -9
  365. package/lib/esm/duet-shaped-image.entry.js +4 -4
  366. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  367. package/lib/esm/duet-share-chart.entry.js +7 -7
  368. package/lib/esm/duet-show-more.entry.js +5 -5
  369. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  370. package/lib/esm/duet-slideout-link.entry.js +8 -8
  371. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  372. package/lib/esm/duet-slideout-panel.entry.js +15 -20
  373. package/lib/esm/duet-slideout.entry.js +11 -11
  374. package/lib/esm/duet-status-icon.entry.js +3 -3
  375. package/lib/esm/duet-step_2.entry.js +6 -6
  376. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  377. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  378. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  379. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  380. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  381. package/lib/esm/duet-textarea.entry.js +8 -8
  382. package/lib/esm/duet-toggle.entry.js +6 -6
  383. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  384. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  385. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  386. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  387. package/lib/esm/duet-toolbar.entry.js +4 -4
  388. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  389. package/lib/esm/duet-tooltip.entry.js +4 -4
  390. package/lib/esm/duet-tray.entry.js +5 -5
  391. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  392. package/lib/esm/duet-upload-item.entry.js +6 -6
  393. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  394. package/lib/esm/duet.js +4 -4
  395. package/lib/esm/{errorcodes.utils-CEyBUBSM.js → errorcodes.utils-MZm5Z6Ra.js} +1 -1
  396. package/lib/esm/{focus-utils-BhO5oz9w.js → focus-utils-CrtNnjPR.js} +1 -1
  397. package/lib/esm/{index-BPFqbaxm.js → index-BfHFKBVa.js} +5 -1
  398. package/lib/esm/{label-BGqhM4kx.js → label-BewTofiP.js} +1 -1
  399. package/lib/esm/{language-utils-CNMTW_pZ.js → language-utils-BvGD3xAJ.js} +1 -1
  400. package/lib/esm/loader.js +4 -4
  401. package/lib/esm/{slot-utils-BABbKvvc.js → slot-utils-QOcACBKy.js} +1 -1
  402. package/lib/esm/{themeable-component-Csv1RXxf.js → themeable-component-D9rAA2iK.js} +1 -1
  403. package/lib/esm/{token-utils-BGFYWQ6j.js → token-utils-C-c-tsXV.js} +7 -4
  404. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  405. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  406. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  407. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  408. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  409. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  410. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  411. package/lib/types/components.d.ts +77 -10
  412. package/package.json +3 -3
  413. package/lib/duet/p-0964b56d.entry.js +0 -4
  414. package/lib/duet/p-1ec554c6.entry.js +0 -4
  415. package/lib/duet/p-4c37165a.entry.js +0 -4
  416. package/lib/duet/p-4fc62376.entry.js +0 -4
  417. package/lib/duet/p-57165bf0.entry.js +0 -4
  418. package/lib/duet/p-5bfa5e5d.entry.js +0 -4
  419. package/lib/duet/p-6fdb09d1.entry.js +0 -4
  420. package/lib/duet/p-7b849d35.entry.js +0 -4
  421. package/lib/duet/p-7c1e8291.entry.js +0 -4
  422. package/lib/duet/p-7f0aa937.entry.js +0 -4
  423. package/lib/duet/p-804b326c.entry.js +0 -4
  424. package/lib/duet/p-98aa7ac5.entry.js +0 -4
  425. package/lib/duet/p-9c838ec0.entry.js +0 -4
  426. package/lib/duet/p-B5RO_CRT.js +0 -4
  427. package/lib/duet/p-CwVyzidG.js +0 -4
  428. package/lib/duet/p-DixsuovU.js +0 -4
  429. package/lib/duet/p-Dr2j33H2.js +0 -4
  430. package/lib/duet/p-ad3d8ac8.entry.js +0 -4
  431. package/lib/duet/p-b1f362dc.entry.js +0 -4
  432. package/lib/duet/p-b9acaca1.entry.js +0 -4
  433. package/lib/duet/p-c35c9198.entry.js +0 -4
  434. package/lib/duet/p-c62aeb2e.entry.js +0 -4
  435. package/lib/duet/p-c8a66d4b.entry.js +0 -4
  436. package/lib/duet/p-cfd5c934.entry.js +0 -4
  437. package/lib/duet/p-d110954d.entry.js +0 -4
  438. package/lib/duet/p-d92c5cfa.entry.js +0 -4
  439. package/lib/duet/p-dbab30ea.entry.js +0 -4
  440. package/lib/duet/p-e18a1599.entry.js +0 -4
  441. package/lib/duet/p-e76051c3.entry.js +0 -4
  442. package/lib/duet/p-f51c072f.entry.js +0 -4
  443. package/lib/duet/p-f82079f2.entry.js +0 -4
@@ -79,6 +79,9 @@ export class DuetTab {
79
79
  connectedCallback() {
80
80
  connectLanguageChangeObserver(this, { prop: "accessibleDescription", defaults: "accessibleDescriptionDefault" });
81
81
  subscribeTabbingChange(this);
82
+ if (this.notificationMark) {
83
+ this.indicator = this.notificationMark === "warning" ? "change" : "error";
84
+ }
82
85
  this.setupContentElement();
83
86
  }
84
87
  disconnectedCallback() {
@@ -107,7 +110,7 @@ export class DuetTab {
107
110
  * Always the last one in the class.
108
111
  */
109
112
  render() {
110
- return (h("div", { key: 'b4bd4852c9b69f58d223d3c9f4abe99b6657eb1e', ref: element => {
113
+ return (h("div", { key: 'a022a330a4f4eef2664a452c8f0df2b84e46c429', ref: element => {
111
114
  if (!this.contentId) {
112
115
  this.tabpanelElement = element;
113
116
  }
@@ -116,7 +119,7 @@ export class DuetTab {
116
119
  "duet-tab": true,
117
120
  selected: this.selected,
118
121
  "has-content-id": !!this.contentId,
119
- }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '18c22a0a004cf4c7e38b88aaa2abbffcc2145baa' })));
122
+ }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: 'fcb609d847cf496ada314f386a9b82dab58a7c19' })));
120
123
  }
121
124
  static get is() { return "duet-tab"; }
122
125
  static get encapsulation() { return "shadow"; }
@@ -226,14 +229,61 @@ export class DuetTab {
226
229
  },
227
230
  "required": false,
228
231
  "optional": false,
232
+ "docs": {
233
+ "tags": [{
234
+ "name": "deprecated",
235
+ "text": "Use indicator property instead.\nNotification mark to show in the tab button. Works better with plain variation, as the dark background of\nselected default button makes the mark less noticable."
236
+ }],
237
+ "text": ""
238
+ },
239
+ "getter": false,
240
+ "setter": false,
241
+ "reflect": true
242
+ },
243
+ "indicator": {
244
+ "type": "string",
245
+ "attribute": "indicator",
246
+ "mutable": true,
247
+ "complexType": {
248
+ "original": "IndicatorVariation",
249
+ "resolved": "\"change\" | \"error\" | \"new\" | \"success\"",
250
+ "references": {
251
+ "IndicatorVariation": {
252
+ "location": "import",
253
+ "path": "../duet-indicator/duet-indicator",
254
+ "id": "src/components/duet-indicator/duet-indicator.tsx::IndicatorVariation"
255
+ }
256
+ }
257
+ },
258
+ "required": false,
259
+ "optional": false,
229
260
  "docs": {
230
261
  "tags": [],
231
- "text": "Notification mark to show in the tab button. Works better with plain variation, as the dark background of\nselected default button makes the mark less noticable."
262
+ "text": "Indicator to show in the tab button."
232
263
  },
233
264
  "getter": false,
234
265
  "setter": false,
235
266
  "reflect": true
236
267
  },
268
+ "indicatorAccessibleLabel": {
269
+ "type": "string",
270
+ "attribute": "indicator-accessible-label",
271
+ "mutable": false,
272
+ "complexType": {
273
+ "original": "string",
274
+ "resolved": "string",
275
+ "references": {}
276
+ },
277
+ "required": false,
278
+ "optional": false,
279
+ "docs": {
280
+ "tags": [],
281
+ "text": "Provides accessible text for the Duet Indicator. If Indicator's default is sufficient this is not needed."
282
+ },
283
+ "getter": false,
284
+ "setter": false,
285
+ "reflect": false
286
+ },
237
287
  "accessibleDescriptionDefault": {
238
288
  "type": "string",
239
289
  "attribute": "accessible-description-defaults",
@@ -166,74 +166,19 @@
166
166
  min-width: fit-content;
167
167
  text-align: center;
168
168
  }
169
- .duet-tab-button.duet-notification-mark-warning::after {
169
+ .duet-tab-button duet-indicator {
170
170
  position: absolute;
171
- top: 6px;
172
- right: 6px;
173
- display: inline-block;
174
- width: 6px;
175
- height: 6px;
176
- content: "";
177
- border-radius: 50%;
178
- background: rgb(247, 178, 40);
179
- box-shadow: 0 0 0 1px #dea024;
171
+ top: 5px;
172
+ right: 5px;
180
173
  }
181
- .duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after {
182
- top: calc(50% - 0.5rem - 6px);
183
- right: -6px;
184
- }
185
- .duet-tab-button.duet-notification-mark-danger::after {
186
- position: absolute;
187
- top: 6px;
188
- right: 6px;
189
- display: inline-block;
190
- width: 6px;
191
- height: 6px;
192
- content: "";
193
- border-radius: 50%;
194
- background: rgb(214, 28, 82);
195
- box-shadow: 0 0 0 1px #c1194a;
196
- }
197
- .duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after {
198
- top: calc(50% - 0.5rem - 6px);
199
- right: -6px;
174
+ .duet-tab-variation-plain .duet-tab-button duet-indicator {
175
+ top: calc(50% - 0.5rem - 7px);
176
+ right: -7px;
200
177
  }
201
178
  .duet-theme-turva .duet-tab-button {
202
179
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
203
180
  color: rgb(23, 28, 58);
204
181
  }
205
- .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after {
206
- position: absolute;
207
- top: 6px;
208
- right: 6px;
209
- display: inline-block;
210
- width: 6px;
211
- height: 6px;
212
- content: "";
213
- border-radius: 50%;
214
- background: rgb(247, 178, 40);
215
- box-shadow: 0 0 0 1px #dea024;
216
- }
217
- .duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after {
218
- top: calc(50% - 0.5rem - 6px);
219
- right: -6px;
220
- }
221
- .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after {
222
- position: absolute;
223
- top: 6px;
224
- right: 6px;
225
- display: inline-block;
226
- width: 6px;
227
- height: 6px;
228
- content: "";
229
- border-radius: 50%;
230
- background: rgb(214, 28, 82);
231
- box-shadow: 0 0 0 1px #c1194a;
232
- }
233
- .duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after {
234
- top: calc(50% - 0.5rem - 6px);
235
- right: -6px;
236
- }
237
182
  .duet-tab-button.duet-p-0 {
238
183
  padding: 0 !important;
239
184
  }
@@ -278,16 +278,15 @@ export class DuetTabGroup {
278
278
  "duet-tab-button": true,
279
279
  "stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
280
280
  selected: element.selected,
281
- [`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
282
281
  [largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
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))));
284
- return (h("div", { key: '826170daba42dde6a2c0cb9c9a4a61edebe73185', class: {
282
+ }, 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 })))));
283
+ return (h("div", { key: '825b9d7dcb582ff4f97f5d28a840ecc73a2eecd0', class: {
285
284
  "duet-tab-group": true,
286
285
  "duet-theme-turva": this.theme === "turva",
287
286
  [variationClass]: true,
288
287
  "duet-tab-plain-scrolling": this.variation === "plain-scrolling",
289
288
  "duet-tab-group-scrolls": true,
290
- }, "aria-label": this.accessibleLabel }, h("div", { key: '4726322a99036852035af473957765866d515a41', role: "tablist", class: {
289
+ }, "aria-label": this.accessibleLabel }, h("div", { key: 'b6c9dbefb1560a3e5c6c4bfe934b1c5f647b4a21', role: "tablist", class: {
291
290
  "duet-m-0": this.margin === "none" || this.variation === "checked",
292
291
  "duet-tab-group-tabs": true,
293
292
  "duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
@@ -298,11 +297,11 @@ export class DuetTabGroup {
298
297
  } }, this.variation === "checked" ? (buttons) : (h("div", { class: {
299
298
  "duet-tab-group-scrollable-wrapper": true,
300
299
  "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: '76e60e6a65004b9c27f167a8defcab3a326789f2', class: {
300
+ } }, 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: '1452eb49358c1531712a04b2da03822e59ab1715', class: {
302
301
  "duet-tab-group-content": true,
303
302
  "duet-m-0": this.margin === "none",
304
303
  "checked-group-content": this.variation === "checked",
305
- } }, h("slot", { key: '184ae2f3e46544c39f2fa28e72941af72e06fd4f' }))));
304
+ } }, h("slot", { key: 'dabdab53e662fc855275970752b71965f60aed1c' }))));
306
305
  }
307
306
  static get is() { return "duet-tab-group"; }
308
307
  static get encapsulation() { return "shadow"; }
@@ -144,7 +144,7 @@ export class DuetTable {
144
144
  });
145
145
  }
146
146
  render() {
147
- return (h(Host, { key: '845e0bcc5bb460928ee219debef072b816e21662', class: {
147
+ return (h(Host, { key: 'f7fa5871fe4bbfc89ec3683ad0d4d9824fb9347a', 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: 'f0baf26a61a35e0faf5363a8e7d24e3080af3180' })));
156
+ } }, h("slot", { key: '0bdd203be920ca5f48f82473ce69f63d0ee3aa86' })));
157
157
  }
158
158
  static get is() { return "duet-table"; }
159
159
  static get encapsulation() { return "shadow"; }
@@ -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: 'f5f89ec4deb6832fb80b077eca0401ceae4f8bf8', class: {
233
+ return (h(Host, { key: '5de3b072ca14484736893df5d510e5bbfc83fab3', 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: '36131b2417d7eed326112df08c9736814bc90b8d', class: {
237
+ } }, h("div", { key: 'aff76643e853e701fc4d5bb82580f91161b61375', 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: '0120ce299715ef884c1cc2f1e42373e5bcb0e7a7', 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: '1b729cb1128299e33c70671aa55d5125ffcdc18a', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '9072f184bc0244ec5fb2a2fe6719696028bb7d0b', name: "tooltip" }), this.caption && (h("duet-caption", { key: '848706df1a73ce054a2b06f7c6e5510a21ff4a11', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '11ede29273d13f5ecb0ce24264096f387ec78c84', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '07ac46dc00428b32d11b7d5e3e5a1b3c4f2aad05', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '936fdccf8c2ad06a96579c790f044db2f5d9b17d', 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: '5b42e4e2f4f76d45c40aa36caec99eaaa242586a', alignment: "stretch" }, h("duet-grid-item", { key: '59fd223682e940aeefdf807a2cdfd724a503b8e5', margin: "none", fill: true }, h("div", { key: '01d99f1d11d978925155a9d4856920780df240bf', 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: '5da5cc08fb85900d797232142167ce3be0f1cbb0' }, this.error))), h("duet-grid-item", { key: '5124866d99a9a381afcb045edf709ae6df2f342b', margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { key: 'eed9f6583984587452c6f0825dcfa801295f4c74', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { key: '3dd2f6aee58742d3ad84b9f213ee26a1d17c04ba', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
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 => {
244
244
  this.hiddenCounterLabel = el;
245
245
  } })))));
246
246
  }
@@ -105,12 +105,12 @@ export class DuetToggle {
105
105
  */
106
106
  render() {
107
107
  const identifier = this.identifier || this.toggleId;
108
- return (h(Host, { key: '1dd080e2157b99e6fa5b08148203be1318d2b842', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'c75404887077682a10ab2c936730230b67fbfd60', class: {
108
+ return (h(Host, { key: '5dd02994122156506b124c5fc5b34369770653ee', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd9ecee8e94677b861f8bdd075a116e4e294ea197', class: {
109
109
  "duet-toggle": true,
110
110
  "duet-theme-turva": this.theme === "turva",
111
111
  "duet-side-label": this.labelPosition !== "top",
112
112
  "duet-reverse-label": this.labelPosition === "right",
113
- } }, h(DuetInternalLabel, { key: '729c25fde1456d487e6f469fb8fb9fb1f45a5bb9', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: '7a551eb3640c2ff849c18fa6d257cb8787e056e1', class: "duet-switch" }, h("input", { key: '30c8f85f4938c0ee3b258d02446ce24c03664897', 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, ref: input => (this.nativeInput = input) }), h("div", { key: 'fe4a68e81538ba476056ee0aa98c50b7fbccbe98', class: "duet-slider" })))));
113
+ } }, h(DuetInternalLabel, { key: '5c5a5ee2c5ac9e772c2bb8f2aaa822503af728dd', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: '811421a233717397e31a4f3242c92197be133ed3', class: "duet-switch" }, h("input", { key: '1e2fce505e70caf118d61d53d08b0aaff69f3ac3', 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, ref: input => (this.nativeInput = input) }), h("div", { key: 'ca394aa66c3b8be2ad8b5c056ec7c737fcb93c44', class: "duet-slider" })))));
114
114
  }
115
115
  static get is() { return "duet-toggle"; }
116
116
  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: '05fd002169efa5a30698c5bcabc292ee2baa6377' }, h("nav", { key: '35cf1fcaa7ebd3fd4eb4c61f80afb95be4111ce1', class: {
39
+ return (h(Host, { key: 'fe9cc8e718b52ddc3152c84ffc1ab5d4460935ba' }, h("nav", { key: 'a790b620e9b15d3546f88a9d7216d57269a05a6c', 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: '3e0a970290f9762ac54ab968bf2fe8e446da4403', class: "container" }, h("div", { key: 'b7145d3c5f00d42208349b2dc6782b88e00d9ec5', class: "list", role: "list" }, h("slot", { key: 'a230928fe78000b31a25459171a45cba1dbdadea', name: "left" })), h("div", { key: '8ed6891a00fb0afe984540e03b5d15a2836ebfef', class: "list", role: "list" }, h("slot", { key: '32d442b55918d5cc5b83c6dd0499433aace9c916', name: "right" }))))));
43
+ }, "aria-label": this.accessibleLabel }, h("div", { key: 'd1074c8c4ab3245f11ad5364c91cb1a3c193b833', class: "container" }, h("div", { key: 'ca7672dd9a66e35aa4acc360fc2221633c75cea4', class: "list", role: "list" }, h("slot", { key: '6c88cdcfca3282db04370a377a106ed7b69f115b', name: "left" })), h("div", { key: 'c67d455a9e59976bea3405b30ccdbc8823d7976f', class: "list", role: "list" }, h("slot", { key: 'd430749d17f22d1fb24c72c74eb27f5ceb31a5ae', 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: 'ad32c005cc4dfece39976408ec731ad96297e4db', role: "listitem" }, h("div", { key: 'b791f09d2801543fc704d595a30e139a7ff93dbb', 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: 'c77108abfcb29f2fb804ddde58c00f0a4b59838c', 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: '4636794b744877564dfdb08ff12bd10ec0d86ff1', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: '8c92356b5a4bbfbc26eb3b061e2324c5a9828d34', class: "label" }, h("slot", { key: 'edc193a859a685dafdb910a5cd10c54f3161e3fe', name: "label" }), h("duet-icon", { key: 'd9e79f77afa7c940153f98fe723ee8b4478a5bd5', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '87f9a96e7c40f3c20063ebe7b1c5bb82789eef9b', 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: 'e9c7f62984e135b28c8b43c0d3aea88f77eb5d29' })))));
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: 'd0137e5350105ae59b5e03faaf4f7d8e7776f632' }, h("a", { key: 'b10ffca862b2d9166b7811e812f3d41d1fc567c6', 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: 'c858922116de7e062ec8af31796174818ad1e4b1', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '78da92d5c6814abff7a08866b6d146571d060656', class: "label" }, h("slot", { key: 'ec452b4938fae6ee2b0b5fab9de4fe87b650366a' })), this.active && (h("duet-icon", { key: 'a28714381b97051e25df09fe6179b430acd51779', 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"; }
@@ -61,20 +61,6 @@
61
61
  line-height: normal;
62
62
  vertical-align: baseline;
63
63
  }
64
- .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge {
65
- position: absolute;
66
- top: 0;
67
- left: 11px;
68
- display: inline-block;
69
- width: 6px;
70
- height: 6px;
71
- background: rgb(247, 178, 40);
72
- border-radius: 50%;
73
- box-shadow: 0 0 0 1px #c18b1f;
74
- }
75
- .duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge {
76
- background: rgb(247, 178, 40);
77
- }
78
64
  .duet-toolbar-item .trailing-icon {
79
65
  width: 16px;
80
66
  height: 16px;
@@ -182,6 +168,15 @@
182
168
  background: rgba(23, 28, 58, 0.2);
183
169
  }
184
170
 
171
+ duet-indicator {
172
+ top: 4px;
173
+ left: 16px;
174
+ z-index: 1;
175
+ }
176
+ duet-indicator:has(+ .duet-toolbar-item .duet-toolbar-icon) {
177
+ left: 36px;
178
+ }
179
+
185
180
  :host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:not(.primary) {
186
181
  color: #172a3b;
187
182
  }
@@ -86,17 +86,17 @@ export class DuetToolbarItem {
86
86
  : this.variation === "secondary"
87
87
  ? "secondary"
88
88
  : "default";
89
- return (h(Host, { key: '6e4eb217aa669a64d985c1890b1cb1f9e5cbfab1', role: "listitem" }, h(TagName, { key: '50fa9a7295a14f093cbd6141ac54abf11b41d392', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
89
+ return (h(Host, { key: 'eb26d2d4b6bca30e6ca4f6badc1235aba9bceba5', role: "listitem" }, this.badge && h("duet-indicator", { key: '06e7cc4489109e59e3a86c4ba511ca82c92c81ac', variation: "change" }), h(TagName, { key: '294b46d5c03f9e4468a109de050f6f5d5e6db5ae', 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: '3628348a1512edf58911b056b8568342a366ac30', class: "duet-toolbar-icon" }, h("duet-icon", { key: '42f263d6a3e6afb0a9138f29f26b19031074a3d4', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: 'b6dade4311e7350ba175e3643dff8b2f59ed52e3', class: "duet-toolbar-badge" }))), h("slot", { key: 'cb85f2d32dd19b24af351cdd9f79ce4fd3fdcd15' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '32f6a2b9bd0da55bb075209fd435080e3f75b74e', class: "duet-toolbar-icon" }, h("duet-icon", { key: '93618bcdd91c8405b3359514bd24ad9dc82d13d0', 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: 'cfb375b91d12501eb3bb14c0d8dab4898c225b1b', class: "duet-toolbar-icon" }, h("duet-icon", { key: '2d4505d93051cc291345aaa8f7fd75254e0f9f13', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: '6d4deb63928fa9484fd2d36bb3b63bc31ca09de0', class: "duet-toolbar-badge" }))), h("slot", { key: '487e4a04766617cac63c99949c3900049358fec9' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: 'bf9cb805c54b16cb6fa0f0c4d79af8214efcdbb7', class: "duet-toolbar-icon" }, h("duet-icon", { key: 'ea4fb89649c146496bbc68c383483851fa9ea171', 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: '5d380d254863d03f5e7df7e07c0bafebfcdf3ff8', 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: '6faf269ca79bd58c526ec509fad3fad42791c660', 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: '1eabc147aca4fae095ac6d30a02d7945b85d0360', role: "listitem" }, h("a", { key: 'e470e9bab29f2bf9b4d966289dd8aff81faa4313', 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: 'd2847c5bb7219a8910b5389a61e14f72496b3983', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '4d3b7ea36e57824bd934cd1a2bfb7acf6085c522' }))));
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: 'd7f9bd7543527fcc24c5a87734b06e433bc4f911' }, this.accessibleLabel);
40
- return (h(Host, { key: '7435172c19c5e7415c325ce0f8f1b1318862b284' }, h("button", { key: '99a53c5a669b62ee63d5c00d41d7811b9525af69', 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: '3d843e440d7cfc958e4944d1a49211a8e7d48c5f', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '64cf65349c9b83b6daaebc44f443c460861f28d2', 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: 'd07181ecde0771c63f172097403b65eb419ce832', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: 'bec8531db6c080a8b1ff6a301479aa0c7f49f328', 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,11 +53,11 @@ export class DuetTooltipPopup {
53
53
  this.contentEl.focus();
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '45c3a95797c3e9c7550a82e6fd60d10132ae8f62' }, h("div", { key: '380cb318509eb85adfef3ce71c6bf6644f0b7b6b', 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: '857a45f310c93184cd82740af4f0f5bf82242f9a', moveFocusTo: this.buttonEl }), h("div", { key: 'bd80a3ab570d36bda9ddfea47e17e64bf917977a', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: -1, id: this.tooltipId }, h("slot", { key: 'd8757e126145a0c3672a6cc381ff508c0059ea95' })), h("div", { key: 'f4c5c6a434c572b8e01eb20aa07899c81063cb76', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '2333884d098cbb81583a44504587cf96d6093d30', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: '1963817cd01361ba77ee107ac936654ae125f8c0', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: 'ad35ab147f093a0f4397e284b6d4ee85acace0cb', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '2eadca556e9fe940e0dff808ec02107ebf182c8a' }, this.accessibleCloseLabel)), h(FocusGuard, { key: 'afad7dc8804fa5f300a93f9a9497658928adff7b', moveFocusTo: this.contentEl }))));
60
+ } }, h(FocusGuard, { key: '428ef9ad1157017747e93d3b0f6b45e6dd4d8854', moveFocusTo: this.buttonEl }), h("div", { key: '28ce9b1d024d91bab1ac7af6db333d1d1775e908', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: -1, id: this.tooltipId }, h("slot", { key: '56d9eda1be312a281c52a61b6b84c2305b9ce1a2' })), h("div", { key: '9d066d667b47bb9df4e9381c1a197bbcd77ce2c7', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '6c538ccbe0b07edb774ba32eea5469c00711acc4', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: 'd91f29b8ca30a2d47ba8076e225df778d9edd44b', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: 'a8a7db77b6704d554dec98260e2ea01010d01769', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '854e0be682bc2a61ffa1ae6e2ac1355225184f7b' }, this.accessibleCloseLabel)), h(FocusGuard, { key: '185c9ca3637fce42ff0d5c6f3c4e4bf6656218d1', moveFocusTo: this.contentEl }))));
61
61
  }
62
62
  static get is() { return "duet-tooltip-popup"; }
63
63
  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: '4c0914013c1c96e92cdd301499abddf24663af65', 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: 'bd62b82c81cfd1064965c504962df3e1d9cec32a', class: "duet-tray-default-content", role: "status" }, h("slot", { key: 'c16cd026132f96e58dcfc44b4047183b2c86b518' })), this.hasAdditionalContent && (h(Fragment, { key: '41e73f4d582af1f87dbcf8178a6139c09df9748f' }, h("button", { key: 'e5529d076bb9bd90a22c6b4fafb8bc42a0b14e3b', "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: 'e58b775cc578dae594f24126e4fb9340e61bf352', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: '10826f7f2711529595cfb0a0a2ae7f027e880e07' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: '3c71df7f296686978f3d69d5eb2d06c1492d4e22', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: '37d4c6199048e02a80d8a84f1d9ea49c921427b6', class: "duet-tray-expandable-content" }, h("slot", { key: 'ff619c71df2d9f7f49a18d82ba0c1aeb0fc24e49', 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: '778bd75c9be94d65bb9722e49f919ebe96d0232d', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '86cb01a83aaa8b07b30a0dea14df211cba69f3ab', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: '4bde3430f3d36cb1220fc12bbb801eafe70c4e91', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '3427abd455392d8063bd85a3396a831efc5f099e', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: '5c46fc6e79ad3427d705d237cbb7cbc271179c3f', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'bd7345b68ba7339c2163a07055bcd0195be06974', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '3d4316e1a725d9c76b077d6f7af8f7e555070aa3', 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: '37e2422249ea697845dc47e1e793feef29927186', name: "filefooter" }), h("slot", { key: '0056e0dd3847319978358fee188d82398c06c9a1', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: '962a0485219f6a4a0d983d362860aa9caaecdd9c', margin: "none", size: "small" }, h("div", { key: 'c0e53f5f8e508406eb2b79bc3aca2e6d9c91ac42', class: "upload-bottom-caption" }, caption))), h("slot", { key: '7476632f57f0516caff8967a08d7c011c4859c21', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '3f7e814dd7256beee8db3e8393b837be7da1f8a8' }, h("duet-spacer", { key: '8ef3e7422cfa406c721cdc843ad2625c64dd4f7b', size: "large" }), h("duet-button", { key: 'b3af8fa02fea6339f92b3e5fe46b4259392357fa', 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: '51436c684d7830dac19f0cfac75b85b85945aaa9' }, h("duet-spacer", { key: '5d32c83854ace51e13433bd001d936d61ffd2a3c', size: "medium" }), h("duet-alert", { key: '97960577cf5e708740f6b68d6a7e242b696e7378', 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: 'd1063962b250be5515cf9e98738b0b2ddb437d80', "aria-hidden": "true" }, h("input", { key: 'b7e46fbc27706de8c6159467c471c81834663b65', 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: '1517704341df38ba10e11dd0b2094e6bb9eb6649', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: 'b760da550813b4c8ce4a3214aa86707c1cdcf133' }, 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: 'd5e5d2db3667a4f6011411a27fef2f9b45108f8e', class: {
76
+ return (h("div", { key: 'af4b480a7c50c90ebf35c2744a0c6d301c026ee9', class: {
77
77
  "upload-item-row": true,
78
- } }, this.showCategory && (h("div", { key: '1ab11fe55d884a902497e0e3af8126f4b007af5f', class: "item-categories" }, h("duet-heading", { key: 'f035ab2fdb44c04d6e2d8747caee034db92325bc', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: 'e9eebcc83bcaac3a8eeb8fd441f6663cd43be213', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '4e18a21c1e78c6af26e4728635930b83de247593', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '3b1ee538c1f5e43ff3cd35f99bcb2a565e5e68e2', 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: 'e47f8bed18de6dae30530e82af44fe043d18a5f3', class: "duet-visually-hidden" }, h("slot", { key: '1cb1034114f5c5f5626ede98f1cacfc68a200250' })));
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"; }
@@ -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":