@duetds/components 9.12.2 → 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 (763) hide show
  1. package/hydrate/index.js +404 -233
  2. package/lib/cjs/{a11y-utils-e59debeb.js → a11y-utils-a934645c.js} +1 -1
  3. package/lib/cjs/{app-globals-f559c48a.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 +4 -4
  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 +50 -12
  31. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  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 +11 -42
  42. package/lib/cjs/duet-modal.cjs.entry.js +39 -20
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  44. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
  46. package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
  47. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
  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 +4 -4
  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 +7 -7
  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 +8 -8
  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 +4 -4
  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-803bdf0f.js → errorcodes.utils-9ce7ca99.js} +1 -1
  91. package/lib/cjs/{focus-utils-aab4fc49.js → focus-utils-fa11f04b.js} +1 -1
  92. package/lib/cjs/{index-9f14a370.js → index-3d15fb5e.js} +5 -1
  93. package/lib/cjs/{language-utils-db49b98b.js → language-utils-eaec2648.js} +1 -1
  94. package/lib/cjs/loader.cjs.js +3 -3
  95. package/lib/cjs/{slot-utils-018275a5.js → slot-utils-61317778.js} +1 -1
  96. package/lib/cjs/{themeable-component-59982a4b.js → themeable-component-46222401.js} +14 -2
  97. package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
  98. package/lib/cjs/{tokens-e6fda5ee.js → tokens-22702e71.js} +0 -1
  99. package/lib/collection/collection-manifest.json +1 -0
  100. package/lib/collection/common/themeable-component.js +13 -1
  101. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  102. package/lib/collection/components/duet-banner/duet-banner.css +1 -0
  103. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  106. package/lib/collection/components/duet-button/duet-button.css +19 -4
  107. package/lib/collection/components/duet-button/duet-button.js +5 -5
  108. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  111. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  112. package/lib/collection/components/duet-header/duet-header.css +3 -0
  113. package/lib/collection/components/duet-header/duet-header.js +3 -2
  114. package/lib/collection/components/duet-icon/duet-icon.css +5 -0
  115. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  116. package/lib/collection/components/duet-label/duet-label.js +1 -1
  117. package/lib/collection/components/duet-link/duet-link.js +5 -4
  118. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  119. package/lib/collection/components/duet-logo/duet-logo.css +8 -0
  120. package/lib/collection/components/duet-logo/duet-logo.js +70 -5
  121. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +91 -0
  122. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +28 -39
  123. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  125. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  127. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  128. package/lib/collection/components/duet-modal/duet-modal.js +98 -15
  129. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  130. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  131. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  132. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  133. package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
  134. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  135. package/lib/collection/components/duet-page-heading/duet-page-heading.css +12 -1
  136. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  137. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  138. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  139. package/lib/collection/components/duet-panel/duet-panel.js +225 -0
  140. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  141. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  142. package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
  143. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  144. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  145. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  146. package/lib/collection/components/duet-select/duet-select.js +1 -1
  147. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  148. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  149. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  150. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  151. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  152. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  153. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  154. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  155. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  156. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  157. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  158. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  159. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  160. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  161. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  162. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  163. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  164. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  165. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  166. package/lib/collection/components/duet-table/duet-table.js +2 -2
  167. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  168. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  169. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  170. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  171. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  172. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  173. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  174. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  175. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  176. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  177. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  178. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  179. package/lib/collection/utils/token-utils.js +59 -7
  180. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  181. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  182. package/lib/dist-custom-elements/duet-alert.js +1 -1
  183. package/lib/dist-custom-elements/duet-badge.js +1 -1
  184. package/lib/dist-custom-elements/duet-banner.js +8 -8
  185. package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
  186. package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
  187. package/lib/dist-custom-elements/duet-button.js +1 -1
  188. package/lib/dist-custom-elements/duet-callout.js +5 -5
  189. package/lib/dist-custom-elements/duet-caption.js +1 -1
  190. package/lib/dist-custom-elements/duet-card.js +5 -5
  191. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  192. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  193. package/lib/dist-custom-elements/duet-chip.js +1 -1
  194. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  195. package/lib/dist-custom-elements/duet-choice.js +5 -5
  196. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  197. package/lib/dist-custom-elements/duet-combobox.js +16 -16
  198. package/lib/dist-custom-elements/duet-contact-card.js +11 -11
  199. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  200. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  201. package/lib/dist-custom-elements/duet-divider.js +1 -1
  202. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  203. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  204. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  205. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  206. package/lib/dist-custom-elements/duet-footer.js +8 -8
  207. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  208. package/lib/dist-custom-elements/duet-grid.js +1 -1
  209. package/lib/dist-custom-elements/duet-header.js +14 -13
  210. package/lib/dist-custom-elements/duet-heading.js +1 -1
  211. package/lib/dist-custom-elements/duet-hero.js +10 -10
  212. package/lib/dist-custom-elements/duet-icon.js +1 -1
  213. package/lib/dist-custom-elements/duet-input.js +1 -1
  214. package/lib/dist-custom-elements/duet-label.js +1 -1
  215. package/lib/dist-custom-elements/duet-layout.js +1 -1
  216. package/lib/dist-custom-elements/duet-link.js +1 -1
  217. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  218. package/lib/dist-custom-elements/duet-list.js +1 -1
  219. package/lib/dist-custom-elements/duet-logo.js +1 -1
  220. package/lib/dist-custom-elements/duet-menu-bar-button.js +5 -5
  221. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +5 -5
  222. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
  223. package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
  224. package/lib/dist-custom-elements/duet-menu-bar-link.js +5 -5
  225. package/lib/dist-custom-elements/duet-menu-bar.js +14 -43
  226. package/lib/dist-custom-elements/duet-modal.js +45 -24
  227. package/lib/dist-custom-elements/duet-multiselect.js +15 -15
  228. package/lib/dist-custom-elements/duet-nav.js +3 -3
  229. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
  230. package/lib/dist-custom-elements/duet-notification.js +5 -5
  231. package/lib/dist-custom-elements/duet-number-input.js +19 -15
  232. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  233. package/lib/dist-custom-elements/duet-page-heading.js +7 -7
  234. package/lib/dist-custom-elements/duet-pagination.js +26 -26
  235. package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
  236. package/lib/dist-custom-elements/duet-panel.js +70 -0
  237. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  238. package/lib/dist-custom-elements/duet-phone-input.js +17 -17
  239. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  240. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  241. package/lib/dist-custom-elements/duet-progress.js +1 -1
  242. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  243. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  244. package/lib/dist-custom-elements/duet-radio.js +2 -2
  245. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  246. package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
  247. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  248. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  249. package/lib/dist-custom-elements/duet-select.js +1 -1
  250. package/lib/dist-custom-elements/duet-shaped-image.js +4 -4
  251. package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
  252. package/lib/dist-custom-elements/duet-share-chart.js +6 -6
  253. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  254. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  255. package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
  256. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
  257. package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
  258. package/lib/dist-custom-elements/duet-slideout.js +9 -9
  259. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  260. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  261. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  262. package/lib/dist-custom-elements/duet-step.js +5 -5
  263. package/lib/dist-custom-elements/duet-stepper.js +4 -4
  264. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
  265. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -8
  266. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  267. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  268. package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
  269. package/lib/dist-custom-elements/duet-tab-group.js +12 -12
  270. package/lib/dist-custom-elements/duet-tab.js +3 -3
  271. package/lib/dist-custom-elements/duet-table.js +1 -1
  272. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  273. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  274. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
  275. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
  276. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  277. package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
  278. package/lib/dist-custom-elements/duet-toolbar.js +4 -4
  279. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  280. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  281. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  282. package/lib/dist-custom-elements/duet-tray.js +6 -6
  283. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  284. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  285. package/lib/dist-custom-elements/duet-upload.js +23 -23
  286. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  287. package/lib/dist-custom-elements/index.js +1 -1
  288. package/lib/dist-custom-elements/{p-32a8ced7.js → p-05fb2c81.js} +5 -5
  289. package/lib/dist-custom-elements/{p-64abcbeb.js → p-0a34fa11.js} +3 -3
  290. package/lib/dist-custom-elements/{p-e024b525.js → p-0e0a0525.js} +4 -4
  291. package/lib/dist-custom-elements/{p-e40817b6.js → p-10893657.js} +2 -2
  292. package/lib/dist-custom-elements/{p-1d53e17e.js → p-25f8ea4b.js} +3 -3
  293. package/lib/dist-custom-elements/{p-3d69644c.js → p-3419cd58.js} +10 -10
  294. package/lib/dist-custom-elements/{p-1b344cf7.js → p-3471fa90.js} +4 -4
  295. package/lib/dist-custom-elements/{p-14f9f7a0.js → p-36f6ec52.js} +2 -2
  296. package/lib/dist-custom-elements/{p-6f57e174.js → p-3757c660.js} +13 -1
  297. package/lib/dist-custom-elements/{p-0b77ee39.js → p-3883f329.js} +6 -6
  298. package/lib/dist-custom-elements/{p-0c936fe5.js → p-3a815628.js} +11 -11
  299. package/lib/dist-custom-elements/{p-69ca7615.js → p-444e732a.js} +9 -8
  300. package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
  301. package/lib/dist-custom-elements/{p-38225a71.js → p-5e16131c.js} +46 -7
  302. package/lib/dist-custom-elements/{p-71245313.js → p-61b4aec9.js} +13 -13
  303. package/lib/dist-custom-elements/{p-1a647490.js → p-65300e85.js} +12 -12
  304. package/lib/dist-custom-elements/{p-b879c406.js → p-706a9a13.js} +3 -3
  305. package/lib/dist-custom-elements/{p-5fb435c0.js → p-778364d6.js} +4 -4
  306. package/lib/dist-custom-elements/{p-d6d3f142.js → p-81360956.js} +3 -3
  307. package/lib/dist-custom-elements/{p-64f1c43c.js → p-85f0068e.js} +6 -6
  308. package/lib/dist-custom-elements/{p-dbe0ddfd.js → p-92710b68.js} +1 -1
  309. package/lib/dist-custom-elements/{p-93896e54.js → p-96cabce8.js} +8 -8
  310. package/lib/dist-custom-elements/{p-6f7ac4a5.js → p-9ac441e6.js} +5 -5
  311. package/lib/dist-custom-elements/{p-6f969e11.js → p-9f715fa9.js} +5 -5
  312. package/lib/dist-custom-elements/{p-3600a7d8.js → p-a4513f7a.js} +3 -3
  313. package/lib/dist-custom-elements/{p-1f214262.js → p-a69bc735.js} +2 -2
  314. package/lib/dist-custom-elements/{p-ccf00480.js → p-b3835995.js} +5 -5
  315. package/lib/dist-custom-elements/{p-9f5cbda4.js → p-c7f33aed.js} +5 -5
  316. package/lib/dist-custom-elements/{p-4f46d35d.js → p-cc1b78ce.js} +11 -11
  317. package/lib/dist-custom-elements/{p-5c0ef833.js → p-d04e213c.js} +13 -13
  318. package/lib/dist-custom-elements/{p-c4cf8fc4.js → p-d0bc3da2.js} +2 -2
  319. package/lib/dist-custom-elements/{p-16f01714.js → p-d5c72ea3.js} +7 -7
  320. package/lib/dist-custom-elements/{p-7b0e3959.js → p-db2b09ab.js} +2 -2
  321. package/lib/dist-custom-elements/{p-b34c0bc0.js → p-dc970fdb.js} +2 -2
  322. package/lib/dist-custom-elements/{p-e7c96fb9.js → p-e77ffc34.js} +3 -3
  323. package/lib/dist-custom-elements/{p-74971fe9.js → p-e9c8ad74.js} +3 -3
  324. package/lib/dist-custom-elements/{p-d32bd233.js → p-eb60efcc.js} +1 -1
  325. package/lib/dist-custom-elements/{p-ff3742a3.js → p-ee948dc8.js} +5 -5
  326. package/lib/dist-custom-elements/{p-f42fd1a5.js → p-f290964d.js} +7 -7
  327. package/lib/dist-custom-elements/{p-b1100334.js → p-f38adca4.js} +8 -8
  328. package/lib/dist-custom-elements/{p-b7e3ed2c.js → p-f3b2867a.js} +4 -4
  329. package/lib/dist-custom-elements/{p-b760d510.js → p-f479ee47.js} +6 -6
  330. package/lib/dist-custom-elements/{p-daa2778f.js → p-fddb3ec1.js} +1 -1
  331. package/lib/duet/duet.esm.js +1 -1
  332. package/lib/duet/duet.js +1 -1
  333. package/lib/duet/{p-43a8d843.system.entry.js → p-013232a8.system.entry.js} +1 -1
  334. package/lib/duet/{p-40295380.js → p-01fe0f34.js} +1 -1
  335. package/lib/duet/p-063b31ef.entry.js +4 -0
  336. package/lib/duet/{p-ede03d44.system.entry.js → p-07d21021.system.entry.js} +1 -1
  337. package/lib/duet/p-07dd4405.system.entry.js +4 -0
  338. package/lib/duet/{p-72b80f54.entry.js → p-08f594ea.entry.js} +1 -1
  339. package/lib/duet/{p-9cc1306c.entry.js → p-08f64c06.entry.js} +1 -1
  340. package/lib/duet/{p-326ef77a.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
  341. package/lib/duet/{p-85d98f00.entry.js → p-0c16128f.entry.js} +1 -1
  342. package/lib/duet/{p-618232f5.system.entry.js → p-0cef5003.system.entry.js} +1 -1
  343. package/lib/duet/{p-f2277c25.system.entry.js → p-0e013c22.system.entry.js} +1 -1
  344. package/lib/duet/{p-6f5c7766.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
  345. package/lib/duet/p-10310520.entry.js +4 -0
  346. package/lib/duet/{p-822bbe28.system.entry.js → p-11262ef8.system.entry.js} +1 -1
  347. package/lib/duet/{p-21208eb0.entry.js → p-119d8a9d.entry.js} +1 -1
  348. package/lib/duet/{p-3e995aa9.entry.js → p-11e013dd.entry.js} +1 -1
  349. package/lib/duet/{p-db1a5bf4.system.entry.js → p-13821573.system.entry.js} +1 -1
  350. package/lib/duet/{p-b87f5ff8.system.entry.js → p-13f4076a.system.entry.js} +1 -1
  351. package/lib/duet/{p-6a455c03.entry.js → p-147f5eb5.entry.js} +1 -1
  352. package/lib/duet/p-16e80004.entry.js +4 -0
  353. package/lib/duet/{p-940ed1a1.entry.js → p-17f215e8.entry.js} +1 -1
  354. package/lib/duet/{p-69d12878.entry.js → p-18b21048.entry.js} +1 -1
  355. package/lib/duet/{p-013ff1b1.entry.js → p-19ad52bc.entry.js} +1 -1
  356. package/lib/duet/{p-6288d368.system.entry.js → p-1a767c08.system.entry.js} +1 -1
  357. package/lib/duet/{p-fa843791.entry.js → p-1c2dcb63.entry.js} +1 -1
  358. package/lib/duet/p-1f495ebe.entry.js +4 -0
  359. package/lib/duet/{p-62a9692f.entry.js → p-20170d5a.entry.js} +1 -1
  360. package/lib/duet/{p-6ab8cc04.system.entry.js → p-201895ea.system.entry.js} +1 -1
  361. package/lib/duet/{p-911830a9.entry.js → p-2162fe62.entry.js} +1 -1
  362. package/lib/duet/{p-1df441b0.system.entry.js → p-22349ab1.system.entry.js} +1 -1
  363. package/lib/duet/{p-dc12856e.system.entry.js → p-22932c08.system.entry.js} +1 -1
  364. package/lib/duet/{p-f87be171.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
  365. package/lib/duet/{p-a3a2f086.system.entry.js → p-2455cbff.system.entry.js} +1 -1
  366. package/lib/duet/{p-9b88b8f4.entry.js → p-268d9b35.entry.js} +1 -1
  367. package/lib/duet/{p-25da61f0.entry.js → p-2a542c6a.entry.js} +1 -1
  368. package/lib/duet/p-2a96f88a.system.entry.js +4 -0
  369. package/lib/duet/{p-4ded9936.entry.js → p-2c15a77e.entry.js} +1 -1
  370. package/lib/duet/{p-e430fc87.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
  371. package/lib/duet/p-2dd204b0.entry.js +4 -0
  372. package/lib/duet/{p-46ba82ab.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
  373. package/lib/duet/{p-03eb030a.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
  374. package/lib/duet/p-2ee8e84d.system.entry.js +4 -0
  375. package/lib/duet/{p-24dcf46b.entry.js → p-2fe381b6.entry.js} +1 -1
  376. package/lib/duet/{p-c1db69bc.system.entry.js → p-322c0015.system.entry.js} +1 -1
  377. package/lib/duet/{p-7b43d889.system.entry.js → p-344834d8.system.entry.js} +1 -1
  378. package/lib/duet/{p-fa43f6c2.system.entry.js → p-34485370.system.entry.js} +1 -1
  379. package/lib/duet/{p-f58be348.system.entry.js → p-352b3557.system.entry.js} +1 -1
  380. package/lib/duet/{p-83ea5225.js → p-378546de.js} +1 -1
  381. package/lib/duet/{p-ebf7a3ac.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
  382. package/lib/duet/{p-16432cd4.entry.js → p-3a75e6d3.entry.js} +1 -1
  383. package/lib/duet/p-3b9c02b1.entry.js +4 -0
  384. package/lib/duet/{p-e9b88155.system.entry.js → p-413fc831.system.entry.js} +1 -1
  385. package/lib/duet/p-4215bd92.system.entry.js +4 -0
  386. package/lib/duet/p-42a0205d.entry.js +4 -0
  387. package/lib/duet/{p-2c09d10f.entry.js → p-430ef395.entry.js} +1 -1
  388. package/lib/duet/p-44b3eb2c.entry.js +4 -0
  389. package/lib/duet/{p-6bbb4dd9.entry.js → p-463b0d7a.entry.js} +1 -1
  390. package/lib/duet/{p-21fb0158.entry.js → p-48fb5298.entry.js} +1 -1
  391. package/lib/duet/{p-651d3dec.entry.js → p-4989501c.entry.js} +1 -1
  392. package/lib/duet/{p-98eddabd.entry.js → p-49b696b3.entry.js} +1 -1
  393. package/lib/duet/{p-dab809f9.entry.js → p-49b6f9a1.entry.js} +1 -1
  394. package/lib/duet/{p-e70e9c50.system.entry.js → p-4a54ae2a.system.entry.js} +2 -2
  395. package/lib/duet/{p-1c58f3a1.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
  396. package/lib/duet/p-4d81e7f6.system.js +4 -0
  397. package/lib/duet/{p-79bccb1f.system.entry.js → p-4e21f876.system.entry.js} +1 -1
  398. package/lib/duet/{p-c6497425.entry.js → p-51717f08.entry.js} +1 -1
  399. package/lib/duet/{p-4f87023e.entry.js → p-51fc30ef.entry.js} +1 -1
  400. package/lib/duet/{p-0f945464.entry.js → p-52746f84.entry.js} +1 -1
  401. package/lib/duet/p-52d80d96.js +4 -0
  402. package/lib/duet/{p-ce063cbd.system.entry.js → p-561dd467.system.entry.js} +1 -1
  403. package/lib/duet/p-564022f1.entry.js +4 -0
  404. package/lib/duet/{p-41bafdf1.system.entry.js → p-56bada0c.system.entry.js} +1 -1
  405. package/lib/duet/{p-1eed0b1c.system.entry.js → p-58d8549a.system.entry.js} +1 -1
  406. package/lib/duet/{p-bf62ea4a.entry.js → p-593df331.entry.js} +1 -1
  407. package/lib/duet/p-59777da7.system.js +4 -0
  408. package/lib/duet/{p-a0a43bf4.entry.js → p-5b583276.entry.js} +1 -1
  409. package/lib/duet/{p-5d2cba5e.system.entry.js → p-5c271084.system.entry.js} +1 -1
  410. package/lib/duet/{p-35580d9e.entry.js → p-5f678caa.entry.js} +1 -1
  411. package/lib/duet/{p-fc9148a1.entry.js → p-628a59a6.entry.js} +1 -1
  412. package/lib/duet/{p-38d5c9e6.entry.js → p-62cb44f1.entry.js} +1 -1
  413. package/lib/duet/{p-af0e060c.system.js → p-670f33d1.system.js} +1 -1
  414. package/lib/duet/p-6a4e23b5.entry.js +4 -0
  415. package/lib/duet/{p-0dac0f34.system.entry.js → p-6a718c27.system.entry.js} +1 -1
  416. package/lib/duet/{p-02922551.entry.js → p-6a900d10.entry.js} +1 -1
  417. package/lib/duet/{p-e50a2f96.system.js → p-6b99bf3d.system.js} +1 -1
  418. package/lib/duet/{p-1f5772a7.entry.js → p-6cf2b2b8.entry.js} +1 -1
  419. package/lib/duet/{p-d5ceec92.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
  420. package/lib/duet/{p-628dc72c.system.entry.js → p-6db869c9.system.entry.js} +1 -1
  421. package/lib/duet/{p-02785b42.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
  422. package/lib/duet/{p-d8323868.entry.js → p-704b8b7e.entry.js} +1 -1
  423. package/lib/duet/{p-a820ff4d.system.entry.js → p-713918d1.system.entry.js} +1 -1
  424. package/lib/duet/{p-91df376b.entry.js → p-72ad70a2.entry.js} +1 -1
  425. package/lib/duet/{p-bf06650e.js → p-72b4c06f.js} +1 -1
  426. package/lib/duet/{p-5a144646.entry.js → p-75542e0e.entry.js} +1 -1
  427. package/lib/duet/{p-025452a3.system.entry.js → p-75e72c46.system.entry.js} +1 -1
  428. package/lib/duet/p-75fdf144.system.js +4 -0
  429. package/lib/duet/{p-3bffb004.system.entry.js → p-76c797cb.system.entry.js} +1 -1
  430. package/lib/duet/{p-1f45b3af.system.entry.js → p-78024429.system.entry.js} +1 -1
  431. package/lib/duet/p-7856f483.entry.js +4 -0
  432. package/lib/duet/{p-0aa18687.system.entry.js → p-786418b7.system.entry.js} +1 -1
  433. package/lib/duet/{p-0db9de80.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
  434. package/lib/duet/{p-7053f582.entry.js → p-7be7fb2c.entry.js} +1 -1
  435. package/lib/duet/{p-33e24f0b.system.entry.js → p-7ce8fc32.system.entry.js} +2 -2
  436. package/lib/duet/{p-3c7d3755.entry.js → p-7d63b0c0.entry.js} +1 -1
  437. package/lib/duet/{p-61e21220.system.js → p-7fd0a219.system.js} +1 -1
  438. package/lib/duet/p-82680aa5.system.js +4 -0
  439. package/lib/duet/{p-5da25b76.entry.js → p-82733ff7.entry.js} +1 -1
  440. package/lib/duet/{p-f0354143.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
  441. package/lib/duet/{p-32971abc.entry.js → p-83c0cfed.entry.js} +1 -1
  442. package/lib/duet/p-854605a6.js +4 -0
  443. package/lib/duet/{p-d064df5e.js → p-8637a449.js} +1 -1
  444. package/lib/duet/{p-c1a9ca3f.entry.js → p-86929bf6.entry.js} +1 -1
  445. package/lib/duet/{p-10bfafcf.entry.js → p-86d288e5.entry.js} +1 -1
  446. package/lib/duet/{p-587b5b14.system.entry.js → p-870a420d.system.entry.js} +1 -1
  447. package/lib/duet/p-89b2f873.system.js +4 -0
  448. package/lib/duet/{p-e06e9231.entry.js → p-89d45610.entry.js} +1 -1
  449. package/lib/duet/{p-b3b3b6d2.system.entry.js → p-89f89a39.system.entry.js} +1 -1
  450. package/lib/duet/{p-7013ce09.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
  451. package/lib/duet/p-8bb2ddda.entry.js +4 -0
  452. package/lib/duet/{p-8173dd50.system.entry.js → p-8cbe7888.system.entry.js} +2 -2
  453. package/lib/duet/{p-64709c5e.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
  454. package/lib/duet/p-8edc7ed6.entry.js +4 -0
  455. package/lib/duet/{p-00e5d987.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
  456. package/lib/duet/{p-a6c30abd.entry.js → p-901f7bd1.entry.js} +1 -1
  457. package/lib/duet/{p-833d7be7.system.entry.js → p-903d05d9.system.entry.js} +1 -1
  458. package/lib/duet/{p-c9c52ec2.entry.js → p-914292d2.entry.js} +1 -1
  459. package/lib/duet/{p-9516f5fc.system.entry.js → p-91be5d76.system.entry.js} +1 -1
  460. package/lib/duet/{p-88317c08.entry.js → p-9361e0ff.entry.js} +1 -1
  461. package/lib/duet/{p-ca812b3c.entry.js → p-936f0051.entry.js} +1 -1
  462. package/lib/duet/{p-c4ea6d92.entry.js → p-961dc1b6.entry.js} +1 -1
  463. package/lib/duet/{p-987e96a5.entry.js → p-98af4e91.entry.js} +1 -1
  464. package/lib/duet/p-9921468e.entry.js +4 -0
  465. package/lib/duet/{p-5d7af988.system.js → p-99ffd1cf.system.js} +1 -1
  466. package/lib/duet/{p-9e73ce43.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
  467. package/lib/duet/{p-a157e1cc.entry.js → p-9dc97ec5.entry.js} +1 -1
  468. package/lib/duet/{p-2819123b.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
  469. package/lib/duet/{p-053c4b67.system.entry.js → p-a8527a22.system.entry.js} +1 -1
  470. package/lib/duet/{p-bca76d73.entry.js → p-aaa700a4.entry.js} +1 -1
  471. package/lib/duet/{p-7d861055.entry.js → p-ac643c4d.entry.js} +1 -1
  472. package/lib/duet/p-adcfa80c.system.entry.js +4 -0
  473. package/lib/duet/{p-c8df1d39.entry.js → p-af4c5e2b.entry.js} +1 -1
  474. package/lib/duet/{p-cc2adccb.system.entry.js → p-b083c7df.system.entry.js} +1 -1
  475. package/lib/duet/p-b1b64718.system.entry.js +4 -0
  476. package/lib/duet/{p-a445ce8a.entry.js → p-b4018154.entry.js} +1 -1
  477. package/lib/duet/p-b65f6339.system.js +4 -0
  478. package/lib/duet/{p-563804e0.system.entry.js → p-b728fce7.system.entry.js} +1 -1
  479. package/lib/duet/p-b84841d7.js +4 -0
  480. package/lib/duet/{p-14108f66.entry.js → p-baaa9e94.entry.js} +1 -1
  481. package/lib/duet/{p-d17b23fc.entry.js → p-be26ac3a.entry.js} +1 -1
  482. package/lib/duet/{p-fcf1b096.entry.js → p-c0020521.entry.js} +1 -1
  483. package/lib/duet/p-c157389b.system.entry.js +4 -0
  484. package/lib/duet/{p-89a1fa97.system.entry.js → p-c371758a.system.entry.js} +1 -1
  485. package/lib/duet/{p-8e0952b2.entry.js → p-c4e34a8e.entry.js} +1 -1
  486. package/lib/duet/{p-f074b245.entry.js → p-c60c40a2.entry.js} +1 -1
  487. package/lib/duet/{p-f787b33c.entry.js → p-c70b52b6.entry.js} +1 -1
  488. package/lib/duet/{p-8bf31541.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
  489. package/lib/duet/{p-e9e4825a.system.entry.js → p-cb279bed.system.entry.js} +1 -1
  490. package/lib/duet/{p-0fa3c05b.entry.js → p-cd27da84.entry.js} +1 -1
  491. package/lib/duet/{p-91d5d8cb.entry.js → p-cff34f13.entry.js} +1 -1
  492. package/lib/duet/{p-f9be6c4a.system.entry.js → p-d06d2098.system.entry.js} +1 -1
  493. package/lib/duet/{p-386fdf47.system.entry.js → p-d3e245f0.system.entry.js} +2 -2
  494. package/lib/duet/{p-da1458e1.system.entry.js → p-d6368121.system.entry.js} +1 -1
  495. package/lib/duet/{p-903b934c.system.entry.js → p-d647ef97.system.entry.js} +1 -1
  496. package/lib/duet/{p-5638079e.system.entry.js → p-d6a2cc77.system.entry.js} +2 -2
  497. package/lib/duet/{p-82412ccb.entry.js → p-d6afc825.entry.js} +1 -1
  498. package/lib/duet/{p-705d56cf.entry.js → p-d8fadd2d.entry.js} +1 -1
  499. package/lib/duet/{p-474c40d9.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
  500. package/lib/duet/p-e63f5ff5.js +4 -0
  501. package/lib/duet/{p-3c412042.system.entry.js → p-e6f40951.system.entry.js} +1 -1
  502. package/lib/duet/p-e70fad83.entry.js +4 -0
  503. package/lib/duet/{p-2a1dd592.entry.js → p-e8777cf4.entry.js} +1 -1
  504. package/lib/duet/{p-1bd4baef.system.entry.js → p-eb237688.system.entry.js} +1 -1
  505. package/lib/duet/{p-d32bd233.js → p-eb60efcc.js} +1 -1
  506. package/lib/duet/p-eb7b2984.system.entry.js +4 -0
  507. package/lib/duet/{p-b7a29ea3.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
  508. package/lib/duet/{p-0b74ce31.entry.js → p-ec22154d.entry.js} +1 -1
  509. package/lib/duet/{p-adeb1555.system.js → p-ed810e76.system.js} +1 -1
  510. package/lib/duet/{p-ef4fea1b.entry.js → p-edb65a28.entry.js} +1 -1
  511. package/lib/duet/{p-8cfba882.system.entry.js → p-f1beb947.system.entry.js} +1 -1
  512. package/lib/duet/{p-21090503.system.entry.js → p-f3587718.system.entry.js} +1 -1
  513. package/lib/duet/{p-e6c3d5b0.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
  514. package/lib/duet/{p-7fe2a579.entry.js → p-f7b6fecb.entry.js} +1 -1
  515. package/lib/duet/{p-5b0acd52.system.entry.js → p-f835eb92.system.entry.js} +1 -1
  516. package/lib/duet/p-f89feeb2.entry.js +4 -0
  517. package/lib/duet/{p-723a5a2f.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
  518. package/lib/duet/{p-fdf1fec8.entry.js → p-f9b9fbf5.entry.js} +1 -1
  519. package/lib/duet/{p-61f97ebd.system.entry.js → p-fae74a37.system.entry.js} +1 -1
  520. package/lib/duet/{p-67d84e6e.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
  521. package/lib/duet/p-fbc59efc.js +4 -0
  522. package/lib/duet/{p-7b01ab6d.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
  523. package/lib/duet/{p-7ff43e10.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
  524. package/lib/esm/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
  525. package/lib/esm/{app-globals-ba36fb7c.js → app-globals-db5be99e.js} +1 -1
  526. package/lib/esm/duet-action-button.entry.js +4 -4
  527. package/lib/esm/duet-alert.entry.js +4 -4
  528. package/lib/esm/duet-badge.entry.js +4 -4
  529. package/lib/esm/duet-banner.entry.js +7 -7
  530. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  531. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  532. package/lib/esm/duet-button_2.entry.js +12 -12
  533. package/lib/esm/duet-callout.entry.js +5 -5
  534. package/lib/esm/duet-caption_4.entry.js +13 -12
  535. package/lib/esm/duet-card.entry.js +4 -4
  536. package/lib/esm/duet-checkbox.entry.js +2 -2
  537. package/lib/esm/duet-checkmark.entry.js +4 -4
  538. package/lib/esm/duet-chip.entry.js +3 -3
  539. package/lib/esm/duet-choice_2.entry.js +4 -4
  540. package/lib/esm/duet-collapsible.entry.js +4 -4
  541. package/lib/esm/duet-combobox.entry.js +4 -4
  542. package/lib/esm/duet-contact-card.entry.js +5 -5
  543. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  544. package/lib/esm/duet-date-picker.entry.js +5 -5
  545. package/lib/esm/duet-divider_2.entry.js +4 -4
  546. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  547. package/lib/esm/duet-empty-state.entry.js +2 -2
  548. package/lib/esm/duet-fieldset.entry.js +6 -6
  549. package/lib/esm/duet-file-chooser.entry.js +2 -2
  550. package/lib/esm/duet-footer.entry.js +4 -4
  551. package/lib/esm/duet-grid_2.entry.js +2 -2
  552. package/lib/esm/duet-header_2.entry.js +50 -12
  553. package/lib/esm/duet-hero.entry.js +4 -4
  554. package/lib/esm/duet-icon.entry.js +7 -7
  555. package/lib/esm/duet-input_2.entry.js +6 -6
  556. package/lib/esm/duet-layout.entry.js +2 -2
  557. package/lib/esm/duet-list_2.entry.js +4 -4
  558. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  559. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  560. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  561. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  562. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  563. package/lib/esm/duet-menu-bar.entry.js +11 -42
  564. package/lib/esm/duet-modal.entry.js +39 -20
  565. package/lib/esm/duet-multiselect.entry.js +9 -9
  566. package/lib/esm/duet-nav.entry.js +3 -3
  567. package/lib/esm/duet-notification_2.entry.js +7 -7
  568. package/lib/esm/duet-number-input.entry.js +11 -7
  569. package/lib/esm/duet-overlay.entry.js +3 -3
  570. package/lib/esm/duet-page-heading.entry.js +5 -5
  571. package/lib/esm/duet-pagination_2.entry.js +17 -17
  572. package/lib/esm/duet-panel.entry.js +43 -0
  573. package/lib/esm/duet-phone-input.entry.js +4 -4
  574. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  575. package/lib/esm/duet-progress.entry.js +3 -3
  576. package/lib/esm/duet-promo-card.entry.js +6 -6
  577. package/lib/esm/duet-radio_2.entry.js +3 -3
  578. package/lib/esm/duet-range-slider.entry.js +2 -2
  579. package/lib/esm/duet-scrollable_3.entry.js +14 -14
  580. package/lib/esm/duet-section-layout.entry.js +4 -4
  581. package/lib/esm/duet-select.entry.js +4 -4
  582. package/lib/esm/duet-shaped-image.entry.js +4 -4
  583. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  584. package/lib/esm/duet-share-chart.entry.js +7 -7
  585. package/lib/esm/duet-show-more.entry.js +5 -5
  586. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  587. package/lib/esm/duet-slideout-link.entry.js +7 -7
  588. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  589. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  590. package/lib/esm/duet-slideout.entry.js +10 -10
  591. package/lib/esm/duet-status-icon.entry.js +4 -4
  592. package/lib/esm/duet-step_2.entry.js +4 -4
  593. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  594. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  595. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  596. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  597. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  598. package/lib/esm/duet-textarea.entry.js +4 -4
  599. package/lib/esm/duet-toggle.entry.js +2 -2
  600. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  601. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  602. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  603. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  604. package/lib/esm/duet-toolbar.entry.js +4 -4
  605. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  606. package/lib/esm/duet-tooltip.entry.js +4 -4
  607. package/lib/esm/duet-tray.entry.js +5 -5
  608. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  609. package/lib/esm/duet-upload-item.entry.js +6 -6
  610. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  611. package/lib/esm/duet.js +4 -4
  612. package/lib/esm/{errorcodes.utils-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
  613. package/lib/esm/{focus-utils-b131ac81.js → focus-utils-28046c5d.js} +1 -1
  614. package/lib/esm/{index-822baec2.js → index-04630419.js} +5 -1
  615. package/lib/esm/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
  616. package/lib/esm/loader.js +4 -4
  617. package/lib/esm/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
  618. package/lib/esm/{themeable-component-4e1ca2f5.js → themeable-component-ddf67193.js} +14 -2
  619. package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
  620. package/lib/esm/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
  621. package/lib/esm-es5/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
  622. package/lib/esm-es5/{app-globals-ba36fb7c.js → app-globals-db5be99e.js} +1 -1
  623. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  624. package/lib/esm-es5/duet-alert.entry.js +1 -1
  625. package/lib/esm-es5/duet-badge.entry.js +1 -1
  626. package/lib/esm-es5/duet-banner.entry.js +1 -1
  627. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  628. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  629. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  630. package/lib/esm-es5/duet-callout.entry.js +1 -1
  631. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  632. package/lib/esm-es5/duet-card.entry.js +1 -1
  633. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  634. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  635. package/lib/esm-es5/duet-chip.entry.js +1 -1
  636. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  638. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  639. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  640. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  641. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  642. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  644. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  645. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  646. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  647. package/lib/esm-es5/duet-footer.entry.js +1 -1
  648. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  649. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  650. package/lib/esm-es5/duet-hero.entry.js +1 -1
  651. package/lib/esm-es5/duet-icon.entry.js +1 -1
  652. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  653. package/lib/esm-es5/duet-layout.entry.js +1 -1
  654. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  655. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  656. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  657. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  658. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  659. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  660. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  661. package/lib/esm-es5/duet-modal.entry.js +2 -2
  662. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  663. package/lib/esm-es5/duet-nav.entry.js +1 -1
  664. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  665. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  666. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  667. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  668. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  669. package/lib/esm-es5/duet-panel.entry.js +4 -0
  670. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  671. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  672. package/lib/esm-es5/duet-progress.entry.js +1 -1
  673. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  674. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  675. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  676. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  677. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  678. package/lib/esm-es5/duet-select.entry.js +1 -1
  679. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  680. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  681. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  682. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  683. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  684. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  685. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  686. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  687. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  688. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  689. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  690. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  691. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  692. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  693. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  694. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  695. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  696. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  697. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  698. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  699. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  700. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  701. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  702. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  703. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  704. package/lib/esm-es5/duet-tray.entry.js +1 -1
  705. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  706. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  707. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  708. package/lib/esm-es5/duet.js +1 -1
  709. package/lib/esm-es5/{errorcodes.utils-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
  710. package/lib/esm-es5/focus-utils-28046c5d.js +4 -0
  711. package/lib/esm-es5/index-04630419.js +4 -0
  712. package/lib/esm-es5/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
  713. package/lib/esm-es5/loader.js +1 -1
  714. package/lib/esm-es5/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
  715. package/lib/esm-es5/themeable-component-ddf67193.js +4 -0
  716. package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
  717. package/lib/esm-es5/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
  718. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  719. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  720. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  721. package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
  722. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  723. package/lib/types/components.d.ts +112 -4
  724. package/lib/types/utils/token-utils.d.ts +4 -0
  725. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  726. package/package.json +4 -4
  727. package/lib/duet/p-0454a8c6.entry.js +0 -4
  728. package/lib/duet/p-0a7ee399.js +0 -4
  729. package/lib/duet/p-0e7cf850.js +0 -4
  730. package/lib/duet/p-11f51d65.entry.js +0 -4
  731. package/lib/duet/p-1c8887ea.entry.js +0 -4
  732. package/lib/duet/p-23eb5520.entry.js +0 -4
  733. package/lib/duet/p-242bcacd.system.js +0 -4
  734. package/lib/duet/p-27219a43.js +0 -4
  735. package/lib/duet/p-3b7bc2eb.entry.js +0 -4
  736. package/lib/duet/p-437e64f1.system.entry.js +0 -4
  737. package/lib/duet/p-4bb9c12b.system.entry.js +0 -4
  738. package/lib/duet/p-4c6198ef.system.entry.js +0 -4
  739. package/lib/duet/p-4ca291e2.entry.js +0 -4
  740. package/lib/duet/p-4e9fc9dc.system.js +0 -4
  741. package/lib/duet/p-586ba4e6.system.entry.js +0 -4
  742. package/lib/duet/p-594f7ff9.entry.js +0 -4
  743. package/lib/duet/p-5de30279.js +0 -4
  744. package/lib/duet/p-6916bba8.entry.js +0 -4
  745. package/lib/duet/p-78376f40.system.entry.js +0 -4
  746. package/lib/duet/p-8d5ebdab.system.entry.js +0 -4
  747. package/lib/duet/p-9508ee67.system.js +0 -4
  748. package/lib/duet/p-9d336f77.system.js +0 -4
  749. package/lib/duet/p-b159c0a9.entry.js +0 -4
  750. package/lib/duet/p-b9189fc1.js +0 -4
  751. package/lib/duet/p-c1884875.entry.js +0 -4
  752. package/lib/duet/p-c1c77f83.entry.js +0 -4
  753. package/lib/duet/p-d64b13f1.system.entry.js +0 -4
  754. package/lib/duet/p-d80ae90e.system.js +0 -4
  755. package/lib/duet/p-dff0867d.system.js +0 -4
  756. package/lib/duet/p-f0566568.entry.js +0 -4
  757. package/lib/duet/p-f528fb99.entry.js +0 -4
  758. package/lib/duet/p-f713c32c.entry.js +0 -4
  759. package/lib/duet/p-feb01054.entry.js +0 -4
  760. package/lib/esm-es5/focus-utils-b131ac81.js +0 -4
  761. package/lib/esm-es5/index-822baec2.js +0 -4
  762. package/lib/esm-es5/themeable-component-4e1ca2f5.js +0 -4
  763. package/lib/esm-es5/token-utils-7360bb84.js +0 -4
@@ -129,6 +129,32 @@
129
129
  width: 0;
130
130
  height: 0;
131
131
  }
132
+ .duet-menu-bar .container duet-logo.large,
133
+ .duet-menu-bar .container duet-logo.only-symbol {
134
+ display: none;
135
+ }
136
+ .duet-menu-bar .container.with-info-text duet-logo.medium {
137
+ display: none;
138
+ }
139
+ .duet-menu-bar .container.with-info-text duet-logo.only-symbol {
140
+ display: block;
141
+ }
142
+ @media (min-width: 48em) {
143
+ .duet-menu-bar .container.with-info-text duet-logo.medium {
144
+ display: block;
145
+ }
146
+ .duet-menu-bar .container.with-info-text duet-logo.only-symbol {
147
+ display: none;
148
+ }
149
+ }
150
+ @media (min-width: 76.25em) {
151
+ .duet-menu-bar .container duet-logo.medium {
152
+ display: none;
153
+ }
154
+ .duet-menu-bar .container duet-logo.large {
155
+ display: block;
156
+ }
157
+ }
132
158
  @media (min-width: 62em) {
133
159
  .duet-menu-bar .container {
134
160
  height: 5rem;
@@ -153,6 +179,19 @@
153
179
  flex-basis: 0;
154
180
  flex-grow: 1;
155
181
  justify-content: flex-start;
182
+ width: auto;
183
+ height: 40px;
184
+ }
185
+ @media (min-width: 76.25em) {
186
+ .duet-menu-bar .container > :first-child {
187
+ height: 48px;
188
+ }
189
+ }
190
+ .duet-menu-bar .container > :first-child:has(.duet-logo-info-text) {
191
+ flex-grow: 8;
192
+ }
193
+ .duet-menu-bar .container > :first-child:has(.duet-logo-info-text) duet-paragraph {
194
+ max-height: 100%;
156
195
  }
157
196
  .duet-menu-bar .container > :last-child {
158
197
  flex-basis: 0;
@@ -165,6 +204,34 @@
165
204
  justify-content: center;
166
205
  height: 100%;
167
206
  }
207
+ .duet-menu-bar .container .duet-logo-info-text {
208
+ max-height: 2.8875rem;
209
+ padding-left: 16px;
210
+ margin-left: 16px;
211
+ overflow: hidden;
212
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
213
+ font-size: 0.875rem;
214
+ font-style: normal;
215
+ font-weight: 400;
216
+ font-variant-numeric: tabular-nums;
217
+ -webkit-hyphens: auto;
218
+ hyphens: auto;
219
+ line-height: 1.1;
220
+ color: rgb(62, 84, 102);
221
+ text-overflow: ellipsis;
222
+ border-left: 1px solid rgb(212, 223, 229);
223
+ }
224
+ .duet-menu-bar .container .duet-logo-info-text.duet-theme-turva {
225
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
226
+ color: rgb(71, 78, 101);
227
+ border-left-color: rgb(222, 224, 228);
228
+ }
229
+ @media (min-width: 48em) {
230
+ .duet-menu-bar .container .duet-logo-info-text {
231
+ max-height: 3.3rem;
232
+ font-size: 1rem;
233
+ }
234
+ }
168
235
  .duet-menu-bar.duet-theme-turva {
169
236
  background: rgb(255, 255, 255);
170
237
  box-shadow: 0 2px 6px 0 rgba(23, 28, 58, 0.07);
@@ -174,6 +241,26 @@
174
241
  box-shadow: 0 3px 6px 0 rgba(23, 28, 58, 0.1);
175
242
  }
176
243
  }
244
+ .duet-menu-bar.duet-menu-bar-slim .container duet-logo.medium {
245
+ display: block;
246
+ }
247
+ .duet-menu-bar.duet-menu-bar-slim .container duet-logo.large {
248
+ display: none;
249
+ }
250
+ .duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium {
251
+ display: none;
252
+ }
253
+ .duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol {
254
+ display: block;
255
+ }
256
+ @media (min-width: 48em) {
257
+ .duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium {
258
+ display: block;
259
+ }
260
+ .duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol {
261
+ display: none;
262
+ }
263
+ }
177
264
  @media (min-width: 62em) {
178
265
  .duet-menu-bar.duet-menu-bar-slim .container {
179
266
  height: 4rem;
@@ -207,4 +294,8 @@
207
294
  }
208
295
  :host(.duet-theme-turva2) .duet-theme-turva .right {
209
296
  color: #172a3b;
297
+ }
298
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-logo-info-text {
299
+ color: #354f65;
300
+ border-left-color: #d4dde2;
210
301
  }
@@ -1,7 +1,6 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { media_query_large, media_query_xx_large } from "@duetds/tokens/lib/tokens.json";
5
4
  import { Build, h, Host } from "@stencil/core";
6
5
  import { inheritGlobalTheme } from "../../common";
7
6
  import { getLanguage } from "../../utils/language-utils";
@@ -11,14 +10,6 @@ import { getLanguage } from "../../utils/language-utils";
11
10
  */
12
11
  export class DuetMenuBar {
13
12
  constructor() {
14
- /**
15
- * Own Properties.
16
- */
17
- this.mql = [
18
- window.matchMedia(media_query_large.replace(/'/g, "")),
19
- window.matchMedia(media_query_xx_large.replace(/'/g, "")),
20
- ];
21
- this.boundMqlFunctions = [];
22
13
  this.previousYScroll = 0;
23
14
  this.scrollbarCheck = () => {
24
15
  this.leftMoreVisible = this.container.scrollLeft > 0;
@@ -46,15 +37,6 @@ export class DuetMenuBar {
46
37
  const centerSlot = this.element.querySelector('[slot="center"]');
47
38
  this.centerSlotUsed = !!centerSlot;
48
39
  };
49
- this.changeLogoSize = () => {
50
- this.checkCenterSlot();
51
- if (this.mql[1].matches && this.centerSlotUsed) {
52
- this.logoSize = "large";
53
- }
54
- else {
55
- this.logoSize = "medium";
56
- }
57
- };
58
40
  this.handleLogoClick = (e) => {
59
41
  this.duetEvent.emit({
60
42
  name: "logoClick",
@@ -71,11 +53,13 @@ export class DuetMenuBar {
71
53
  this.leftMoreVisible = false;
72
54
  this.rightMoreVisible = false;
73
55
  this.centerSlotUsed = false;
56
+ this.mediaQueryMediumMatches = false;
74
57
  this.theme = "";
75
58
  this.language = getLanguage();
76
59
  this.logo = true;
77
60
  this.logoHref = undefined;
78
61
  this.logoLinkAccessibleLabel = undefined;
62
+ this.logoInfoText = undefined;
79
63
  this.accessibleLabel = undefined;
80
64
  this.hideOnScroll = false;
81
65
  }
@@ -111,26 +95,8 @@ export class DuetMenuBar {
111
95
  inheritGlobalTheme(this);
112
96
  }
113
97
  connectedCallback() {
114
- this.changeLogoSize();
115
- for (let i = 0; i < this.mql.length; i++) {
116
- // addEventListener is not available in Stencil hydrate
117
- if (this.mql[i].addEventListener) {
118
- const bound = this.changeLogoSize.bind(this);
119
- this.mql[i].addEventListener("change", bound);
120
- this.boundMqlFunctions[i] = bound;
121
- }
122
- }
123
98
  this.checkCenterSlot();
124
99
  }
125
- disconnectedCallback() {
126
- for (let i = 0; i < this.mql.length; i++) {
127
- // removeEventListener is not available in Stencil hydrate
128
- if (this.mql[i].removeEventListener) {
129
- this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
130
- }
131
- }
132
- this.boundMqlFunctions = [];
133
- }
134
100
  componentDidLoad() {
135
101
  if (Build.isServer || Build.isTesting) {
136
102
  return;
@@ -154,14 +120,17 @@ export class DuetMenuBar {
154
120
  render() {
155
121
  const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
156
122
  const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
157
- return (h(Host, { key: '664846aed5fa5418883aa8e7d285f43bca31b9b7' }, h("nav", { key: '67eb2be48aa07d8839de507ac2e7a3d549a7bf1b', class: {
123
+ return (h(Host, { key: '5f05a259d0950cb2cdbc37222b1007ba49d5fe53' }, h("nav", { key: '24398b2d0d6d01c22eef86430e0f7db7c6b97171', class: {
158
124
  "duet-menu-bar": true,
159
125
  "duet-theme-turva": this.theme === "turva",
160
126
  "horizontal-nav": isUsedAsAdditionalHorizontalNav,
161
127
  "duet-menu-bar-slim": !this.centerSlotUsed,
162
128
  hidden: this.hidden && this.hideOnScroll,
163
129
  bottom: this.onBottom,
164
- }, "aria-label": this.accessibleLabel }, h("div", { key: 'e4cb471892ccd3b07e2ba137cfe5f09d2aede935', class: "top" }), h("div", { key: 'a3956e49657add3b004a7f48c1039c95e768cf3f', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: 'daa83bf253d89d2691a128d4449ec3bd27a0fd1c' }, h("duet-logo", { key: '519732ee4b3a9e8db70315d561859b569c3acf9d', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '7baa6a6cfbfcfe80e4965d9a2ba8fbd5c2e908fb', class: "list center", role: "list" }, h("div", { key: '214ec3b02204a0ff8f09f5ebe8545b3b52e4b27a', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '8f039e09a7b69764151356d5697a2ab65e7b5a2e', name: "center" }), h("div", { key: '25fb60d81a3cb648049e51f9497282feddf24d48', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: 'b86943b205d836a309c61260e20599ff95bf1a1a', class: "list right", role: "list" }, h("slot", { key: '16eaaf4fb82ae25c9fd3d8324134f100b0b77c19', name: "right" }))), h("div", { key: '637eb362a07458d226c916447385262fb2b0c32d', class: "bottom" }))));
130
+ }, "aria-label": this.accessibleLabel }, h("div", { key: 'abf2962527bf92ead5a89f8648ff3b88a73fbc55', class: "top" }), h("div", { key: '068d450752f636f98e7cdeb5043e6bf9297b4c3d', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '7e5b816d6ae4e36268ee911cadf56358a864e264' }, h("duet-logo", { key: 'c1a02ba4230ab960c1e01d20636a23d015823580', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'fa3ba5116af9eecd8d886f546c4bdef922bbdd4d', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'a3593373202664a79f8095931fa53d72e1f6c188', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (h("div", { key: 'ebf9c252a82db480eff2fca195f87dfcd2a186f4', class: {
131
+ "duet-logo-info-text": true,
132
+ "duet-theme-turva": this.theme === "turva",
133
+ } }, this.logoInfoText)))), h("div", { key: '980619619bf98cc80c36dc5c8d27042f97ff492d', class: "list center", role: "list" }, h("div", { key: 'b6f5e67dd04a56da886a3795b21b2f3f4d7e0393', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: 'f5bc728c183398eba439475b6a29771476944b5b', name: "center" }), h("div", { key: 'bf7274db341938f7f0a8fa7784985a6239a5fcc6', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '6e3343fcef3b45b1a6e741c673d072b994cf4110', class: "list right", role: "list" }, h("slot", { key: '3a76e5089f8cc4a1e04786a61c2f8e9cb1160426', name: "right" }))), h("div", { key: '6041af35982542751bb94df6ebc8725dd17a6349', class: "bottom" }))));
165
134
  }
166
135
  static get is() { return "duet-menu-bar"; }
167
136
  static get encapsulation() { return "shadow"; }
@@ -293,6 +262,25 @@ export class DuetMenuBar {
293
262
  "attribute": "logo-link-accessible-label",
294
263
  "reflect": false
295
264
  },
265
+ "logoInfoText": {
266
+ "type": "string",
267
+ "mutable": false,
268
+ "complexType": {
269
+ "original": "string",
270
+ "resolved": "string",
271
+ "references": {}
272
+ },
273
+ "required": false,
274
+ "optional": false,
275
+ "docs": {
276
+ "tags": [],
277
+ "text": "Additional information text to show next to the logo. Show only when the center slot is empty."
278
+ },
279
+ "getter": false,
280
+ "setter": false,
281
+ "attribute": "logo-info-text",
282
+ "reflect": false
283
+ },
296
284
  "accessibleLabel": {
297
285
  "type": "string",
298
286
  "mutable": false,
@@ -341,7 +329,8 @@ export class DuetMenuBar {
341
329
  "logoSize": {},
342
330
  "leftMoreVisible": {},
343
331
  "rightMoreVisible": {},
344
- "centerSlotUsed": {}
332
+ "centerSlotUsed": {},
333
+ "mediaQueryMediumMatches": {}
345
334
  };
346
335
  }
347
336
  static get events() {
@@ -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: '50f598983e907d97ef1316160ee05bfd3fa162d4', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '1107dec87cb815440ec64f4a87cb16d256a9d35a', 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: 'abe6328ef09cfb22c2901b72b93b3cdf7b4b5471', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'e2f0498c80acf9f4047b46566fc9d68f70f59726' }))));
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: 'edccb5f70ded057833cc2daa2a9e5122fcf693b0', role: "listitem" }, h("div", { key: 'd40f575e077c90cf83800312ee3ab06ac9562dd2', 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: 'be04861fb3c8c5e3f0fe82672151e7a194115a66', 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: 'a7f63c0c5c011afaec3755be92610be9cbf13000', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '62b2d4b3c6adc5aba4f07d628305d375ad079d82', class: "label" }, h("slot", { key: '89466557605d586e66bc4425cc60b9ca69436c02', name: "label" }), h("duet-icon", { key: '04c5c890603c2f2627e92efc3348addcd462799e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '310c646170237d500ed801356fe24891e6101803', 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: 'cc9c367154155a88ca285bb85e71f4da4f1aea99' })))));
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: '6b17eecb66ad5162a6848b2f88445fa4fd72bb10' }, h("a", { key: '3b3d5c0b9e51f2186e3f9dd6c3fc9847555c543d', 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: 'a79948b652be6b2ed15d4ad8728c1658bc1c061d', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'abe75d54c989cfcca99640f4f54bbb79869fa052' }))));
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: '78cb2d5a9f36203918418ade091de2156c3a290e', role: "listitem" }, h(TagName, { key: '90b92ad5dc5b77d425d19471f115aa94179428c4', 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: '69d0ae59d451360c14945e1517c26e9d017f4d7a', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'a7903797ed84cb566185ca79f8bacfae5d88bb28' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c300697850a2cd3bd6b9236e29be7433fcec7e45', 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: 'a253a92fe5b3c7bd02870ef60733f31208778829', role: "listitem" }, h("a", { key: '6cc592290262edf3bf027c15be55aea0d05b2185', 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: '8a6c8ee57536ab2a5edee32c75c86988277a7b49', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'f8c916a98522baae5e70febed4316c6cd3daa3dc' }))));
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: '675dc50327ab1e0f8033a2befcdf37cd4d3e0bf2', class: "duet-modal-close" }, h("duet-button", { key: '4184913dd9b92a9b95f1d5e773800766530b97cf', 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: '0751e3ddbaa09c8c1abc7986e3fabd97dba82be6', 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: 'c1e924fd65887cf4378aab5b0a8a240ed48eb04a', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'a9e7ab02f299be796797683d7f1ba696bc5c884f', 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: '86107c52f7cdb102f409586020bdeb116c041720', 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: 'c728a3caf6df68ed0c97baf1425c2ddab6a98f5b' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '36b15d0c3595fdcecc6f14abb3578eefef74a8c9', 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: '5dfb5b08e6593777e82f58c9a8d4db36cd3efbbc', class: "duet-modal-header" }, h("span", { key: '0a95f7b53f47eb9e75ea99a007b0951b9a0fe11a', class: "duet-modal-inner-slot-top" }, h("slot", { key: '56cbb6d090f309f66c7e79f90b3b8b4920501fca', name: "top" })), this.icon && h("duet-icon", { key: '1918983d8ba93e09a80ab19f9dd2d5d88b9c483e', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: '7e77994203cb473aa15b6e7356660278bad02d57', "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: 'cb74816a66ac5eb67938c8a4358d0ecb2f7769f3', class: "duet-modal-spinner" }, h("duet-spinner", { key: '70156c240cc4d32e660349992be704be48d55c54', size: "large", color: "primary" }))), h("div", { key: '7d20cd4b16628ed66118f41c9f2cb626cb87fd6b', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '229d35cca36167acf3d262376b3d11a6473d5635' })))))));
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>",
@@ -223,23 +223,23 @@ export class DuetMultiselect {
223
223
  */
224
224
  render() {
225
225
  var _a;
226
- return (h(Host, { key: 'e933fce43ece20fa3594dda5d6d94ccec3eee384', class: {
226
+ return (h(Host, { key: '5b6e1d90d6ac55b6572f755b273359a4942de03c', class: {
227
227
  "duet-m-0": this.margin === "none",
228
228
  "duet-expand": this.expand,
229
- } }, h("div", { key: '172c8416e6bcea127b91615f030e589d55456577', class: {
229
+ } }, h("div", { key: '42c64faf69c0e05c608d915ef295c7f04507de3e', class: {
230
230
  "duet-multiselect-container": true,
231
231
  "duet-label-hidden": this.labelHidden,
232
232
  "duet-theme-turva": this.theme === "turva",
233
233
  "duet-input-top-caption-shown": this.isCaptionVisible,
234
234
  "has-error": !!this.error,
235
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: 'c527b091b91bbc52d86e99d5dff9115cc8d6aeeb', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f3596fdcc13e54984e38299db1cd32a541ce22aa', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '5c0ec4c3de6ed4d0df0e9ecc97e10b16ec52974f', name: "tooltip" }), this.caption && (h("duet-caption", { key: '8cae964591dce5a58a576ed00209f1f50b89bd1b', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '31780c7861708d52df9f5bc7fd7714259a2abdb8', class: "duet-multiselect-wrapper" }, h("button", { key: '2ffdcde08e1d5fcc3c63bcfd48bf22831dea2296', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '2b04c64dd7004356a0dd7833be28935c39e50217', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: 'c952cd7f33d700d4af685ff3b7fc19de02054f1f', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: 'b9bf58b48509aaedd4f2e0cb05aec8cc192f2eee' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: '5ecaefc2630e9810f4f9f5887677b9f87dc91ff1', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '4c3240169e55ab9b2daca51cce27dfc8c20dbeb0', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'b473ebcd1f110e4d6151b5dbc49b08f6347eae37', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
235
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: '62a7becf4dc2411071c59ba7aa11ac8ffe59d10f', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '1af019df96ed925e720df2185ce8550e17bc3d13', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '12aca2ebbc428087ff72677118ed94b3937626a1', name: "tooltip" }), this.caption && (h("duet-caption", { key: '019a13573c4f09327bb85d19d78fd62df2a19ec5', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '6be290abbd25957f4849d67b2027cc8be3bd3d5f', class: "duet-multiselect-wrapper" }, h("button", { key: '97d828de6991623f141f37b096cfacd3f2d71893', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '84fae0748a4ad41ad9acdd9f84914f8cb6d86a73', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '1099b73e404bff6a29affe5a9ac8d274b3043635', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: 'd3ffa065cbdb21c570d090ab5e00bb66d7f61e5b' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: '36d83fe06bdeb6fb2ec527ee00d0b4dbf516d2b4', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'fe716d3a1dd834f3e0ffa400adf5c6c739c597b4', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'e8a2854bf90c63117909679f114a33b05e90d875', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
236
236
  "duet-multiselect-checkboxes": true,
237
237
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
238
- }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '9f299cd541560553ea17e375851abb114dc8008f', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'dcf47773c56375580656437e03ccd4e0a66614e9', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '601c87eb96bfe560d68f6a8d9680278b60e1cc10', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
238
+ }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '6caec2f7891c084ce21925e0e88c89b3fb8003ad', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'e6d0bb2f3dda58a1f067f25d29f51a39a1fbacf2', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '44ed480da7790492fb59104916824512823db17b', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
239
239
  this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
240
240
  var _a, _b;
241
241
  return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
242
- })))))), h("span", { key: '40712a9ae545260e392b6bbe7fc741a8ff4981bf', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'eb59b5ccb5fa6ccff42f7b1ac44d0439874561ed' }, this.error)))));
242
+ })))))), h("span", { key: '24258b589cff6e202daaea401563647f8521ba3d', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'edbe9b532e550088d66073eeca1a521ffe478ad7' }, this.error)))));
243
243
  }
244
244
  static get is() { return "duet-multiselect"; }
245
245
  static get encapsulation() { return "shadow"; }
@@ -24,7 +24,7 @@ export class DuetNav {
24
24
  * Always the last one in the class.
25
25
  */
26
26
  render() {
27
- return (h(Host, { key: 'b2c2d87c29d07d11c1676681d1c1a60ef70ff9db' }, h("div", { key: '0f56f360c8fffa3551d9d444fd304b1631cab66e', class: { container: true, sticky: this.sticky } }, h("slot", { key: '6659d61b2bc3900452b84e6fafa8f7a8b6846af3' }), h("slot", { key: '908166b86fc4d025decbe75ba53ef2f295dc825f', name: "mobile" }), h("slot", { key: '9533b0f6f9616b5994513feeda5b82ad4316765c', name: "desktop" }))));
27
+ return (h(Host, { key: '1bd9e1c748e898763d70850e3e7995557aa70828' }, h("div", { key: '256c0acc4e956aea59eb153bc7b3bad1126501f3', class: { container: true, sticky: this.sticky } }, h("slot", { key: '64f9a6096d183ce0cbd496db4dcee65d565e15b9' }), h("slot", { key: 'b0f455061d1e7d8affab734c72b8479239184b0b', name: "mobile" }), h("slot", { key: 'dce4933ac2f67107843c4121100f7adae7a3b72f', name: "desktop" }))));
28
28
  }
29
29
  static get is() { return "duet-nav"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -43,11 +43,11 @@ export class DuetNotification {
43
43
  this.linkElement.focus(options);
44
44
  }
45
45
  render() {
46
- return (h("div", { key: '999b164ec053f239b655809385ac62d491cbe646', role: "listitem", class: {
46
+ return (h("div", { key: '49b14512d29db67c3f5bcb27f101a51fc9036fd0', role: "listitem", class: {
47
47
  "duet-notification": true,
48
48
  "duet-notification-highlight": this.highlight,
49
49
  "duet-theme-turva": this.theme === "turva",
50
- } }, h("a", { key: '009e9150c244978cdde72529920e598ad54eef61', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: 'f602b49377c616c3ccb1ad4e810d008c77f76212', class: "duet-notification-container" }, h("div", { key: '5b6cf3bebb6857f12965ff217fec94bfca532f88', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: 'b232cdf5fb9984ee48402cc9e4e6947892e1be84', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: 'd3cf499012a0dddcc0d0fbdbfd4185552984042a' }, this.accessibleLabelUnread, ":")))), h("div", { key: '4fd75a9c19bc5e6b201419cd86a85b7e2faea29e', class: "duet-notification-content" }, h("slot", { key: 'afb9864cef6b4e6cf00d96419fa3f4e563335ee5' })), h("div", { key: 'bb933ea6053bef944d3b674c976aecd2e4dd4dc9', class: "duet-notification-date" }, this.date)))));
50
+ } }, h("a", { key: '6f042207812b140e4527347593e928cc3493af31', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '2d479ec70393a50322b0ed54f2807c222dc13a1a', class: "duet-notification-container" }, h("div", { key: 'ee94c09c0cd7087c3a9012938ff8ca45d2c3a2ad', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '12c75cc56f374dbb3219009ed71e3133c2f1f490', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '63608edd5d1768c8a2963273ecaa2cf51ddf3e20' }, this.accessibleLabelUnread, ":")))), h("div", { key: '6ec5105d17c74d1cf8b29e08c5488cc14cd41377', class: "duet-notification-content" }, h("slot", { key: '9aa83e4b79fa59c4336ec10f0b3c2ba69e26b5ec' })), h("div", { key: 'cf580f03e32ff454941cf973497fe4a97066fa5d', class: "duet-notification-date" }, this.date)))));
51
51
  }
52
52
  static get is() { return "duet-notification"; }
53
53
  static get encapsulation() { return "shadow"; }