@duetds/components 10.0.0-alpha.24 → 10.0.0-alpha.25

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 (403) hide show
  1. package/hydrate/index.js +348 -195
  2. package/hydrate/index.mjs +348 -195
  3. package/lib/cjs/{a11y-utils-CZnG1VYN.js → a11y-utils-BeS3x4Hg.js} +1 -1
  4. package/lib/cjs/{app-globals-B36JTAfq.js → app-globals-BvljEFtV.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-banner.cjs.entry.js +7 -7
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  11. package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
  14. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-header_2.cjs.entry.js +6 -5
  32. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-modal.cjs.entry.js +37 -20
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-number-input.cjs.entry.js +14 -9
  48. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
  51. package/lib/cjs/duet-panel.cjs.entry.js +53 -0
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  54. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +16 -16
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  64. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  69. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-C58jiu8o.js → errorcodes.utils-CwTzu57-.js} +1 -1
  92. package/lib/cjs/{focus-utils-tY80LFI3.js → focus-utils-Dh4b8BiX.js} +1 -1
  93. package/lib/cjs/{index-C1crwqC7.js → index-D3O_5Hr7.js} +5 -1
  94. package/lib/cjs/{label-ClSVuKQ_.js → label-8AXhdqJy.js} +1 -1
  95. package/lib/cjs/{language-utils-BtiS-RGS.js → language-utils-CMK9eR4Q.js} +1 -1
  96. package/lib/cjs/loader.cjs.js +3 -3
  97. package/lib/cjs/{slot-utils-DZVD8m30.js → slot-utils-BIdgEejh.js} +1 -1
  98. package/lib/cjs/{themeable-component-6YQpZOSC.js → themeable-component-B3llZmjN.js} +1 -1
  99. package/lib/cjs/{token-utils-CHLLcMzU.js → token-utils-DsVwGXGM.js} +75 -7
  100. package/lib/collection/collection-manifest.json +1 -0
  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 +14 -5
  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-choice-group/duet-choice-group.js +2 -2
  111. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  112. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  113. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  114. package/lib/collection/components/duet-header/duet-header.js +3 -2
  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-menu-bar-button/duet-menu-bar-button.js +2 -2
  120. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  121. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  123. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  124. package/lib/collection/components/duet-modal/duet-modal.js +96 -15
  125. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  126. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  127. package/lib/collection/components/duet-number-input/duet-number-input.js +11 -6
  128. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  129. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  130. package/lib/collection/components/duet-panel/duet-panel.js +234 -0
  131. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  132. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  133. package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
  134. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  135. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  136. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  137. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  138. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  139. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  140. package/lib/collection/components/duet-select/duet-select.js +5 -5
  141. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  142. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  143. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  144. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  145. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  146. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  147. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  148. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  149. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  150. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  151. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  152. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  153. package/lib/collection/components/duet-step/duet-step.js +2 -2
  154. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  155. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  156. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  157. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  158. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  159. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  160. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  161. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  162. package/lib/collection/components/duet-table/duet-table.js +2 -2
  163. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  164. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  165. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  166. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  167. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  168. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  169. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  170. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  171. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  172. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  173. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  174. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  175. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  176. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  177. package/lib/collection/utils/token-utils.js +59 -7
  178. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  179. package/lib/duet/duet.esm.js +1 -1
  180. package/lib/duet/{p-b8c10f92.entry.js → p-04ce95ba.entry.js} +1 -1
  181. package/lib/duet/{p-6104db31.entry.js → p-05766552.entry.js} +1 -1
  182. package/lib/duet/{p-5816e147.entry.js → p-065f7e81.entry.js} +1 -1
  183. package/lib/duet/{p-f234f837.entry.js → p-06ed84cb.entry.js} +1 -1
  184. package/lib/duet/{p-bae186c7.entry.js → p-08ed76c2.entry.js} +1 -1
  185. package/lib/duet/{p-64731e35.entry.js → p-0a448068.entry.js} +1 -1
  186. package/lib/duet/{p-b4e2e77d.entry.js → p-0dc4fe1d.entry.js} +1 -1
  187. package/lib/duet/{p-688ea42b.entry.js → p-0ebeee02.entry.js} +1 -1
  188. package/lib/duet/{p-0e288f30.entry.js → p-106d3089.entry.js} +1 -1
  189. package/lib/duet/p-15593e3e.entry.js +4 -0
  190. package/lib/duet/{p-bb468aae.entry.js → p-2057cc55.entry.js} +1 -1
  191. package/lib/duet/{p-662331c7.entry.js → p-2792ec0b.entry.js} +1 -1
  192. package/lib/duet/p-28a998f9.entry.js +4 -0
  193. package/lib/duet/{p-416cbbf6.entry.js → p-2d3d11db.entry.js} +1 -1
  194. package/lib/duet/{p-2bc683b8.entry.js → p-2e34dd28.entry.js} +1 -1
  195. package/lib/duet/{p-74d7480d.entry.js → p-30ade10d.entry.js} +1 -1
  196. package/lib/duet/{p-58bd2e53.entry.js → p-35ac072d.entry.js} +1 -1
  197. package/lib/duet/p-37222c50.entry.js +4 -0
  198. package/lib/duet/p-39169420.entry.js +4 -0
  199. package/lib/duet/{p-7dceae70.entry.js → p-3dd4fbf1.entry.js} +1 -1
  200. package/lib/duet/{p-a2a94d9a.entry.js → p-402c8cd9.entry.js} +1 -1
  201. package/lib/duet/{p-908b3a74.entry.js → p-4628e002.entry.js} +1 -1
  202. package/lib/duet/{p-c28dc621.entry.js → p-466ef37c.entry.js} +1 -1
  203. package/lib/duet/{p-32ac2068.entry.js → p-4aece4f9.entry.js} +1 -1
  204. package/lib/duet/{p-3897c6bf.entry.js → p-4ee576a2.entry.js} +1 -1
  205. package/lib/duet/p-500d799b.entry.js +4 -0
  206. package/lib/duet/{p-1c2d8dfc.entry.js → p-5564a39c.entry.js} +1 -1
  207. package/lib/duet/{p-a6173e93.entry.js → p-5848a34c.entry.js} +1 -1
  208. package/lib/duet/{p-5f18c78a.entry.js → p-5ab64521.entry.js} +1 -1
  209. package/lib/duet/{p-42539282.entry.js → p-60be3836.entry.js} +1 -1
  210. package/lib/duet/{p-7c19dac5.entry.js → p-625347d3.entry.js} +1 -1
  211. package/lib/duet/{p-db110424.entry.js → p-64ebf5e9.entry.js} +1 -1
  212. package/lib/duet/{p-3aeaed85.entry.js → p-64f8d654.entry.js} +1 -1
  213. package/lib/duet/{p-3baa3eaa.entry.js → p-652eefa8.entry.js} +1 -1
  214. package/lib/duet/{p-3cee5337.entry.js → p-65a8dd89.entry.js} +1 -1
  215. package/lib/duet/{p-2ba227ae.entry.js → p-66c7af01.entry.js} +1 -1
  216. package/lib/duet/{p-be397530.entry.js → p-67290546.entry.js} +1 -1
  217. package/lib/duet/{p-abec4876.entry.js → p-693fda6b.entry.js} +1 -1
  218. package/lib/duet/{p-545e9dd3.entry.js → p-6a6e4d82.entry.js} +1 -1
  219. package/lib/duet/{p-5018b536.entry.js → p-6aa6ce7d.entry.js} +1 -1
  220. package/lib/duet/{p-ca626317.entry.js → p-71603edd.entry.js} +1 -1
  221. package/lib/duet/{p-156d2362.entry.js → p-71a6b137.entry.js} +1 -1
  222. package/lib/duet/{p-3d8dc9a3.entry.js → p-72c2ba6b.entry.js} +1 -1
  223. package/lib/duet/p-73290da8.entry.js +4 -0
  224. package/lib/duet/{p-f6c347b4.entry.js → p-73ce0ef8.entry.js} +1 -1
  225. package/lib/duet/p-767afcf4.entry.js +4 -0
  226. package/lib/duet/{p-f4a44d9d.entry.js → p-774cf9f5.entry.js} +1 -1
  227. package/lib/duet/{p-ff564afe.entry.js → p-7a9f3475.entry.js} +1 -1
  228. package/lib/duet/{p-6cafd585.entry.js → p-7c814d9a.entry.js} +1 -1
  229. package/lib/duet/{p-038b8ea1.entry.js → p-7f1fb1a9.entry.js} +1 -1
  230. package/lib/duet/{p-88422e6a.entry.js → p-83f6beb5.entry.js} +1 -1
  231. package/lib/duet/{p-f4be7b00.entry.js → p-8596c993.entry.js} +1 -1
  232. package/lib/duet/{p-815c955b.entry.js → p-867aab83.entry.js} +1 -1
  233. package/lib/duet/p-86b74914.entry.js +4 -0
  234. package/lib/duet/{p-f4a0f95a.entry.js → p-8ed6f7c7.entry.js} +1 -1
  235. package/lib/duet/{p-bf586daf.entry.js → p-94e33308.entry.js} +1 -1
  236. package/lib/duet/p-960f95b4.entry.js +4 -0
  237. package/lib/duet/{p-66861503.entry.js → p-9973c0dc.entry.js} +1 -1
  238. package/lib/duet/{p-8a852600.entry.js → p-9a1f29ac.entry.js} +1 -1
  239. package/lib/duet/{p-6f635395.entry.js → p-9fade6a0.entry.js} +1 -1
  240. package/lib/duet/{p-b0484b68.entry.js → p-9fff2189.entry.js} +1 -1
  241. package/lib/duet/{p-CsVaeVlH.js → p-B_VBeM3r.js} +1 -1
  242. package/lib/duet/{p-DglOA-oE.js → p-BaR6ufr4.js} +1 -1
  243. package/lib/duet/p-BdUQgQFn.js +4 -0
  244. package/lib/duet/{p-uJz71_4x.js → p-DdwVwK5C.js} +1 -1
  245. package/lib/duet/p-Dr2j33H2.js +4 -0
  246. package/lib/duet/p-DyXNfxdT.js +4 -0
  247. package/lib/duet/p-DzerL_yn.js +4 -0
  248. package/lib/duet/p-KocOARXM.js +4 -0
  249. package/lib/duet/p-OdY4DjJa.js +4 -0
  250. package/lib/duet/p-T5kkooky.js +4 -0
  251. package/lib/duet/{p-D5_4M8f7.js → p-Z0D6Gy9e.js} +1 -1
  252. package/lib/duet/{p-b463cb8b.entry.js → p-a09c6e42.entry.js} +1 -1
  253. package/lib/duet/{p-41ef0467.entry.js → p-a3a2e89e.entry.js} +1 -1
  254. package/lib/duet/{p-da1914c5.entry.js → p-a440c5b3.entry.js} +1 -1
  255. package/lib/duet/{p-034efb8b.entry.js → p-a4a768bf.entry.js} +1 -1
  256. package/lib/duet/{p-1d5bdc66.entry.js → p-a72b8cf4.entry.js} +1 -1
  257. package/lib/duet/p-ab0cd4e5.entry.js +4 -0
  258. package/lib/duet/{p-9ef5fe85.entry.js → p-aefcd222.entry.js} +1 -1
  259. package/lib/duet/p-b84ac47b.entry.js +4 -0
  260. package/lib/duet/{p-218b0dc3.entry.js → p-ba0fcce1.entry.js} +1 -1
  261. package/lib/duet/p-ba2b47d3.entry.js +4 -0
  262. package/lib/duet/{p-90efef7f.entry.js → p-baeb1090.entry.js} +1 -1
  263. package/lib/duet/{p-db50a06b.entry.js → p-bcbe4d11.entry.js} +1 -1
  264. package/lib/duet/{p-caf145ea.entry.js → p-bf5fae27.entry.js} +1 -1
  265. package/lib/duet/p-c6479694.entry.js +4 -0
  266. package/lib/duet/{p-72ad01cb.entry.js → p-c8308bec.entry.js} +1 -1
  267. package/lib/duet/p-d0f3a2e6.entry.js +4 -0
  268. package/lib/duet/{p-e99bccef.entry.js → p-d28a8bc4.entry.js} +1 -1
  269. package/lib/duet/p-d2ceafd6.entry.js +4 -0
  270. package/lib/duet/{p-7bc24df3.entry.js → p-d96af9c9.entry.js} +1 -1
  271. package/lib/duet/{p-9b757818.entry.js → p-dee8ff90.entry.js} +1 -1
  272. package/lib/duet/p-e9421a0e.entry.js +4 -0
  273. package/lib/duet/p-ec6e097b.entry.js +4 -0
  274. package/lib/duet/{p-08f98123.entry.js → p-effefdec.entry.js} +1 -1
  275. package/lib/duet/{p-4427fd7d.entry.js → p-fb3b8e0f.entry.js} +1 -1
  276. package/lib/esm/{a11y-utils-ehCV15cK.js → a11y-utils-CXqm1pj1.js} +1 -1
  277. package/lib/esm/{app-globals-BWEEyeBa.js → app-globals-s-_CGo5t.js} +1 -1
  278. package/lib/esm/duet-action-button.entry.js +5 -5
  279. package/lib/esm/duet-alert.entry.js +4 -4
  280. package/lib/esm/duet-badge.entry.js +4 -4
  281. package/lib/esm/duet-banner.entry.js +8 -8
  282. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  283. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  284. package/lib/esm/duet-button_2.entry.js +13 -13
  285. package/lib/esm/duet-callout.entry.js +5 -5
  286. package/lib/esm/duet-caption_4.entry.js +14 -13
  287. package/lib/esm/duet-card.entry.js +5 -5
  288. package/lib/esm/duet-checkbox.entry.js +2 -2
  289. package/lib/esm/duet-checkmark.entry.js +4 -4
  290. package/lib/esm/duet-chip.entry.js +3 -3
  291. package/lib/esm/duet-choice_2.entry.js +6 -6
  292. package/lib/esm/duet-collapsible.entry.js +3 -3
  293. package/lib/esm/duet-combobox.entry.js +4 -4
  294. package/lib/esm/duet-contact-card.entry.js +5 -5
  295. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  296. package/lib/esm/duet-date-picker.entry.js +6 -6
  297. package/lib/esm/duet-divider_2.entry.js +5 -5
  298. package/lib/esm/duet-editable-table_3.entry.js +10 -10
  299. package/lib/esm/duet-empty-state.entry.js +2 -2
  300. package/lib/esm/duet-fieldset.entry.js +6 -6
  301. package/lib/esm/duet-file-chooser.entry.js +2 -2
  302. package/lib/esm/duet-footer.entry.js +4 -4
  303. package/lib/esm/duet-grid_2.entry.js +4 -4
  304. package/lib/esm/duet-header_2.entry.js +7 -6
  305. package/lib/esm/duet-hero.entry.js +4 -4
  306. package/lib/esm/duet-icon.entry.js +7 -7
  307. package/lib/esm/duet-input_2.entry.js +8 -8
  308. package/lib/esm/duet-layout.entry.js +2 -2
  309. package/lib/esm/duet-list_2.entry.js +4 -4
  310. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  311. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  312. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  313. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  314. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  315. package/lib/esm/duet-menu-bar.entry.js +3 -3
  316. package/lib/esm/duet-modal.entry.js +37 -20
  317. package/lib/esm/duet-multiselect.entry.js +5 -5
  318. package/lib/esm/duet-nav.entry.js +3 -3
  319. package/lib/esm/duet-notification_2.entry.js +5 -5
  320. package/lib/esm/duet-number-input.entry.js +14 -9
  321. package/lib/esm/duet-overlay.entry.js +2 -2
  322. package/lib/esm/duet-page-heading.entry.js +4 -4
  323. package/lib/esm/duet-pagination_2.entry.js +7 -7
  324. package/lib/esm/duet-panel.entry.js +51 -0
  325. package/lib/esm/duet-phone-input.entry.js +4 -4
  326. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  327. package/lib/esm/duet-progress.entry.js +3 -3
  328. package/lib/esm/duet-promo-card.entry.js +7 -7
  329. package/lib/esm/duet-radio_2.entry.js +7 -7
  330. package/lib/esm/duet-range-slider.entry.js +7 -7
  331. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  332. package/lib/esm/duet-section-layout.entry.js +4 -4
  333. package/lib/esm/duet-select.entry.js +9 -9
  334. package/lib/esm/duet-shaped-image.entry.js +4 -4
  335. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  336. package/lib/esm/duet-share-chart.entry.js +8 -8
  337. package/lib/esm/duet-show-more.entry.js +5 -5
  338. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  339. package/lib/esm/duet-slideout-link.entry.js +7 -7
  340. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  341. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  342. package/lib/esm/duet-slideout.entry.js +11 -11
  343. package/lib/esm/duet-status-icon.entry.js +3 -3
  344. package/lib/esm/duet-step_2.entry.js +6 -6
  345. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  346. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  347. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  348. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  349. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  350. package/lib/esm/duet-textarea.entry.js +8 -8
  351. package/lib/esm/duet-toggle.entry.js +6 -6
  352. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  353. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  354. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  355. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  356. package/lib/esm/duet-toolbar.entry.js +4 -4
  357. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  358. package/lib/esm/duet-tooltip.entry.js +4 -4
  359. package/lib/esm/duet-tray.entry.js +6 -6
  360. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  361. package/lib/esm/duet-upload-item.entry.js +6 -6
  362. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  363. package/lib/esm/duet.js +4 -4
  364. package/lib/esm/{errorcodes.utils-DM0J2eP4.js → errorcodes.utils-Bre55Njd.js} +1 -1
  365. package/lib/esm/{focus-utils-BSQKWOQJ.js → focus-utils-vvgYykmM.js} +1 -1
  366. package/lib/esm/{index-CsVaeVlH.js → index-B_VBeM3r.js} +5 -1
  367. package/lib/esm/{label-J3UGBylH.js → label-l-Eza5H3.js} +1 -1
  368. package/lib/esm/{language-utils-B79DRNQM.js → language-utils-B7PXWqpg.js} +1 -1
  369. package/lib/esm/loader.js +4 -4
  370. package/lib/esm/{slot-utils-DYWEum3Y.js → slot-utils-aDCRCdc4.js} +1 -1
  371. package/lib/esm/{themeable-component-CcmXnsoX.js → themeable-component-DPqozkF4.js} +1 -1
  372. package/lib/esm/{token-utils-orOLyKQw.js → token-utils-BGFYWQ6j.js} +76 -9
  373. package/lib/esm/{tokens.module-D5_4M8f7.js → tokens.module-Z0D6Gy9e.js} +1 -1
  374. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  375. package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
  376. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  377. package/lib/types/components.d.ts +111 -4
  378. package/lib/types/utils/token-utils.d.ts +4 -0
  379. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  380. package/package.json +3 -3
  381. package/lib/duet/p-0b358066.entry.js +0 -4
  382. package/lib/duet/p-11a4fb44.entry.js +0 -4
  383. package/lib/duet/p-24d04bd7.entry.js +0 -4
  384. package/lib/duet/p-3d904355.entry.js +0 -4
  385. package/lib/duet/p-3e42346e.entry.js +0 -4
  386. package/lib/duet/p-5c2e03bf.entry.js +0 -4
  387. package/lib/duet/p-70757ffa.entry.js +0 -4
  388. package/lib/duet/p-86669a06.entry.js +0 -4
  389. package/lib/duet/p-933da99a.entry.js +0 -4
  390. package/lib/duet/p-C4JF-vDv.js +0 -4
  391. package/lib/duet/p-DpD8uhf3.js +0 -4
  392. package/lib/duet/p-DyjhCDQL.js +0 -4
  393. package/lib/duet/p-R41sfCqP.js +0 -4
  394. package/lib/duet/p-SyNakUqS.js +0 -4
  395. package/lib/duet/p-aad8dac7.entry.js +0 -4
  396. package/lib/duet/p-abda9682.entry.js +0 -4
  397. package/lib/duet/p-d4a03e18.entry.js +0 -4
  398. package/lib/duet/p-d8b7a8da.entry.js +0 -4
  399. package/lib/duet/p-ee3ca3a8.entry.js +0 -4
  400. package/lib/duet/p-ef3083e7.entry.js +0 -4
  401. package/lib/duet/p-f237085e.entry.js +0 -4
  402. package/lib/duet/p-wJIv584C.js +0 -4
  403. package/lib/duet/p-ymqr0QD0.js +0 -4
@@ -456,14 +456,14 @@
456
456
  .duet-button.plain.duet-p-0 .duet-button-contents {
457
457
  height: auto;
458
458
  }
459
- .duet-button.plain[disabled] {
459
+ .duet-button.plain[disabled], .duet-button.plain[disabled]:hover {
460
460
  color: rgb(98, 121, 138) !important;
461
461
  cursor: not-allowed;
462
462
  background: transparent !important;
463
463
  border-color: transparent !important;
464
464
  }
465
- .duet-theme-turva .duet-button.plain[disabled] {
466
- color: transparent !important;
465
+ .duet-theme-turva .duet-button.plain[disabled], .duet-theme-turva .duet-button.plain[disabled]:hover {
466
+ color: rgb(113, 118, 132) !important;
467
467
  cursor: not-allowed;
468
468
  background: transparent !important;
469
469
  border-color: rgb(222, 224, 228) !important;
@@ -665,9 +665,11 @@
665
665
  color: rgb(255, 255, 255) !important;
666
666
  }
667
667
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover {
668
- color: rgba(255, 255, 255, 0.8) !important;
668
+ color: #8c001e !important;
669
669
  }
670
- :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled] {
670
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover {
671
+ color: #5f7a8f !important;
672
+ background: transparent !important;
671
673
  border-color: #fbe1d1 !important;
672
674
  }
673
675
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.square {
@@ -681,6 +683,13 @@
681
683
  border-color: #e61740;
682
684
  outline-color: #e61740;
683
685
  }
686
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover, :host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover {
687
+ color: #7891a4 !important;
688
+ cursor: not-allowed;
689
+ background: #d4dde2 !important;
690
+ border-color: #d4dde2 !important;
691
+ outline-color: #d4dde2 !important;
692
+ }
684
693
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default {
685
694
  color: #e61740;
686
695
  }
@@ -257,12 +257,12 @@ export class DuetButton {
257
257
  // enforce consistency for external links
258
258
  const icon = isExternalLink ? "action-new-window" : this.icon;
259
259
  const iconRight = isExternalLink ? true : this.iconRight;
260
- const commonChildren = (h("span", { key: 'dad881c4e315cee7e2fa16020ab44f3b8518ce8b', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (h("span", { key: '08d196d1bc190ccb57d8f4961a78e1999f69a6f1', "aria-hidden": "true", class: {
260
+ const commonChildren = (h("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
261
261
  "duet-button-icon": true,
262
262
  left: !iconRight,
263
263
  right: iconRight,
264
264
  [this.getButtonIconSize()]: true,
265
- } }, h("duet-icon", { key: '24ffeda883152bfe0123a828ed037aa7bdf365aa', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '60cbc950fc893b105e13e98769341697d3065e87', class: "duet-button-contents-slot" }, h("slot", { key: '236c0748e32a96046fe4bf1c79b6822ebf5c0b9d' }))));
265
+ } }, h("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, h("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
266
266
  const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
267
267
  const commonProps = {
268
268
  onFocus: this.onFocus,
@@ -297,7 +297,7 @@ export class DuetButton {
297
297
  "aria-details": this.accessibleDetails,
298
298
  "aria-description": this.accessibleDescription,
299
299
  };
300
- return (h(Host, { key: '2f71565d21679c2161cbebaa8b3bfaa7aa4183a0', class: {
300
+ return (h(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
301
301
  "duet-m-0": this.margin === "none",
302
302
  "duet-small": this.size === "small",
303
303
  "duet-x-small": this.size === "x-small",
@@ -305,13 +305,13 @@ export class DuetButton {
305
305
  "duet-expand": this.expand,
306
306
  [this.variation]: true,
307
307
  "input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
308
- } }, h("span", { key: '2a2d449975f67608f602eaca489e4ff865496ed8', onClick: this.handleClick, class: {
308
+ } }, h("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
309
309
  "duet-button-container": true,
310
310
  "duet-button-is-loading": this.loading,
311
311
  "duet-theme-turva": this.theme === "turva",
312
312
  "duet-button-negative": this.negative || this.variation === "negative",
313
313
  [this.variation]: true,
314
- } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'e27fdd855b9191cdd22c9b74746f3144890d3837', color: "currentColor" })), h("slot", { key: '5f1fec755bfdf56ed261b893fa647308c1e21a7f', name: "proxybutton" })));
314
+ } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), h("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
315
315
  }
316
316
  static get is() { return "duet-button"; }
317
317
  static get encapsulation() { return "shadow"; }
@@ -37,11 +37,11 @@ export class DuetCallout {
37
37
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
38
38
  </svg>
39
39
  `;
40
- return (h(Host, { key: '7b43cc9fece7d0d99bf82608e9b6589f3ed8b489' }, h("div", { key: '4c4445772fddecce9a44303683db307de0023e93', class: {
40
+ return (h(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, h("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
41
41
  "duet-callout": true,
42
42
  "duet-theme-turva": this.theme === "turva",
43
43
  "duet-m-0": this.margin === "none",
44
- } }, h("figure", { key: 'f41e9f1c7185f653cc0c0934563f3627858b7d1a', class: "container" }, h("duet-icon", { key: '096ced2368e55130723c70f850d3b5fea5779596', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: 'ff2cab036cc8125ba9a68c8c3647b03335579910' }, h("slot", { key: 'c55b341a7d23dde596da8c047efdbd12ef4d654f' })), this.hasAuthorSlot && (h("figcaption", { key: '3c3b17738471cdec3c2212bd739ff3603805dadf', class: "author" }, h("span", { key: '7a2db6782d7207601063befe44ac0975d7e9a155' }, "\u2014 "), h("slot", { key: '45e20af337cd8917a6b382e99810b719be56a106', name: "author" })))))));
44
+ } }, h("figure", { key: 'eb03690c450a0d767e18bffdbce24d83e3334e65', class: "container" }, h("duet-icon", { key: '1695f3f5c59f29b3497a9df3269e791bc19095a6', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '6297aefa621ef90e3cb100bcfd07c798cf9b378a' }, h("slot", { key: '14186875763fbf1989d9de9cb90706be15de8508' })), this.hasAuthorSlot && (h("figcaption", { key: 'c17e4fe83fb3c067c4c91369ee6d80a2a6abf3a8', class: "author" }, h("span", { key: 'fac4c2303e1ff78e28fd1538ab43d1b19e84610f' }, "\u2014 "), h("slot", { key: '648acac653c20369d7d52a5537c43175cb4dbd5d', name: "author" })))))));
45
45
  }
46
46
  static get is() { return "duet-callout"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -33,11 +33,11 @@ export class DuetCheckmark {
33
33
  inheritGlobalTheme(this);
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: 'c1a7b6ac64ad31e1f0b758a02c8c47eaab39af2a', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '14ec22df27a107b2928206d6ae43a7f2ebf6e65c', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'ca6409ae1e39334a9bac2dc6d76a3c566a3bb5fd', class: {
36
+ return (h(Host, { key: '9a2512992413ec797c17d55d2a41908cda0e6307', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'f95a151961586c89597dd2d31436deecc0cabf4d', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '42f1b50012a17910a3c1d91bac31bfc370c73abf', class: {
37
37
  "duet-checkmark-container": true,
38
38
  center: this.center,
39
39
  "duet-checkmark-radio": this.type === "radio",
40
- } }, this.checked && h("div", { key: '4d54d9054d040beff0af5e51406ca38dc670a775', class: "duet-checkmark" })))));
40
+ } }, this.checked && h("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
41
41
  }
42
42
  static get is() { return "duet-checkmark"; }
43
43
  static get originalStyleUrls() {
@@ -174,14 +174,14 @@ export class DuetChoiceGroup {
174
174
  * Always the last one in the class.
175
175
  */
176
176
  render() {
177
- return (h(Host, { key: 'c699b4df66f0ac662a9c33eb7231a79f0069e352', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
177
+ return (h(Host, { key: 'd339b389eb4a7e9867dc0646ad760bce3e835714', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
178
178
  horizontal: this.direction === "horizontal",
179
179
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
180
180
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
181
181
  "duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
182
182
  "duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
183
183
  "duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
184
- } }, h("duet-fieldset", { key: '0a9a5912428d739275b51fbdb8a9f20976e06921', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '684d19b9020aff9c6b5f11ec396d9373e2a867d7', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '010185093598a5b96b05756c6747a976164a80fb', name: "tooltip" }), h("div", { key: '0ccba32a863f027d1f5540bdf3c5820091e92339', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '9324a39a1b862a7043a328f72b12ee7407c01634' })))));
184
+ } }, h("duet-fieldset", { key: '00a0c17d4dda00d8482933db51e713995820d82d', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '3d4ef32226b7f822175c071479f2e3339fbfdf6b', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '89e8ef0c51e053463d12ed01ba61b814b28623ec', name: "tooltip" }), h("div", { key: 'a86be50bed561647750f76764f9998567360318d', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '629c8b4458323f78742eedebe2807010079ccec0' })))));
185
185
  }
186
186
  static get is() { return "duet-choice-group"; }
187
187
  static get encapsulation() { return "shadow"; }
@@ -47,10 +47,10 @@ export class DuetContactCard {
47
47
  render() {
48
48
  const isTurva = this.theme === "turva";
49
49
  const theme = isTurva ? "turva" : "default";
50
- return (h(Host, { key: '3272d27bcc10144d216c6d1863ea9cc637a3401b', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '88be6baa9a043ccc67ad98e26d31739f1d7c9945', class: {
50
+ return (h(Host, { key: 'a08fac4daef7586a885d4556d27260feb027d4fb', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd70cc29e06be46210e3150661f16bcf19fab27b1', class: {
51
51
  "duet-contact-card": true,
52
52
  "duet-theme-turva": this.theme === "turva",
53
- }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '2e24ce61855b99588153a21aaa99c5dac76c4825' }, this.name && (h("duet-heading", { key: '6422b20608bca5107c55c9d18586066d466c6fa6', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'e599cd8245a9baaf9423394e834a85e1a48f16bd', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '98d53e8ed97c94b29f56043cebd189d2130f95db', class: "email" }, h("duet-icon", { key: '4ba40279d941e793851a38e9488eff00834bfd22', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'c05eccbe5c086a75ceeab7dc323ad7eb7c2c94d1', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '63f8b9f6fe184471111264ec7d57260db9065f37', class: "phone" }, h("duet-icon", { key: '316263ef35741264d50e7787126957fa2239a335', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '82999e5314d5939680b98d89c967828206f6b528', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'a411e780af5967096932c4af4ff2a6243e054dc6', class: "call-to-action" }, h("duet-button", { key: 'e9a5d840f63ea79f8e976009f4bea709326bb720', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: 'b8950e2e0f56c3cd06ba040fa76bec66effb5976' }), h("slot", { key: 'acd4890b04569ddce558b8a6fd873e08946df8bb' }))));
53
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '4cde139368ebb252e83638d0634671f2167b14a0' }, this.name && (h("duet-heading", { key: 'c91fe7f5ef066de893cfa2fb4018e9b17e5e66af', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '9ef8bdab5f11c125115cfa147428327131e6086a', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'd07bbb21d8963247655a3b172e26c9f1becc2fd2', class: "email" }, h("duet-icon", { key: 'd25b13911b29302d0eabc8f715e13ff59b473c7f', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '2765a6cbc0fb671c3cb8a37d7ac2fe578f369cfe', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'fcbed4d2a82ed0ee1e90665f5e42f10bfdcaf344', class: "phone" }, h("duet-icon", { key: '17233a8a4863c68255e207c23de3667437bd1177', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '0a49811728ddfd13096701fe9d33c54722554107', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'eb199cf8f4f83cb7ebebbfb2e791c78b6424091e', class: "call-to-action" }, h("duet-button", { key: 'c8e0d2d72d5b15a74b0d7fd79a595c6ffddf6f7e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '5e2f0915b883c85ad3bca3f54b62347af8250749' }), h("slot", { key: '388383ea2ca2a756a28d13bdbf521cd85094526a' }))));
54
54
  }
55
55
  static get is() { return "duet-contact-card"; }
56
56
  static get encapsulation() { return "shadow"; }
@@ -71,20 +71,20 @@ export class DuetFieldset {
71
71
  * Always the last one in the class.
72
72
  */
73
73
  render() {
74
- return (h(Host, { key: 'cd6c5c663bfac687b8af1150658e9bc9e2866719', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '2586b5ed0c097d34267da9945bddab85d36d32de', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
74
+ return (h(Host, { key: 'c761c38f09035452c65fd2a660bc83eb9f0325a7', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'c62cd3a0354883251b153612cd9a685059205638', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
75
75
  // NVDA and VoiceOver do not yet support aria-errormessage
76
76
  // once they do, we can remove errors from the aria-describedby
77
77
  // aria-errormessage={this.error ? this.errorId : null}
78
78
  class: {
79
79
  "duet-fieldset": true,
80
80
  "duet-theme-turva": this.theme === "turva",
81
- } }, h("legend", { key: 'b1a3128ea5cbcf5a416562cb0642275587a1e58d', id: this.labelId }, h(this.labelHeadingLevel, { key: '3a4e0978acf8c9a89fd93e121c8a0cf1d6caabe7' }, this.label), this.caption && h("span", { key: '09c1786e15eb127dc6e1aa9c48084ffaaa54a70b' }, this.caption)), h("div", { key: '4b55a73deb44c934699ee6af1ed49f2339f036c8', class: {
81
+ } }, h("legend", { key: 'a67feca7ba42a9de83e3eacfa41bb9c53de0185d', id: this.labelId }, h(this.labelHeadingLevel, { key: '98598e545d1ac5d30cead1818c2831285e21fd59' }, this.label), this.caption && h("span", { key: '44d72ba880fb2ba4b2e9826389ca0b23a4c09446' }, this.caption)), h("div", { key: 'd6680f823096d1510778845d46bcf10f3070064c', class: {
82
82
  "duet-legend-wrapper": true,
83
83
  "duet-legend-has-caption": !!this.caption,
84
84
  "duet-legend-has-tooltip": this.hasTooltip,
85
85
  "duet-legend-hidden": this.labelHidden,
86
86
  "duet-legend-compact": this.compactLabel,
87
- } }, h("div", { key: 'b87ddef8f9373fad104a4eee49ff9d7983407314', class: "duet-fieldset-label" }, h("span", { key: '84d18e50d219fe9b4ce6d6d03068260f66bbbb13', "aria-hidden": "true" }, this.label), h("slot", { key: '4aa129b64173a74dbe96683f98d0d7ddfe69c127', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '6bb867cb3c26d53bd8601729e87c5d32a8682d4a', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'e1d4e178c0292dd8f409b45b04f8af30f8dd36e6', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '094a1cce9f3346ad27331e4e9b33443e7cfc666a' }), h("span", { key: 'fa3b0c5d05e7acf22c9d6ff005164567b8c43f20', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'a731c1c071f24d69ffd89a16f9759a2f8c48b7bc', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
87
+ } }, h("div", { key: '126ab7bb76240a4da7d9b647955a8a804875e375', class: "duet-fieldset-label" }, h("span", { key: 'ff60e083f1776471163c59d196d5a98e32279456', "aria-hidden": "true" }, this.label), h("slot", { key: '06eb238c6e9921dca17ca43ae38a1de2351af119', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '5a7a0bcb4167f6ffbf89880060e05f82e032012b', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '7781c0787fe4ff082d80e9bc2e7ea2280da13d7e', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'd6227947f219d39ca25e5a3ac582e4459e58d504' }), h("span", { key: 'ecf7f364237951e9bceacf067e854118b5676009', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'e7a456498d709f36eba051c5ce891f5b9b39c5fb', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
88
88
  }
89
89
  static get is() { return "duet-fieldset"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class DuetGridItem {
53
53
  * Always the last one in the class.
54
54
  */
55
55
  render() {
56
- return (h(Host, { key: '18d9a9b7229ad1f9a982e7db464174d80fd54010', style: {
56
+ return (h(Host, { key: '116018aebb0122341885d5c189c49e80651a9c8d', style: {
57
57
  "min-width": this.minWidth,
58
58
  "max-width": this.maxWidth,
59
59
  }, class: {
@@ -70,7 +70,7 @@ export class DuetGridItem {
70
70
  "duet-grid-item-br-medium": this.breakpoint === "medium",
71
71
  "duet-grid-item-br-large": this.breakpoint === "large",
72
72
  "duet-grid-item-br-x-large": this.breakpoint === "x-large",
73
- } }, h("slot", { key: '6325019d12132b553bd3e6ee18b544bdb7b316e0' })));
73
+ } }, h("slot", { key: '8f0abe7f48298866dc52e646b8d08bbeaf4ce234' })));
74
74
  }
75
75
  static get is() { return "duet-grid-item"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -15,6 +15,7 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
15
15
  import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEscapeKey, isSpaceKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
16
16
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
17
17
  import { parsePossibleJSON } from "../../utils/string-utils";
18
+ import { postfixTheme } from "../../utils/token-utils";
18
19
  import { DuetHeaderDropdown } from "./duet-header-dropdown";
19
20
  import { DuetHeaderHamburger } from "./duet-header-hamburger";
20
21
  import { DuetHeaderIcon } from "./duet-header-icon";
@@ -516,7 +517,7 @@ export class DuetHeader {
516
517
  const skipToLabel = () => this.skipToId ? (h("a", { href: this.skipToId, class: "duet-header-skip", onClick: this.handleSkipClick }, skipLabel)) : null;
517
518
  const logo = () => (h("duet-logo", { href: this.logoHref, size: "medium", ref: el => (this.logoEl = el), language: this.language, theme: this.theme, onClick: this.handleLogoClick }));
518
519
  const largeLogo = () => (h("duet-logo", { href: this.logoHref, size: "large", ref: el => (this.logoEl = el), language: this.language, theme: this.theme, onClick: this.handleLogoClick }));
519
- const contactDropdown = () => this.contact && this.processedContactItems ? (h(DuetHeaderDropdown, { id: "duet-header-contact", label: this.contact, icon: contactDropdownIcon.svg, active: this.isContactOpen, isOpen: this.isContactOpen, badge: false, toggleRef: el => (this.contactItemsButtonEl = el), itemsRef: el => (this.contactItemsEl = el), onToggle: event => this.toggleMenu(event, "contact") }, this.processedContactItems.map(item => (h("a", { role: "menuitem", href: item.href || "#", id: item.id, onClick: event => this.handleContactClick(event, item), onKeyDown: ev => this.handleArrowKeys(ev), target: item.external ? "_blank" : "_self" }, item.label, Build.isBrowser && item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-header-link-external" }, h("duet-icon", { name: "action-new-window-small", size: "xx-small", margin: "none", color: this.theme === "turva" ? "primary-turva" : "primary" }))))))))) : null;
520
+ const contactDropdown = () => this.contact && this.processedContactItems ? (h(DuetHeaderDropdown, { id: "duet-header-contact", label: this.contact, icon: contactDropdownIcon.svg, active: this.isContactOpen, isOpen: this.isContactOpen, badge: false, toggleRef: el => (this.contactItemsButtonEl = el), itemsRef: el => (this.contactItemsEl = el), onToggle: event => this.toggleMenu(event, "contact") }, this.processedContactItems.map(item => (h("a", { role: "menuitem", href: item.href || "#", id: item.id, onClick: event => this.handleContactClick(event, item), onKeyDown: ev => this.handleArrowKeys(ev), target: item.external ? "_blank" : "_self" }, item.label, Build.isBrowser && item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-header-link-external" }, h("duet-icon", { name: "action-new-window-small", size: "xx-small", margin: "none", color: postfixTheme("primary", this.theme) }))))))))) : null;
520
521
  const languageDropdown = () => this.language && this.processedLanguageItems ? (h(DuetHeaderDropdown, { id: "duet-header-language", label: this.language, icon: languageIcon.svg, accessibleText: `${changeLanguage}${this.hasLanguageChanged ? `, ${activeLanguage}` : ""}`, active: this.isLanguageOpen, isOpen: this.isLanguageOpen, badge: false, toggleRef: el => (this.languageItemsButtonEl = el), itemsRef: el => (this.languageItemsEl = el), onToggle: event => this.toggleMenu(event, "language") }, this.processedLanguageItems.map(item => (h("a", { class: { active: this.language === item.country }, "aria-selected": this.language === item.country, role: "menuitem", id: item.id, lang: item.country, href: item.href || "#", onClick: event => this.handleLanguageClick(event, item), onKeyDown: this.handleArrowKeys }, item.label))))) : null;
521
522
  const processedUserWithLink = () => this.processedUser && this.processedUser.href ? (h("a", { href: this.processedUser.href || "#", id: this.processedUser.id, class: "duet-header-user duet-header-button", onClick: this.handleUserClick }, h(DuetHeaderIcon, { icon: userIcon.svg }), h("span", { class: "duet-header-user-label" }, this.processedUser.label))) : null;
522
523
  const processedUserWithoutLink = () => this.processedUser && !this.processedUser.href ? (h("span", { id: this.processedUser.id, class: "duet-header-user duet-header-button duet-header-no-action" }, h(DuetHeaderIcon, { icon: userIcon.svg }), h("span", { class: "duet-header-user-label" }, this.processedUser.label))) : null;
@@ -530,7 +531,7 @@ export class DuetHeader {
530
531
  "duet-theme-turva": this.theme === "turva",
531
532
  "duet-header-back": true,
532
533
  "duet-header-inactive": true,
533
- }, part: "header" }, h("div", { class: "duet-header-top" }, skipToLabel(), h("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: this.theme === "turva" ? "secondary-turva" : "secondary", icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), h("slot", { name: "logo-utility" }))))));
534
+ }, part: "header" }, h("div", { class: "duet-header-top" }, skipToLabel(), h("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: postfixTheme("secondary", this.theme), icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), h("slot", { name: "logo-utility" }))))));
534
535
  }
535
536
  const itemsHaveSubItems = this.processedItems && this.processedItems.some(item => item.items && item.items.length > 0);
536
537
  const isSecondLevelActive = this.processedItems &&
@@ -144,11 +144,11 @@ export class DuetIcon {
144
144
  : {};
145
145
  const iconStyles = Object.assign({}, iconRotationStyles);
146
146
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
147
- return (h(Host, { key: '76f73c7dca17d692bbeb97384c1e73d91167da94', class: {
147
+ return (h(Host, { key: '2f6837b926530cee2afc83a590aa1ccb0dfeca03', class: {
148
148
  "duet-m-0": this.margin === "none",
149
149
  "duet-icon-has-outline": !!this.outline,
150
150
  "duet-icon-has-background": !!this.background,
151
- } }, h("span", { key: '9b05a63c459de0c823aad5bb4995737b2991e746', "aria-hidden": "true", style: styles, class: {
151
+ } }, h("span", { key: '6fa86044b5f3966537f38590bd12b28b698a080b', "aria-hidden": "true", style: styles, class: {
152
152
  "duet-icon": true,
153
153
  "duet-theme-turva": this.theme === "turva",
154
154
  "duet-theme-default": this.theme === "default",
@@ -157,7 +157,7 @@ export class DuetIcon {
157
157
  [shapeStyle]: true,
158
158
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
159
159
  "duet-icon-not-responsive": !this.responsive,
160
- } }, h("span", { key: 'd12bceed54d5f4e6299fe854626e831014851622', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
160
+ } }, h("span", { key: '4ba33bca7da0ccbc0f11b1b5693e7912d0a0d45d', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
161
161
  }
162
162
  static get is() { return "duet-icon"; }
163
163
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class DuetLabel {
42
42
  if (Build.isServer) {
43
43
  return;
44
44
  }
45
- const color = getColorByName(this.color);
45
+ const color = getColorByName(this.color, this.theme);
46
46
  return (h(Host, { class: {
47
47
  "duet-label": true,
48
48
  "duet-label-small": this.size === "small",
@@ -178,12 +178,13 @@ export class DuetLink {
178
178
  * Always the last one in the class.
179
179
  */
180
180
  render() {
181
- const Tag = !this.url ? "button" : "a";
181
+ const Tag = !this.url && this.variation !== "default" ? "button" : "a";
182
+ const role = !this.url && this.variation === "default" ? "button" : null;
182
183
  const isButton = Tag === "button";
183
- return (h(Host, { key: 'e3b157ccb9d11b818957ca23817aecb0fa14588e', class: {
184
+ return (h(Host, { key: 'eae1c61afe3b8413b109313020b9757cfe7f2e42', class: {
184
185
  [`duet-link-${this.variation}`]: true,
185
186
  "duet-m-0": this.margin === "none",
186
- } }, h(Tag, { key: '11b086047abdc814b8816e64268128d831fd84c0', href: this.url, class: {
187
+ } }, h(Tag, { key: '973984aeb4ef7dd331df49218b1552a4955b80c2', href: this.url, class: {
187
188
  "duet-link": true,
188
189
  "duet-link-is-external": this.external,
189
190
  "duet-link-is-download": !!this.download,
@@ -194,7 +195,7 @@ export class DuetLink {
194
195
  "duet-p-0": this.padding === "none",
195
196
  [this.padding]: true,
196
197
  [this.variation]: true,
197
- }, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
198
+ }, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined, role: role }, this.renderContent())));
198
199
  }
199
200
  static get is() { return "duet-link"; }
200
201
  static get encapsulation() { return "shadow"; }
@@ -34,7 +34,7 @@ export class DuetListItem {
34
34
  * Always the last one in the class.
35
35
  */
36
36
  render() {
37
- return (h(Host, { key: '2ea81e262bcaf94d3251db09d246c4c647857210', class: {
37
+ return (h(Host, { key: '47185c0399f547a7d80ac43adf617b617e33e604', class: {
38
38
  "duet-theme-turva": this.theme === "turva",
39
39
  "duet-no-stacking": !this.responsive,
40
40
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
@@ -42,7 +42,7 @@ export class DuetListItem {
42
42
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
43
43
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
44
44
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
45
- } }, h("dt", { key: '4d3bfaea430a2d1a06d271b685c1474724d5cf75' }, h("slot", { key: 'dfe274b441d097022049103369ca4b07e22ac567', name: "label" })), h("dd", { key: '67a4902f2ed46357f47d185e12cd10abba4fef60' }, h("slot", { key: '5af5e6f427b8673d4aa282063b98c4f797247693', name: "value" }))));
45
+ } }, h("dt", { key: '6ae3c144789f6f61efd296b660b88b180a5e0e38' }, h("slot", { key: 'c33e76c13b822b05a938e421d6eb53ef95e403f7', name: "label" })), h("dd", { key: '31bda43d4a91ec3b4a44746a0ddde2f7b91845c2' }, h("slot", { key: 'c1ce54a0b9a7dd7256a7dcf3a32bef70bb063621', name: "value" }))));
46
46
  }
47
47
  static get is() { return "duet-list-item"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -49,10 +49,10 @@ export class DuetMenuBarButton {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: '10625574045c3473cbd4b14cff1dbb559f011d36', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '489e6d9c6954ab615a0da03ce8e97a60178a00fa', ref: button => (this.nativeButton = button), class: {
52
+ return (h(Host, { key: '5e64c2ede59d8e16972663cace2e98dffca3a060', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '362525c4f563bd1a5ffad7b8fee029d904fb72c8', ref: button => (this.nativeButton = button), class: {
53
53
  "duet-menu-bar-button": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
- }, "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: 'f1df08b19b5da34664112330d91e5505378531e0', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '4f0974a460336476540a9831203f65bb4c2fe895' }))));
55
+ }, "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: '439d74e7bdfb1396a7c1e2940c3bcf142c3150b6', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '61a36d95ee1b2962b3f966dc99678c7e00c00692' }))));
56
56
  }
57
57
  static get is() { return "duet-menu-bar-button"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -62,17 +62,17 @@ export class DuetMenuBarDropdown {
62
62
  * Always the last one in the class.
63
63
  */
64
64
  render() {
65
- return (h(Host, { key: '67715fe3c6453ddeefd413f7663ad2e4241fa938', role: "listitem" }, h("div", { key: '6689572c8887e53a99588bb99302cd10081b7376', class: {
65
+ return (h(Host, { key: '870e7ba2d40001532dabdb4c9468b73570e1ade7', role: "listitem" }, h("div", { key: '7c60bf682acd9d11e8633f862f07391a706de817', class: {
66
66
  "duet-menu-bar-dropdown": true,
67
67
  "duet-theme-turva": this.theme === "turva",
68
68
  active: this.open,
69
69
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
70
- } }, h("button", { key: '95cd6a5d291aa18c5ee4a431d7d35f308dd1aab1', 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: {
70
+ } }, h("button", { key: 'c0bdf57ef46ae179d3c0d6e7f45bdd7ffe10769b', 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: {
71
71
  active: this.open,
72
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '9441f84f9cd55041604fa0e9f09c81dba10838f8', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '5e976c5d97cca3bbbea1ef2f198f8cb342a49979', class: "label" }, h("slot", { key: '06af378be8f86d5b9fe3774b490df8fda85634dd', name: "label" }), h("duet-icon", { key: '227e8bfe3123975b543fd75e6a0589c936a0b167', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '4b841a5a6896d802e76c85011f016ed2bf4edb44', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
72
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'c97e52d72933959ecbd6b9519940427735cdeccc', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'd831c0f2defb108643ac9a11f6be93f4f98a8dbc', class: "label" }, h("slot", { key: 'c396567614cd3badd2b373a1922ea907f75750a8', name: "label" }), h("duet-icon", { key: '4e8adfdf9998028a514fa386275affa9c4fe29be', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '683257ed3f02ee4cde289c0efe48af7f06fa50c5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
73
73
  items: true,
74
74
  hidden: !this.open,
75
- } }, h("slot", { key: 'e62a791124ad9eb4f114c3c064f012f9d5cfe3d4' })))));
75
+ } }, h("slot", { key: '281de42fd56a1c9be76c9b4218d4354032a56834' })))));
76
76
  }
77
77
  static get is() { return "duet-menu-bar-dropdown"; }
78
78
  static get encapsulation() { return "shadow"; }
@@ -48,11 +48,11 @@ export class DuetMenuBarDropdownLink {
48
48
  * Always the last one in the class.
49
49
  */
50
50
  render() {
51
- return (h(Host, { key: 'a524f636cab58320a3abf6b4b86bc853af3c057b' }, h("a", { key: 'ba3cf50366da3f3b220340c73854d2ac28516c48', class: {
51
+ return (h(Host, { key: '6d31641d480353ee7f924029a31c94dc1747f1ed' }, h("a", { key: 'ea374446994ad7ea0780b8f4320247c718f08219', class: {
52
52
  "duet-menu-bar-dropdown-link": true,
53
53
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'ade470f849abf31cea7d89306b38bcb80d9152d3', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '0426caf4880cf11249ee70160896196cbdd2f830' }))));
55
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '486173db589cdbf851d3a5dd9171990af84707bb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'd284cabdff17ad2590e80ed02894fe87425507b0' }))));
56
56
  }
57
57
  static get is() { return "duet-menu-bar-dropdown-link"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -71,11 +71,11 @@ export class DuetMenuBarItem {
71
71
  */
72
72
  render() {
73
73
  const TagName = this.url ? "a" : "button";
74
- return (h(Host, { key: '3e4ba0fb17318cd3f7f3ce8bd5141632cf70b592', role: "listitem" }, h(TagName, { key: '3b3fe61137bad1ff974adbd75f5eae67d3aeb5fb', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
74
+ return (h(Host, { key: 'd968cd5ac488d7cc0fea66408de412524dc88b35', role: "listitem" }, h(TagName, { key: '143da0db925d6a45f69a6defcc0d96710d395cbf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
75
75
  "duet-menu-bar-item": true,
76
76
  "duet-theme-turva": this.theme === "turva",
77
77
  active: this.active,
78
- }, 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: 'f60bfc42fc389b0b151783bb92c0c86211260de4', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '3d1c4464f3f6e593137a1f28b4887793360393f1' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '72f5fbd98a81475a7488da4b9584db8b3172fd46', class: {
78
+ }, 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: '22ef7c16eb08f2a24bbd902c1e702103a8319621', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '9560bccb8d749a945592866e33279c9e1686f9af' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c152621621d193d9d80cc0984fe36d230a2b7a63', class: {
79
79
  "trailing-icon": !!this.trailingIcon,
80
80
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
81
81
  "external-icon": !!this.external,
@@ -33,11 +33,11 @@ export class DuetMenuBarLink {
33
33
  * Always the last one in the class.
34
34
  */
35
35
  render() {
36
- return (h(Host, { key: '90d2470d7231825e50ed308c571372331ff556e6', role: "listitem" }, h("a", { key: '87729d77e74e49221ad950f2089a9dad55893462', class: {
36
+ return (h(Host, { key: 'd150209d2395822ac0ba4b0d6372bdc0ba5532fd', role: "listitem" }, h("a", { key: '46070813f893e645146a7ca8ea798fa455df11e9', class: {
37
37
  "duet-menu-bar-link": true,
38
38
  "duet-theme-turva": this.theme === "turva",
39
39
  active: this.active,
40
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '1a72a66e3d2e8261f526faf5d0091d52db5d3485', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '63e4dfc0edd32bb92ff98ad8df15f17fcf3c82fc' }))));
40
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'bac5752b20258b49e6b3210f071578154de8d8d8', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'efec03fcc7a033a4f9df871a4a087d7c9a04a0e8' }))));
41
41
  }
42
42
  static get is() { return "duet-menu-bar-link"; }
43
43
  static get encapsulation() { return "shadow"; }