@duetds/components 9.13.0 → 9.14.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 (736) hide show
  1. package/hydrate/index.js +341 -167
  2. package/lib/cjs/{a11y-utils-7f0f44ac.js → a11y-utils-a934645c.js} +1 -1
  3. package/lib/cjs/{app-globals-7f261ff1.js → app-globals-6b9852f3.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +7 -7
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
  11. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-header_2.cjs.entry.js +6 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-modal.cjs.entry.js +39 -20
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
  46. package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
  50. package/lib/cjs/duet-panel.cjs.entry.js +47 -0
  51. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  53. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  55. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
  58. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  63. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  66. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  67. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  68. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  69. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  70. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  72. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  74. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  76. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  79. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  80. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  81. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  84. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  87. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  88. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  89. package/lib/cjs/duet.cjs.js +3 -3
  90. package/lib/cjs/{errorcodes.utils-cde5cb76.js → errorcodes.utils-9ce7ca99.js} +1 -1
  91. package/lib/cjs/{focus-utils-3b3e2586.js → focus-utils-fa11f04b.js} +1 -1
  92. package/lib/cjs/{index-4babbdda.js → index-3d15fb5e.js} +5 -1
  93. package/lib/cjs/{language-utils-83791d57.js → language-utils-eaec2648.js} +1 -1
  94. package/lib/cjs/loader.cjs.js +3 -3
  95. package/lib/cjs/{slot-utils-c565d8b9.js → slot-utils-61317778.js} +1 -1
  96. package/lib/cjs/{themeable-component-a007f8ee.js → themeable-component-46222401.js} +1 -1
  97. package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
  98. package/lib/collection/collection-manifest.json +1 -0
  99. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  100. package/lib/collection/components/duet-banner/duet-banner.css +1 -0
  101. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  104. package/lib/collection/components/duet-button/duet-button.css +14 -5
  105. package/lib/collection/components/duet-button/duet-button.js +5 -5
  106. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  107. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  108. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  109. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  110. package/lib/collection/components/duet-header/duet-header.js +3 -2
  111. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  112. package/lib/collection/components/duet-label/duet-label.js +1 -1
  113. package/lib/collection/components/duet-link/duet-link.js +5 -4
  114. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  115. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  116. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  117. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  118. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  119. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  120. package/lib/collection/components/duet-modal/duet-modal.js +98 -15
  121. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  122. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  123. package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
  124. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  125. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  126. package/lib/collection/components/duet-panel/duet-panel.js +225 -0
  127. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  128. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  129. package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
  130. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  131. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  132. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  133. package/lib/collection/components/duet-select/duet-select.js +1 -1
  134. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  135. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  136. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  137. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  138. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  139. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  140. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  141. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  142. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  143. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  144. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  145. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  146. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  147. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  148. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  149. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  150. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  151. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  152. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  153. package/lib/collection/components/duet-table/duet-table.js +2 -2
  154. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  155. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  156. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  157. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  158. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  159. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  160. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  161. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  162. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  163. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  164. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  165. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  166. package/lib/collection/utils/token-utils.js +59 -7
  167. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  168. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  169. package/lib/dist-custom-elements/duet-alert.js +1 -1
  170. package/lib/dist-custom-elements/duet-badge.js +1 -1
  171. package/lib/dist-custom-elements/duet-banner.js +7 -7
  172. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  173. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  174. package/lib/dist-custom-elements/duet-button.js +1 -1
  175. package/lib/dist-custom-elements/duet-callout.js +4 -4
  176. package/lib/dist-custom-elements/duet-caption.js +1 -1
  177. package/lib/dist-custom-elements/duet-card.js +4 -4
  178. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  179. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  180. package/lib/dist-custom-elements/duet-chip.js +1 -1
  181. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  182. package/lib/dist-custom-elements/duet-choice.js +4 -4
  183. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  184. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  185. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  186. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  187. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  188. package/lib/dist-custom-elements/duet-divider.js +1 -1
  189. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  190. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  191. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  192. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  193. package/lib/dist-custom-elements/duet-footer.js +7 -7
  194. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  195. package/lib/dist-custom-elements/duet-grid.js +1 -1
  196. package/lib/dist-custom-elements/duet-header.js +11 -10
  197. package/lib/dist-custom-elements/duet-heading.js +1 -1
  198. package/lib/dist-custom-elements/duet-hero.js +9 -9
  199. package/lib/dist-custom-elements/duet-icon.js +1 -1
  200. package/lib/dist-custom-elements/duet-input.js +1 -1
  201. package/lib/dist-custom-elements/duet-label.js +1 -1
  202. package/lib/dist-custom-elements/duet-layout.js +1 -1
  203. package/lib/dist-custom-elements/duet-link.js +1 -1
  204. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  205. package/lib/dist-custom-elements/duet-list.js +1 -1
  206. package/lib/dist-custom-elements/duet-logo.js +1 -1
  207. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  208. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  209. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  210. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  211. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  212. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  213. package/lib/dist-custom-elements/duet-modal.js +44 -23
  214. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  215. package/lib/dist-custom-elements/duet-nav.js +2 -2
  216. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  217. package/lib/dist-custom-elements/duet-notification.js +4 -4
  218. package/lib/dist-custom-elements/duet-number-input.js +18 -14
  219. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  220. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  221. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  222. package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
  223. package/lib/dist-custom-elements/duet-panel.js +70 -0
  224. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  225. package/lib/dist-custom-elements/duet-phone-input.js +16 -16
  226. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  227. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  228. package/lib/dist-custom-elements/duet-progress.js +1 -1
  229. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  230. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  231. package/lib/dist-custom-elements/duet-radio.js +1 -1
  232. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  233. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  234. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  235. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  236. package/lib/dist-custom-elements/duet-select.js +1 -1
  237. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  238. package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
  239. package/lib/dist-custom-elements/duet-share-chart.js +5 -5
  240. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  241. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  242. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  243. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  244. package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
  245. package/lib/dist-custom-elements/duet-slideout.js +8 -8
  246. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  247. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  248. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  249. package/lib/dist-custom-elements/duet-step.js +4 -4
  250. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  251. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  252. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  253. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  254. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  255. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  256. package/lib/dist-custom-elements/duet-tab-group.js +11 -11
  257. package/lib/dist-custom-elements/duet-tab.js +2 -2
  258. package/lib/dist-custom-elements/duet-table.js +1 -1
  259. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  260. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  261. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  262. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  263. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  264. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  265. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  266. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  267. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  268. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  269. package/lib/dist-custom-elements/duet-tray.js +5 -5
  270. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  271. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  272. package/lib/dist-custom-elements/duet-upload.js +22 -22
  273. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  274. package/lib/dist-custom-elements/index.js +1 -1
  275. package/lib/dist-custom-elements/{p-e8dc8877.js → p-05fb2c81.js} +4 -4
  276. package/lib/dist-custom-elements/{p-06beac61.js → p-0a34fa11.js} +2 -2
  277. package/lib/dist-custom-elements/{p-c1e381e3.js → p-0e0a0525.js} +3 -3
  278. package/lib/dist-custom-elements/{p-0c829768.js → p-10893657.js} +1 -1
  279. package/lib/dist-custom-elements/{p-a000e044.js → p-25f8ea4b.js} +2 -2
  280. package/lib/dist-custom-elements/{p-2dcb2900.js → p-3419cd58.js} +9 -9
  281. package/lib/dist-custom-elements/{p-ad927290.js → p-3471fa90.js} +3 -3
  282. package/lib/dist-custom-elements/{p-911326a0.js → p-36f6ec52.js} +2 -2
  283. package/lib/dist-custom-elements/{p-f7d93067.js → p-3883f329.js} +5 -5
  284. package/lib/dist-custom-elements/{p-b660d362.js → p-3a815628.js} +10 -10
  285. package/lib/dist-custom-elements/{p-ca899a3c.js → p-444e732a.js} +8 -7
  286. package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
  287. package/lib/dist-custom-elements/{p-c7002b0e.js → p-5e16131c.js} +1 -1
  288. package/lib/dist-custom-elements/{p-3c558254.js → p-61b4aec9.js} +12 -12
  289. package/lib/dist-custom-elements/{p-67e54308.js → p-65300e85.js} +11 -11
  290. package/lib/dist-custom-elements/{p-16151d9e.js → p-706a9a13.js} +2 -2
  291. package/lib/dist-custom-elements/{p-1271d1b9.js → p-778364d6.js} +3 -3
  292. package/lib/dist-custom-elements/{p-13082a20.js → p-81360956.js} +2 -2
  293. package/lib/dist-custom-elements/{p-80bbbb3a.js → p-85f0068e.js} +5 -5
  294. package/lib/dist-custom-elements/{p-8c472242.js → p-92710b68.js} +1 -1
  295. package/lib/dist-custom-elements/{p-2e148296.js → p-96cabce8.js} +7 -7
  296. package/lib/dist-custom-elements/{p-276a59a3.js → p-9ac441e6.js} +4 -4
  297. package/lib/dist-custom-elements/{p-70b67cdd.js → p-9f715fa9.js} +4 -4
  298. package/lib/dist-custom-elements/{p-55c477f3.js → p-a4513f7a.js} +2 -2
  299. package/lib/dist-custom-elements/{p-135f668d.js → p-a69bc735.js} +1 -1
  300. package/lib/dist-custom-elements/{p-12884dcf.js → p-b3835995.js} +4 -4
  301. package/lib/dist-custom-elements/{p-cdf4b7f6.js → p-c7f33aed.js} +4 -4
  302. package/lib/dist-custom-elements/{p-653d2256.js → p-cc1b78ce.js} +10 -10
  303. package/lib/dist-custom-elements/{p-e3280064.js → p-d04e213c.js} +12 -12
  304. package/lib/dist-custom-elements/{p-63a0bdcd.js → p-d0bc3da2.js} +1 -1
  305. package/lib/dist-custom-elements/{p-aa4ebea4.js → p-d5c72ea3.js} +5 -5
  306. package/lib/dist-custom-elements/{p-4e53b45e.js → p-db2b09ab.js} +2 -2
  307. package/lib/dist-custom-elements/{p-de35873c.js → p-dc970fdb.js} +1 -1
  308. package/lib/dist-custom-elements/{p-46749593.js → p-e77ffc34.js} +3 -3
  309. package/lib/dist-custom-elements/{p-d60c7d74.js → p-e9c8ad74.js} +1 -1
  310. package/lib/dist-custom-elements/{p-f80dea81.js → p-ee948dc8.js} +4 -4
  311. package/lib/dist-custom-elements/{p-1027ea53.js → p-f290964d.js} +5 -5
  312. package/lib/dist-custom-elements/{p-7fd99694.js → p-f38adca4.js} +7 -7
  313. package/lib/dist-custom-elements/{p-2582f9a3.js → p-f3b2867a.js} +3 -3
  314. package/lib/dist-custom-elements/{p-be9b9c9d.js → p-f479ee47.js} +5 -5
  315. package/lib/dist-custom-elements/{p-47d05b62.js → p-fddb3ec1.js} +1 -1
  316. package/lib/duet/duet.esm.js +1 -1
  317. package/lib/duet/duet.js +1 -1
  318. package/lib/duet/{p-c45ddc7a.system.entry.js → p-013232a8.system.entry.js} +1 -1
  319. package/lib/duet/{p-8c2abe91.js → p-01fe0f34.js} +1 -1
  320. package/lib/duet/{p-88dda3dd.entry.js → p-063b31ef.entry.js} +1 -1
  321. package/lib/duet/{p-a51a1f94.system.entry.js → p-07d21021.system.entry.js} +1 -1
  322. package/lib/duet/p-07dd4405.system.entry.js +4 -0
  323. package/lib/duet/{p-9f1e07cc.entry.js → p-08f594ea.entry.js} +1 -1
  324. package/lib/duet/{p-ece11bcb.entry.js → p-08f64c06.entry.js} +1 -1
  325. package/lib/duet/{p-d0b648c5.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
  326. package/lib/duet/{p-964cab98.entry.js → p-0c16128f.entry.js} +1 -1
  327. package/lib/duet/{p-71a2b27b.system.entry.js → p-0cef5003.system.entry.js} +2 -2
  328. package/lib/duet/{p-0990faec.system.entry.js → p-0e013c22.system.entry.js} +1 -1
  329. package/lib/duet/{p-0dd78a56.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
  330. package/lib/duet/p-10310520.entry.js +4 -0
  331. package/lib/duet/{p-b5191612.system.entry.js → p-11262ef8.system.entry.js} +1 -1
  332. package/lib/duet/{p-24cc3a49.entry.js → p-119d8a9d.entry.js} +1 -1
  333. package/lib/duet/{p-9e4e3a7d.entry.js → p-11e013dd.entry.js} +1 -1
  334. package/lib/duet/{p-c658fdf2.system.entry.js → p-13821573.system.entry.js} +1 -1
  335. package/lib/duet/{p-5026ba81.system.entry.js → p-13f4076a.system.entry.js} +2 -2
  336. package/lib/duet/{p-7686eb1f.entry.js → p-147f5eb5.entry.js} +1 -1
  337. package/lib/duet/p-16e80004.entry.js +4 -0
  338. package/lib/duet/{p-38baa305.entry.js → p-17f215e8.entry.js} +1 -1
  339. package/lib/duet/{p-af3397e6.entry.js → p-18b21048.entry.js} +1 -1
  340. package/lib/duet/{p-d5a2f426.entry.js → p-19ad52bc.entry.js} +1 -1
  341. package/lib/duet/{p-ab7e07be.system.entry.js → p-1a767c08.system.entry.js} +1 -1
  342. package/lib/duet/{p-b094d253.entry.js → p-1c2dcb63.entry.js} +1 -1
  343. package/lib/duet/p-1f495ebe.entry.js +4 -0
  344. package/lib/duet/{p-570a2d5c.entry.js → p-20170d5a.entry.js} +1 -1
  345. package/lib/duet/{p-c59fbbb1.system.entry.js → p-201895ea.system.entry.js} +1 -1
  346. package/lib/duet/{p-3c29e0ba.entry.js → p-2162fe62.entry.js} +1 -1
  347. package/lib/duet/{p-526bce13.system.entry.js → p-22349ab1.system.entry.js} +1 -1
  348. package/lib/duet/{p-e538f43c.system.entry.js → p-22932c08.system.entry.js} +1 -1
  349. package/lib/duet/{p-7adab44d.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
  350. package/lib/duet/{p-71a70553.system.entry.js → p-2455cbff.system.entry.js} +1 -1
  351. package/lib/duet/{p-17029aad.entry.js → p-268d9b35.entry.js} +1 -1
  352. package/lib/duet/p-2a542c6a.entry.js +4 -0
  353. package/lib/duet/p-2a96f88a.system.entry.js +4 -0
  354. package/lib/duet/{p-ecb06d44.entry.js → p-2c15a77e.entry.js} +1 -1
  355. package/lib/duet/{p-c6c01a4f.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
  356. package/lib/duet/p-2dd204b0.entry.js +4 -0
  357. package/lib/duet/{p-e4bda446.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
  358. package/lib/duet/{p-7761f427.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
  359. package/lib/duet/{p-3aecf400.system.entry.js → p-2ee8e84d.system.entry.js} +1 -1
  360. package/lib/duet/{p-144182a4.entry.js → p-2fe381b6.entry.js} +1 -1
  361. package/lib/duet/{p-dd011cf1.system.entry.js → p-322c0015.system.entry.js} +2 -2
  362. package/lib/duet/{p-f01d0296.system.entry.js → p-344834d8.system.entry.js} +1 -1
  363. package/lib/duet/{p-0e4fe522.system.entry.js → p-34485370.system.entry.js} +1 -1
  364. package/lib/duet/{p-97393e12.system.entry.js → p-352b3557.system.entry.js} +1 -1
  365. package/lib/duet/{p-1fe5a7e9.js → p-378546de.js} +1 -1
  366. package/lib/duet/{p-5c48b80a.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
  367. package/lib/duet/{p-20baa68b.entry.js → p-3a75e6d3.entry.js} +1 -1
  368. package/lib/duet/{p-c23c9c77.entry.js → p-3b9c02b1.entry.js} +1 -1
  369. package/lib/duet/{p-b9af2990.system.entry.js → p-413fc831.system.entry.js} +2 -2
  370. package/lib/duet/p-4215bd92.system.entry.js +4 -0
  371. package/lib/duet/p-42a0205d.entry.js +4 -0
  372. package/lib/duet/{p-bb71c581.entry.js → p-430ef395.entry.js} +1 -1
  373. package/lib/duet/p-44b3eb2c.entry.js +4 -0
  374. package/lib/duet/{p-4509c90e.entry.js → p-463b0d7a.entry.js} +1 -1
  375. package/lib/duet/{p-4ead37f9.entry.js → p-48fb5298.entry.js} +1 -1
  376. package/lib/duet/{p-13dce266.entry.js → p-4989501c.entry.js} +1 -1
  377. package/lib/duet/{p-8522541f.entry.js → p-49b696b3.entry.js} +1 -1
  378. package/lib/duet/{p-8da3b624.entry.js → p-49b6f9a1.entry.js} +1 -1
  379. package/lib/duet/{p-1be0f96f.system.entry.js → p-4a54ae2a.system.entry.js} +1 -1
  380. package/lib/duet/{p-d5ad1dca.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
  381. package/lib/duet/p-4d81e7f6.system.js +4 -0
  382. package/lib/duet/{p-cc22486b.system.entry.js → p-4e21f876.system.entry.js} +1 -1
  383. package/lib/duet/{p-baf03e8b.entry.js → p-51717f08.entry.js} +1 -1
  384. package/lib/duet/{p-1657ff9a.entry.js → p-51fc30ef.entry.js} +1 -1
  385. package/lib/duet/{p-e5716306.entry.js → p-52746f84.entry.js} +1 -1
  386. package/lib/duet/p-52d80d96.js +4 -0
  387. package/lib/duet/{p-33a9413f.system.entry.js → p-561dd467.system.entry.js} +1 -1
  388. package/lib/duet/p-564022f1.entry.js +4 -0
  389. package/lib/duet/{p-d610918e.system.entry.js → p-56bada0c.system.entry.js} +1 -1
  390. package/lib/duet/{p-b3f5912a.system.entry.js → p-58d8549a.system.entry.js} +1 -1
  391. package/lib/duet/{p-3b760329.entry.js → p-593df331.entry.js} +1 -1
  392. package/lib/duet/p-59777da7.system.js +4 -0
  393. package/lib/duet/{p-7d10302e.entry.js → p-5b583276.entry.js} +1 -1
  394. package/lib/duet/{p-0a72cb14.system.entry.js → p-5c271084.system.entry.js} +1 -1
  395. package/lib/duet/{p-328f8f18.entry.js → p-5f678caa.entry.js} +1 -1
  396. package/lib/duet/{p-cf5551f7.entry.js → p-628a59a6.entry.js} +1 -1
  397. package/lib/duet/{p-e9e59d73.entry.js → p-62cb44f1.entry.js} +1 -1
  398. package/lib/duet/{p-5122eee8.system.js → p-670f33d1.system.js} +1 -1
  399. package/lib/duet/p-6a4e23b5.entry.js +4 -0
  400. package/lib/duet/{p-590505a4.system.entry.js → p-6a718c27.system.entry.js} +1 -1
  401. package/lib/duet/{p-01965153.entry.js → p-6a900d10.entry.js} +1 -1
  402. package/lib/duet/p-6b99bf3d.system.js +4 -0
  403. package/lib/duet/{p-a8e26d38.entry.js → p-6cf2b2b8.entry.js} +1 -1
  404. package/lib/duet/{p-ad43bd23.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
  405. package/lib/duet/{p-18e13eb6.system.entry.js → p-6db869c9.system.entry.js} +1 -1
  406. package/lib/duet/{p-45cb4d7f.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
  407. package/lib/duet/{p-22ae0db4.entry.js → p-704b8b7e.entry.js} +1 -1
  408. package/lib/duet/{p-aadd382f.system.entry.js → p-713918d1.system.entry.js} +1 -1
  409. package/lib/duet/{p-d4e9333f.entry.js → p-72ad70a2.entry.js} +1 -1
  410. package/lib/duet/{p-9eed5f82.js → p-72b4c06f.js} +1 -1
  411. package/lib/duet/{p-43c4d670.entry.js → p-75542e0e.entry.js} +1 -1
  412. package/lib/duet/{p-9faf2ac2.system.entry.js → p-75e72c46.system.entry.js} +1 -1
  413. package/lib/duet/{p-98feb289.system.entry.js → p-76c797cb.system.entry.js} +1 -1
  414. package/lib/duet/{p-0a405da0.system.entry.js → p-78024429.system.entry.js} +1 -1
  415. package/lib/duet/p-7856f483.entry.js +4 -0
  416. package/lib/duet/{p-e8059b67.system.entry.js → p-786418b7.system.entry.js} +1 -1
  417. package/lib/duet/{p-17ed0be9.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
  418. package/lib/duet/{p-8e5de54a.entry.js → p-7be7fb2c.entry.js} +1 -1
  419. package/lib/duet/{p-c4eb60a1.system.entry.js → p-7ce8fc32.system.entry.js} +1 -1
  420. package/lib/duet/{p-333f7ae7.entry.js → p-7d63b0c0.entry.js} +1 -1
  421. package/lib/duet/{p-b5eb657a.system.js → p-7fd0a219.system.js} +1 -1
  422. package/lib/duet/p-82680aa5.system.js +4 -0
  423. package/lib/duet/{p-e762de37.entry.js → p-82733ff7.entry.js} +1 -1
  424. package/lib/duet/{p-3cbeb209.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
  425. package/lib/duet/{p-7194f790.entry.js → p-83c0cfed.entry.js} +1 -1
  426. package/lib/duet/p-854605a6.js +4 -0
  427. package/lib/duet/{p-89a1d75a.js → p-8637a449.js} +1 -1
  428. package/lib/duet/{p-3372296f.entry.js → p-86929bf6.entry.js} +1 -1
  429. package/lib/duet/{p-80c89ac1.entry.js → p-86d288e5.entry.js} +1 -1
  430. package/lib/duet/{p-40edc180.system.entry.js → p-870a420d.system.entry.js} +1 -1
  431. package/lib/duet/p-89b2f873.system.js +4 -0
  432. package/lib/duet/{p-9004d8ff.entry.js → p-89d45610.entry.js} +1 -1
  433. package/lib/duet/{p-8c66abfb.system.entry.js → p-89f89a39.system.entry.js} +2 -2
  434. package/lib/duet/{p-7789db31.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
  435. package/lib/duet/p-8bb2ddda.entry.js +4 -0
  436. package/lib/duet/{p-8bed4283.system.entry.js → p-8cbe7888.system.entry.js} +1 -1
  437. package/lib/duet/{p-b6578600.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
  438. package/lib/duet/{p-1ca12248.entry.js → p-8edc7ed6.entry.js} +1 -1
  439. package/lib/duet/{p-080a85af.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
  440. package/lib/duet/{p-05fc82b0.entry.js → p-901f7bd1.entry.js} +1 -1
  441. package/lib/duet/{p-61198184.system.entry.js → p-903d05d9.system.entry.js} +1 -1
  442. package/lib/duet/{p-bfa13cf6.entry.js → p-914292d2.entry.js} +1 -1
  443. package/lib/duet/{p-ecf25e2f.system.entry.js → p-91be5d76.system.entry.js} +1 -1
  444. package/lib/duet/{p-33ee2b28.entry.js → p-9361e0ff.entry.js} +1 -1
  445. package/lib/duet/{p-844d9170.entry.js → p-936f0051.entry.js} +1 -1
  446. package/lib/duet/{p-4421763f.entry.js → p-961dc1b6.entry.js} +1 -1
  447. package/lib/duet/{p-1830fafe.entry.js → p-98af4e91.entry.js} +1 -1
  448. package/lib/duet/p-9921468e.entry.js +4 -0
  449. package/lib/duet/{p-d63c92fc.system.js → p-99ffd1cf.system.js} +1 -1
  450. package/lib/duet/{p-03e76030.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
  451. package/lib/duet/{p-d1c7c87b.entry.js → p-9dc97ec5.entry.js} +1 -1
  452. package/lib/duet/{p-8a02bd75.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
  453. package/lib/duet/{p-4dd14bc1.system.entry.js → p-a8527a22.system.entry.js} +1 -1
  454. package/lib/duet/{p-7930882f.entry.js → p-aaa700a4.entry.js} +1 -1
  455. package/lib/duet/{p-5c01b990.entry.js → p-ac643c4d.entry.js} +1 -1
  456. package/lib/duet/p-adcfa80c.system.entry.js +4 -0
  457. package/lib/duet/{p-442cac9c.entry.js → p-af4c5e2b.entry.js} +1 -1
  458. package/lib/duet/{p-04e49b2e.system.entry.js → p-b083c7df.system.entry.js} +1 -1
  459. package/lib/duet/p-b1b64718.system.entry.js +4 -0
  460. package/lib/duet/{p-f6ada3f6.entry.js → p-b4018154.entry.js} +1 -1
  461. package/lib/duet/{p-a03fcf76.system.js → p-b65f6339.system.js} +1 -1
  462. package/lib/duet/{p-f7a30994.system.entry.js → p-b728fce7.system.entry.js} +1 -1
  463. package/lib/duet/p-b84841d7.js +4 -0
  464. package/lib/duet/{p-bffda5ab.entry.js → p-baaa9e94.entry.js} +1 -1
  465. package/lib/duet/{p-1390ae19.entry.js → p-be26ac3a.entry.js} +1 -1
  466. package/lib/duet/{p-73666dbd.entry.js → p-c0020521.entry.js} +1 -1
  467. package/lib/duet/p-c157389b.system.entry.js +4 -0
  468. package/lib/duet/{p-d977fe38.system.entry.js → p-c371758a.system.entry.js} +1 -1
  469. package/lib/duet/{p-85167dd4.entry.js → p-c4e34a8e.entry.js} +1 -1
  470. package/lib/duet/{p-9c201da2.entry.js → p-c60c40a2.entry.js} +1 -1
  471. package/lib/duet/{p-f740cd96.entry.js → p-c70b52b6.entry.js} +1 -1
  472. package/lib/duet/{p-8b350472.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
  473. package/lib/duet/{p-25bfda5f.system.entry.js → p-cb279bed.system.entry.js} +1 -1
  474. package/lib/duet/{p-14f51a29.entry.js → p-cd27da84.entry.js} +1 -1
  475. package/lib/duet/p-cff34f13.entry.js +4 -0
  476. package/lib/duet/{p-60ef6c46.system.entry.js → p-d06d2098.system.entry.js} +1 -1
  477. package/lib/duet/{p-e124ed8c.system.entry.js → p-d3e245f0.system.entry.js} +1 -1
  478. package/lib/duet/{p-68d50809.system.entry.js → p-d6368121.system.entry.js} +1 -1
  479. package/lib/duet/{p-c6e60d08.system.entry.js → p-d647ef97.system.entry.js} +1 -1
  480. package/lib/duet/{p-2fe6628e.system.entry.js → p-d6a2cc77.system.entry.js} +1 -1
  481. package/lib/duet/{p-3cd37502.entry.js → p-d6afc825.entry.js} +1 -1
  482. package/lib/duet/{p-41a3f8ed.entry.js → p-d8fadd2d.entry.js} +1 -1
  483. package/lib/duet/{p-7d050716.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
  484. package/lib/duet/p-e63f5ff5.js +4 -0
  485. package/lib/duet/{p-5aeec4ac.system.entry.js → p-e6f40951.system.entry.js} +1 -1
  486. package/lib/duet/p-e70fad83.entry.js +4 -0
  487. package/lib/duet/{p-077813ae.entry.js → p-e8777cf4.entry.js} +1 -1
  488. package/lib/duet/{p-22f40c48.system.entry.js → p-eb237688.system.entry.js} +1 -1
  489. package/lib/duet/p-eb7b2984.system.entry.js +4 -0
  490. package/lib/duet/{p-f482b5af.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
  491. package/lib/duet/{p-85696a8e.entry.js → p-ec22154d.entry.js} +1 -1
  492. package/lib/duet/{p-f78b9d60.system.js → p-ed810e76.system.js} +1 -1
  493. package/lib/duet/{p-618a0f3a.entry.js → p-edb65a28.entry.js} +1 -1
  494. package/lib/duet/{p-024c34d9.system.entry.js → p-f1beb947.system.entry.js} +1 -1
  495. package/lib/duet/{p-5a1dbce7.system.entry.js → p-f3587718.system.entry.js} +1 -1
  496. package/lib/duet/{p-a04ebea2.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
  497. package/lib/duet/{p-3c438fec.entry.js → p-f7b6fecb.entry.js} +1 -1
  498. package/lib/duet/{p-808d9dc7.system.entry.js → p-f835eb92.system.entry.js} +2 -2
  499. package/lib/duet/p-f89feeb2.entry.js +4 -0
  500. package/lib/duet/{p-bc44defc.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
  501. package/lib/duet/{p-1425b59f.entry.js → p-f9b9fbf5.entry.js} +1 -1
  502. package/lib/duet/{p-e2e84fa3.system.entry.js → p-fae74a37.system.entry.js} +1 -1
  503. package/lib/duet/{p-35d651a8.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
  504. package/lib/duet/{p-e5f1e38a.js → p-fbc59efc.js} +1 -1
  505. package/lib/duet/{p-0aaac3fd.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
  506. package/lib/duet/{p-02aca5ee.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
  507. package/lib/esm/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
  508. package/lib/esm/{app-globals-5ec0d260.js → app-globals-db5be99e.js} +1 -1
  509. package/lib/esm/duet-action-button.entry.js +4 -4
  510. package/lib/esm/duet-alert.entry.js +4 -4
  511. package/lib/esm/duet-badge.entry.js +4 -4
  512. package/lib/esm/duet-banner.entry.js +7 -7
  513. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  514. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  515. package/lib/esm/duet-button_2.entry.js +12 -12
  516. package/lib/esm/duet-callout.entry.js +5 -5
  517. package/lib/esm/duet-caption_4.entry.js +13 -12
  518. package/lib/esm/duet-card.entry.js +4 -4
  519. package/lib/esm/duet-checkbox.entry.js +2 -2
  520. package/lib/esm/duet-checkmark.entry.js +4 -4
  521. package/lib/esm/duet-chip.entry.js +3 -3
  522. package/lib/esm/duet-choice_2.entry.js +4 -4
  523. package/lib/esm/duet-collapsible.entry.js +3 -3
  524. package/lib/esm/duet-combobox.entry.js +4 -4
  525. package/lib/esm/duet-contact-card.entry.js +5 -5
  526. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  527. package/lib/esm/duet-date-picker.entry.js +5 -5
  528. package/lib/esm/duet-divider_2.entry.js +4 -4
  529. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  530. package/lib/esm/duet-empty-state.entry.js +2 -2
  531. package/lib/esm/duet-fieldset.entry.js +6 -6
  532. package/lib/esm/duet-file-chooser.entry.js +2 -2
  533. package/lib/esm/duet-footer.entry.js +4 -4
  534. package/lib/esm/duet-grid_2.entry.js +2 -2
  535. package/lib/esm/duet-header_2.entry.js +6 -5
  536. package/lib/esm/duet-hero.entry.js +4 -4
  537. package/lib/esm/duet-icon.entry.js +6 -6
  538. package/lib/esm/duet-input_2.entry.js +6 -6
  539. package/lib/esm/duet-layout.entry.js +2 -2
  540. package/lib/esm/duet-list_2.entry.js +4 -4
  541. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  542. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  543. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  544. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  545. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  546. package/lib/esm/duet-menu-bar.entry.js +3 -3
  547. package/lib/esm/duet-modal.entry.js +39 -20
  548. package/lib/esm/duet-multiselect.entry.js +4 -4
  549. package/lib/esm/duet-nav.entry.js +3 -3
  550. package/lib/esm/duet-notification_2.entry.js +5 -5
  551. package/lib/esm/duet-number-input.entry.js +11 -7
  552. package/lib/esm/duet-overlay.entry.js +2 -2
  553. package/lib/esm/duet-page-heading.entry.js +4 -4
  554. package/lib/esm/duet-pagination_2.entry.js +6 -6
  555. package/lib/esm/duet-panel.entry.js +43 -0
  556. package/lib/esm/duet-phone-input.entry.js +4 -4
  557. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  558. package/lib/esm/duet-progress.entry.js +3 -3
  559. package/lib/esm/duet-promo-card.entry.js +6 -6
  560. package/lib/esm/duet-radio_2.entry.js +3 -3
  561. package/lib/esm/duet-range-slider.entry.js +2 -2
  562. package/lib/esm/duet-scrollable_3.entry.js +14 -14
  563. package/lib/esm/duet-section-layout.entry.js +4 -4
  564. package/lib/esm/duet-select.entry.js +4 -4
  565. package/lib/esm/duet-shaped-image.entry.js +4 -4
  566. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  567. package/lib/esm/duet-share-chart.entry.js +7 -7
  568. package/lib/esm/duet-show-more.entry.js +5 -5
  569. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  570. package/lib/esm/duet-slideout-link.entry.js +7 -7
  571. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  572. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  573. package/lib/esm/duet-slideout.entry.js +10 -10
  574. package/lib/esm/duet-status-icon.entry.js +3 -3
  575. package/lib/esm/duet-step_2.entry.js +4 -4
  576. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  577. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  578. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  579. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  580. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  581. package/lib/esm/duet-textarea.entry.js +4 -4
  582. package/lib/esm/duet-toggle.entry.js +2 -2
  583. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  584. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  585. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  586. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  587. package/lib/esm/duet-toolbar.entry.js +4 -4
  588. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  589. package/lib/esm/duet-tooltip.entry.js +3 -3
  590. package/lib/esm/duet-tray.entry.js +5 -5
  591. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  592. package/lib/esm/duet-upload-item.entry.js +6 -6
  593. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  594. package/lib/esm/duet.js +4 -4
  595. package/lib/esm/{errorcodes.utils-4ce3105d.js → errorcodes.utils-f17cc5a4.js} +1 -1
  596. package/lib/esm/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
  597. package/lib/esm/{index-5757a151.js → index-04630419.js} +5 -1
  598. package/lib/esm/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
  599. package/lib/esm/loader.js +4 -4
  600. package/lib/esm/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
  601. package/lib/esm/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
  602. package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
  603. package/lib/esm-es5/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
  604. package/lib/esm-es5/{app-globals-5ec0d260.js → app-globals-db5be99e.js} +1 -1
  605. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  606. package/lib/esm-es5/duet-alert.entry.js +1 -1
  607. package/lib/esm-es5/duet-badge.entry.js +1 -1
  608. package/lib/esm-es5/duet-banner.entry.js +1 -1
  609. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  610. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  611. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-callout.entry.js +1 -1
  613. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  614. package/lib/esm-es5/duet-card.entry.js +1 -1
  615. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  616. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  617. package/lib/esm-es5/duet-chip.entry.js +1 -1
  618. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  620. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  621. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  622. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  623. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  624. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  626. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  627. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  628. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  629. package/lib/esm-es5/duet-footer.entry.js +1 -1
  630. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  632. package/lib/esm-es5/duet-hero.entry.js +1 -1
  633. package/lib/esm-es5/duet-icon.entry.js +1 -1
  634. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  635. package/lib/esm-es5/duet-layout.entry.js +1 -1
  636. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  638. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  639. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  640. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  641. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  642. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  643. package/lib/esm-es5/duet-modal.entry.js +2 -2
  644. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  645. package/lib/esm-es5/duet-nav.entry.js +1 -1
  646. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  648. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  649. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  650. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  651. package/lib/esm-es5/duet-panel.entry.js +4 -0
  652. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  653. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  654. package/lib/esm-es5/duet-progress.entry.js +1 -1
  655. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  656. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  657. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  658. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  659. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  660. package/lib/esm-es5/duet-select.entry.js +1 -1
  661. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  662. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  663. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  664. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  665. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  666. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  667. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  668. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  669. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  670. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  671. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  672. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  673. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  674. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  675. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  676. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  677. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  678. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  679. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  680. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  681. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  682. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  683. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  684. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  685. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  686. package/lib/esm-es5/duet-tray.entry.js +1 -1
  687. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  688. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  689. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  690. package/lib/esm-es5/duet.js +1 -1
  691. package/lib/esm-es5/{errorcodes.utils-4ce3105d.js → errorcodes.utils-f17cc5a4.js} +1 -1
  692. package/lib/esm-es5/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
  693. package/lib/esm-es5/index-04630419.js +4 -0
  694. package/lib/esm-es5/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
  695. package/lib/esm-es5/loader.js +1 -1
  696. package/lib/esm-es5/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
  697. package/lib/esm-es5/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
  698. package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
  699. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  700. package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
  701. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  702. package/lib/types/components.d.ts +103 -4
  703. package/lib/types/utils/token-utils.d.ts +4 -0
  704. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  705. package/package.json +4 -4
  706. package/lib/duet/p-0e1d879e.system.js +0 -4
  707. package/lib/duet/p-1b355115.entry.js +0 -4
  708. package/lib/duet/p-20669a1b.system.entry.js +0 -4
  709. package/lib/duet/p-2519a1b2.entry.js +0 -4
  710. package/lib/duet/p-2d6cd3b0.system.entry.js +0 -4
  711. package/lib/duet/p-3c2cf893.system.entry.js +0 -4
  712. package/lib/duet/p-3ea64651.entry.js +0 -4
  713. package/lib/duet/p-435ed67f.entry.js +0 -4
  714. package/lib/duet/p-473febb8.entry.js +0 -4
  715. package/lib/duet/p-4cae058e.entry.js +0 -4
  716. package/lib/duet/p-519fef05.system.js +0 -4
  717. package/lib/duet/p-5de30279.js +0 -4
  718. package/lib/duet/p-62ba7ee2.entry.js +0 -4
  719. package/lib/duet/p-63a67247.js +0 -4
  720. package/lib/duet/p-662c351a.system.js +0 -4
  721. package/lib/duet/p-78033ea5.js +0 -4
  722. package/lib/duet/p-79562f98.entry.js +0 -4
  723. package/lib/duet/p-836bee60.system.entry.js +0 -4
  724. package/lib/duet/p-8975b5ee.entry.js +0 -4
  725. package/lib/duet/p-8c1442ff.entry.js +0 -4
  726. package/lib/duet/p-9508ee67.system.js +0 -4
  727. package/lib/duet/p-9608ad22.system.js +0 -4
  728. package/lib/duet/p-9615338f.system.entry.js +0 -4
  729. package/lib/duet/p-a41a83dc.system.entry.js +0 -4
  730. package/lib/duet/p-b036d747.entry.js +0 -4
  731. package/lib/duet/p-b16705db.js +0 -4
  732. package/lib/duet/p-b5cb52b3.entry.js +0 -4
  733. package/lib/duet/p-d87768a3.entry.js +0 -4
  734. package/lib/duet/p-f38adc18.entry.js +0 -4
  735. package/lib/esm-es5/index-5757a151.js +0 -4
  736. package/lib/esm-es5/token-utils-7360bb84.js +0 -4
@@ -456,14 +456,14 @@
456
456
  .duet-button.plain.duet-p-0 .duet-button-contents {
457
457
  height: auto;
458
458
  }
459
- .duet-button.plain[disabled] {
459
+ .duet-button.plain[disabled], .duet-button.plain[disabled]:hover {
460
460
  color: rgb(98, 121, 138) !important;
461
461
  cursor: not-allowed;
462
462
  background: transparent !important;
463
463
  border-color: transparent !important;
464
464
  }
465
- .duet-theme-turva .duet-button.plain[disabled] {
466
- color: transparent !important;
465
+ .duet-theme-turva .duet-button.plain[disabled], .duet-theme-turva .duet-button.plain[disabled]:hover {
466
+ color: rgb(113, 118, 132) !important;
467
467
  cursor: not-allowed;
468
468
  background: transparent !important;
469
469
  border-color: rgb(222, 224, 228) !important;
@@ -665,9 +665,11 @@
665
665
  color: rgb(255, 255, 255) !important;
666
666
  }
667
667
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover {
668
- color: rgba(255, 255, 255, 0.8) !important;
668
+ color: #8c001e !important;
669
669
  }
670
- :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled] {
670
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover {
671
+ color: #5f7a8f !important;
672
+ background: transparent !important;
671
673
  border-color: #fbe1d1 !important;
672
674
  }
673
675
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.square {
@@ -681,6 +683,13 @@
681
683
  border-color: #e61740;
682
684
  outline-color: #e61740;
683
685
  }
686
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover, :host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover {
687
+ color: #7891a4 !important;
688
+ cursor: not-allowed;
689
+ background: #d4dde2 !important;
690
+ border-color: #d4dde2 !important;
691
+ outline-color: #d4dde2 !important;
692
+ }
684
693
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default {
685
694
  color: #e61740;
686
695
  }
@@ -173,12 +173,12 @@ export class DuetButton {
173
173
  // enforce consistency for external links
174
174
  const icon = isExternalLink ? "action-new-window" : this.icon;
175
175
  const iconRight = isExternalLink ? true : this.iconRight;
176
- const commonChildren = (h("span", { key: 'dad881c4e315cee7e2fa16020ab44f3b8518ce8b', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (h("span", { key: '08d196d1bc190ccb57d8f4961a78e1999f69a6f1', "aria-hidden": "true", class: {
176
+ const commonChildren = (h("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
177
177
  "duet-button-icon": true,
178
178
  left: !iconRight,
179
179
  right: iconRight,
180
180
  [this.getButtonIconSize()]: true,
181
- } }, h("duet-icon", { key: '24ffeda883152bfe0123a828ed037aa7bdf365aa', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '60cbc950fc893b105e13e98769341697d3065e87', class: "duet-button-contents-slot" }, h("slot", { key: '236c0748e32a96046fe4bf1c79b6822ebf5c0b9d' }))));
181
+ } }, h("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, h("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
182
182
  const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
183
183
  const commonProps = {
184
184
  onFocus: this.onFocus,
@@ -213,7 +213,7 @@ export class DuetButton {
213
213
  "aria-details": this.accessibleDetails,
214
214
  "aria-description": this.accessibleDescription,
215
215
  };
216
- return (h(Host, { key: '2f71565d21679c2161cbebaa8b3bfaa7aa4183a0', class: {
216
+ return (h(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
217
217
  "duet-m-0": this.margin === "none",
218
218
  "duet-small": this.size === "small",
219
219
  "duet-x-small": this.size === "x-small",
@@ -221,13 +221,13 @@ export class DuetButton {
221
221
  "duet-expand": this.expand,
222
222
  [this.variation]: true,
223
223
  "input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
224
- } }, h("span", { key: '2a2d449975f67608f602eaca489e4ff865496ed8', onClick: this.handleClick, class: {
224
+ } }, h("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
225
225
  "duet-button-container": true,
226
226
  "duet-button-is-loading": this.loading,
227
227
  "duet-theme-turva": this.theme === "turva",
228
228
  "duet-button-negative": this.negative || this.variation === "negative",
229
229
  [this.variation]: true,
230
- } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'e27fdd855b9191cdd22c9b74746f3144890d3837', color: "currentColor" })), h("slot", { key: '5f1fec755bfdf56ed261b893fa647308c1e21a7f', name: "proxybutton" })));
230
+ } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), h("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
231
231
  }
232
232
  static get is() { return "duet-button"; }
233
233
  static get encapsulation() { return "shadow"; }
@@ -31,11 +31,11 @@ export class DuetCallout {
31
31
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
32
32
  </svg>
33
33
  `;
34
- return (h(Host, { key: '2d1eadb42a67c31dd1d5e3498f00254e08b9b2cd' }, h("div", { key: '6e5be94e6e61eaf272e52f9de9070f8de6a9484d', class: {
34
+ return (h(Host, { key: '85f99d167ac281ddceb8a8a69da07d854be973f7' }, h("div", { key: '14ccbc1c5d5f56368fefdcfa8ac2b48f46c3e0b7', class: {
35
35
  "duet-callout": true,
36
36
  "duet-theme-turva": this.theme === "turva",
37
37
  "duet-m-0": this.margin === "none",
38
- } }, h("figure", { key: '1652580bcf78ac7c5ddb8b0a254de66725b98e9b', class: "container" }, h("duet-icon", { key: '541cfe32ac9e9155924e22e7bf00850b70b79602', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '59af18b18c95e816e8dc446a3bcbe45f9c13f4fe' }, h("slot", { key: 'f90f9674baa8d9e81c688920babcccc9e3e20468' })), this.hasAuthorSlot && (h("figcaption", { key: 'ee4f1307e15ebfa58d6b7d29a7bdea93b3b5868f', class: "author" }, h("span", { key: 'e6861f2ba21ba016d94cf482d93c614e5433e805' }, "\u2014 "), h("slot", { key: 'c9cede4ee6f69cbf35c591d4c23787ccc7c7c8d1', name: "author" })))))));
38
+ } }, h("figure", { key: 'fe2a9c932a02907cda19e0f258e36a1c5a83a1bc', class: "container" }, h("duet-icon", { key: 'f9ddcf0c22344b4490cd3433e4d85e644a8b4e63', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '11b22131f070c316b6cadd833f0fb5d12bf0ed4a' }, h("slot", { key: '6448a4a8b760c12a583b4454c183f32c26a8e4cf' })), this.hasAuthorSlot && (h("figcaption", { key: '3d98ce3b4e9a1d81ba99d1c8cbb38eacc91bb2d0', class: "author" }, h("span", { key: '9a8f0ab6cbeba79793fbc1926924e4d4acc3cf5b' }, "\u2014 "), h("slot", { key: '928a1113e8f44b3f6439a9ce1ec5f96771b95270', name: "author" })))))));
39
39
  }
40
40
  static get is() { return "duet-callout"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -18,11 +18,11 @@ export class DuetCheckmark {
18
18
  inheritGlobalTheme(this);
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '0c46b037eeb1d3a569233716e3931bb9e6d36a3b', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '77315f3c12b6d27a6e2736eac734c6830704d15a', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '1b895cb3066e53481dae93943c90c4fa57fa1f3d', class: {
21
+ return (h(Host, { key: '8f8df4562a1d37c1e3ced47dace2f8ca487a9f73', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'b803f9fe255ac6166546a8a0398b4958d46cd0df', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'a284f559c645796efaa1fd9e74a7d1544154b26f', class: {
22
22
  "duet-checkmark-container": true,
23
23
  center: this.center,
24
24
  "duet-checkmark-radio": this.type === "radio",
25
- } }, this.checked && h("div", { key: '2edba7cb3c44eed2b9af34c9a1afd893cadc3bfa', class: "duet-checkmark" })))));
25
+ } }, this.checked && h("div", { key: 'e17c92da194bbedbd6f4159efabad9321c52fa49', class: "duet-checkmark" })))));
26
26
  }
27
27
  static get is() { return "duet-checkmark"; }
28
28
  static get originalStyleUrls() {
@@ -45,10 +45,10 @@ export class DuetContactCard {
45
45
  render() {
46
46
  const isTurva = this.theme === "turva";
47
47
  const theme = isTurva ? "turva" : "default";
48
- return (h(Host, { key: '27e103c0c5049f7fab515607764a54b61951c1e0', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'c574b5e46c7fa008821587bb36154641b390b903', class: {
48
+ return (h(Host, { key: 'cc92ac8c254dd4d8059e41dc84a0885936486939', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '95dcbf611c7ffa2e00d4e3413b4e5d4ef76007d4', class: {
49
49
  "duet-contact-card": true,
50
50
  "duet-theme-turva": this.theme === "turva",
51
- }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: 'ad527316cf8b63feb34bd4dd79f77324b7f48c80' }, this.name && (h("duet-heading", { key: '6774b39b0bbd63f84d262fcf3f2ecad255664ce0', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'f8dcb174650b2bc6f9ab36f8995c9e4629cd4cb7', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '73e0f30a03c566d15e338a87506fcf537f8c5cfd', class: "email" }, h("duet-icon", { key: '362a6a97716c3a14aee0aa4f922b46752a512fe0', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '86f261b33c3199a7e02d697417f835d70f3300fa', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'fefe6fcb46d1113762849f95e2dcb7c4625d2472', class: "phone" }, h("duet-icon", { key: '55a47952ffee9a4d97c714aa749219bc6d7aa2b8', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '618acf848c98219d2a05233a8f072401a33c5507', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'bc881ffff92c8433241d886ebd054090356ffece', class: "call-to-action" }, h("duet-button", { key: '8147b7ed59d0c12d235059e6a1d1ec7551f1e184', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '1d06de992fe79882232166faca835f6468ce796f' }), h("slot", { key: 'ade5d1b926723e45fc1ff45faeef9fa14bd5af56' }))));
51
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: 'cb2b61b56ea9cbfd80aec1c7c280cc35b7704306' }, this.name && (h("duet-heading", { key: 'd7ce3e63272101a9f8a4cd7d3f259a4ffdbe746d', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'aea14ddd85a3568d5b77a49e56df6ac76540a3a9', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '323330c4a1a8c188827cd7eeaf9e215706b23b62', class: "email" }, h("duet-icon", { key: '33ae4ab4b3b810d5f48494adad568458f627b07a', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '84ce51f0721ede904044fee80b8cbf86e66b1ec8', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '7c63f2689781c66d80d32415cf200bd968fe347c', class: "phone" }, h("duet-icon", { key: '6a56352c7a808bedf087a8b60edd2579dbddef4b', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b2b78cbff49648d799b020ee52ce54f412285b13', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: '9a24e774e65e1f9cdd587f8ccfd8a3bf6ac57e10', class: "call-to-action" }, h("duet-button", { key: '7c7e4b45dc28293a9f44a71d07ad4c6a6882364a', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '85e9b10271e93b14e8e5a2821d72e7ee5ff4f194' }), h("slot", { key: 'ba84e396a9e346ff2f9cbc7c9dd66d4eefdbe2d7' }))));
52
52
  }
53
53
  static get is() { return "duet-contact-card"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -49,20 +49,20 @@ export class DuetFieldset {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: '52a7af4072f1687d77b6554d57ec17a5d55aaff2', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '951a9bd1cd7a9c05946b8ddeef1d070643bc4c4e', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
52
+ return (h(Host, { key: 'faf60f2966a89f4867cf37db394585f73fff686e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'f020b6ec6801a8b83c9a5bc93a43d7a35d7506ce', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
53
53
  // NVDA and VoiceOver do not yet support aria-errormessage
54
54
  // once they do, we can remove errors from the aria-describedby
55
55
  // aria-errormessage={this.error ? this.errorId : null}
56
56
  class: {
57
57
  "duet-fieldset": true,
58
58
  "duet-theme-turva": this.theme === "turva",
59
- } }, h("legend", { key: '83afcaa840a3cf7b369c9e42e880e73eabacb979', id: this.labelId }, h(this.labelHeadingLevel, { key: 'f4d98ebe02e7fe0b96a69c9ed77c720b28286a65' }, this.label), this.caption && h("span", { key: '36254f57334b8778f314d1e93769d26e141cf6f3' }, this.caption)), h("div", { key: '311ebc92a4464e106b361afe19c9d000b33bd115', class: {
59
+ } }, h("legend", { key: '66b5ccbde158c98f27fbc6a46a4e6a6df23ff898', id: this.labelId }, h(this.labelHeadingLevel, { key: '45be33f32735066278ab2b9f3b809014d0f9676b' }, this.label), this.caption && h("span", { key: 'e544fb508d9001319a7f3a4f3b4b5ec8166f8025' }, this.caption)), h("div", { key: 'f0ad41b915201af1a2f9d95e9f9829d0bfdae2e6', class: {
60
60
  "duet-legend-wrapper": true,
61
61
  "duet-legend-has-caption": !!this.caption,
62
62
  "duet-legend-has-tooltip": this.hasTooltip,
63
63
  "duet-legend-hidden": this.labelHidden,
64
64
  "duet-legend-compact": this.compactLabel,
65
- } }, h("div", { key: 'c4b624b7ea3358f3158d1460e771f0a024484290', class: "duet-fieldset-label" }, h("span", { key: '8861094bcd63579364449bcc7b8773b8e7c1b3e0', "aria-hidden": "true" }, this.label), h("slot", { key: '36eedc6038045711a0ad90f602029a48dc71f37b', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '74d7fcb0d6f43b96de7dfd358c3f06223b4aa084', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'd04e90dd750eb4c0ef1950901f47cbf4810a0983', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'e972c7e0393ebe8469916c5aaeb037cae5c52ff0' }), h("span", { key: '874c61a83a132e10b2dbc694f057d9dff7dbb982', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'e52f94e350f68530fbcb9f6ce204a567a82fe376', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
65
+ } }, h("div", { key: '5a632f1718ae040c523fec5d67abe8b7150c62a6', class: "duet-fieldset-label" }, h("span", { key: '96af5bd097ce6c732cabfeeed24ad70acbc0242f', "aria-hidden": "true" }, this.label), h("slot", { key: 'a9d4abbfbc6586fc072f15d0ada1e0678581eea3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '09060f463be57b59b6a313dbf51961197a567f40', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'd5f8281d4970d4e26290d3163188afea4b286694', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '3e8180e636e2ec3000f4d21dd9ee50dc12f396f6' }), h("span", { key: 'fc0dc472b4ef27d06a1272f621c936f14ffa1de4', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '8586a6c9b1a32ed3e780a0d7233664bce741c3b6', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
66
66
  }
67
67
  static get is() { return "duet-fieldset"; }
68
68
  static get encapsulation() { return "shadow"; }
@@ -15,6 +15,7 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
15
15
  import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEscapeKey, isSpaceKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
16
16
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
17
17
  import { parsePossibleJSON } from "../../utils/string-utils";
18
+ import { postfixTheme } from "../../utils/token-utils";
18
19
  import { DuetHeaderDropdown } from "./duet-header-dropdown";
19
20
  import { DuetHeaderHamburger } from "./duet-header-hamburger";
20
21
  import { DuetHeaderIcon } from "./duet-header-icon";
@@ -429,7 +430,7 @@ export class DuetHeader {
429
430
  const skipToLabel = () => this.skipToId ? (h("a", { href: this.skipToId, class: "duet-header-skip", onClick: this.handleSkipClick }, skipLabel)) : null;
430
431
  const logo = () => (h("duet-logo", { href: this.logoHref, size: "medium", ref: el => (this.logoEl = el), language: this.language, theme: this.theme, onClick: this.handleLogoClick }));
431
432
  const largeLogo = () => (h("duet-logo", { href: this.logoHref, size: "large", ref: el => (this.logoEl = el), language: this.language, theme: this.theme, onClick: this.handleLogoClick }));
432
- const contactDropdown = () => this.contact && this.processedContactItems ? (h(DuetHeaderDropdown, { id: "duet-header-contact", label: this.contact, icon: contactDropdownIcon.svg, active: this.isContactOpen, isOpen: this.isContactOpen, badge: false, toggleRef: el => (this.contactItemsButtonEl = el), itemsRef: el => (this.contactItemsEl = el), onToggle: event => this.toggleMenu(event, "contact") }, this.processedContactItems.map(item => (h("a", { role: "menuitem", href: item.href || "#", id: item.id, onClick: event => this.handleContactClick(event, item), onKeyDown: ev => this.handleArrowKeys(ev), target: item.external ? "_blank" : "_self" }, item.label, Build.isBrowser && item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-header-link-external" }, h("duet-icon", { name: "action-new-window-small", size: "xx-small", margin: "none", color: this.theme === "turva" ? "primary-turva" : "primary" }))))))))) : null;
433
+ const contactDropdown = () => this.contact && this.processedContactItems ? (h(DuetHeaderDropdown, { id: "duet-header-contact", label: this.contact, icon: contactDropdownIcon.svg, active: this.isContactOpen, isOpen: this.isContactOpen, badge: false, toggleRef: el => (this.contactItemsButtonEl = el), itemsRef: el => (this.contactItemsEl = el), onToggle: event => this.toggleMenu(event, "contact") }, this.processedContactItems.map(item => (h("a", { role: "menuitem", href: item.href || "#", id: item.id, onClick: event => this.handleContactClick(event, item), onKeyDown: ev => this.handleArrowKeys(ev), target: item.external ? "_blank" : "_self" }, item.label, Build.isBrowser && item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-header-link-external" }, h("duet-icon", { name: "action-new-window-small", size: "xx-small", margin: "none", color: postfixTheme("primary", this.theme) }))))))))) : null;
433
434
  const languageDropdown = () => this.language && this.processedLanguageItems ? (h(DuetHeaderDropdown, { id: "duet-header-language", label: this.language, icon: languageIcon.svg, accessibleText: `${changeLanguage}${this.hasLanguageChanged ? `, ${activeLanguage}` : ""}`, active: this.isLanguageOpen, isOpen: this.isLanguageOpen, badge: false, toggleRef: el => (this.languageItemsButtonEl = el), itemsRef: el => (this.languageItemsEl = el), onToggle: event => this.toggleMenu(event, "language") }, this.processedLanguageItems.map(item => (h("a", { class: { active: this.language === item.country }, "aria-selected": this.language === item.country, role: "menuitem", id: item.id, lang: item.country, href: item.href || "#", onClick: event => this.handleLanguageClick(event, item), onKeyDown: this.handleArrowKeys }, item.label))))) : null;
434
435
  const processedUserWithLink = () => this.processedUser && this.processedUser.href ? (h("a", { href: this.processedUser.href || "#", id: this.processedUser.id, class: "duet-header-user duet-header-button", onClick: this.handleUserClick }, h(DuetHeaderIcon, { icon: userIcon.svg }), h("span", { class: "duet-header-user-label" }, this.processedUser.label))) : null;
435
436
  const processedUserWithoutLink = () => this.processedUser && !this.processedUser.href ? (h("span", { id: this.processedUser.id, class: "duet-header-user duet-header-button duet-header-no-action" }, h(DuetHeaderIcon, { icon: userIcon.svg }), h("span", { class: "duet-header-user-label" }, this.processedUser.label))) : null;
@@ -443,7 +444,7 @@ export class DuetHeader {
443
444
  "duet-theme-turva": this.theme === "turva",
444
445
  "duet-header-back": true,
445
446
  "duet-header-inactive": true,
446
- }, part: "header" }, h("div", { class: "duet-header-top" }, skipToLabel(), h("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: this.theme === "turva" ? "secondary-turva" : "secondary", icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), h("slot", { name: "logo-utility" }))))));
447
+ }, part: "header" }, h("div", { class: "duet-header-top" }, skipToLabel(), h("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: postfixTheme("secondary", this.theme), icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), h("slot", { name: "logo-utility" }))))));
447
448
  }
448
449
  const itemsHaveSubItems = this.processedItems && this.processedItems.some(item => item.items && item.items.length > 0);
449
450
  const isSecondLevelActive = this.processedItems &&
@@ -102,11 +102,11 @@ export class DuetIcon {
102
102
  : {};
103
103
  const iconStyles = Object.assign({}, iconRotationStyles);
104
104
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
105
- return (h(Host, { key: '94bf4741af1d392b8fe4900a1e664e340f3fee89', class: {
105
+ return (h(Host, { key: 'cbb8e9ecd29edef7aada30fcbfde72cf18a5a15c', class: {
106
106
  "duet-m-0": this.margin === "none",
107
107
  "duet-icon-has-outline": !!this.outline,
108
108
  "duet-icon-has-background": !!this.background,
109
- } }, h("span", { key: 'f53d65724789fb4b1c2dc689a8b754870c082094', "aria-hidden": "true", style: styles, class: {
109
+ } }, h("span", { key: '49a62f09762e014cabe70185e4dd3d351a278d4e', "aria-hidden": "true", style: styles, class: {
110
110
  "duet-icon": true,
111
111
  "duet-theme-turva": this.theme === "turva",
112
112
  "duet-theme-default": this.theme === "default",
@@ -115,7 +115,7 @@ export class DuetIcon {
115
115
  [shapeStyle]: true,
116
116
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
117
117
  "duet-icon-not-responsive": !this.responsive,
118
- } }, h("span", { key: 'ee9df8b00f92eab8dc364e15db86d954a936e15b', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
118
+ } }, h("span", { key: 'c4d3ca6e54186214e4e7f85537357fa8abc2e778', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
119
119
  }
120
120
  static get is() { return "duet-icon"; }
121
121
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class DuetLabel {
27
27
  if (Build.isServer) {
28
28
  return;
29
29
  }
30
- const color = getColorByName(this.color);
30
+ const color = getColorByName(this.color, this.theme);
31
31
  return (h(Host, { class: {
32
32
  "duet-label": true,
33
33
  "duet-label-small": this.size === "small",
@@ -120,12 +120,13 @@ export class DuetLink {
120
120
  * Always the last one in the class.
121
121
  */
122
122
  render() {
123
- const Tag = !this.url ? "button" : "a";
123
+ const Tag = !this.url && this.variation !== "default" ? "button" : "a";
124
+ const role = !this.url && this.variation === "default" ? "button" : null;
124
125
  const isButton = Tag === "button";
125
- return (h(Host, { key: 'cd7310c88a581cfb5afd755bc4cd1b03f68c67d2', class: {
126
+ return (h(Host, { key: 'd248d82ba7bfbff36991e0556e609b323b6014c6', class: {
126
127
  [`duet-link-${this.variation}`]: true,
127
128
  "duet-m-0": this.margin === "none",
128
- } }, h(Tag, { key: 'fb5d0c7cdc5bfe931be67c3a685934d5f2f979b7', href: this.url, class: {
129
+ } }, h(Tag, { key: '2ae7983d8583c570630c527645ff52c3ddeba010', href: this.url, class: {
129
130
  "duet-link": true,
130
131
  "duet-link-is-external": this.external,
131
132
  "duet-link-is-download": !!this.download,
@@ -136,7 +137,7 @@ export class DuetLink {
136
137
  "duet-p-0": this.padding === "none",
137
138
  [this.padding]: true,
138
139
  [this.variation]: true,
139
- }, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
140
+ }, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined, role: role }, this.renderContent())));
140
141
  }
141
142
  static get is() { return "duet-link"; }
142
143
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,7 @@ export class DuetListItem {
21
21
  * Always the last one in the class.
22
22
  */
23
23
  render() {
24
- return (h(Host, { key: '99e9fde88b277b57fe0eb123a4a9393665fc5c3b', class: {
24
+ return (h(Host, { key: '734a0dd51a59bbd182a84e31cec8c847bd9b370c', class: {
25
25
  "duet-theme-turva": this.theme === "turva",
26
26
  "duet-no-stacking": !this.responsive,
27
27
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
@@ -29,7 +29,7 @@ export class DuetListItem {
29
29
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
30
30
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
31
31
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
32
- } }, h("dt", { key: 'd28e5c24d737ac46d7b11a0babf2b9842cbe60a5' }, h("slot", { key: '197933a372139678a7e2e5cb5d78412e5d49835d', name: "label" })), h("dd", { key: 'ba1679ecc75e002e8fe7038d4c0ca97ca19e64aa' }, h("slot", { key: '9dbe5076b03b9791f55c9172609a42f050931c1a', name: "value" }))));
32
+ } }, h("dt", { key: '59e34a2877b7e9c431591276bb3f374e7af6b466' }, h("slot", { key: 'fd6b41b97d6e20e053e3f0f4bfec3f4263819aae', name: "label" })), h("dd", { key: '97aed5f53aa1668d3bae6f2e979e6ed4d99c2026' }, h("slot", { key: 'b89a250df02b8731d5f736da444873b8a257a39a', name: "value" }))));
33
33
  }
34
34
  static get is() { return "duet-list-item"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -38,10 +38,10 @@ export class DuetMenuBarButton {
38
38
  * Always the last one in the class.
39
39
  */
40
40
  render() {
41
- return (h(Host, { key: '2df6c1b32a0a028fd5a562baa4733c2dfef93af6', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '364c82e9d7ef3b5aed9f7df9608e234f474834cd', ref: button => (this.nativeButton = button), class: {
41
+ return (h(Host, { key: 'b43562922266653eeb9879dd3eda29b8a5a1b04c', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '29c67b30de26740dec3dac49d2c14a2ed6059270', ref: button => (this.nativeButton = button), class: {
42
42
  "duet-menu-bar-button": true,
43
43
  "duet-theme-turva": this.theme === "turva",
44
- }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: 'a143660e0d58efd3eea99181d39e183c2ad2cffe', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '121e0ad7aeb96564c2bbdf6d07c05b4502532eac' }))));
44
+ }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '9e4a9f1891791aa2bce3c66e7a6b0fce95e247f4', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '11d9a8886ba0e00caea9ac34e68454ada2e2582d' }))));
45
45
  }
46
46
  static get is() { return "duet-menu-bar-button"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -54,17 +54,17 @@ export class DuetMenuBarDropdown {
54
54
  * Always the last one in the class.
55
55
  */
56
56
  render() {
57
- return (h(Host, { key: '50016c8e96de112a895ab6c1a619cd51db1a1144', role: "listitem" }, h("div", { key: '84f1d55a04eb2ce6da85eaa3a2098709d72f904a', class: {
57
+ return (h(Host, { key: '686fce2ec763461a60c924fc09846f5a54138106', role: "listitem" }, h("div", { key: 'eefdc59f23daad325ab0dce1113fb862ad4ee5cf', class: {
58
58
  "duet-menu-bar-dropdown": true,
59
59
  "duet-theme-turva": this.theme === "turva",
60
60
  active: this.open,
61
61
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
62
- } }, h("button", { key: '635deadc4d4430289b7b0b9457d621caef017ee8', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
62
+ } }, h("button", { key: 'baee9aee708d71ee63326c30a8f871a73eb2297e', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
63
63
  active: this.open,
64
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '199fc78e9de9a2411dbdcac2a7cf3cdd7741896c', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '47bf8dee8211ea4b73157c3ff6abb4d1765af81d', class: "label" }, h("slot", { key: 'cf7592834315d69ab2606208943b57c814c364df', name: "label" }), h("duet-icon", { key: '59f13d4cd703bb83c454fe4772beaceecff32186', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'ec6ee4c08d94947327d1414068ec363843d4abd7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
64
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'cace1bca4eb588cdbd321b82059fefc9adbc8c47', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '58257618f35379178d9c22a95ed14501fba88154', class: "label" }, h("slot", { key: '57eb7d37a9d7c02e1d29b97e9140f2bab43a767a', name: "label" }), h("duet-icon", { key: 'f11313315fb6e2aad23163bcb58c5c06f0a1e2af', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '9d6bc3e367dca79313d11178ee788a3407d03ec7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
65
65
  items: true,
66
66
  hidden: !this.open,
67
- } }, h("slot", { key: 'e5381a251537978629b818d3771f648122b39968' })))));
67
+ } }, h("slot", { key: '9ff49f8c44510abf631a06bcb4b690058a3840ed' })))));
68
68
  }
69
69
  static get is() { return "duet-menu-bar-dropdown"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -40,11 +40,11 @@ export class DuetMenuBarDropdownLink {
40
40
  * Always the last one in the class.
41
41
  */
42
42
  render() {
43
- return (h(Host, { key: '586e3ed079d09bf899c1f02c3799e1d46f60bbef' }, h("a", { key: '4480061d9f4de3372052169867f6694c272498ff', class: {
43
+ return (h(Host, { key: 'f77b08c5717947e146d8d67fdc55fefc66fce761' }, h("a", { key: 'b9a4069fc0b35e532944250e4d715984973ba085', class: {
44
44
  "duet-menu-bar-dropdown-link": true,
45
45
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
46
46
  "duet-theme-turva": this.theme === "turva",
47
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '3dcfc8679e4a1454f6a50efb8aa277ad22faabff', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'c0d05484db5c3de1e32454f3c2025797e240bfcc' }))));
47
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'fa9e331e3d9d8cc74c4fd5f7471e607e058fcf53', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '64c5c1d666ded1b933657386f8eec8fb4068fe84' }))));
48
48
  }
49
49
  static get is() { return "duet-menu-bar-dropdown-link"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -48,11 +48,11 @@ export class DuetMenuBarItem {
48
48
  */
49
49
  render() {
50
50
  const TagName = this.url ? "a" : "button";
51
- return (h(Host, { key: 'f8206907f5f09a383f7a11536920b76490ac0eb4', role: "listitem" }, h(TagName, { key: '11894268ceca0e4efac53ea2bb9eb1cf61c84989', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
51
+ return (h(Host, { key: '135b92b36c52ad014567c93c0bfacff2001f16ef', role: "listitem" }, h(TagName, { key: 'd8772442ee0a49f7c300c398ef4021acf0fb74f0', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
52
52
  "duet-menu-bar-item": true,
53
53
  "duet-theme-turva": this.theme === "turva",
54
54
  active: this.active,
55
- }, 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("duet-icon", { key: 'e7988c04b52df45cd3976e8f1532cad225b0b6ca', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'fbbf9404fa7b6d949c7d89bb478957eff14da090' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c2c2f060f59df74561faba1bd596fa43caaa54a7', class: {
55
+ }, 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("duet-icon", { key: '31ac80c4f12447cadcd0def7a2941a98d063a1cc', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '1f9e4b935f68d57288190e3572dabe90c2c49efb' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '24c559a7d56a2adce2fc4aa7d00c2eb5682c2c8e', class: {
56
56
  "trailing-icon": !!this.trailingIcon,
57
57
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
58
58
  "external-icon": !!this.external,
@@ -22,11 +22,11 @@ export class DuetMenuBarLink {
22
22
  * Always the last one in the class.
23
23
  */
24
24
  render() {
25
- return (h(Host, { key: '5397f75d25382c49004777cc9673b92eb4ebb3c5', role: "listitem" }, h("a", { key: 'd5adf4f588f0108f4bfa82329e5499597e2efbae', class: {
25
+ return (h(Host, { key: '27e73349cd24930dd1d7ddee302de2260471c5a8', role: "listitem" }, h("a", { key: '524e83c821e67703be8ec2cdb09e937d04202ff2', class: {
26
26
  "duet-menu-bar-link": true,
27
27
  "duet-theme-turva": this.theme === "turva",
28
28
  active: this.active,
29
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '49866f87807a448bec494ece51eac8ba7cb525cf', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'e566b40e827773a58939b25a6f85b69b16aeb59b' }))));
29
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'e85b83e58a78898ca57f6db72178915e4cad29f5', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '11758cbe02d818cb5f5f7af2a8832d1712c99fa5' }))));
30
30
  }
31
31
  static get is() { return "duet-menu-bar-link"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -10,6 +10,7 @@ import { isEscapeKey } from "../../utils/keyboard-utils";
10
10
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
11
11
  import { hasSlot } from "../../utils/slot-utils";
12
12
  import { Teleport } from "../../utils/teleport";
13
+ import { postfixTheme } from "../../utils/token-utils";
13
14
  // The transition below is slightly higher than the actual CSS transition as VoiceOver on
14
15
  // iOS has otherwise problems moving the focus from modal back to the original element.
15
16
  // This issue is similar to what we’ve seen in Duet Date Picker + iOS VoiceOver.
@@ -64,6 +65,8 @@ export class DuetModal {
64
65
  this.color = "";
65
66
  this.active = false;
66
67
  this.closeOnBlur = false;
68
+ this.focusElementOnClose = undefined;
69
+ this.accessibleAnnounceChanges = undefined;
67
70
  }
68
71
  openChanged() {
69
72
  if (this.open) {
@@ -110,9 +113,18 @@ export class DuetModal {
110
113
  enableBodyScroll(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
111
114
  this.duetClose.emit();
112
115
  this.teleport.removeInertFromSiblings();
113
- setTimeout(() => {
114
- focusElement(this.focusedElBeforeOpen);
115
- }, TRANSITION_MS);
116
+ if (this.focusElementOnClose !== "") {
117
+ setTimeout(() => {
118
+ let focusEl = this.focusedElBeforeOpen;
119
+ if (typeof this.focusElementOnClose === "string") {
120
+ focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
121
+ }
122
+ else {
123
+ focusEl = this.focusElementOnClose || focusEl;
124
+ }
125
+ focusElement(focusEl);
126
+ }, TRANSITION_MS);
127
+ }
116
128
  if (this.isAndroidDevice) {
117
129
  window.removeEventListener("resize", this.handleAndroidResizeEvents);
118
130
  }
@@ -186,6 +198,12 @@ export class DuetModal {
186
198
  async hide() {
187
199
  this.open = false;
188
200
  }
201
+ /**
202
+ * Set focus on the close button of the modal.
203
+ */
204
+ async focusCloseButton() {
205
+ this.buttonEl.setFocus();
206
+ }
189
207
  /**
190
208
  * Scolls the top of the modal's content into view
191
209
  *
@@ -247,20 +265,16 @@ export class DuetModal {
247
265
  */
248
266
  render() {
249
267
  var _a, _b;
250
- let iconColor = "primary";
251
- let closeColor = "secondary";
252
- const closingButton = (h("div", { key: 'ce9896186ba856d40dd3394fdf46442a8e8e5553', class: "duet-modal-close" }, h("duet-button", { key: '5332e22f54058adb3f1e0be19e4d8b273520dcee', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
253
- if (this.theme === "turva") {
254
- iconColor = "primary-turva";
255
- closeColor = "secondary-turva";
256
- }
257
- return (h("div", { key: 'b56533d39c5b27cb1dc9ed8080755b3b51ce23e5', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
268
+ const iconColor = postfixTheme("primary", this.theme);
269
+ const closeColor = postfixTheme("secondary", this.theme);
270
+ const closingButton = (h("div", { key: '9de636719074c96f49913c1a19b33329ae39a3a0', class: "duet-modal-close" }, h("duet-button", { key: '1852a8322aaeb49c937cfd4b4d80d61073f12f96', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
271
+ return (h("div", { key: '4c602c318db94b02ca730640b8c0c6fc7eb96453', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
258
272
  "duet-modal-container": true,
259
273
  "duet-theme-turva": this.theme === "turva",
260
274
  "duet-modal-active": this.open,
261
275
  "duet-modal-slide-up": this.variation === "slide-up",
262
276
  "duet-modal-has-sticky-header": this.hasStickyHeader,
263
- } }, h("duet-overlay", { key: '286c5c53a17a3e252b228321e9e59101906907ae', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '52169517df842ed7d492d8c16e924921ba42a920', ref: modalInner => (this.modalInnerEl = modalInner), class: {
277
+ } }, h("duet-overlay", { key: 'c70e730388bdfa452ab51fb810304ba004022885', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'ceae3fcf909fdfa380eaddc2f8c9ac2637fc8810', ref: modalInner => (this.modalInnerEl = modalInner), class: {
264
278
  "duet-modal-inner": true,
265
279
  [this.size]: true,
266
280
  "duet-modal-slide-up": this.variation === "slide-up",
@@ -271,18 +285,22 @@ export class DuetModal {
271
285
  this.closeModal(e);
272
286
  }
273
287
  }
274
- } }, h("div", { key: 'e02af6a6579d010b7d51c34ed6943294d8dfe91c', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
288
+ } }, h("div", { key: 'c0559f2b2d236a3e0fd339cd65900d400547fb70', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
275
289
  "duet-modal": true,
276
290
  "duet-modal-has-sticky-header": this.hasStickyHeader,
277
291
  [this.size]: true,
278
292
  [this.variation]: true,
279
- } }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '47f10ec419e39cfb0d830e3279e0fcd3e12b2797' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '22c96515336e07fc86522c732ea3d524d3f68912', class: {
293
+ } }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '81664165163cd30e192906cb50bb71a4906256ba' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '92c81c3e5545b4a08b93b3174a888cc42837f2ac', class: {
280
294
  "duet-modal-body": true,
281
295
  "duet-modal-gutter-none": this.gutterSize === "none",
282
296
  "duet-modal-gutter-small": this.gutterSize === "small",
283
297
  "duet-modal-gutter-medium": this.gutterSize === "medium",
284
298
  "duet-modal-gutter-large": this.gutterSize === "large",
285
- } }, h("div", { key: '4e81ed660762a097622df196d6d6a483a2b77f37', class: "duet-modal-header" }, h("span", { key: '8ed800e79454c753477e8ae1d534166e9be59458', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'a5601afb68902b31c191780f3b62c9552a93de59', name: "top" })), this.icon && h("duet-icon", { key: 'c27ef856d2e6f99c48c67c95461b23bf7db6b5e7', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'b098a4a25b613306cefa9e3a1a6492ba9325edf0', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '255372c153a0c7eb5d5dfc0c6ad5584fdf8a2ec4', class: "duet-modal-spinner" }, h("duet-spinner", { key: '4600cd8a7f2cb26a49ba884afc47f46ab9754297', size: "large", color: "primary" }))), h("div", { key: '591d3064c5d4a8c174b3c61fe8eb71e23ffa3c21', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '7df11db97dae7c07cceb5534caefacb98b4677e9' })))))));
299
+ }, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: '72936aa2c2d2551e34b2c2d7344f666d49c3d0f4', class: "duet-modal-header" }, h("span", { key: '30ac91712c2d7065901679fcf1cd5cb0191cbb11', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'c7e4bd42dfac73ebdfcf98f9d16438c14945d30b', name: "top" })), this.icon && h("duet-icon", { key: '3664c556ad580c917e80e796df4236f89134ab9d', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'd77b16d2577ce36f4e135790a7f49d8a2b17096c', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'ed0fa900e15be0fef3166e61f2f7c860dab067f0', class: "duet-modal-spinner" }, h("duet-spinner", { key: '1d15d8e837273755c1c6242098e198f51c1cda90', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '4d06b9164f277a7cc586a6b754429764cccb1f2e', "aria-live": this.variation === "loader"
300
+ ? "assertive"
301
+ : this.accessibleAnnounceChanges === "body"
302
+ ? "polite"
303
+ : null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '520b8542f921248916d3470204ce4ee2533da5ee' })))))));
286
304
  }
287
305
  static get is() { return "duet-modal"; }
288
306
  static get encapsulation() { return "shadow"; }
@@ -739,6 +757,54 @@ export class DuetModal {
739
757
  "attribute": "close-on-blur",
740
758
  "reflect": false,
741
759
  "defaultValue": "false"
760
+ },
761
+ "focusElementOnClose": {
762
+ "type": "string",
763
+ "mutable": false,
764
+ "complexType": {
765
+ "original": "FocusableComponent | HTMLElement | string",
766
+ "resolved": "FocusableComponent | HTMLElement | string",
767
+ "references": {
768
+ "FocusableComponent": {
769
+ "location": "import",
770
+ "path": "../../common",
771
+ "id": "src/common/index.ts::FocusableComponent"
772
+ },
773
+ "HTMLElement": {
774
+ "location": "global",
775
+ "id": "global::HTMLElement"
776
+ }
777
+ }
778
+ },
779
+ "required": false,
780
+ "optional": false,
781
+ "docs": {
782
+ "tags": [],
783
+ "text": "Where to move focus when the modal is closed, either set the element dirctly with JS or give the id of the\nelement as a string. Use empty string to disable focus moving on close - do this if after closing there is\nanother element that automatically gets the focus or you handle focusing manually."
784
+ },
785
+ "getter": false,
786
+ "setter": false,
787
+ "attribute": "focus-element-on-close",
788
+ "reflect": false
789
+ },
790
+ "accessibleAnnounceChanges": {
791
+ "type": "string",
792
+ "mutable": false,
793
+ "complexType": {
794
+ "original": "\"all\" | \"heading\" | \"body\"",
795
+ "resolved": "\"all\" | \"body\" | \"heading\"",
796
+ "references": {}
797
+ },
798
+ "required": false,
799
+ "optional": false,
800
+ "docs": {
801
+ "tags": [],
802
+ "text": "Makes either the entire modal (\"all\"), headign and body content (\"heading\"), or just its body content (\"body\")\nan aria-live region, so that changes are announced by the screen readers. Do not use with loader variation,\nas it handles aria-live separately."
803
+ },
804
+ "getter": false,
805
+ "setter": false,
806
+ "attribute": "accessible-announce-changes",
807
+ "reflect": false
742
808
  }
743
809
  };
744
810
  }
@@ -852,6 +918,23 @@ export class DuetModal {
852
918
  "tags": []
853
919
  }
854
920
  },
921
+ "focusCloseButton": {
922
+ "complexType": {
923
+ "signature": "() => Promise<void>",
924
+ "parameters": [],
925
+ "references": {
926
+ "Promise": {
927
+ "location": "global",
928
+ "id": "global::Promise"
929
+ }
930
+ },
931
+ "return": "Promise<void>"
932
+ },
933
+ "docs": {
934
+ "text": "Set focus on the close button of the modal.",
935
+ "tags": []
936
+ }
937
+ },
855
938
  "scrollToTop": {
856
939
  "complexType": {
857
940
  "signature": "(smooth?: boolean) => Promise<void>",