@duetds/components 10.3.0 → 10.3.1

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 (483) hide show
  1. package/hydrate/index.js +693 -301
  2. package/hydrate/index.mjs +693 -301
  3. package/lib/cjs/{a11y-utils-b27OEdFX.js → a11y-utils-dXXDBTyF.js} +1 -1
  4. package/lib/cjs/{app-globals-DhPOoPl1.js → app-globals-CyPV2FZK.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-banner.cjs.entry.js +13 -9
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +27 -12
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +15 -15
  14. package/lib/cjs/duet-card.cjs.entry.js +8 -8
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +12 -12
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  20. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +12 -12
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +4 -4
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +8 -8
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +6 -6
  31. package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
  32. package/lib/cjs/duet-hero.cjs.entry.js +9 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +18 -14
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +14 -14
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +20 -18
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -8
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
  70. package/lib/cjs/duet-slideout.cjs.entry.js +20 -18
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-textarea.cjs.entry.js +9 -9
  79. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-BlVVWFcS.js → errorcodes.utils-DQ-I8x2z.js} +1 -1
  93. package/lib/cjs/{focus-utils-DIeiBu1A.js → focus-utils-DstNW4_h.js} +1 -1
  94. package/lib/cjs/{index-CeCDgexG.js → index-B_QTwXEx.js} +1 -1
  95. package/lib/cjs/{label-BK_7MvDR.js → label-yAj5CKm3.js} +1 -1
  96. package/lib/cjs/{language-utils-BmMgyx0x.js → language-utils-DjtvVntE.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-PLQ1zjHe.js → slot-utils-YUU0XWn9.js} +1 -1
  99. package/lib/cjs/{themeable-component-DD3okLL-.js → themeable-component-h3OzJgCb.js} +1 -1
  100. package/lib/cjs/{token-utils-CaLsk40I.js → token-utils-DY3-olMV.js} +1 -1
  101. package/lib/cjs/{tokens-DWngQgYY.js → tokens-COLlUECP.js} +226 -4
  102. package/lib/cjs/{tokens.module-BMAWZwue.js → tokens.module-CTbvyezn.js} +152 -4
  103. package/lib/collection/components/duet-action-button/duet-action-button.css +1 -1
  104. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +7 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +8 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  109. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  110. package/lib/collection/components/duet-button/duet-button.css +14 -8
  111. package/lib/collection/components/duet-button/duet-button.js +20 -5
  112. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  113. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  114. package/lib/collection/components/duet-card/duet-card.css +2 -2
  115. package/lib/collection/components/duet-card/duet-card.js +3 -3
  116. package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
  117. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  118. package/lib/collection/components/duet-chip/duet-chip.css +1 -3
  119. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  120. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  121. package/lib/collection/components/duet-choice/duet-choice.css +3 -3
  122. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  123. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  124. package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
  125. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  126. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  127. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
  128. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  129. package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
  130. package/lib/collection/components/duet-date-picker/duet-date-picker.css +8 -8
  131. package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
  132. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  133. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  134. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  135. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  136. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  137. package/lib/collection/components/duet-footer/duet-footer.css +1 -1
  138. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  139. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  140. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  141. package/lib/collection/components/duet-header/duet-header.css +6 -6
  142. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  143. package/lib/collection/components/duet-hero/duet-hero.css +1 -1
  144. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  145. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  146. package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
  147. package/lib/collection/components/duet-input/duet-input.css +71 -63
  148. package/lib/collection/components/duet-input/duet-input.js +10 -6
  149. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  150. package/lib/collection/components/duet-link/duet-link.css +1 -1
  151. package/lib/collection/components/duet-link/duet-link.js +2 -2
  152. package/lib/collection/components/duet-list/duet-list.js +1 -1
  153. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  154. package/lib/collection/components/duet-logo/duet-logo.css +1 -1
  155. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  156. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  157. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -1
  158. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  159. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -1
  160. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  161. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
  162. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  163. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +1 -1
  164. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  165. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +1 -1
  166. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  167. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  168. package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -48
  169. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  170. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  171. package/lib/collection/components/duet-notification/duet-notification.css +1 -1
  172. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  173. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +1 -1
  174. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  175. package/lib/collection/components/duet-number-input/duet-number-input.css +1 -1
  176. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  177. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  178. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  179. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  180. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  181. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  182. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -9
  183. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -2
  184. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  185. package/lib/collection/components/duet-promo-card/duet-promo-card.css +8 -1
  186. package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
  187. package/lib/collection/components/duet-radio/duet-radio.css +1 -1
  188. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  189. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  190. package/lib/collection/components/duet-range-slider/duet-range-slider.css +1 -1
  191. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  192. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  193. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  194. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  195. package/lib/collection/components/duet-select/duet-select.css +20 -37
  196. package/lib/collection/components/duet-select/duet-select.js +5 -5
  197. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  198. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  199. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  200. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  201. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  202. package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
  203. package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
  204. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  205. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +1 -1
  206. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  207. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +2 -4
  208. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  209. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +1 -1
  210. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  211. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  212. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  213. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  214. package/lib/collection/components/duet-step/duet-step.css +1 -1
  215. package/lib/collection/components/duet-step/duet-step.js +2 -2
  216. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  217. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +1 -1
  218. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  219. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -1
  220. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  221. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +1 -1
  222. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  223. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +1 -1
  224. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  225. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +1 -1
  226. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  227. package/lib/collection/components/duet-tab/duet-tab.css +1 -1
  228. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  229. package/lib/collection/components/duet-tab-group/duet-tab-group.css +3 -3
  230. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  231. package/lib/collection/components/duet-table/duet-table.js +2 -2
  232. package/lib/collection/components/duet-textarea/duet-textarea.css +33 -78
  233. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  234. package/lib/collection/components/duet-toggle/duet-toggle.css +1 -1
  235. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  236. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  237. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
  238. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  239. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +1 -1
  240. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  241. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +1 -1
  242. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  243. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +1 -1
  244. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  245. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +1 -1
  246. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  247. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -2
  248. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  249. package/lib/collection/components/duet-tray/duet-tray.css +2 -2
  250. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  251. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  252. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  253. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  254. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  255. package/lib/duet/duet.esm.js +1 -1
  256. package/lib/duet/{p-f9f25386.entry.js → p-06f17fe7.entry.js} +1 -1
  257. package/lib/duet/{p-2d9e573a.entry.js → p-07b9b6c3.entry.js} +1 -1
  258. package/lib/duet/{p-831e210d.entry.js → p-0a80de40.entry.js} +1 -1
  259. package/lib/duet/{p-1eb20304.entry.js → p-0cc2921b.entry.js} +1 -1
  260. package/lib/duet/{p-137e710f.entry.js → p-0ccecf5b.entry.js} +1 -1
  261. package/lib/duet/{p-f58c0527.entry.js → p-10a326fa.entry.js} +1 -1
  262. package/lib/duet/{p-43723ce5.entry.js → p-12b2d402.entry.js} +1 -1
  263. package/lib/duet/{p-c18726af.entry.js → p-162993d2.entry.js} +1 -1
  264. package/lib/duet/{p-565bcf84.entry.js → p-162a0691.entry.js} +1 -1
  265. package/lib/duet/{p-6db9ac4d.entry.js → p-17413943.entry.js} +1 -1
  266. package/lib/duet/{p-00e0f919.entry.js → p-17c063a3.entry.js} +1 -1
  267. package/lib/duet/p-18eada94.entry.js +4 -0
  268. package/lib/duet/{p-014c965f.entry.js → p-1e168d4b.entry.js} +1 -1
  269. package/lib/duet/p-234f4365.entry.js +4 -0
  270. package/lib/duet/{p-9f941e06.entry.js → p-245c0535.entry.js} +1 -1
  271. package/lib/duet/{p-42105616.entry.js → p-25b4886a.entry.js} +1 -1
  272. package/lib/duet/{p-70d7a04d.entry.js → p-278ef4d8.entry.js} +1 -1
  273. package/lib/duet/{p-59553aa5.entry.js → p-29599dc5.entry.js} +1 -1
  274. package/lib/duet/{p-554d9373.entry.js → p-2ac11077.entry.js} +1 -1
  275. package/lib/duet/{p-713cc11f.entry.js → p-2d963ab0.entry.js} +1 -1
  276. package/lib/duet/{p-5a576bae.entry.js → p-2e126e15.entry.js} +1 -1
  277. package/lib/duet/{p-c0785349.entry.js → p-301b8664.entry.js} +1 -1
  278. package/lib/duet/{p-b7865974.entry.js → p-3a45c3a4.entry.js} +1 -1
  279. package/lib/duet/{p-408ace89.entry.js → p-3d00efb7.entry.js} +1 -1
  280. package/lib/duet/p-3d0a716c.entry.js +4 -0
  281. package/lib/duet/{p-c8f8acf7.entry.js → p-3eba33cd.entry.js} +1 -1
  282. package/lib/duet/{p-dfab71df.entry.js → p-419b96b6.entry.js} +1 -1
  283. package/lib/duet/{p-b0622412.entry.js → p-44a97d21.entry.js} +1 -1
  284. package/lib/duet/{p-4de84b4d.entry.js → p-4856f07c.entry.js} +1 -1
  285. package/lib/duet/{p-9240c039.entry.js → p-4b8293b3.entry.js} +1 -1
  286. package/lib/duet/{p-d3b4339e.entry.js → p-550bfab9.entry.js} +1 -1
  287. package/lib/duet/{p-2e967dc9.entry.js → p-5c60eca3.entry.js} +1 -1
  288. package/lib/duet/{p-32c7c0c1.entry.js → p-5c9530f1.entry.js} +1 -1
  289. package/lib/duet/{p-f31a6b2e.entry.js → p-5fb1092c.entry.js} +1 -1
  290. package/lib/duet/{p-a745eb10.entry.js → p-5fb783eb.entry.js} +1 -1
  291. package/lib/duet/{p-91370277.entry.js → p-608ebd47.entry.js} +1 -1
  292. package/lib/duet/{p-ae714f68.entry.js → p-65350441.entry.js} +1 -1
  293. package/lib/duet/{p-2981f32d.entry.js → p-67b3a01a.entry.js} +1 -1
  294. package/lib/duet/{p-098d7665.entry.js → p-690beb31.entry.js} +1 -1
  295. package/lib/duet/{p-73263349.entry.js → p-6cffc5b7.entry.js} +1 -1
  296. package/lib/duet/p-6e1b9cc8.entry.js +4 -0
  297. package/lib/duet/p-7ce31e10.entry.js +4 -0
  298. package/lib/duet/{p-ed252dd9.entry.js → p-806c4ab8.entry.js} +1 -1
  299. package/lib/duet/p-86166f8d.entry.js +4 -0
  300. package/lib/duet/{p-caf9df46.entry.js → p-898d5701.entry.js} +1 -1
  301. package/lib/duet/p-8a28f86e.entry.js +4 -0
  302. package/lib/duet/{p-8ff66f04.entry.js → p-9172ba70.entry.js} +1 -1
  303. package/lib/duet/{p-22143e3e.entry.js → p-93abd97a.entry.js} +1 -1
  304. package/lib/duet/{p-9ceede7a.entry.js → p-968546f6.entry.js} +1 -1
  305. package/lib/duet/p-B6Z_1gqI.js +4 -0
  306. package/lib/duet/p-BQVGvl4H.js +4 -0
  307. package/lib/duet/p-BUWuSkQW.js +4 -0
  308. package/lib/duet/p-CLZq8YfV.js +4 -0
  309. package/lib/duet/{p-DNW9B4-w.js → p-CW11pVgw.js} +1 -1
  310. package/lib/duet/p-Ce9HQd35.js +4 -0
  311. package/lib/duet/p-D2JvSVnG.js +4 -0
  312. package/lib/duet/{p-D8k4CqJb.js → p-D2ly4TZR.js} +1 -1
  313. package/lib/duet/p-DEzE2U5T.js +4 -0
  314. package/lib/duet/{p-Bo0igXOs.js → p-DFAnksuG.js} +1 -1
  315. package/lib/duet/{p-FlJJ5tdo.js → p-DrqQiRTn.js} +1 -1
  316. package/lib/duet/p-ELbbzMVZ.js +4 -0
  317. package/lib/duet/{p-1a28bbe1.entry.js → p-a3ad5622.entry.js} +1 -1
  318. package/lib/duet/{p-1da05915.entry.js → p-a6bec2da.entry.js} +1 -1
  319. package/lib/duet/p-a73b7110.entry.js +4 -0
  320. package/lib/duet/{p-6f08e639.entry.js → p-a8229728.entry.js} +1 -1
  321. package/lib/duet/{p-20aefca2.entry.js → p-ae778cb1.entry.js} +1 -1
  322. package/lib/duet/{p-2b489051.entry.js → p-b1d91a91.entry.js} +1 -1
  323. package/lib/duet/{p-6ff3fc39.entry.js → p-b4c18ee6.entry.js} +1 -1
  324. package/lib/duet/{p-9da7ffc9.entry.js → p-b6dc4395.entry.js} +1 -1
  325. package/lib/duet/{p-bc5b4e44.entry.js → p-b9a54319.entry.js} +1 -1
  326. package/lib/duet/{p-b8648d7a.entry.js → p-b9be36c8.entry.js} +1 -1
  327. package/lib/duet/{p-1d81fcf9.entry.js → p-bdae48d3.entry.js} +1 -1
  328. package/lib/duet/p-bdf6a296.entry.js +4 -0
  329. package/lib/duet/{p-7609417a.entry.js → p-bfc75bb9.entry.js} +1 -1
  330. package/lib/duet/p-c8d10c67.entry.js +4 -0
  331. package/lib/duet/{p-11847d3e.entry.js → p-c8e520b6.entry.js} +1 -1
  332. package/lib/duet/p-ce4d9add.entry.js +4 -0
  333. package/lib/duet/{p-e19d51b1.entry.js → p-d2e74e89.entry.js} +1 -1
  334. package/lib/duet/{p-2736a400.entry.js → p-d7506eaa.entry.js} +1 -1
  335. package/lib/duet/{p-bb0567b4.entry.js → p-d83f38c7.entry.js} +1 -1
  336. package/lib/duet/{p-a5b9e098.entry.js → p-d8bc628c.entry.js} +1 -1
  337. package/lib/duet/p-da275568.entry.js +4 -0
  338. package/lib/duet/p-dc5682d8.entry.js +4 -0
  339. package/lib/duet/{p-c23accaf.entry.js → p-de4b0518.entry.js} +1 -1
  340. package/lib/duet/p-e050ed5c.entry.js +4 -0
  341. package/lib/duet/{p-90ab8a57.entry.js → p-e9c2eb66.entry.js} +1 -1
  342. package/lib/duet/{p-e655dd7d.entry.js → p-ec5f40a5.entry.js} +1 -1
  343. package/lib/duet/{p-d36dabf1.entry.js → p-ec689a7c.entry.js} +1 -1
  344. package/lib/duet/{p-c504dc42.entry.js → p-ecf69f6d.entry.js} +1 -1
  345. package/lib/duet/p-ed750cdf.entry.js +4 -0
  346. package/lib/duet/{p-faf6d461.entry.js → p-efa1cd0b.entry.js} +1 -1
  347. package/lib/duet/{p-6ca30a68.entry.js → p-f15ab3b8.entry.js} +1 -1
  348. package/lib/duet/{p-d9963958.entry.js → p-f55f8bd9.entry.js} +1 -1
  349. package/lib/duet/{p-9fd00141.entry.js → p-f68a4a23.entry.js} +1 -1
  350. package/lib/duet/p-f71d04ce.entry.js +4 -0
  351. package/lib/duet/p-f8e26f21.entry.js +4 -0
  352. package/lib/duet/{p-3a4dcdbd.entry.js → p-fca9c5c4.entry.js} +1 -1
  353. package/lib/duet/{p-6e98887f.entry.js → p-fe00331c.entry.js} +1 -1
  354. package/lib/esm/{a11y-utils-DAo2lcPY.js → a11y-utils-D66Lzlz5.js} +1 -1
  355. package/lib/esm/{app-globals-CzrvWXbM.js → app-globals-G9KPoeGD.js} +1 -1
  356. package/lib/esm/duet-action-button.entry.js +5 -5
  357. package/lib/esm/duet-alert.entry.js +4 -4
  358. package/lib/esm/duet-badge.entry.js +5 -5
  359. package/lib/esm/duet-banner.entry.js +13 -9
  360. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  361. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  362. package/lib/esm/duet-button_2.entry.js +27 -12
  363. package/lib/esm/duet-callout.entry.js +5 -5
  364. package/lib/esm/duet-caption_4.entry.js +15 -15
  365. package/lib/esm/duet-card.entry.js +8 -8
  366. package/lib/esm/duet-checkbox.entry.js +5 -5
  367. package/lib/esm/duet-checkmark.entry.js +4 -4
  368. package/lib/esm/duet-chip.entry.js +4 -4
  369. package/lib/esm/duet-choice_2.entry.js +12 -12
  370. package/lib/esm/duet-collapsible.entry.js +6 -6
  371. package/lib/esm/duet-combobox.entry.js +5 -5
  372. package/lib/esm/duet-contact-card.entry.js +5 -5
  373. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  374. package/lib/esm/duet-date-picker.entry.js +30 -34
  375. package/lib/esm/duet-divider_2.entry.js +6 -6
  376. package/lib/esm/duet-editable-table_3.entry.js +12 -12
  377. package/lib/esm/duet-empty-state.entry.js +4 -4
  378. package/lib/esm/duet-fieldset.entry.js +6 -6
  379. package/lib/esm/duet-file-chooser.entry.js +3 -3
  380. package/lib/esm/duet-footer.entry.js +8 -8
  381. package/lib/esm/duet-grid_2.entry.js +6 -6
  382. package/lib/esm/duet-header_2.entry.js +7 -7
  383. package/lib/esm/duet-hero.entry.js +9 -9
  384. package/lib/esm/duet-icon.entry.js +7 -7
  385. package/lib/esm/duet-indicator.entry.js +5 -5
  386. package/lib/esm/duet-input_2.entry.js +18 -14
  387. package/lib/esm/duet-layout.entry.js +7 -7
  388. package/lib/esm/duet-list_2.entry.js +5 -5
  389. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  390. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  391. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  392. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  393. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  394. package/lib/esm/duet-menu-bar.entry.js +6 -6
  395. package/lib/esm/duet-modal.entry.js +14 -14
  396. package/lib/esm/duet-multiselect.entry.js +11 -11
  397. package/lib/esm/duet-nav.entry.js +3 -3
  398. package/lib/esm/duet-notification_2.entry.js +9 -9
  399. package/lib/esm/duet-number-input.entry.js +8 -8
  400. package/lib/esm/duet-overlay.entry.js +3 -3
  401. package/lib/esm/duet-page-heading.entry.js +4 -4
  402. package/lib/esm/duet-pagination_2.entry.js +18 -18
  403. package/lib/esm/duet-panel.entry.js +4 -4
  404. package/lib/esm/duet-phone-input.entry.js +4 -4
  405. package/lib/esm/duet-popup-menu_2.entry.js +20 -18
  406. package/lib/esm/duet-progress.entry.js +3 -3
  407. package/lib/esm/duet-promo-card.entry.js +13 -9
  408. package/lib/esm/duet-radio_2.entry.js +7 -7
  409. package/lib/esm/duet-range-slider.entry.js +7 -7
  410. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  411. package/lib/esm/duet-section-layout.entry.js +4 -4
  412. package/lib/esm/duet-select.entry.js +10 -10
  413. package/lib/esm/duet-shaped-image.entry.js +4 -4
  414. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  415. package/lib/esm/duet-share-chart.entry.js +8 -8
  416. package/lib/esm/duet-show-more.entry.js +5 -5
  417. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  418. package/lib/esm/duet-slideout-link.entry.js +7 -7
  419. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  420. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  421. package/lib/esm/duet-slideout.entry.js +20 -18
  422. package/lib/esm/duet-status-icon.entry.js +4 -4
  423. package/lib/esm/duet-step_2.entry.js +6 -6
  424. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  425. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  426. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  427. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  428. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  429. package/lib/esm/duet-textarea.entry.js +9 -9
  430. package/lib/esm/duet-toggle.entry.js +8 -8
  431. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  432. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  433. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  434. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  435. package/lib/esm/duet-toolbar.entry.js +4 -4
  436. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  437. package/lib/esm/duet-tooltip.entry.js +5 -5
  438. package/lib/esm/duet-tray.entry.js +6 -6
  439. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  440. package/lib/esm/duet-upload-item.entry.js +6 -6
  441. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  442. package/lib/esm/duet.js +4 -4
  443. package/lib/esm/{errorcodes.utils-DFNtyigo.js → errorcodes.utils-C6zptXiM.js} +1 -1
  444. package/lib/esm/{focus-utils-BMaSpIw7.js → focus-utils-YZ2ticmM.js} +1 -1
  445. package/lib/esm/{index-FlJJ5tdo.js → index-DrqQiRTn.js} +1 -1
  446. package/lib/esm/{label-B8qZstXv.js → label-CnTwCD-3.js} +1 -1
  447. package/lib/esm/{language-utils-D6DmVtHY.js → language-utils-BEG0cFmw.js} +1 -1
  448. package/lib/esm/loader.js +4 -4
  449. package/lib/esm/{slot-utils-CNDJ1X0N.js → slot-utils-Dzrezpl3.js} +1 -1
  450. package/lib/esm/{themeable-component-r_Tw1vqr.js → themeable-component-BLql61nC.js} +1 -1
  451. package/lib/esm/{token-utils-D46K_pN4.js → token-utils-B0KAgyj_.js} +1 -1
  452. package/lib/esm/{tokens-vvm7i9oY.js → tokens-Ce9HQd35.js} +226 -4
  453. package/lib/esm/{tokens.module-D84A7Xf6.js → tokens.module-DEzE2U5T.js} +152 -4
  454. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
  455. package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
  456. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
  457. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
  458. package/package.json +5 -5
  459. package/lib/duet/p-0c653c09.entry.js +0 -4
  460. package/lib/duet/p-0ef804e4.entry.js +0 -4
  461. package/lib/duet/p-1f2469d6.entry.js +0 -4
  462. package/lib/duet/p-30190152.entry.js +0 -4
  463. package/lib/duet/p-44d1fafb.entry.js +0 -4
  464. package/lib/duet/p-47070cce.entry.js +0 -4
  465. package/lib/duet/p-5dc3f346.entry.js +0 -4
  466. package/lib/duet/p-5dc8a394.entry.js +0 -4
  467. package/lib/duet/p-62954ecf.entry.js +0 -4
  468. package/lib/duet/p-6359eb27.entry.js +0 -4
  469. package/lib/duet/p-846b040f.entry.js +0 -4
  470. package/lib/duet/p-93bfe3dd.entry.js +0 -4
  471. package/lib/duet/p-BEzfNXw0.js +0 -4
  472. package/lib/duet/p-BZkhQa5F.js +0 -4
  473. package/lib/duet/p-BsJux4JM.js +0 -4
  474. package/lib/duet/p-Bv3O2yFB.js +0 -4
  475. package/lib/duet/p-D84A7Xf6.js +0 -4
  476. package/lib/duet/p-Dd0j805V.js +0 -4
  477. package/lib/duet/p-a4b62f2f.entry.js +0 -4
  478. package/lib/duet/p-ab939713.entry.js +0 -4
  479. package/lib/duet/p-c2572d80.entry.js +0 -4
  480. package/lib/duet/p-dZaxsCbb.js +0 -4
  481. package/lib/duet/p-f0eda0e2.entry.js +0 -4
  482. package/lib/duet/p-fc0cb6fb.entry.js +0 -4
  483. package/lib/duet/p-vvm7i9oY.js +0 -4
@@ -101,11 +101,11 @@ export class DuetPopupMenuItem {
101
101
  };
102
102
  // Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
103
103
  // This is a tradeoff and now Safari announces these items as buttons and links with the label.
104
- return (h(Host, { key: 'db95c4e9fb0aa71e489935fd47c3f7ac2ff56a19', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: '7a082c08242605aa154211c91f25932d33478543', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: 'b3a98a07f252dfe67ce170caebca0f42ab683571', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'bda00beb4a4dc78a60830870a639a01dc99fcf5f', class: "duet-popup-menu-item-label" }, h("slot", { key: '7c23f4c1c0b3ef2ff6d3cc555a0dedbbd8ffcfad' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'dca34adebe0f4c93d78b00fa32796a139a3a86b7', name: this.url && this.external
104
+ return (h(Host, { key: 'eb6acbbfccced4c0c5bdc00642932696d4664dfd', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: 'e94bf11c073da949474e06d550e077df94bd8bb1', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage, "aria-current": this.active ? "true" : undefined }, this.leadingIcon && (h("duet-icon", { key: '4083d9ff9034800978d924bc764ab10f3064ed26', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'dbfcd31c2fff06c014e86f4df2c832e9e424599f', class: "duet-popup-menu-item-label" }, h("slot", { key: 'ad0150c3fc13b2a43afaaecc3f75b99b7a2041db' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'f4a9ee09f5c6ac0d7c7a4f79dfe8eeef13f2cf26', name: this.url && this.external
105
105
  ? newWindowIcon.title
106
106
  : this.active
107
107
  ? "messaging-checked-small"
108
- : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: 'c6fc39d5f1aacf715990e749d2f559761d51344f', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
108
+ : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '89bfa872c8e0a00165bf1d591c29c0ed41b7e2a0', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
109
109
  }
110
110
  static get is() { return "duet-popup-menu-item"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -66,7 +66,7 @@
66
66
  outline-offset: 2px;
67
67
  outline-color: rgba(0, 119, 179, 0.8);
68
68
  }
69
- .duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva, .duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva {
69
+ .duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva {
70
70
  outline: 2px solid;
71
71
  outline-offset: 2px;
72
72
  outline-color: rgba(53, 79, 101, 0.8);
@@ -111,6 +111,13 @@
111
111
  box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1);
112
112
  }
113
113
 
114
+ ::slotted(.duet-heading) {
115
+ margin: inherit !important;
116
+ font-size: inherit !important;
117
+ line-height: inherit !important;
118
+ color: inherit !important;
119
+ }
120
+
114
121
  .duet-theme-turva.duet-promo-card {
115
122
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
116
123
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
- import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
6
+ import { checkNamedSlotElement, getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
7
7
  import { getColorByName, postfixTheme } from "../../utils/token-utils";
8
8
  /**
9
9
  * @slot pre-heading - Slot for pre-heading content.
@@ -42,12 +42,16 @@ export class DuetPromoCard {
42
42
  * Component lifecycle events.
43
43
  */
44
44
  componentWillLoad() {
45
+ const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
45
46
  inheritGlobalTheme(this);
46
47
  this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
47
48
  this.hasHeadingSlot = hasSlot(this.element, "heading");
48
49
  this.hasDescriptionSlot = hasSlot(this.element, "description");
49
50
  this.hasActionSlot = hasSlot(this.element, "action");
50
- checkNamedSlotElement(this.element, "heading", "span");
51
+ checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
52
+ if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
53
+ this.hasHeadingSlotNative = true;
54
+ }
51
55
  checkNamedSlotElement(this.element, "description", "span");
52
56
  }
53
57
  /**
@@ -70,12 +74,12 @@ export class DuetPromoCard {
70
74
  backgroundColor: backgroundColor ? backgroundColor : "none",
71
75
  };
72
76
  const TagName = this.url ? "a" : "div";
73
- return (h(Host, { key: '56be16710912a7b098e4c1bd75ece4275deda02e', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '8520123e09db6f31e9c0f5a5833318203a03f437', class: {
77
+ return (h(Host, { key: 'd36e73e86f96e7825e96c7730b330afa8a23c14e', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '50c45ed20c3dd5c321f20cac8f98d2ec87848f18', class: {
74
78
  "duet-promo-card": true,
75
79
  "duet-theme-turva": this.theme === "turva",
76
80
  "no-bg-color": !this.backgroundColor,
77
81
  "duet-promo-card-link": !!this.url,
78
- }, style: bannerStyles }, h(TagName, { key: 'ce219857ea16f66413f0ffe066a42e2f6c7de2b7', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h("img", { key: 'b8fd35ff9576c1c84b78a1c35fa26f0d8a7bdd83', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), h("div", { key: 'e488f6860798e150634d0bd7355bfcfdd0639099', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '50defa4cebf48f12beb6a6e25bb3b058bd4ab108', class: "pre-heading" }, h("slot", { key: '3fe0e93d82863d84d9f95b09e301ba409d959def', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: '4e7e6c68a1aca92f52e6e109216735f73d801174', class: "heading" }, h("duet-heading", { key: '2ac242af4113cff2e0aecdc7d08a5a5c576e0a83', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '9c9c3ea67f05664c74d029b1692fc861492ae803' }, h("slot", { key: '6e0d8069fdcd49bea6a9f090e195234de7ebb30f', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: 'ed90f9561b935ca29e72a2be7610815ddf7cb6f6', class: "description" }, h("duet-paragraph", { key: '50725ca77dd7bdfc626d0a04c9a312bbc26f7695', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'ab9901ea88b885a28027b12af72bf8080126407d' }, h("slot", { key: '0029e88a6d769cc0084b90c7be3035cda0a9a3b1', name: "description" }))))), this.hasActionSlot && (h("div", { key: '595080e76cbb790f9bf2cdbfcaaadd23966c596e', class: "action" }, h("slot", { key: '59d7aceeb4f3fe3e72a49a3e2bd405ab5dc043f8', name: "action" }))))))));
82
+ }, style: bannerStyles }, h(TagName, { key: '3e564c0bcfda6680953b88b4c8d78462bf938046', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h("img", { key: 'd29c458cefa1d508258c17b8ceffeb7739519bf5', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), h("div", { key: '994fb32775e2da22e3d3d28b0b7d95f115c083ec', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: 'cf3d737104fabdf6f04deef643fd06e0e0032db4', class: "pre-heading" }, h("slot", { key: 'd92602ce7cfc2b1f3c5779be9d6e735077a1deea', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'a23103a88fe437d4627a1f417e3bea353ad04851', class: "heading" }, h("duet-heading", { key: '762f79431019baecae385b2220c5dffecc326592', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '0233f85fb7b39558f901ebbdd2beda46f9679e7c' }, h("slot", { key: '57286a6f7d2527c6fa38fb8d5292b760d308ce44', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '70031569694cdefd28fb439fd790d067b56c3757', class: "description" }, h("duet-paragraph", { key: '5859eb0737fad1711d6013ce1350cb45831c3660', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'dd12525a9e8f185d607933fe4d58dd6ff2a71651' }, h("slot", { key: '0056201e47bede4761bea53b47fa621330d6fef7', name: "description" }))))), this.hasActionSlot && (h("div", { key: '2299fa55f537af1056c84adccbe7b876d7252434', class: "action" }, h("slot", { key: '3744426783f605338d6da2911e3d4bb83e899151', name: "action" }))))))));
79
83
  }
80
84
  static get is() { return "duet-promo-card"; }
81
85
  static get encapsulation() { return "shadow"; }
@@ -125,7 +125,7 @@
125
125
  outline-offset: 2px;
126
126
  outline-color: rgba(0, 119, 179, 0.8);
127
127
  }
128
- .duet-theme-turva .duet-label.focus::before, .duet-label.focus::before.duet-theme-turva, .duet-theme-turva .duet-label.focus::before, .duet-label.focus::before.duet-theme-turva {
128
+ .duet-theme-turva .duet-label.focus::before, .duet-label.focus::before.duet-theme-turva {
129
129
  outline-color: rgba(53, 79, 101, 0.8);
130
130
  }
131
131
  .duet-label.checked::after {
@@ -182,17 +182,17 @@ export class DuetRadio {
182
182
  * Always the last one in the class.
183
183
  */
184
184
  render() {
185
- return (h(Host, { key: '6319832bf6574e9cbcca45ccf509563abc980527', onClick: this.onClick, class: {
185
+ return (h(Host, { key: '14b930b9947070108e2a4e3a9f1bcc22f06383c8', onClick: this.onClick, class: {
186
186
  vertical: this.groupDirection === "vertical",
187
187
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
188
188
  "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
189
189
  "duet-m-0": this.margin === "none",
190
- } }, h("div", { key: '63a09ea5033fb6170e0b84145861ef5516af6579', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: 'e9032f840a22530acceb3fd467eeb2fd16ff3293', name: "input" }), h("label", { key: '0b07703e6b12480fbbcad9ba33feb75a8d94848b', inert: true, ref: element => (this.labelElement = element), class: {
190
+ } }, h("div", { key: 'e51255f8e4a3c72fd4082e255434783ce8163b97', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: 'a60e1e5175ba93732f3e95ecdefb9df7211d9d9d', name: "input" }), h("label", { key: '37a000f2aced8a9aa8355f355d05ba2328e77cc7', inert: true, ref: element => (this.labelElement = element), class: {
191
191
  "duet-label": true,
192
192
  checked: this.checked,
193
193
  focus: this.focus,
194
194
  disabled: this.disabled || this.groupDisabled,
195
- } }, h("div", { key: 'a9454ff3922c41c394a758d57be3c23e231122da', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
195
+ } }, h("div", { key: '58d87e1f398147f4a03b992cb9a208f2c104d217', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
196
196
  }
197
197
  static get is() { return "duet-radio"; }
198
198
  static get encapsulation() { return "shadow"; }
@@ -158,7 +158,7 @@ export class DuetRadioGroup {
158
158
  * Always the last one in the class.
159
159
  */
160
160
  render() {
161
- return (h(Host, { key: '0a4e9b973fe28ae1e8a9a583fb28df4322600d1a', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: 'e362931e7a2570013431301f59116bef1165067e', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '6c13847fc62ab32eb381e64614b1a99529d61c62', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '0a29afddf81e1e9509d4dcac854a4796bc890ae0', name: "tooltip" }), h("div", { key: 'f11622cd32c24f83dbfd9be9d28495d78d54aa34', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '5073cea332c31cc9e80b7b48297926f598b9b87b' })))));
161
+ return (h(Host, { key: 'f15d2c9272252a6f0c9b3f49adf1e6c7fa608531', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '84ae5b2b3bc30b7612b8acca406af2fb49be5b7c', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '5c23fba85c54397cf80a52af07fb82c183dd236e', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'e7469dd55b94bad35a5efc44b12f905396d70199', name: "tooltip", slot: "tooltip" }), h("div", { key: '08a75f0ab6dbdd7db89ca850e92cac18123ca6d5', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '2b9cfb92c3098f91bd7464fd6f2cf383a986c5c0' })))));
162
162
  }
163
163
  static get is() { return "duet-radio-group"; }
164
164
  static get encapsulation() { return "shadow"; }
@@ -153,7 +153,7 @@
153
153
  outline-offset: 2px;
154
154
  outline-color: rgba(0, 119, 179, 0.8);
155
155
  }
156
- .duet-theme-turva :host(.user-is-tabbing) .duet-range:focus, :host(.user-is-tabbing) .duet-range:focus.duet-theme-turva, .duet-theme-turva :host(.user-is-tabbing) .duet-range:focus, :host(.user-is-tabbing) .duet-range:focus.duet-theme-turva {
156
+ .duet-theme-turva :host(.user-is-tabbing) .duet-range:focus, :host(.user-is-tabbing) .duet-range:focus.duet-theme-turva {
157
157
  outline-color: rgba(53, 79, 101, 0.8);
158
158
  }
159
159
  .duet-ie .duet-range {
@@ -156,13 +156,13 @@ export class DuetRangeSlider {
156
156
  const rangeStyles = {
157
157
  background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
158
158
  };
159
- return (h(Host, { key: '551b6e7bcaec7d8e8603a2c969a2e5a8737d4700', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: 'a1c6b7d2b74d4643785d438612a744a645276ff9', class: {
159
+ return (h(Host, { key: '4081e812cc9da18aa9183b15de5a3197d7542c27', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: 'c1943246db143f1991069550aae9fb29814f303f', class: {
160
160
  "duet-range-container": true,
161
161
  "duet-label-hidden": this.labelHidden,
162
162
  "duet-theme-turva": this.theme === "turva",
163
163
  "duet-ie": isInternetExplorer(),
164
164
  "duet-range-disabled": this.disabled,
165
- } }, h(DuetInternalLabel, { key: 'ca4fc1236dfddc9c45432b6cf2943eacbb7b5d6f', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { key: '9f9b4fdede2ee464a1cce6a7ff2f70dc6c4b851d', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: 'c3867b976f6eefe2529e9f70f5f2c3f47ef05f0c', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
165
+ } }, h(DuetInternalLabel, { key: '9ad5374d0f942c064be6015a6797a8544c6dba96', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { key: '02b62d9bd8d03d9ee52d77ff6ed040f02c848fea', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: '420137f14758cefed168d359c3c70520cc4b3137', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
166
166
  }
167
167
  static get is() { return "duet-range-slider"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -196,10 +196,10 @@ export class DuetRangeStepper {
196
196
  * Always the last one in the class.
197
197
  */
198
198
  render() {
199
- return (h("div", { key: 'a52fee857c27100782330372c560cab649bef9da', class: {
199
+ return (h("div", { key: 'fdd61bd5ec23d7ed03aa172dc1f6d1255c7bae28', class: {
200
200
  "duet-range-stepper": true,
201
201
  "duet-theme-turva": this.theme === "turva",
202
- }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '38bb481d87ac4683a737ef36c3e44dac29e53f17', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: 'b990414c671f5f557677aef504e3964b45004ac2', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: '8fc098c8d1bc03b20cc887327638d60bc6f25ca7', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
202
+ }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: 'fc99dd6ce60fc4217c08bb2e6caee86af03ce0ef', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: '26a0071c03bbe09f805729d62eb29f5242e8e3e1', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: '92a518ce2e805c268afd621a058db60721f27c82', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
203
203
  }
204
204
  static get is() { return "duet-range-stepper"; }
205
205
  static get encapsulation() { return "shadow"; }
@@ -284,18 +284,18 @@ export class DuetScrollable {
284
284
  * Always the last one in the class.
285
285
  */
286
286
  render() {
287
- return (h(Host, { key: 'fd00a29320acf14495b6cc383e0ceac6bb267a0e', class: {
287
+ return (h(Host, { key: '16f256474e4e15cf219acd7edf26401ca3a99ea6', class: {
288
288
  "duet-theme-turva": this.theme === "turva",
289
289
  "duet-theme-default": this.theme === "default",
290
- } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '8a3d00551da83c08794cafd75727e6f682600d19', class: {
290
+ } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '7fa6f84d8f02d4e8b816eda4631bcad05167223f', class: {
291
291
  collapse: true,
292
292
  hide: !this.needsScrolling && !this.collapsed,
293
- } }, h("duet-button", { key: '691a9be72f9c971c8f5e2b9c1a1d6a22a6febb88', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '68d9e51dc211956f2c10d3734141b322203e2ca7', name: "collapse-button-label" })))), h("div", { key: 'e1768395848d8ea4bf20b2c628cc00aeca6646a2', class: {
293
+ } }, h("duet-button", { key: 'f8675f4274380f1a463ca4a868151eb76dc721b0', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: 'f259fcf694c93dc3759a4e1dcbf119e7db86e75b', name: "collapse-button-label" })))), h("div", { key: '01b0c8a9e4ba8eda9bacbc00702eda03f01cf683', class: {
294
294
  "duet-scrollable-items": true,
295
295
  buttons: this.buttons,
296
296
  center: this.center,
297
297
  "duet-theme-turva": this.theme === "turva",
298
- } }, this.buttons && this.renderButton("left"), h("div", { key: 'a50c86bb57036bb9eab884d9244956e5816e234c', class: {
298
+ } }, this.buttons && this.renderButton("left"), h("div", { key: 'a6f3a782485f864dad9e40ddc032f982c6c7073b', class: {
299
299
  "duet-scrollable-list": true,
300
300
  [`duet-scrollable-list--${this.buttonPosition}`]: true,
301
301
  [`gap-${this.gap}`]: true,
@@ -303,7 +303,7 @@ export class DuetScrollable {
303
303
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
304
304
  [`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
305
305
  "duet-scrollable-stretch": this.stretch,
306
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'b99ed10afd59b8ef4ffea3951ca0d335ed52c310' })), this.buttons && this.renderButton("right"))));
306
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'e17345b0845d35318c50ee82b7133b0f81bbac42' })), this.buttons && this.renderButton("right"))));
307
307
  }
308
308
  static get is() { return "duet-scrollable"; }
309
309
  static get encapsulation() { return "shadow"; }
@@ -24,13 +24,13 @@ export class DuetSectionLayout {
24
24
  * Always the last one in the class.
25
25
  */
26
26
  render() {
27
- return (h(Host, { key: '9b2ea75aa797ae1badc733580e0f8ad0d3db6010', class: {
27
+ return (h(Host, { key: '9e09c3c920b112b5c93c5ad6d7fa58c9c72d2bc5', class: {
28
28
  "duet-middle": this.middle,
29
29
  "duet-ie": isInternetExplorer(),
30
- } }, h("div", { key: 'bc1417fc0201040e305cc32b699694c69f36087a', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '49cf06846048f0f226bb74554237a6354b5b4ad9', class: {
30
+ } }, h("div", { key: '1610e2a09eab2ce70922b6ad5c636acc12a8791a', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '8a76c865f526d670f1fb859adcdb84832479d9c6', class: {
31
31
  "duet-layout": true,
32
32
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
33
- } }, h("section", { key: '1fe3edda6be4885c2f3ce77653be77a93eab99e9', class: "duet-main" }, h("slot", { key: '700992a648447722a971e96771b19cfb85d97802' }))))));
33
+ } }, h("section", { key: '0f91daf6934b0c2d52ede50277a47885e80ede10', class: "duet-main" }, h("slot", { key: '6998a473041513c5adbf796fe5c2ecaa3e436887' }))))));
34
34
  }
35
35
  static get is() { return "duet-section-layout"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -211,47 +211,49 @@ duet-tooltip,
211
211
  border: 0;
212
212
  opacity: 0;
213
213
  }
214
- .duet-select-wrapper select:hover + .duet-select {
214
+ .duet-select-wrapper select:hover:not(:focus) + .duet-select {
215
215
  outline: 2px solid;
216
- outline-color: rgb(98, 121, 138);
216
+ outline-color: rgb(127, 150, 165) !important;
217
217
  outline-offset: -1px;
218
- border-color: rgb(127, 150, 165);
219
218
  }
220
- .duet-theme-turva .duet-select-wrapper select:hover + .duet-select, .duet-select-wrapper select:hover + .duet-select.duet-theme-turva, .duet-theme-turva .duet-select-wrapper select:hover + .duet-select, .duet-select-wrapper select:hover + .duet-select.duet-theme-turva {
221
- outline-color: rgb(120, 145, 164);
219
+ .duet-theme-turva .duet-select-wrapper select:hover:not(:focus) + .duet-select, .duet-select-wrapper select:hover:not(:focus) + .duet-select.duet-theme-turva {
220
+ outline-color: rgb(120, 145, 164) !important;
222
221
  }
223
- .has-error .duet-select-wrapper select:hover + .duet-select {
224
- outline: 1px solid;
225
- outline-color: rgb(214, 28, 82);
222
+ .has-error .duet-select-wrapper select:hover:not(:focus) + .duet-select {
226
223
  outline-offset: -1px;
224
+ background-color: rgb(255, 240, 243) !important;
225
+ border-color: rgb(214, 28, 82) !important;
226
+ outline-width: 2px;
227
+ outline-color: rgb(214, 28, 82) !important;
227
228
  }
228
229
  .duet-select-wrapper select:focus + .duet-select {
229
230
  outline: 2px solid;
230
231
  outline-offset: 0;
231
232
  outline-color: rgba(0, 119, 179, 0.8);
232
- border-color: rgb(0, 119, 179);
233
- transition: none;
234
233
  }
235
- .duet-theme-turva .duet-select-wrapper select:focus + .duet-select, .duet-select-wrapper select:focus + .duet-select.duet-theme-turva, .duet-theme-turva .duet-select-wrapper select:focus + .duet-select, .duet-select-wrapper select:focus + .duet-select.duet-theme-turva {
234
+ .duet-theme-turva .duet-select-wrapper select:focus + .duet-select, .duet-select-wrapper select:focus + .duet-select.duet-theme-turva {
236
235
  outline-color: rgba(53, 79, 101, 0.8);
237
236
  }
238
237
  .duet-select-wrapper select:focus + .duet-select .duet-select-icon {
239
238
  color: rgb(0, 119, 179);
240
239
  }
241
240
  .has-error .duet-select-wrapper select:focus + .duet-select {
242
- outline: 1px solid;
243
- outline-color: rgb(214, 28, 82);
244
241
  outline-offset: -1px;
242
+ background-color: rgb(255, 240, 243) !important;
243
+ border-color: rgb(214, 28, 82) !important;
244
+ outline-width: 2px;
245
+ outline-color: rgb(214, 28, 82) !important;
246
+ background: rgb(255, 255, 255) !important;
245
247
  }
246
248
  .duet-select-wrapper select[disabled] {
247
249
  cursor: default !important;
248
250
  }
249
251
  .duet-select-wrapper select[disabled] + .duet-select {
250
- color: rgb(8, 42, 77) !important;
251
- cursor: default !important;
252
+ color: rgb(127, 150, 165) !important;
253
+ cursor: not-allowed !important;
252
254
  outline: none !important;
253
255
  background: rgb(245, 248, 250) !important;
254
- border-color: rgb(245, 248, 250) !important;
256
+ border-color: rgb(181, 198, 208) !important;
255
257
  opacity: 1 !important;
256
258
  -webkit-text-fill-color: rgb(8, 42, 77) !important;
257
259
  }
@@ -287,9 +289,10 @@ duet-tooltip,
287
289
  background: rgb(255, 255, 255);
288
290
  border: 1px solid rgb(127, 150, 165);
289
291
  border-radius: 4px;
290
- transition: 150ms ease;
291
292
  }
292
293
  .has-error .duet-select {
294
+ outline-offset: -1px;
295
+ background-color: rgb(255, 240, 243) !important;
293
296
  border-color: rgb(214, 28, 82) !important;
294
297
  }
295
298
  .has-error .duet-select .duet-select-icon {
@@ -359,30 +362,12 @@ duet-tooltip,
359
362
  .duet-theme-turva .duet-select-wrapper {
360
363
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
361
364
  }
362
-
363
- .duet-theme-turva .duet-select-wrapper select:hover + .duet-select {
364
- border-color: rgb(120, 145, 164);
365
- }
366
- .duet-theme-turva .duet-select-wrapper select:focus + .duet-select {
367
- border-color: rgb(23, 42, 59);
368
- }
369
365
  .duet-theme-turva .duet-select-wrapper select:focus + .duet-select .duet-select-icon {
370
366
  color: rgb(23, 42, 59);
371
367
  }
372
- .duet-theme-turva .duet-select-wrapper select[disabled] + .duet-select {
373
- color: rgb(23, 42, 59) !important;
374
- background: rgb(245, 246, 247) !important;
375
- border-color: rgb(245, 246, 247) !important;
376
- -webkit-text-fill-color: rgb(23, 42, 59) !important;
377
- }
378
-
379
- .duet-theme-turva.has-error .duet-select {
380
- border-color: rgb(214, 28, 82) !important;
381
- }
382
368
  .duet-theme-turva.has-error .duet-select .duet-select-icon {
383
369
  color: rgb(214, 28, 82) !important;
384
370
  }
385
-
386
371
  .duet-theme-turva .duet-select {
387
372
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
388
373
  color: rgb(23, 42, 59);
@@ -391,12 +376,10 @@ duet-tooltip,
391
376
  .duet-theme-turva .duet-select svg {
392
377
  color: rgb(23, 42, 59);
393
378
  }
394
-
395
379
  .duet-theme-turva .duet-select-help {
396
380
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
397
381
  color: rgb(120, 145, 164);
398
382
  }
399
-
400
383
  .duet-theme-turva.has-error .duet-select-help {
401
384
  color: rgb(214, 28, 82);
402
385
  }
@@ -197,23 +197,23 @@ export class DuetSelect {
197
197
  */
198
198
  render() {
199
199
  const identifier = this.identifier || this.selectId;
200
- return (h(Host, { key: 'd4455f68cbe21a6307b6c31fc5d1861e9b709308', class: {
200
+ return (h(Host, { key: '6937ee7615e75fb35ef3b6f1f43a4ac91fe13147', class: {
201
201
  "duet-m-0": this.margin === "none",
202
202
  "duet-expand": this.expand,
203
203
  [`duet-select-variation-${this.variation}`]: true,
204
- } }, h("div", { key: '40ddd5f7ed270fd9bbee28fe22f73087956bf129', class: {
204
+ } }, h("div", { key: 'df3ab43299a88a3560e41ac9efa1049f8cf472c6', class: {
205
205
  "duet-select-container": true,
206
206
  "duet-label-hidden": this.labelHidden,
207
207
  "duet-theme-turva": this.theme === "turva",
208
208
  [`duet-select-variation-${this.variation}`]: true,
209
209
  "duet-input-top-caption-shown": this.isCaptionVisible,
210
210
  "has-error": !!this.error,
211
- } }, h(DuetInternalLabel, { key: 'e4e51bfc77281cf1fc4f160ecd4853ecbed2d8f4', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '775a1132a55071285222eb159dab2cad6c53ed23', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'c9f5f7f6cba8f1ab8fe8b97d9bc0f477b0c0c35d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '730da616b797488390632e9736282d318d18573b', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '869eef60d494256461d86930a200bce7a1f5b6a6', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '4606845937218a919ab4b8aa8ca7d5c03cdb7b53', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: '595fe0d02b48772d88098c21cc0d4d9f67e40eee' }), h("select", { key: 'ac4a661cb6210673febb02da37f5c0f4310874db', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: '4d043e787efa622f3e396a2103439339fd2a73b8', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
211
+ } }, h(DuetInternalLabel, { key: 'eed7661618d92026e2080a232a08acfc6bbb9286', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '6c32da93490aa3bd28ed7c9dbc5c93f4ef7509b8', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'cbf1942699874feda3b94159477533fc722f9736', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'bf4bfd734e9a973d14d98c96985d46c7dd1c5ceb', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '251e263a892f221b586587aefbe55fe725ac2301', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'c55fc0f969e5fff221ff765b1a85aa81a6949ca8', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: 'a2eec6e452861fcceff707f25d390a04db8a36c8' }), h("select", { key: '3048fa80ccd46b95236fe4dfa2ce96571bcc3aed', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: 'cd9c69cc0437ec1201fee0a2ce5a401597e5fae9', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
212
212
  return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
213
- }))), h("div", { key: 'c49def1bb08120461f4f4dc48ca9d2bfc3db1dba', class: {
213
+ }))), h("div", { key: 'af172a36f2e54f6ffe90e83d561258cc8aa91d6e', class: {
214
214
  "duet-select": true,
215
215
  [`duet-select-variation-${this.variation}`]: true,
216
- }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'fea29d4166e04f520240f5d61eed6dc2a007a3b0', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '39476404793f72829c0b759d9ac21e6436e56dde', 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("duet-icon", { key: '9101a0f62cdb9392fb1c291919a9db1a951ce8fb', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'd9cd1eba5ce25f3a5d62a1cf5a91a34dde31e551', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: 'bdcb742b9b81e76d4767210a505d388b11b8a9ca', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '4b60b8d44ad7e984a2a97fdcc82383edce1efbc4', class: "duet-select-error" }, this.error)))));
216
+ }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'd8ff427b3fd8eb4d5605a7fc103f74757088364d', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5a6494284c14a3b4d35df44cb3250a827f17532d', 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("duet-icon", { key: 'ac74f1f426f66a3908be1444c828a321e4e45db2', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'e947148f3aa7b0d0f2da4db20b59d3d9be2aac44', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '39dc9f995207b67e9910b02768c532cdfbb05385', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '160c339a192e1941339eb15f1d127049b896bd9b', class: "duet-select-error" }, this.error)))));
217
217
  }
218
218
  static get is() { return "duet-select"; }
219
219
  static get encapsulation() { return "shadow"; }
@@ -33,9 +33,9 @@ export class DuetShapedImage {
33
33
  const style = {
34
34
  "--rotation": `${this.rotation}deg`,
35
35
  };
36
- return (h(Host, { key: '30bd1e8a895453ef9ba0ef177efb3d0e7dcf6e51', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '41ad8a12f4f501eeedbf68d8826fb03418d79167', class: {
36
+ return (h(Host, { key: 'a3b54614560cad8b7ebfab7fcdcd281d5cf2698d', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '70fabf21da7e7198739b45dece77a4c45ee9b297', class: {
37
37
  "shaped-image": true,
38
- }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: 'bf49040fd93cb6b26f9af4b4182b734d6f38fd1e', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'bdb6b17ad7c5f5d599d5a26d0eee16cafaf478a2', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
38
+ }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '01d1367bf5fa537aa2c6bd76499f304338cae661', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'd57e561e61e250d305d8c7ab3b4cf2bb973dafc8', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
39
39
  }
40
40
  static get is() { return "duet-shaped-image"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -63,12 +63,12 @@ export class DuetShareChart {
63
63
  this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: 'a8331a4750680d3263cbb297663da80b23a61474' }, h("div", { key: '776a72d2c016b76c0020a0336379f6f50c767108', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
66
+ return (h(Host, { key: '41d1aab509a8e28586ffb62a223378a3c2d97552' }, h("div", { key: '22552a2eae668cc0a293e61b46a10655188e2ef8', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
67
67
  .filter(i => !!i.value)
68
68
  .map(item => (h("span", { class: "duet-share-chart-share", style: {
69
69
  width: `${(item.value / this.itemsTotalValue) * 100}%`,
70
70
  backgroundColor: getColorByName(item.color, this.theme),
71
- } })))), h("ul", { key: '56ea054fcb62eb2b444f8359abb3bfd322f2f7e2', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '38276b55daac849b429a9ec4e963c2d308a66267' })));
71
+ } })))), h("ul", { key: '72a0977595b3a0145eea22372114b18be3a24a0c', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '36c475fc18913c91bb22e3eda0aa5f0c76b02cde' })));
72
72
  }
73
73
  static get is() { return "duet-share-chart"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class DuetShareChartItem {
10
10
  this.value = 0;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'd35a290305ffe6ec034caf3d8f5d21e4c85ed7b5' }, h("div", { key: '885469b4f2ea9629da7f0baed471c5034eb9e979', hidden: true }, h("slot", { key: 'b4ecc6c43546845aaffb210b38a35cdafd88b403' }))));
13
+ return (h(Host, { key: 'cfc906f48f161844e43f30fa14e0ff41939f38c6' }, h("div", { key: '526a5bf599b352d289abf6057991d0407e7a7ff6', hidden: true }, h("slot", { key: '8c8b501ea1fc3e556214a8b43afca95d24aae001' }))));
14
14
  }
15
15
  static get is() { return "duet-share-chart-item"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@
45
45
  outline-offset: 2px;
46
46
  outline-color: rgba(0, 119, 179, 0.8);
47
47
  }
48
- .duet-theme-turva .duet-show-more .content:focus, .duet-show-more .content:focus.duet-theme-turva, .duet-theme-turva .duet-show-more .content:focus, .duet-show-more .content:focus.duet-theme-turva {
48
+ .duet-theme-turva .duet-show-more .content:focus, .duet-show-more .content:focus.duet-theme-turva {
49
49
  outline: 2px solid;
50
50
  outline-offset: 2px;
51
51
  outline-color: rgba(53, 79, 101, 0.8);
@@ -136,12 +136,12 @@ export class DuetShowMore {
136
136
  * Always the last one of the class.
137
137
  */
138
138
  render() {
139
- return (h(Host, { key: '9b7b230463671d2192e210969a461b48251cae0e' }, h("div", { key: '241c4328ff06cb3582ccef14dc4798dfdfa79f9e', class: {
139
+ return (h(Host, { key: '514e5c439744a2960e711811f696d2ee9e49dba3' }, h("div", { key: '40788025130f4b8570cbacfa6371b11ea4bbdb42', class: {
140
140
  "duet-show-more": true,
141
141
  "duet-theme-turva": this.theme === "turva",
142
142
  "duet-m-0": this.margin === "none",
143
143
  open: this.open,
144
- } }, h("div", { key: 'ec5a0385c4fa9014a0d218ff6e9219be7412b0dd', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: '55832cd10199162f413b2d99a4a1d2053ac4e665', class: { "slotted-content": true } }, h("slot", { key: 'c6b5fdd8c48f8ace2e8bf1bba830c21a9e2a1bb1' }))), h("duet-button", { key: '7357d2b3e0aad58f27e4809cf8b727bee905f1e0', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: '762004e8bd6923114c75c638e6987f40e9bbf96d' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
144
+ } }, h("div", { key: '42f30cd3ffc5c33651d4d0c7e36c913eab6d8147', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'a319d301f1ed7130671aa529592270c4b708b7f9', class: { "slotted-content": true } }, h("slot", { key: '81b3e98809cee2a52c358af50383272ddebd8ee6' }))), h("duet-button", { key: '9789882dceda992bd6107cc84fa92ca4289f3679', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: '9d664617e12985187968c239189df78e3ce87a40' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
145
145
  }
146
146
  static get is() { return "duet-show-more"; }
147
147
  static get encapsulation() { return "shadow"; }
@@ -98,7 +98,7 @@
98
98
  outline-offset: 2px;
99
99
  outline-color: rgba(0, 119, 179, 0.8);
100
100
  }
101
- .duet-theme-turva .duet-slideout .dialog .top button:focus, .duet-slideout .dialog .top button:focus.duet-theme-turva, .duet-theme-turva .duet-slideout .dialog .top button:focus, .duet-slideout .dialog .top button:focus.duet-theme-turva {
101
+ .duet-theme-turva .duet-slideout .dialog .top button:focus, .duet-slideout .dialog .top button:focus.duet-theme-turva {
102
102
  outline: 2px solid;
103
103
  outline-offset: 2px;
104
104
  outline-color: rgba(53, 79, 101, 0.8);
@@ -158,12 +158,14 @@ export class DuetSlideout {
158
158
  if (this.mutationObserver) {
159
159
  this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
160
160
  }
161
- if (this.opener && typeof this.opener !== "string") {
162
- this.setOpenButton(this.opener);
163
- }
164
- else {
165
- this.setOpenButton();
166
- }
161
+ requestAnimationFrame(() => {
162
+ if (this.opener && typeof this.opener !== "string") {
163
+ this.setOpenButton(this.opener);
164
+ }
165
+ else {
166
+ this.setOpenButton();
167
+ }
168
+ });
167
169
  }
168
170
  disconnectedCallback() {
169
171
  disconnectLanguageChangeObserver(this);
@@ -294,17 +296,17 @@ export class DuetSlideout {
294
296
  };
295
297
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
296
298
  const exitTranslation = getLocaleString(this.exitLangObject);
297
- return (h(Host, { key: 'd7b06f4616c56fe0a9deb3df7218be41d262556c' }, h("div", { key: '4413b3aa5b8a3c01cc4016e3846b10dd136c393c', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'abe01c506ded568802ba19de8f24d872f81b24dd', visible: this.open, zIndex: "600" }), h("div", { key: '888233b81ba64512ccd9785b4b5a290da3a8eb43', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
299
+ return (h(Host, { key: '15926d51d888fbafb80d0c06a903dd7dda144588' }, h("div", { key: '137390c821f9878bde46d7c2ac728649efebd957', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'ecd721dba56b60c66d6f275c727c955d62cd1e3d', visible: this.open, zIndex: "600" }), h("div", { key: 'b7a642e04eed19e4fd7e36b1835d6e4c74aec27c', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
298
300
  dialog: true,
299
301
  hidden: !this.open,
300
302
  modal: this.modal,
301
- }, style: styles }, h(FocusGuard, { key: '7c2b5eb4d236ddd5b7baa9062b0ea2bd49cc5522', moveFocusTo: this.closeButton }), h("div", { key: '3635b98dc3bf6414d914c38dbbc6bc1c020dda7a', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'e6bc2f2ca5ba5f05d225b3f700eaad4a8d207ef1', class: "top" }, h("button", { key: '8bdb551c5dabba2bdbbc4a7a08ada1bfad2a8d0b', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
303
+ }, style: styles }, h(FocusGuard, { key: 'b77f1894f5398ba5a2cb46f0e03bf61b62316375', moveFocusTo: this.closeButton }), h("div", { key: '1ed24174eedb22702423e2360902d86bb5d88130', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'a5c52f4c5699fdf82e6032db15a59952c699da21', class: "top" }, h("button", { key: 'c12113cdf3c775016253f6372e5acad37e06b552', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
302
304
  "slideout-close": true,
303
305
  active: this.open,
304
306
  "duet-theme-turva": this.theme === "turva",
305
- }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '2134ec846a523228214b9ae75da36c2b52daaa63', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '915b4da81dc28d593fb081e7fb261adde35a7859', class: "sticky-header" }, h("slot", { key: '882f60d86cc80ee465f4ab6e0a46ec58103a1611', name: "sticky-header" }))), h("div", { key: '6cdddc38ce0abd27431f702054a17b971c5098c9', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
307
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: 'e19e950ae4db64d0dd6a1f5423849e4825da08f9', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '87c7d146ca56c79f17bfae9d658bf6b161724b6e', class: "sticky-header" }, h("slot", { key: 'cfe4f5cba7c3fc4e69b9d0934be5cc9062f15669', name: "sticky-header" }))), h("div", { key: 'decd4a9a7d6ebd9468f1c6b3572985120e83fabd', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
306
308
  items: true,
307
- } }, h("slot", { key: '9981a5f609c93d9b666edc3d8f13cbacbf78becc' })), h(FocusGuard, { key: 'a18fb90c02f65dde3dc192f77c5b7460e626f641', moveFocusTo: this.closeButton })))));
309
+ } }, h("slot", { key: '895e292fa85f1ec87523600aba207a414997c32f' })), h(FocusGuard, { key: 'ead70e05106da19d4ca705b9716b1f9257563373', moveFocusTo: this.closeButton })))));
308
310
  }
309
311
  static get is() { return "duet-slideout"; }
310
312
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
38
38
  */
39
39
  render() {
40
40
  const langTranslation = getLocaleString(this.chooseLangObject);
41
- return (h(Host, { key: '2c744c1b9d32b518b879daf12ffafe26ba74c43b' }, h("div", { key: 'ddb19f0b54c8a3f8680e76c8b3e565ff9c114e3b', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '09e40a1777dc671deffa188ccecfc9ce78089ecb', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: '6e35a0b19bab97a7810f90ddd99f399a60e9f3dc' }))));
41
+ return (h(Host, { key: '6236540dfcccb46cc3a8c843bb55a41f53778097' }, h("div", { key: 'a3599eb69fdf0503f8171faca040233b9bdfed06', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '414eb1bcd9833eb5c86f133a3f0755a33549f1d5', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: 'b747ac7d3d69368b38dbc39d794ee4aea592d3d6' }))));
42
42
  }
43
43
  static get is() { return "duet-slideout-lang"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -46,7 +46,7 @@
46
46
  outline-offset: 2px;
47
47
  outline-color: rgba(0, 119, 179, 0.8);
48
48
  }
49
- .duet-theme-turva .duet-slideout-link:focus, .duet-slideout-link:focus.duet-theme-turva, .duet-theme-turva .duet-slideout-link:focus, .duet-slideout-link:focus.duet-theme-turva {
49
+ .duet-theme-turva .duet-slideout-link:focus, .duet-slideout-link:focus.duet-theme-turva {
50
50
  outline: 2px solid;
51
51
  outline-offset: 2px;
52
52
  outline-color: rgba(53, 79, 101, 0.8);
@@ -77,12 +77,12 @@ export class DuetSlideoutLink {
77
77
  * Always the last one in the class.
78
78
  */
79
79
  render() {
80
- return (h(Host, { key: 'ddd58c7a2dd10eb703260af1101339c6294f9d3a' }, h("a", { key: 'e2be40572ff1c774d51cb6f8170c2e73b72948cf', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
80
+ return (h(Host, { key: '11544751fda9c0d6dd5f84af34e2f87b732d42a4' }, h("a", { key: '0a773bdb78c74a758242bd8bdfeaf3b4b9aa5b60', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
81
81
  "duet-slideout-link": true,
82
82
  "duet-theme-turva": this.theme === "turva",
83
83
  active: this.active,
84
84
  [this.size]: true,
85
- }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: 'c1f75fd56387b7811d990bc9bba9f7114f960fd5', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: '6794b7cfe9a5e985e9123a1896b9b71292955930', class: "label" }, h("span", { key: '02eef0aae26c07d79209c083769c83096aaaddf5' }, h("span", { key: '869ba809178272b72d91830a2d0544e601bcc1f8', class: "label-container" }, h("span", { key: '432f855593996fb8a470b68982662beb6cce16fd', class: "label-content" }, h("slot", { key: '8be35ac79ca5ef94119a05b9f712c24e5c6760ab' })), this.external && (h("duet-icon", { key: 'c80f5df7d3c816a6235150c3a89e9b685e3a1205', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: 'b685c8cc67e5e780536c46d949951516cdea46d1', name: "description" })), this.caret && (h("duet-icon", { key: 'c53c92133453d2421b92f8ab7ae7741c71a686e5', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
85
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '1861478a046aef9645f066fb23d1f4c912f1ef0c', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: '1dd2d3ef5f287cd454ddf9b6612e97d473b82ba9', class: "label" }, h("span", { key: '5a90dffe20806ee7b52e790f7dced30ebfb904e5' }, h("span", { key: '8ba44b556e13a4aa99d59650cfdd0e896c826111', class: "label-container" }, h("span", { key: '768831387964eaead94ddca5d1f1782bfb12223b', class: "label-content" }, h("slot", { key: 'd202274b8de9e89862986f27d070010b161a1efa' })), this.external && (h("duet-icon", { key: '6dfa5809ad21343f1b8a705406b6a436ddc0e93f', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '8222d3a0078e850548ee64ead0b4d0030e37aa3f', name: "description" })), this.caret && (h("duet-icon", { key: 'f0dd79d575afa645415a239c2a1d545d079edc84', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
86
86
  }
87
87
  static get is() { return "duet-slideout-link"; }
88
88
  static get encapsulation() { return "shadow"; }