@duetds/components 10.6.0 → 10.8.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 (441) hide show
  1. package/hydrate/index.js +557 -271
  2. package/hydrate/index.mjs +557 -271
  3. package/lib/cjs/{a11y-utils-CgWjS7yq.js → a11y-utils-DZ42p33K.js} +1 -1
  4. package/lib/cjs/{app-globals-D68ciWsb.js → app-globals-DiBfle2l.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 +6 -6
  8. package/lib/cjs/duet-banner.cjs.entry.js +8 -8
  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 +5 -5
  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 +10 -9
  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 +3 -3
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +16 -7
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +32 -25
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +8 -7
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +17 -13
  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 +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 +12 -8
  31. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-hero.cjs.entry.js +18 -13
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-input_2.cjs.entry.js +33 -19
  36. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  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 +3 -3
  44. package/lib/cjs/duet-modal.cjs.entry.js +12 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +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 +6 -6
  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 +13 -5
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -13
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +8 -8
  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 +15 -15
  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 +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 +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 +7 -7
  78. package/lib/cjs/duet-teaser.cjs.entry.js +110 -0
  79. package/lib/cjs/duet-textarea.cjs.entry.js +20 -11
  80. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-C0tQ3k6Z.js → errorcodes.utils-MdC-C1Fa.js} +1 -1
  94. package/lib/cjs/{floating-ui.dom.browser.min-Cj0r5YDz.js → floating-ui.dom.browser.min-DaH62q3u.js} +83 -0
  95. package/lib/cjs/{focus-utils-tCoGOO7d.js → focus-utils-KpSp5WDp.js} +1 -1
  96. package/lib/cjs/{index-BeiMjjVl.js → index-BP4tQozH.js} +5 -1
  97. package/lib/cjs/{label-Cu4DNShe.js → label-CjvqwyJR.js} +1 -1
  98. package/lib/cjs/{language-utils-B3NubUDr.js → language-utils-BCJyRc_q.js} +1 -1
  99. package/lib/cjs/loader.cjs.js +3 -3
  100. package/lib/cjs/{picture-utils-D_HVgfq5.js → picture-utils-Dp6TiDHy.js} +7 -2
  101. package/lib/cjs/{slot-utils-Dny6EJ_G.js → slot-utils-DvtoWHAA.js} +1 -1
  102. package/lib/cjs/{themeable-component-Csdvrnsd.js → themeable-component-BXqwFhg-.js} +1 -1
  103. package/lib/collection/collection-manifest.json +1 -0
  104. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  105. package/lib/collection/components/duet-banner/duet-banner.js +23 -4
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  108. package/lib/collection/components/duet-button/duet-button.css +3 -0
  109. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  110. package/lib/collection/components/duet-card/duet-card.css +13 -9
  111. package/lib/collection/components/duet-card/duet-card.js +24 -4
  112. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  113. package/lib/collection/components/duet-choice-group/duet-choice-group.js +12 -3
  114. package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -1
  115. package/lib/collection/components/duet-combobox/duet-combobox.js +30 -24
  116. package/lib/collection/components/duet-contact-card/duet-contact-card.js +23 -3
  117. package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -1
  118. package/lib/collection/components/duet-date-picker/duet-date-picker.js +34 -7
  119. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  120. package/lib/collection/components/duet-grid/duet-grid.css +22 -0
  121. package/lib/collection/components/duet-grid/duet-grid.js +14 -5
  122. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  123. package/lib/collection/components/duet-hero/duet-hero.css +149 -136
  124. package/lib/collection/components/duet-hero/duet-hero.js +32 -7
  125. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  126. package/lib/collection/components/duet-input/duet-input.css +31 -0
  127. package/lib/collection/components/duet-input/duet-input.js +48 -14
  128. package/lib/collection/components/duet-link/duet-link.css +16 -0
  129. package/lib/collection/components/duet-link/duet-link.js +2 -2
  130. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  131. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  132. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  133. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  134. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  136. package/lib/collection/components/duet-modal/duet-modal.css +8 -1
  137. package/lib/collection/components/duet-modal/duet-modal.js +6 -7
  138. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  139. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  140. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  141. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  142. package/lib/collection/components/duet-number-input/duet-number-input.js +23 -4
  143. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  144. package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
  145. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  146. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  147. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  148. package/lib/collection/components/duet-phone-input/duet-phone-input.js +9 -1
  149. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -4
  150. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -0
  151. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  152. package/lib/collection/components/duet-promo-card/duet-promo-card.js +23 -4
  153. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  154. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  155. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  156. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  157. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  158. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  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.js +2 -2
  172. package/lib/collection/components/duet-step/duet-step.js +2 -2
  173. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  174. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  175. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  176. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  177. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  178. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  179. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  180. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  181. package/lib/collection/components/duet-table/duet-table.js +2 -2
  182. package/lib/collection/components/duet-teaser/duet-teaser.css +127 -0
  183. package/lib/collection/components/duet-teaser/duet-teaser.js +462 -0
  184. package/lib/collection/components/duet-textarea/duet-textarea.css +8 -0
  185. package/lib/collection/components/duet-textarea/duet-textarea.js +35 -6
  186. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  187. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  188. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  189. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  190. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  191. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  192. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +6 -0
  193. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  194. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  195. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  196. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  197. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  198. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  199. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  200. package/lib/collection/utils/picture-utils.js +6 -1
  201. package/lib/duet/duet.esm.js +1 -1
  202. package/lib/duet/p-01a6e993.entry.js +4 -0
  203. package/lib/duet/{p-4e1c2676.entry.js → p-0476dabc.entry.js} +1 -1
  204. package/lib/duet/p-06e879d2.entry.js +4 -0
  205. package/lib/duet/p-0f433f55.entry.js +4 -0
  206. package/lib/duet/{p-1d7a9425.entry.js → p-126b3fd0.entry.js} +1 -1
  207. package/lib/duet/{p-c54ecb23.entry.js → p-1566e2ec.entry.js} +1 -1
  208. package/lib/duet/{p-4e5532c8.entry.js → p-1956dd8e.entry.js} +1 -1
  209. package/lib/duet/{p-20c8226c.entry.js → p-1db9e784.entry.js} +1 -1
  210. package/lib/duet/{p-6ce82324.entry.js → p-1deed1aa.entry.js} +1 -1
  211. package/lib/duet/{p-3b9d7f6a.entry.js → p-27894857.entry.js} +1 -1
  212. package/lib/duet/{p-4a041c60.entry.js → p-2c2e7c9b.entry.js} +1 -1
  213. package/lib/duet/{p-ee369233.entry.js → p-2c465a03.entry.js} +1 -1
  214. package/lib/duet/p-2d780739.entry.js +4 -0
  215. package/lib/duet/{p-4b07ce36.entry.js → p-2f092aed.entry.js} +1 -1
  216. package/lib/duet/p-304af2e5.entry.js +4 -0
  217. package/lib/duet/{p-6a11ba26.entry.js → p-34d16cbb.entry.js} +1 -1
  218. package/lib/duet/p-34ec25cb.entry.js +4 -0
  219. package/lib/duet/{p-f4de7ac0.entry.js → p-37d5a3c5.entry.js} +1 -1
  220. package/lib/duet/{p-2e44c6b8.entry.js → p-3932a89b.entry.js} +1 -1
  221. package/lib/duet/{p-46287d85.entry.js → p-3c8d76e2.entry.js} +1 -1
  222. package/lib/duet/{p-8fbcea55.entry.js → p-3d454072.entry.js} +1 -1
  223. package/lib/duet/{p-aa1256f9.entry.js → p-3e66035d.entry.js} +1 -1
  224. package/lib/duet/{p-83dcbb64.entry.js → p-471d4d75.entry.js} +1 -1
  225. package/lib/duet/{p-f4538e9d.entry.js → p-4ddf8009.entry.js} +1 -1
  226. package/lib/duet/{p-4acdc586.entry.js → p-5044e0ed.entry.js} +1 -1
  227. package/lib/duet/{p-304a9a55.entry.js → p-5103d5f4.entry.js} +1 -1
  228. package/lib/duet/{p-3533d6ee.entry.js → p-51693a7c.entry.js} +1 -1
  229. package/lib/duet/{p-f297f8f2.entry.js → p-54bfe081.entry.js} +1 -1
  230. package/lib/duet/p-588e75cd.entry.js +4 -0
  231. package/lib/duet/{p-174935bc.entry.js → p-5d70e259.entry.js} +1 -1
  232. package/lib/duet/p-618cfeef.entry.js +4 -0
  233. package/lib/duet/{p-12d7fdf6.entry.js → p-6449b1cc.entry.js} +1 -1
  234. package/lib/duet/{p-e442943d.entry.js → p-6502a274.entry.js} +1 -1
  235. package/lib/duet/p-69a72f22.entry.js +4 -0
  236. package/lib/duet/{p-512d18c8.entry.js → p-6e4536e3.entry.js} +1 -1
  237. package/lib/duet/{p-fdc4a97c.entry.js → p-6ed52261.entry.js} +1 -1
  238. package/lib/duet/{p-ac4fc44c.entry.js → p-712adcec.entry.js} +1 -1
  239. package/lib/duet/{p-4cee693b.entry.js → p-79afa773.entry.js} +1 -1
  240. package/lib/duet/p-7d61dc62.entry.js +4 -0
  241. package/lib/duet/p-7f9de2a6.entry.js +4 -0
  242. package/lib/duet/{p-e40d9c21.entry.js → p-870d3c78.entry.js} +1 -1
  243. package/lib/duet/{p-ae382e2e.entry.js → p-88bf42dc.entry.js} +1 -1
  244. package/lib/duet/{p-8927ccc1.entry.js → p-88e65283.entry.js} +1 -1
  245. package/lib/duet/{p-bc41d13d.entry.js → p-8aaf283d.entry.js} +1 -1
  246. package/lib/duet/p-8d939074.entry.js +4 -0
  247. package/lib/duet/{p-a01f3141.entry.js → p-908fca79.entry.js} +1 -1
  248. package/lib/duet/{p-9b2731b9.entry.js → p-93080f2d.entry.js} +1 -1
  249. package/lib/duet/{p-407d4e5a.entry.js → p-94d057ea.entry.js} +1 -1
  250. package/lib/duet/{p-84f8bee8.entry.js → p-99367980.entry.js} +1 -1
  251. package/lib/duet/{p-f30c3cfe.entry.js → p-9a248faf.entry.js} +1 -1
  252. package/lib/duet/p-9d405b35.entry.js +4 -0
  253. package/lib/duet/{p-30d8a1e4.entry.js → p-9ed154f5.entry.js} +1 -1
  254. package/lib/duet/{p-DI7IXBXp.js → p-B1GzOTNZ.js} +1 -1
  255. package/lib/duet/p-BQTM1aqo.js +4 -0
  256. package/lib/duet/{p-D3450NfA.js → p-CdcBxXLd.js} +1 -1
  257. package/lib/duet/{p-KbNgo0QF.js → p-CirNV9Vh.js} +1 -1
  258. package/lib/duet/{p-D9N9LBeD.js → p-Cj9zQLn2.js} +1 -1
  259. package/lib/duet/{p-JFwTD5kM.js → p-D3ladndz.js} +1 -1
  260. package/lib/duet/p-D4pJQwPW.js +4 -0
  261. package/lib/duet/p-Dbe-q7B5.js +4 -0
  262. package/lib/duet/{p-BDgGHTHh.js → p-DmLE9-rw.js} +1 -1
  263. package/lib/duet/{p-CcoGR9T9.js → p-DoEOuTZj.js} +1 -1
  264. package/lib/duet/{p-61abccd4.entry.js → p-a2514ad4.entry.js} +1 -1
  265. package/lib/duet/{p-0e10e36b.entry.js → p-a4a3febe.entry.js} +1 -1
  266. package/lib/duet/p-a517cdce.entry.js +4 -0
  267. package/lib/duet/{p-374b48f6.entry.js → p-a70bb08d.entry.js} +1 -1
  268. package/lib/duet/{p-d72dee5d.entry.js → p-aa2c3e0a.entry.js} +1 -1
  269. package/lib/duet/{p-95bb2a8d.entry.js → p-af7b2954.entry.js} +1 -1
  270. package/lib/duet/{p-9c41f1d5.entry.js → p-b37d4985.entry.js} +1 -1
  271. package/lib/duet/p-b4cf5f14.entry.js +4 -0
  272. package/lib/duet/{p-d7abb7fa.entry.js → p-b6233e75.entry.js} +1 -1
  273. package/lib/duet/{p-555e0c78.entry.js → p-b97098a6.entry.js} +1 -1
  274. package/lib/duet/{p-f8d640ba.entry.js → p-bd0263e4.entry.js} +1 -1
  275. package/lib/duet/{p-244bfbf9.entry.js → p-beaa4612.entry.js} +1 -1
  276. package/lib/duet/{p-264688ae.entry.js → p-c15c8dd2.entry.js} +1 -1
  277. package/lib/duet/{p-20066df8.entry.js → p-c223cd3e.entry.js} +1 -1
  278. package/lib/duet/{p-8bdcfd1f.entry.js → p-c35ae5a0.entry.js} +1 -1
  279. package/lib/duet/p-c435bb67.entry.js +4 -0
  280. package/lib/duet/{p-3def9480.entry.js → p-c6e3723f.entry.js} +1 -1
  281. package/lib/duet/{p-9b448008.entry.js → p-c7b32952.entry.js} +1 -1
  282. package/lib/duet/p-c95669be.entry.js +4 -0
  283. package/lib/duet/{p-1579bdf5.entry.js → p-c987a644.entry.js} +1 -1
  284. package/lib/duet/p-c9b8c2ba.entry.js +4 -0
  285. package/lib/duet/{p-ec1d2e0a.entry.js → p-c9bdf927.entry.js} +1 -1
  286. package/lib/duet/p-cdf0fb4c.entry.js +4 -0
  287. package/lib/duet/p-d069edf1.entry.js +4 -0
  288. package/lib/duet/p-ddafe27d.entry.js +4 -0
  289. package/lib/duet/{p-210bc161.entry.js → p-dfdec452.entry.js} +1 -1
  290. package/lib/duet/{p-829bccb7.entry.js → p-e0f729ad.entry.js} +1 -1
  291. package/lib/duet/{p-5f72134e.entry.js → p-e32af858.entry.js} +1 -1
  292. package/lib/duet/{p-5b322a86.entry.js → p-e353daaf.entry.js} +1 -1
  293. package/lib/duet/p-e5dbac7a.entry.js +4 -0
  294. package/lib/duet/p-ec2dcb1b.entry.js +4 -0
  295. package/lib/duet/{p-9889218e.entry.js → p-ed7fbc44.entry.js} +1 -1
  296. package/lib/duet/{p-914ee7ac.entry.js → p-ef6ce9dc.entry.js} +1 -1
  297. package/lib/duet/{p-fc2be136.entry.js → p-fcb9c0db.entry.js} +1 -1
  298. package/lib/duet/{p-48e77341.entry.js → p-fe821e46.entry.js} +1 -1
  299. package/lib/duet/p-qboSQpUe.js +4 -0
  300. package/lib/esm/{a11y-utils--wwGTL0T.js → a11y-utils-DbDY4hy4.js} +1 -1
  301. package/lib/esm/{app-globals-Diuuep9d.js → app-globals-COfbcvxE.js} +1 -1
  302. package/lib/esm/duet-action-button.entry.js +3 -3
  303. package/lib/esm/duet-alert.entry.js +4 -4
  304. package/lib/esm/duet-badge.entry.js +6 -6
  305. package/lib/esm/duet-banner.entry.js +8 -8
  306. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  307. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  308. package/lib/esm/duet-button_2.entry.js +5 -5
  309. package/lib/esm/duet-callout.entry.js +5 -5
  310. package/lib/esm/duet-caption_4.entry.js +10 -10
  311. package/lib/esm/duet-card.entry.js +10 -9
  312. package/lib/esm/duet-checkbox.entry.js +3 -3
  313. package/lib/esm/duet-checkmark.entry.js +4 -4
  314. package/lib/esm/duet-chip.entry.js +3 -3
  315. package/lib/esm/duet-choice_2.entry.js +16 -7
  316. package/lib/esm/duet-collapsible.entry.js +3 -3
  317. package/lib/esm/duet-combobox.entry.js +32 -25
  318. package/lib/esm/duet-contact-card.entry.js +8 -7
  319. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  320. package/lib/esm/duet-date-picker.entry.js +17 -13
  321. package/lib/esm/duet-divider_2.entry.js +3 -3
  322. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  323. package/lib/esm/duet-empty-state.entry.js +2 -2
  324. package/lib/esm/duet-fieldset.entry.js +6 -6
  325. package/lib/esm/duet-file-chooser.entry.js +2 -2
  326. package/lib/esm/duet-footer.entry.js +4 -4
  327. package/lib/esm/duet-grid_2.entry.js +12 -8
  328. package/lib/esm/duet-header_2.entry.js +3 -3
  329. package/lib/esm/duet-hero.entry.js +18 -13
  330. package/lib/esm/duet-icon.entry.js +5 -5
  331. package/lib/esm/duet-indicator.entry.js +3 -3
  332. package/lib/esm/duet-input_2.entry.js +33 -19
  333. package/lib/esm/duet-layout.entry.js +2 -2
  334. package/lib/esm/duet-list_2.entry.js +4 -4
  335. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  336. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  337. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  338. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  339. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  340. package/lib/esm/duet-menu-bar.entry.js +3 -3
  341. package/lib/esm/duet-modal.entry.js +12 -13
  342. package/lib/esm/duet-multiselect.entry.js +10 -10
  343. package/lib/esm/duet-nav.entry.js +3 -3
  344. package/lib/esm/duet-notification_2.entry.js +9 -9
  345. package/lib/esm/duet-number-input.entry.js +8 -8
  346. package/lib/esm/duet-overlay.entry.js +3 -3
  347. package/lib/esm/duet-page-heading.entry.js +6 -6
  348. package/lib/esm/duet-pagination_2.entry.js +16 -16
  349. package/lib/esm/duet-panel.entry.js +4 -4
  350. package/lib/esm/duet-phone-input.entry.js +13 -5
  351. package/lib/esm/duet-popup-menu_2.entry.js +22 -13
  352. package/lib/esm/duet-progress.entry.js +3 -3
  353. package/lib/esm/duet-promo-card.entry.js +8 -8
  354. package/lib/esm/duet-radio_2.entry.js +7 -7
  355. package/lib/esm/duet-range-slider.entry.js +6 -6
  356. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  357. package/lib/esm/duet-section-layout.entry.js +4 -4
  358. package/lib/esm/duet-select.entry.js +9 -9
  359. package/lib/esm/duet-shaped-image.entry.js +4 -4
  360. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  361. package/lib/esm/duet-share-chart.entry.js +6 -6
  362. package/lib/esm/duet-show-more.entry.js +5 -5
  363. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  364. package/lib/esm/duet-slideout-link.entry.js +7 -7
  365. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  366. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  367. package/lib/esm/duet-slideout.entry.js +10 -10
  368. package/lib/esm/duet-status-icon.entry.js +3 -3
  369. package/lib/esm/duet-step_2.entry.js +6 -6
  370. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  371. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  372. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  373. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  374. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  375. package/lib/esm/duet-teaser.entry.js +108 -0
  376. package/lib/esm/duet-textarea.entry.js +20 -11
  377. package/lib/esm/duet-toggle.entry.js +8 -8
  378. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  379. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  380. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  381. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  382. package/lib/esm/duet-toolbar.entry.js +4 -4
  383. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  384. package/lib/esm/duet-tooltip.entry.js +5 -5
  385. package/lib/esm/duet-tray.entry.js +5 -5
  386. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  387. package/lib/esm/duet-upload-item.entry.js +6 -6
  388. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  389. package/lib/esm/duet.js +4 -4
  390. package/lib/esm/{errorcodes.utils-S_WrUPeV.js → errorcodes.utils-0XnfYFAn.js} +1 -1
  391. package/lib/esm/{floating-ui.dom.browser.min-B_NkY9T0.js → floating-ui.dom.browser.min-BQTM1aqo.js} +83 -1
  392. package/lib/esm/{focus-utils-C4oaajGr.js → focus-utils-BwoMMpkj.js} +1 -1
  393. package/lib/esm/{index-D3450NfA.js → index-CdcBxXLd.js} +5 -1
  394. package/lib/esm/{label-C1HF2o4Y.js → label-D835wXCb.js} +1 -1
  395. package/lib/esm/{language-utils-D4WVl8Ph.js → language-utils-C-lpMyP9.js} +1 -1
  396. package/lib/esm/loader.js +4 -4
  397. package/lib/esm/{picture-utils-MSeJTkDk.js → picture-utils-Cl2qK3GJ.js} +7 -2
  398. package/lib/esm/{slot-utils-Dxcjtmp3.js → slot-utils-BSS0Em_Z.js} +1 -1
  399. package/lib/esm/{themeable-component-QHdUfcat.js → themeable-component-DQtSOD4i.js} +1 -1
  400. package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
  401. package/lib/types/components/duet-card/duet-card.d.ts +5 -0
  402. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -1
  403. package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
  404. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -1
  405. package/lib/types/components/duet-grid/duet-grid.d.ts +2 -1
  406. package/lib/types/components/duet-hero/duet-hero.d.ts +5 -0
  407. package/lib/types/components/duet-input/duet-input.d.ts +11 -1
  408. package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
  409. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +1 -0
  410. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +5 -0
  411. package/lib/types/components/duet-teaser/duet-teaser.d.ts +93 -0
  412. package/lib/types/components/duet-textarea/duet-textarea.d.ts +8 -1
  413. package/lib/types/components.d.ts +235 -12
  414. package/lib/types/utils/picture-utils.d.ts +4 -0
  415. package/package.json +5 -5
  416. package/lib/duet/p-054c334d.entry.js +0 -4
  417. package/lib/duet/p-2bf78fe4.entry.js +0 -4
  418. package/lib/duet/p-3445529c.entry.js +0 -4
  419. package/lib/duet/p-3fbe466a.entry.js +0 -4
  420. package/lib/duet/p-41230630.entry.js +0 -4
  421. package/lib/duet/p-44e53564.entry.js +0 -4
  422. package/lib/duet/p-4a251661.entry.js +0 -4
  423. package/lib/duet/p-4a4e5bb5.entry.js +0 -4
  424. package/lib/duet/p-6bd78205.entry.js +0 -4
  425. package/lib/duet/p-6c239923.entry.js +0 -4
  426. package/lib/duet/p-6d1d1199.entry.js +0 -4
  427. package/lib/duet/p-81c5d3e3.entry.js +0 -4
  428. package/lib/duet/p-985213bb.entry.js +0 -4
  429. package/lib/duet/p-BZev46O8.js +0 -4
  430. package/lib/duet/p-B_NkY9T0.js +0 -4
  431. package/lib/duet/p-CyfEm8iD.js +0 -4
  432. package/lib/duet/p-Dk60lC7n.js +0 -4
  433. package/lib/duet/p-a49b5d93.entry.js +0 -4
  434. package/lib/duet/p-a6dbe893.entry.js +0 -4
  435. package/lib/duet/p-aa7e4c81.entry.js +0 -4
  436. package/lib/duet/p-dbb9e1d4.entry.js +0 -4
  437. package/lib/duet/p-e43df9c2.entry.js +0 -4
  438. package/lib/duet/p-eb7bc989.entry.js +0 -4
  439. package/lib/duet/p-edcdf0b7.entry.js +0 -4
  440. package/lib/duet/p-f9db8670.entry.js +0 -4
  441. package/lib/duet/p-fc1a18f8.entry.js +0 -4
@@ -77,6 +77,11 @@ export class DuetTextarea {
77
77
  * technologies.
78
78
  */
79
79
  this.disabled = false;
80
+ /**
81
+ * Makes the textarea component not mutable, meaning the user cannot edit the control.
82
+ * The user can otherwise interact, e.g. by selecting the content and copying it.
83
+ */
84
+ this.readonly = false;
80
85
  /**
81
86
  * Set whether the textarea is required or not. Please note that this is required for
82
87
  * accessible inputs when the user is required to fill them. When using this property
@@ -98,7 +103,8 @@ export class DuetTextarea {
98
103
  */
99
104
  this.echoPlaceholder = false;
100
105
  /**
101
- * Display the textarea in error state along with an error message.
106
+ * Display the textarea in error state along with an error message. If the textarea is disabled
107
+ * or readonly, the error is ignored.
102
108
  */
103
109
  this.error = "";
104
110
  /**
@@ -234,23 +240,26 @@ export class DuetTextarea {
234
240
  async setFocus(options) {
235
241
  this.nativeInput.focus(options);
236
242
  }
243
+ get writable() {
244
+ return !this.disabled && !this.readonly;
245
+ }
237
246
  /**
238
247
  * render() function
239
248
  * Always the last one in the class.
240
249
  */
241
250
  render() {
242
251
  const identifier = this.identifier || this.textareaId;
243
- return (h(Host, { key: 'a84e87889b86103cfb25a6fb62d5ae9fc921dde3', class: {
252
+ return (h(Host, { key: 'f667e15959599e11fba7779a062513b430c237f4', class: {
244
253
  "duet-m-0": this.margin === "none",
245
254
  "duet-has-counter": this.counter && !this.error,
246
255
  "duet-expand": this.expand,
247
- } }, h("div", { key: '1cac0725d91c47a8539a3a915e033ff98dbcefeb', class: {
256
+ } }, h("div", { key: '3017c39ed8485d0c4cd5cbff373e5795b315e239', class: {
248
257
  "duet-textarea-container": true,
249
258
  "duet-theme-turva": this.theme === "turva",
250
259
  "duet-label-hidden": this.labelHidden,
251
260
  "duet-input-top-caption-shown": this.isCaptionVisible,
252
- "has-error": !!this.error,
253
- } }, h(DuetInternalLabel, { key: '902dadd1b95a410ed378ce38e71644138e3aae28', 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: 'db32f6f507a45acaeb0c1a5128544855ae8e0e31', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '40464ec1d95d3880de8197f5780865cdff77233d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '818b2b3294cca406e31397dfb2a77110891bd4ee', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '515635119956e32aba3bf1949f183bd37dcbbf63', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '040fe7c9caaa720aa2b2ae9124252da85d083ceb', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '39f181d89675a7c0cdd6a0492108c61aa8a66779', 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: '4cefb97e18df23468e25743c4f62e4df7e5d9257', alignment: "stretch" }, h("duet-grid-item", { key: 'bb2d8ca91b5478ceb814090fe1c24e48704f5747', margin: "none", fill: true }, h("div", { key: '208c4ddda91e2b97459815079c7b9a552366d4ab', 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: '9957ee1bbb21233d09e116992fa88f14185f043a' }, this.error))), h("duet-grid-item", { key: '99713afc0205b671f95297e3991ed28a55a73b73', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '855bec2958e7aa564ec9ca5958881ad1d597fd2b', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: 'd76477f0c64de79265740ae7a6bb251bdba9dd0f', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
261
+ "has-error": !!this.error && this.writable,
262
+ } }, h(DuetInternalLabel, { key: 'b62e9c27cf13789036b04f320bda685083796517', 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: '24dcec9860bfc8bbfb0547e924f8d4319cd18064', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '5a197f095df7dd625df5b6f9b0b40a2f8d61bb52', name: "tooltip" }), this.caption && (h("duet-caption", { key: '08a5a97579b9614b1e1e059f0975885c8ff4030f', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '78ece66c1cfdbe778fe3e3293ddf5343842dcc21', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '326ce34b3e142f2a7676067fc13452d02cd63d05', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '994ac4a61ba288bd72d73a504f8a7721fa1c0389', 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, readonly: this.readonly, "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: '0b61766a90b3b6e76cab85dfd55b81cc487e77c9', alignment: "stretch" }, h("duet-grid-item", { key: '9bc9ee00a5268f80e0b9c01cb99099f98ea59fde', margin: "none", fill: true }, h("div", { key: '18eb1c48ea7cf5a44ab21477b6a68bc7b7baccc5', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && this.writable && h("span", { key: 'a76db4119e297a2451e2c6ffa6894cf044a1aeaa' }, this.error))), h("duet-grid-item", { key: '020dc157342b1572a54c82726d88d14ef17c6dcb', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '495d71bfc1a80ce1709014843a81cb2e96fb6021', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: 'b682416e87e7ad792b67cc3b6d754495f94b351f', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
254
263
  }
255
264
  static get is() { return "duet-textarea"; }
256
265
  static get encapsulation() { return "shadow"; }
@@ -533,6 +542,26 @@ export class DuetTextarea {
533
542
  "reflect": true,
534
543
  "defaultValue": "false"
535
544
  },
545
+ "readonly": {
546
+ "type": "boolean",
547
+ "attribute": "readonly",
548
+ "mutable": false,
549
+ "complexType": {
550
+ "original": "boolean",
551
+ "resolved": "boolean",
552
+ "references": {}
553
+ },
554
+ "required": false,
555
+ "optional": false,
556
+ "docs": {
557
+ "tags": [],
558
+ "text": "Makes the textarea component not mutable, meaning the user cannot edit the control.\nThe user can otherwise interact, e.g. by selecting the content and copying it."
559
+ },
560
+ "getter": false,
561
+ "setter": false,
562
+ "reflect": true,
563
+ "defaultValue": "false"
564
+ },
536
565
  "identifier": {
537
566
  "type": "string",
538
567
  "attribute": "identifier",
@@ -803,7 +832,7 @@ export class DuetTextarea {
803
832
  "optional": false,
804
833
  "docs": {
805
834
  "tags": [],
806
- "text": "Display the textarea in error state along with an error message."
835
+ "text": "Display the textarea in error state along with an error message. If the textarea is disabled\nor readonly, the error is ignored."
807
836
  },
808
837
  "getter": false,
809
838
  "setter": false,
@@ -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: 'ba421a50fdc02e229fa28f85ff056b7871a49622', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
121
+ return (h(Host, { key: 'c1f8b026ca2f0eaf39a54127c1f69d22694a46d2', 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: '81bcd7c487268f6f79e227a5964049c31c50537e', class: {
125
+ } }, h("div", { key: '13c89c2abc235e07e99e671d73e4561eb0f83cc8', 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: '9a9c911786434d7324b8e88a8d908102a433b4f6', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("div", { key: 'de416640cd8c34241f9f8f014c71f0ec664a16a7', class: "duet-switch" }, h("input", { key: 'd420b3d44b53e0daf276c9a7cabde816bff13fa2', 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: '5def29eef95fba6e68134ce1c9061404bd390760', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && h("duet-spinner", { key: '1bf177270fc0d8e66aae450110abe9ca2340c156', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: '101bf2c1752bbd1a263128aa1501b63938fee3d3', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: 'd1e8b6bf58b301f82fee88b83a5591e146a16d86', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
133
+ } }, h(DuetInternalLabel, { key: 'ee03e1def14f4be0d469081e28e6dd34f622ff29', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("div", { key: '46af0389473f5f8d9f509472b24b92eef985b98e', class: "duet-switch" }, h("input", { key: '864dbbeaffc9cea78be34939de9c6d349c88cae2', 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: '0493bd3ec7da36a97706b3950c28d98b723d1979', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && h("duet-spinner", { key: 'd484ef05401a121a7ed665c35cc466ad06ed933b', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: '489d5f94a8f46f6c1acefece45eda231d9c786c9', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: '7c3d367d72ff5cecae77d9ca0e8a9d5ed43e0a39', "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: '810537e117ab39b71cb7722178846736f3cb0b85' }, h("nav", { key: '12bad772d5ab1ff3e4adfca687da6c4d46ce93f0', class: {
39
+ return (h(Host, { key: 'a37f1935a900c25d98ec68adf41051ba262b8382' }, h("nav", { key: '2902f5f92017c5d24c9d402f1e15a987e015ee39', 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: 'c4dc60b980cfaa54fed8a7578a766e9f7fe01825', class: "container" }, h("div", { key: 'cc4af5be82d76864f8160d04419533a13223fa28', class: "list", role: "list" }, h("slot", { key: 'e23afafe23ac2a9d8025e2239421e4a3c033d667', name: "left" })), h("div", { key: '28bc42be2ee3cbfda1a9645ad8b66e8dec71977b', class: "list", role: "list" }, h("slot", { key: '2f304cb81562a3bd030d5d2398a0516a6491d4e5', name: "right" }))))));
43
+ }, "aria-label": this.accessibleLabel }, h("div", { key: '83f64d72ba0fb5f452c002eaf87c5fe549665730', class: "container" }, h("div", { key: '81ca721a0ef1c7f5251611645bb4bd1bad34c154', class: "list", role: "list" }, h("slot", { key: '67dc75314e0816f603cd8a377641f353d809f35d', name: "left" })), h("div", { key: 'd4d812cb4a537406f4bd1763df1ecb1dbcc4c36d', class: "list", role: "list" }, h("slot", { key: 'fd698d64dcd063a8aac4d85a89100a35108ae52d', 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: '537cb902a5fa3e679997e4e794d3335d0400caf6', role: "listitem" }, h("div", { key: '8ff38e056a74dcd7a30e1ab09bfa7b757e0e224f', class: {
67
+ return (h(Host, { key: 'aafd01e336e6bc1037a016fbffba1ae619434b15', role: "listitem" }, h("div", { key: '8620d663e3c022d08b0daa55dda118d493244188', 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: 'ed4415937f60d79cdff2794e8d0c9e32e2144ada', 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: '1bcde327fae00ec8f8dcdbc34bd2af817394901a', 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: '9b594c5aa508947d9cfe551cb9c9add1bcc95a7f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: '3f23e7a0c570956fbcaff50417cc79869b04c122', class: "label" }, h("slot", { key: '51bdc6f723e217d090f4b611eaac211611e952e6', name: "label" }), h("duet-icon", { key: 'e3ffbfb325327902cc56f9684f879164f4b3a659', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'dfcc391bafb75c326a62c89ac9d4221508e00efd', 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: '1b7b369f990d99d15c37ce70162d3148bca43324', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: 'bc284f69d58f2e4c4dc426aafe9e6f0683752d32', class: "label" }, h("slot", { key: '1a2892fad84bce88372d8217504315d0d268d3ed', name: "label" }), h("duet-icon", { key: 'd3ba7796bcf62e9a1bafc0d69fbe77f7b5efc031', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'e81d20d35970fd47f5e0999a48746863a282a980', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
76
76
  items: true,
77
77
  hidden: !this.open,
78
- } }, h("slot", { key: '946f25dc7587b757fbdb11125b9aade9501c6d91' })))));
78
+ } }, h("slot", { key: '4e1918ec2fe0c4c33248f10ffca23c9fa12a175a' })))));
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: '5503edc925ef9f59d266699d49f280d803d96b1a' }, h("a", { key: '78cfd5795087aa0668130fcd1aef9af8f6afe74d', class: {
48
+ return (h(Host, { key: '8afa16142be5af1ab49de317f14695be29cb76a7' }, h("a", { key: '17139e958d8b5bd8b2c9a8b272e8faaf844b3b6b', 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: '94cbf93524f24784189c22358378e2c0c21d6cc6', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '61d5272e3b2670262dabd167c898f160b9c3c751', class: "label" }, h("slot", { key: 'ce66bfda77a5f5e8292b1b05a3aac6e55f37a43b' })), this.active && (h("duet-icon", { key: 'b6ae3a0972462f8034fceda49f652477849c555d', 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: '0953a2ad108b8f7c7705bff8b946cc065ae64369', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '4187f1ee1ec2f028643715c47719354d45842ffe', class: "label" }, h("slot", { key: '35b9dc036dba71cda8d9f25077fa638fd2e15e86' })), this.active && (h("duet-icon", { key: '00cc11661aa635747fe4d1029c0fbac4f96c8dea', 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: '862f45e9efe5b3b54645c3a9627456ab5f723263', role: "listitem" }, this.badge && h("duet-indicator", { key: '29d7bdff76bcf999e4ecff6e3eedd10e006bc968', variation: "change" }), h(TagName, { key: 'b3c0820e95170ce048b75d7e02a2f2e6b7264301', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
89
+ return (h(Host, { key: '73b6913f425eb535964ae3ae588815d7d69548f5', role: "listitem" }, this.badge && h("duet-indicator", { key: 'fb04ed3b79c12c89dce6c4cc42e53ffc6a25b9a7', variation: "change" }), h(TagName, { key: '34f42a96b15efdd18605a81134d12790585b1b5d', 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: '52d2726d3619462ac9fa1ed0b3444675a3965d6d', class: "duet-toolbar-icon" }, h("duet-icon", { key: 'f4cf50d1e5dddaaf3cebd50a4271ebb8060d2aaa', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: '545d508631827013ae6062243f7cd07e37361f1f', class: "duet-toolbar-badge" }))), h("slot", { key: 'ccf3f266976067a8dcfaeb78310ea0e9e4b740cc' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: 'f589e763aa5474a3a0dfcfbada1672d3fbb0862a', class: "duet-toolbar-icon" }, h("duet-icon", { key: '288b80450871df0f784182e1f0802cfbad4daeed', 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: '9289fe0fd7d3cba9769923352564e54ccd6bdb15', class: "duet-toolbar-icon" }, h("duet-icon", { key: '7a68a52ec75a0cb94658292ec2888a41cfe6af55', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: '5dd3b5ede328e883a64141fde15a1dd6eca5fe4c', class: "duet-toolbar-badge" }))), h("slot", { key: '3a7913d7f34b57b85720813018e2b122ef38b9d7' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '62a9d4853e8b77c6197624c58edd4aed4a60748f', class: "duet-toolbar-icon" }, h("duet-icon", { key: '48819424506ca2fbde8b1510c4f68bdc323b7a99', 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: '7853154ae4ebb785a34b1de3ce36d7b1a23f304b', 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: 'fa960663370b85e48492736a9cd6cba8c62b5732', 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: '07041c0aec0959d4d85042618c07a5c6c5e7a80a', role: "listitem" }, h("a", { key: '5c422ec1435313ecad17c03eafaecdb42444c847', class: {
41
+ return (h(Host, { key: '05a4f64c0670e5cd2739b4c48604b3b66f4f66f6', role: "listitem" }, h("a", { key: '3c7e34e171e59a1d33a5f38f130b76305da9d838', 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: '4a127553bf1f1e27ebb5787f7b736cc7a80cf9fe', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '97573b5159185b7aae35dc962560e707de1a28b2' }))));
46
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '091c6f6380417c2580fd39ea6a75a1ca84c3f62d', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '734f21e042064ae86b54ddeb767a58909a5af1f7' }))));
47
47
  }
48
48
  static get is() { return "duet-toolbar-link"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -108,6 +108,12 @@
108
108
  .duet-theme-turva.duet-tooltip-button.duet-tooltip-button-in-badge {
109
109
  color: inherit;
110
110
  }
111
+ .duet-theme-turva.duet-tooltip-button.duet-tooltip-button-negative {
112
+ color: rgb(255, 255, 255);
113
+ }
114
+ .duet-theme-turva.duet-tooltip-button.duet-tooltip-button-negative:hover {
115
+ color: rgb(255, 255, 255);
116
+ }
111
117
  .duet-theme-turva .duet-tooltip-label {
112
118
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
113
119
  }
@@ -37,14 +37,14 @@ export class DuetTooltipButton {
37
37
  * Always the last one in the class.
38
38
  */
39
39
  render() {
40
- const visuallyHidden = h("duet-visually-hidden", { key: '0feec5f01a66092aeb84f7d046b784dc3751530b' }, this.accessibleLabel);
41
- return (h(Host, { key: 'db94478bf79285a1393bb6c9f670a9e866c30bec' }, h("button", { key: 'c3799f4bd23520384035f33845c6ddf0c1675b2b', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
40
+ const visuallyHidden = h("duet-visually-hidden", { key: '635d9f636534191031bbefe82d1efe3bb0ca1be3' }, this.accessibleLabel);
41
+ return (h(Host, { key: 'f4ac65122f13177047aeb77c0861d58738546509' }, h("button", { key: 'e6b356569faeb652df1aa80feb023ab4cff1e621', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
42
42
  "duet-tooltip-button": true,
43
43
  "duet-tooltip-button-has-label": !!this.label,
44
44
  "duet-theme-turva": this.theme === "turva",
45
45
  "duet-tooltip-button-negative": this.negative,
46
46
  "duet-tooltip-button-in-badge": this.inBadge,
47
- } }, h("svg", { key: 'cd8ae6afbe8856114e6acfd5f238ccdef96bf5ec', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ee341df24b231902d95a09634d155f1f3f90bd0c', 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: '5b0878e6e0b20c1bb40f14578cf8e75597b27bb1', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: '85e8d046ab8d8de4eebb29c345d0a706484c3a0d', 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))));
47
+ } }, h("svg", { key: '78594fe2105d48e470ea27e1c776e3be260d05a3', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '889a195a1409d4bc11fee456c8bedd3cc9c9f104', 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: '6b321e4d4880ac85bf1c4a4cdbb9578cd8ed3637', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: '1a13066394a6acb5b62cf8fae650a79104b91a21', 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))));
48
48
  }
49
49
  static get is() { return "duet-tooltip-button"; }
50
50
  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: '9deff2cfd70a65940c7ab5ccb4e0ef20f8242205' }, h("div", { key: 'f602ad4390d1a2c739dd40ae286cb4f681b7c0d3', class: {
56
+ return (h(Host, { key: '778391de6847a5b7b639a09443e9dec0621a8796' }, h("div", { key: '9b0d4cb9978cf2d304de748b9a87828379ea12b1', 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: '636c36bd6510ea79aafc2b00cafe8554f0b13293', moveFocusTo: this.buttonEl }), h("div", { key: '0b7bc86af9aee1f48ace5549ff30a0b613c9441e', ref: element => (this.contentEl = element), class: {
60
+ } }, h(FocusGuard, { key: '71184f23e8382d5825458029532f2a405f218110', moveFocusTo: this.buttonEl }), h("div", { key: 'a401f946fc3c88268557b0ce35eae3d839179ee6', 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: 'f7d35e94bca2a7d45eb37b1dfa98bb95003e601d' })), h("div", { key: 'd34a92246923a554c6fa9997b6f5cc81033cfb93', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: 'd77b4f9b62211f1bc657143a42be59009b30b74f', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: '0c24b8f406b74f4ffc3334b53319ca43404236c3', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '313ebabda3b0c3720434e6b620c23d65b5d9cecd', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: 'f494b2c6cef9b38a872153474cc5880dbc07e9e4' }, this.accessibleCloseLabel)), h(FocusGuard, { key: 'a12f546822ce65cf3c23fde365389dcdf01952e9', moveFocusTo: this.contentEl }))));
63
+ }, tabindex: -1, id: this.tooltipId }, h("slot", { key: '26863da248c5b4a88ccc62322feb440cd3b0c1b0' })), h("div", { key: 'cd0499889d2a77c78accd98e43c779d094763621', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: 'cec22b52e115faf80fc4fe5e718194adc703b186', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: 'e94d9ea886d69e78317113bd1cbdee3b4c384b5e', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: 'cb959efca9b977153343d3f1fc94eed0b08c71d6', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '7ddb28ae6bac6673c73b92378d2298746f2f2631' }, this.accessibleCloseLabel)), h(FocusGuard, { key: '707fc931ad2d467dc590b8752b939d8a854af30c', 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: 'b61dd691c3f9aa656b3561879fa32316b75d32a8', class: {
132
+ return (h("div", { key: 'fd50cc2b8b3ef5655eea859837b7d777e643ed8b', 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: '03161a80eb3c11cd5825830827633be3b0ff13e0', class: "duet-tray-default-content", role: "status" }, h("slot", { key: 'b8f6995244f5d395cd8ee53923466dac43158c56' })), this.hasAdditionalContent && (h(Fragment, { key: 'e6698c1b607ce8531a07b0aecb5c21e43eb1675e' }, h("button", { key: 'c22d5dd724b08d03dee467e88d5a567a4ab38813', "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: '40ecef7b962408021a3366de1622f67274c043bd', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: 'fae082943ef437bac9e8cf627f5591376d32f135' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: '90b5db0741a93877341df58d3d940ed2d5e4abcc', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: '8d4c2d660ce015567c2b1af4a1830df54e2687a5', class: "duet-tray-expandable-content" }, h("slot", { key: '3dd3fe954e0304e64b64bf7d19a3ca8d481b547f', name: "additional" })))))));
139
+ } }, h("div", { key: '6f4920fc46ec9ca16fffde76491332f8c4347ca1', class: "duet-tray-default-content", role: "status" }, h("slot", { key: '86015d1b7a5c5f2fa233def31e8f827d7d087e16' })), this.hasAdditionalContent && (h(Fragment, { key: '8a60cf5da72a7a7c5fe879a616d71c82381c4585' }, h("button", { key: 'b1276c9c3c7758191345196f93f17edbae8b1b0f', "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: '24fcfa99098667d6e75caaa51e77032cf8dc9ad1', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: '423a4e0bc8d2ca2984f406f2f392f88bd9602dc2' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: '8f3e1506edebd49b0c7f867bdc4aa109ed8f0f2e', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: 'd904e8635cc16b23ce73280b6df8db7254f4256e', class: "duet-tray-expandable-content" }, h("slot", { key: 'e18df7f7b85e8d19c5910c76b026535a5d478dd7', 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: '56a66fb13e2d5b1e975502e6c02e0374b464dab1', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '402d0cd0bfc53a1fd6d981227186277cf58ef428', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: '2e9c7748bbd2e39175cb19e2d3fa2a6c5b5e0d90', name: "header" }), !this.files.size && (h("duet-empty-state", { key: 'a7c200b271571a9758bbc92c91d0c0d761a8383f', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: '5bd08aa838e2b2fe41c7cda3895dea43ad14cdc2', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: '1e874d98480606d31435b4e8c18e78b5562d5af3', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '2093949b2d42328009e91051a6c8e2cd3c8d66cb', 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: '7f5376e608450c72e17e44360074667501fab26f', name: "filefooter" }), h("slot", { key: '0786ed3f222fea600dbe962f9fc8567de54fc612', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'c2a67358020739bb490e36f573fd9bf7f60cbb48', margin: "none", size: "small" }, h("div", { key: 'fdd83feb31ce19b351e40e28005c3081d69e0a6c', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'bf1265497a10a890adc43104eebf251f1876cc32', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '3e1d242d5a44cac89bf099556b2323a249d615b4' }, h("duet-spacer", { key: '664591d6c28c59f626e14e691fcdc9434c37a23b', size: "large" }), h("duet-button", { key: 'b688f7277f2d77bcc7bac03bb357b6a71302b1bf', 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: '7a152217f20a5952f3fb56a19e7a023ee4d819cd', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '795450ef207fe4bdcb4a20420dab7a31157b9212', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: 'bd126d24ef5606b3679f71efd8050269ec03df54', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '3792437017508549add030634c569b1244900b7d', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: '3ea6db36be8d73603e76f60edace6861cbd5744c', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: '53028d4e767022b6f6b3febf0d5df6e7d32a00a9', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: 'e3ac3ea0554fef9c565d5b4c1836c6a8d065f38a', 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: 'cb5adc8146b9e74da3605a0d14a8804f82596a4e', name: "filefooter" }), h("slot", { key: '7abf37dd8db76b7c9f4d8912903f5dbe5b12ec3e', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: '57a1b68a1fd251dc605854edd693adf797ca49ea', margin: "none", size: "small" }, h("div", { key: '284d2854de5ab0e07c1745ba505964506644a162', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'f61599602e2867e2d4d99f2d651f5a59f6a1b69d', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '4aa652f38046eba11567fcaab4afb284b7663d0c' }, h("duet-spacer", { key: '61b878fca646add83750e7f5443e83641404c73a', size: "large" }), h("duet-button", { key: '51dd54c0c592bcc16ad74e30cbce94b4410c152d', 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: '1d525d949fe3b1f16cbad102b17ccb1662b6ebda' }, h("duet-spacer", { key: '0f9192d41feeb38243181a24cd8282f88f1c8615', size: "medium" }), h("duet-alert", { key: '6ff272d122f622205262c116a25a99dc889ffa6f', 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: '9c819c3fa17b4954699fe60bd343ff32188ae5da', "aria-hidden": "true" }, h("input", { key: 'bb9d9c02d82c35b46c9ed91a8f7340aeb6f69fb1', ref: input => {
959
+ this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: 'bc998642add4334e430abac07ab486962e549bce' }, h("duet-spacer", { key: '007476fd81b90e2cbf53c30801159e3b418a02f2', size: "medium" }), h("duet-alert", { key: 'be4c38fd16bbd10e02a084c978b5f18e66e69d4b', 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: '479c3dbc81d4d0105339b0139884681b519e9350', "aria-hidden": "true" }, h("input", { key: 'f48b8a20c1cf9f97251fa02eaba68731f18ec909', 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: '5287943c19687aeea0e9b06a40e5650ff04cac6d', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: '642e4b4e31d449ef0fb6ad1ec988d6e5d175f179' }, this.statusMessage)));
88
+ return (h(Host, { key: '4fca4f32ff28bded94b942cc2b8f148e0d95fd29', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: '5af42f3e8747936597131b1bcca491dfd3e244bb' }, 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: 'a1edd9a770aa019bd6604d67b2cd4fc5ec1ff7a1', class: {
76
+ return (h("div", { key: 'c2b1fa02e7a76fcbdd4007dffed433137c10e7fe', class: {
77
77
  "upload-item-row": true,
78
- } }, this.showCategory && (h("div", { key: '2e74eca5c89a77975cba75685acbdb4f517da81c', class: "item-categories" }, h("duet-heading", { key: '90dc1251073ef07085b355c82f17f7f6aa5aff72', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: '75ab96c30689b58829224123ac875d567f882b47', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '52b7124f793247f2b4d55873c4c47f8d2682660b', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '2430a9c7e24ea14056ba78c3ddd672cbc86bae40', class: "item-actions" }, this.actions.map(actionItem => {
78
+ } }, this.showCategory && (h("div", { key: '5dcff0e0c23116550d6a6f45329bf4d4a0e2fa8f', class: "item-categories" }, h("duet-heading", { key: '1f2ead94635bc38a7d2aadb863d8f98d63cb1afc', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: 'e018839c73a7e879b643560f026c9a0a7ceb8181', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '128801bc7d77a9b0f8e6d116306d9cd0c4ec8a6c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '18a62c6ba81fc952b6aa0b397e6287460abb2b39', 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: '4404c44b59f635d9165c960341fbdd957d8f451c', class: "duet-visually-hidden" }, h("slot", { key: 'caa2aef6f4faf8ca34300b885d2de0772e272ad3' })));
11
+ return (h(Host, { key: '3b08520661ce7817a247cdc1574d2e17934a7e17', class: "duet-visually-hidden" }, h("slot", { key: 'fb9e14e593da0a47c7946ed385c3cbd711dc2ce7' })));
12
12
  }
13
13
  static get is() { return "duet-visually-hidden"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -3,6 +3,11 @@
3
3
  */
4
4
  import { h } from "@stencil/core";
5
5
  export const DuetPicture = ({ img, sources }) => {
6
+ const imgAttrs = Object.assign({}, img);
7
+ if (!img.alt) {
8
+ imgAttrs.alt = "";
9
+ imgAttrs.role = "presentation";
10
+ }
6
11
  return (h("picture", null, sources &&
7
- sources.map(source => (h("source", { srcSet: source.srcset, media: source.media, type: source.type, sizes: source.sizes }))), h("img", Object.assign({}, img))));
12
+ sources.map(source => (h("source", { srcSet: source.srcset, media: source.media, type: source.type, sizes: source.sizes }))), h("img", Object.assign({}, imgAttrs))));
8
13
  };