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

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 (446) hide show
  1. package/hydrate/index.js +460 -329
  2. package/hydrate/index.mjs +460 -329
  3. package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-B33qnv_c.js} +1 -1
  4. package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-DxEBgBDv.js} +1 -1
  5. package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +24 -33
  8. package/lib/cjs/duet-badge.cjs.entry.js +16 -4
  9. package/lib/cjs/duet-banner.cjs.entry.js +19 -8
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  15. package/lib/cjs/duet-card.cjs.entry.js +14 -8
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +36 -29
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +19 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
  32. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  36. package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
  37. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  38. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  47. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  50. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  53. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  55. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  56. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  58. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  60. package/lib/cjs/duet-scrollable_3.cjs.entry.js +30 -25
  61. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  63. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
  66. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  69. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  70. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
  71. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-CwTzu57-.js → errorcodes.utils-D9V4NJkh.js} +1 -1
  94. package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-2MQWj2yf.js} +1 -1
  95. package/lib/cjs/{index-D3O_5Hr7.js → index-CgbT-GDe.js} +5 -1
  96. package/lib/cjs/{label-8AXhdqJy.js → label-B2EZulEI.js} +1 -1
  97. package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DjVt82-o.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-mZWWDERy.js} +1 -1
  100. package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-DtTN09xK.js} +1 -1
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/common-strings.js +22 -0
  103. package/lib/collection/components/duet-alert/duet-alert.js +21 -30
  104. package/lib/collection/components/duet-badge/duet-badge.js +13 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  110. package/lib/collection/components/duet-card/duet-card.css +12 -3
  111. package/lib/collection/components/duet-card/duet-card.js +36 -4
  112. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  113. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  114. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  115. package/lib/collection/components/duet-choice/duet-choice.js +6 -27
  116. package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  119. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  120. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  121. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  122. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  124. package/lib/collection/components/duet-heading/duet-heading.css +1 -0
  125. package/lib/collection/components/duet-hero/duet-hero.css +282 -0
  126. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  127. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  128. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  129. package/lib/collection/components/duet-input/duet-input.js +8 -8
  130. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  131. package/lib/collection/components/duet-link/duet-link.js +2 -2
  132. package/lib/collection/components/duet-list/duet-list.js +1 -1
  133. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  134. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  135. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  136. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  138. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  140. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  141. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  142. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  143. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  144. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  145. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  147. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  148. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  149. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  150. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  151. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  152. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  153. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  154. package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
  155. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  156. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  157. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  158. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  159. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  160. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  161. package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
  162. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  163. package/lib/collection/components/duet-select/duet-select.js +5 -5
  164. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  165. package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
  166. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  167. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  168. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  169. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  170. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  173. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  179. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  184. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  185. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  186. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  187. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  188. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  189. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
  191. package/lib/collection/components/duet-table/duet-table.js +2 -2
  192. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  193. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  194. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  195. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  196. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  197. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  199. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  200. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  202. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  203. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  204. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  205. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  206. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  207. package/lib/duet/duet.esm.js +1 -1
  208. package/lib/duet/{p-83f6beb5.entry.js → p-0528f691.entry.js} +1 -1
  209. package/lib/duet/{p-fb3b8e0f.entry.js → p-076d2d0d.entry.js} +1 -1
  210. package/lib/duet/p-1228299f.entry.js +4 -0
  211. package/lib/duet/{p-37222c50.entry.js → p-15d4751c.entry.js} +1 -1
  212. package/lib/duet/p-167290f7.entry.js +4 -0
  213. package/lib/duet/p-1995091e.entry.js +4 -0
  214. package/lib/duet/{p-DyXNfxdT.js → p-1s1EpusX.js} +1 -1
  215. package/lib/duet/p-208fdfe6.entry.js +4 -0
  216. package/lib/duet/p-25ebe6a5.entry.js +4 -0
  217. package/lib/duet/{p-c6479694.entry.js → p-26146512.entry.js} +1 -1
  218. package/lib/duet/p-263790e3.entry.js +4 -0
  219. package/lib/duet/p-2c976b5a.entry.js +4 -0
  220. package/lib/duet/p-338667ab.entry.js +4 -0
  221. package/lib/duet/{p-7a9f3475.entry.js → p-3389969d.entry.js} +1 -1
  222. package/lib/duet/{p-30ade10d.entry.js → p-39087512.entry.js} +1 -1
  223. package/lib/duet/{p-402c8cd9.entry.js → p-3c7ba14f.entry.js} +1 -1
  224. package/lib/duet/p-3d3aff4c.entry.js +4 -0
  225. package/lib/duet/p-3facac5a.entry.js +4 -0
  226. package/lib/duet/{p-ec6e097b.entry.js → p-4107efb5.entry.js} +1 -1
  227. package/lib/duet/p-41dd144f.entry.js +4 -0
  228. package/lib/duet/{p-c8308bec.entry.js → p-4289c214.entry.js} +1 -1
  229. package/lib/duet/p-46eaee49.entry.js +4 -0
  230. package/lib/duet/p-493d938a.entry.js +4 -0
  231. package/lib/duet/{p-9973c0dc.entry.js → p-4b032feb.entry.js} +1 -1
  232. package/lib/duet/{p-64f8d654.entry.js → p-4f638a3d.entry.js} +1 -1
  233. package/lib/duet/{p-04ce95ba.entry.js → p-503a290b.entry.js} +1 -1
  234. package/lib/duet/p-50afabfb.entry.js +4 -0
  235. package/lib/duet/p-537d3b11.entry.js +4 -0
  236. package/lib/duet/{p-72c2ba6b.entry.js → p-55a63695.entry.js} +1 -1
  237. package/lib/duet/{p-35ac072d.entry.js → p-59cd72fc.entry.js} +1 -1
  238. package/lib/duet/{p-06ed84cb.entry.js → p-5a8f14cf.entry.js} +1 -1
  239. package/lib/duet/{p-73ce0ef8.entry.js → p-5b2527f7.entry.js} +1 -1
  240. package/lib/duet/p-5efda812.entry.js +4 -0
  241. package/lib/duet/{p-a440c5b3.entry.js → p-61105f0d.entry.js} +1 -1
  242. package/lib/duet/{p-dee8ff90.entry.js → p-6943a2ef.entry.js} +1 -1
  243. package/lib/duet/p-6a95d722.entry.js +4 -0
  244. package/lib/duet/{p-4628e002.entry.js → p-6fe283f7.entry.js} +1 -1
  245. package/lib/duet/p-72c7db64.entry.js +4 -0
  246. package/lib/duet/{p-9a1f29ac.entry.js → p-7379c2ed.entry.js} +1 -1
  247. package/lib/duet/p-75fd0eca.entry.js +4 -0
  248. package/lib/duet/{p-6aa6ce7d.entry.js → p-79c93372.entry.js} +1 -1
  249. package/lib/duet/{p-2057cc55.entry.js → p-7ace4629.entry.js} +1 -1
  250. package/lib/duet/p-875dd701.entry.js +4 -0
  251. package/lib/duet/{p-867aab83.entry.js → p-8ff78f91.entry.js} +1 -1
  252. package/lib/duet/{p-64ebf5e9.entry.js → p-91f39296.entry.js} +1 -1
  253. package/lib/duet/{p-71a6b137.entry.js → p-931b4437.entry.js} +1 -1
  254. package/lib/duet/{p-d2ceafd6.entry.js → p-9500f26b.entry.js} +1 -1
  255. package/lib/duet/{p-3dd4fbf1.entry.js → p-950c4ec0.entry.js} +1 -1
  256. package/lib/duet/{p-ab0cd4e5.entry.js → p-9af77c24.entry.js} +1 -1
  257. package/lib/duet/{p-4aece4f9.entry.js → p-9f9576a2.entry.js} +1 -1
  258. package/lib/duet/p-BSOF0zb5.js +4 -0
  259. package/lib/duet/p-BWvtXbhA.js +4 -0
  260. package/lib/duet/{p-DdwVwK5C.js → p-BXJZKiJg.js} +1 -1
  261. package/lib/duet/p-Cq7Ixl9a.js +4 -0
  262. package/lib/duet/p-DejMEymG.js +4 -0
  263. package/lib/duet/{p-T5kkooky.js → p-G09pKpI-.js} +1 -1
  264. package/lib/duet/{p-BaR6ufr4.js → p-Ob09ol4-.js} +1 -1
  265. package/lib/duet/p-a0e708db.entry.js +4 -0
  266. package/lib/duet/{p-e9421a0e.entry.js → p-a274b8fd.entry.js} +1 -1
  267. package/lib/duet/p-a431d704.entry.js +4 -0
  268. package/lib/duet/{p-71603edd.entry.js → p-a582e823.entry.js} +1 -1
  269. package/lib/duet/p-a9094bdc.entry.js +4 -0
  270. package/lib/duet/{p-625347d3.entry.js → p-a94cc8a6.entry.js} +1 -1
  271. package/lib/duet/p-aWO-HcmJ.js +4 -0
  272. package/lib/duet/p-ab61831a.entry.js +4 -0
  273. package/lib/duet/{p-5564a39c.entry.js → p-b001a8a4.entry.js} +1 -1
  274. package/lib/duet/{p-d96af9c9.entry.js → p-b025df86.entry.js} +1 -1
  275. package/lib/duet/{p-15593e3e.entry.js → p-b2780442.entry.js} +1 -1
  276. package/lib/duet/{p-0ebeee02.entry.js → p-b37b1542.entry.js} +1 -1
  277. package/lib/duet/{p-bcbe4d11.entry.js → p-b6354004.entry.js} +1 -1
  278. package/lib/duet/{p-a09c6e42.entry.js → p-ba6dc53e.entry.js} +1 -1
  279. package/lib/duet/{p-6a6e4d82.entry.js → p-babbf633.entry.js} +1 -1
  280. package/lib/duet/{p-a72b8cf4.entry.js → p-bc7d4da0.entry.js} +1 -1
  281. package/lib/duet/{p-2e34dd28.entry.js → p-bed6b29f.entry.js} +1 -1
  282. package/lib/duet/{p-ba2b47d3.entry.js → p-c43669b3.entry.js} +1 -1
  283. package/lib/duet/{p-a4a768bf.entry.js → p-c4fe8bae.entry.js} +1 -1
  284. package/lib/duet/{p-9fff2189.entry.js → p-c516bf93.entry.js} +1 -1
  285. package/lib/duet/{p-d0f3a2e6.entry.js → p-c588fc15.entry.js} +1 -1
  286. package/lib/duet/p-c745c02a.entry.js +4 -0
  287. package/lib/duet/{p-67290546.entry.js → p-ca2fd9dc.entry.js} +1 -1
  288. package/lib/duet/{p-652eefa8.entry.js → p-cbedc26b.entry.js} +1 -1
  289. package/lib/duet/{p-2d3d11db.entry.js → p-cd4d12c2.entry.js} +1 -1
  290. package/lib/duet/{p-65a8dd89.entry.js → p-d11b094d.entry.js} +1 -1
  291. package/lib/duet/{p-774cf9f5.entry.js → p-d65a706f.entry.js} +1 -1
  292. package/lib/duet/{p-466ef37c.entry.js → p-deb90dc7.entry.js} +1 -1
  293. package/lib/duet/p-e439d733.entry.js +4 -0
  294. package/lib/duet/p-e882bbb5.entry.js +4 -0
  295. package/lib/duet/{p-5ab64521.entry.js → p-ed5f5c6b.entry.js} +1 -1
  296. package/lib/duet/{p-7c814d9a.entry.js → p-ef821bec.entry.js} +1 -1
  297. package/lib/duet/p-f46480c6.entry.js +4 -0
  298. package/lib/duet/{p-66c7af01.entry.js → p-f6b76f66.entry.js} +1 -1
  299. package/lib/duet/{p-94e33308.entry.js → p-fc7d6429.entry.js} +1 -1
  300. package/lib/duet/{p-693fda6b.entry.js → p-fd989bd6.entry.js} +1 -1
  301. package/lib/duet/{p-bf5fae27.entry.js → p-fe29dee3.entry.js} +1 -1
  302. package/lib/duet/{p-2792ec0b.entry.js → p-fe393084.entry.js} +1 -1
  303. package/lib/duet/{p-B_VBeM3r.js → p-vt84lkeQ.js} +1 -1
  304. package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-CROKOfOD.js} +1 -1
  305. package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CahJi_2c.js} +1 -1
  306. package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
  307. package/lib/esm/duet-action-button.entry.js +3 -3
  308. package/lib/esm/duet-alert.entry.js +24 -33
  309. package/lib/esm/duet-badge.entry.js +16 -4
  310. package/lib/esm/duet-banner.entry.js +19 -8
  311. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  312. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  313. package/lib/esm/duet-button_2.entry.js +6 -6
  314. package/lib/esm/duet-callout.entry.js +5 -5
  315. package/lib/esm/duet-caption_4.entry.js +11 -11
  316. package/lib/esm/duet-card.entry.js +14 -8
  317. package/lib/esm/duet-checkbox.entry.js +2 -2
  318. package/lib/esm/duet-checkmark.entry.js +4 -4
  319. package/lib/esm/duet-chip.entry.js +4 -4
  320. package/lib/esm/duet-choice_2.entry.js +36 -29
  321. package/lib/esm/duet-collapsible.entry.js +3 -3
  322. package/lib/esm/duet-combobox.entry.js +4 -4
  323. package/lib/esm/duet-contact-card.entry.js +5 -5
  324. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  325. package/lib/esm/duet-date-picker.entry.js +19 -9
  326. package/lib/esm/duet-divider_2.entry.js +3 -3
  327. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  328. package/lib/esm/duet-empty-state.entry.js +2 -2
  329. package/lib/esm/duet-fieldset.entry.js +6 -6
  330. package/lib/esm/duet-file-chooser.entry.js +2 -2
  331. package/lib/esm/duet-footer.entry.js +5 -5
  332. package/lib/esm/duet-grid_2.entry.js +11 -10
  333. package/lib/esm/duet-header_2.entry.js +5 -5
  334. package/lib/esm/duet-hero.entry.js +6 -6
  335. package/lib/esm/duet-icon.entry.js +5 -5
  336. package/lib/esm/duet-indicator.entry.js +51 -0
  337. package/lib/esm/duet-input_2.entry.js +11 -11
  338. package/lib/esm/duet-layout.entry.js +7 -7
  339. package/lib/esm/duet-list_2.entry.js +5 -5
  340. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  341. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  343. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  344. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  345. package/lib/esm/duet-menu-bar.entry.js +6 -6
  346. package/lib/esm/duet-modal.entry.js +13 -13
  347. package/lib/esm/duet-multiselect.entry.js +10 -10
  348. package/lib/esm/duet-nav.entry.js +3 -3
  349. package/lib/esm/duet-notification_2.entry.js +9 -9
  350. package/lib/esm/duet-number-input.entry.js +6 -6
  351. package/lib/esm/duet-overlay.entry.js +3 -3
  352. package/lib/esm/duet-page-heading.entry.js +4 -4
  353. package/lib/esm/duet-pagination_2.entry.js +16 -16
  354. package/lib/esm/duet-panel.entry.js +4 -4
  355. package/lib/esm/duet-phone-input.entry.js +22 -7
  356. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  357. package/lib/esm/duet-progress.entry.js +3 -3
  358. package/lib/esm/duet-promo-card.entry.js +5 -5
  359. package/lib/esm/duet-radio_2.entry.js +7 -7
  360. package/lib/esm/duet-range-slider.entry.js +6 -6
  361. package/lib/esm/duet-scrollable_3.entry.js +30 -25
  362. package/lib/esm/duet-section-layout.entry.js +4 -4
  363. package/lib/esm/duet-select.entry.js +9 -9
  364. package/lib/esm/duet-shaped-image.entry.js +4 -4
  365. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  366. package/lib/esm/duet-share-chart.entry.js +8 -6
  367. package/lib/esm/duet-show-more.entry.js +5 -5
  368. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  369. package/lib/esm/duet-slideout-link.entry.js +9 -9
  370. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  371. package/lib/esm/duet-slideout-panel.entry.js +14 -19
  372. package/lib/esm/duet-slideout.entry.js +10 -10
  373. package/lib/esm/duet-status-icon.entry.js +3 -3
  374. package/lib/esm/duet-step_2.entry.js +7 -7
  375. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  376. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  377. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  378. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  379. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  380. package/lib/esm/duet-textarea.entry.js +8 -8
  381. package/lib/esm/duet-toggle.entry.js +6 -6
  382. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  383. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  384. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  385. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  386. package/lib/esm/duet-toolbar.entry.js +4 -4
  387. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  388. package/lib/esm/duet-tooltip.entry.js +4 -4
  389. package/lib/esm/duet-tray.entry.js +5 -5
  390. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  391. package/lib/esm/duet-upload-item.entry.js +6 -6
  392. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  393. package/lib/esm/duet.js +4 -4
  394. package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-6V_f8y5q.js} +1 -1
  395. package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-CErdQceY.js} +1 -1
  396. package/lib/esm/{index-B_VBeM3r.js → index-vt84lkeQ.js} +5 -1
  397. package/lib/esm/{label-l-Eza5H3.js → label-BosP5JdK.js} +1 -1
  398. package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-B9dLrWKg.js} +1 -1
  399. package/lib/esm/loader.js +4 -4
  400. package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BZXZ33TK.js} +1 -1
  401. package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-CsnFpp6R.js} +1 -1
  402. package/lib/types/common-strings.d.ts +2 -0
  403. package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
  404. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  405. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  406. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  407. package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
  408. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
  409. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  410. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  411. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  412. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  413. package/lib/types/components.d.ts +87 -15
  414. package/package.json +3 -3
  415. package/lib/duet/p-05766552.entry.js +0 -4
  416. package/lib/duet/p-065f7e81.entry.js +0 -4
  417. package/lib/duet/p-08ed76c2.entry.js +0 -4
  418. package/lib/duet/p-0a448068.entry.js +0 -4
  419. package/lib/duet/p-0dc4fe1d.entry.js +0 -4
  420. package/lib/duet/p-106d3089.entry.js +0 -4
  421. package/lib/duet/p-28a998f9.entry.js +0 -4
  422. package/lib/duet/p-39169420.entry.js +0 -4
  423. package/lib/duet/p-4ee576a2.entry.js +0 -4
  424. package/lib/duet/p-500d799b.entry.js +0 -4
  425. package/lib/duet/p-5848a34c.entry.js +0 -4
  426. package/lib/duet/p-60be3836.entry.js +0 -4
  427. package/lib/duet/p-73290da8.entry.js +0 -4
  428. package/lib/duet/p-767afcf4.entry.js +0 -4
  429. package/lib/duet/p-7f1fb1a9.entry.js +0 -4
  430. package/lib/duet/p-8596c993.entry.js +0 -4
  431. package/lib/duet/p-86b74914.entry.js +0 -4
  432. package/lib/duet/p-8ed6f7c7.entry.js +0 -4
  433. package/lib/duet/p-960f95b4.entry.js +0 -4
  434. package/lib/duet/p-9fade6a0.entry.js +0 -4
  435. package/lib/duet/p-BdUQgQFn.js +0 -4
  436. package/lib/duet/p-DzerL_yn.js +0 -4
  437. package/lib/duet/p-KocOARXM.js +0 -4
  438. package/lib/duet/p-MxsWrBCY.js +0 -4
  439. package/lib/duet/p-OdY4DjJa.js +0 -4
  440. package/lib/duet/p-a3a2e89e.entry.js +0 -4
  441. package/lib/duet/p-aefcd222.entry.js +0 -4
  442. package/lib/duet/p-b84ac47b.entry.js +0 -4
  443. package/lib/duet/p-ba0fcce1.entry.js +0 -4
  444. package/lib/duet/p-baeb1090.entry.js +0 -4
  445. package/lib/duet/p-d28a8bc4.entry.js +0 -4
  446. package/lib/duet/p-effefdec.entry.js +0 -4
@@ -42,7 +42,7 @@
42
42
  .duet-slideout-panel .link {
43
43
  position: relative;
44
44
  display: flex;
45
- gap: 20px;
45
+ gap: 16px;
46
46
  align-items: center;
47
47
  justify-content: flex-start;
48
48
  width: 100%;
@@ -64,20 +64,6 @@
64
64
  line-height: normal;
65
65
  vertical-align: baseline;
66
66
  }
67
- .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge {
68
- position: absolute;
69
- top: 0;
70
- left: 16px;
71
- display: inline-block;
72
- width: 6px;
73
- height: 6px;
74
- background: rgb(247, 178, 40);
75
- border-radius: 50%;
76
- box-shadow: 0 0 0 1px #c18b1f;
77
- }
78
- .duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge {
79
- background: rgb(247, 178, 40);
80
- }
81
67
  @media (min-width: 62em) {
82
68
  .duet-slideout-panel .link .duet-slideout-icon {
83
69
  margin-right: 8px;
@@ -95,11 +81,11 @@
95
81
  font-weight: 600;
96
82
  }
97
83
  .duet-slideout-panel .link .label-text.medium {
98
- font-size: 1.25rem;
84
+ font-size: 1rem;
99
85
  font-weight: 600;
100
86
  }
101
87
  .duet-slideout-panel .link .label-text.large {
102
- font-size: 1.5rem;
88
+ font-size: 1.25rem;
103
89
  font-weight: 800;
104
90
  }
105
91
  .duet-slideout-panel .link:focus {
@@ -128,9 +114,9 @@
128
114
  .duet-slideout-panel .dialog {
129
115
  position: fixed;
130
116
  top: 0;
131
- left: 0;
117
+ right: 0;
132
118
  z-index: 600;
133
- width: 100%;
119
+ width: min(450px, 100%);
134
120
  height: 100%;
135
121
  overflow-y: auto;
136
122
  visibility: visible;
@@ -174,8 +160,8 @@
174
160
  }
175
161
  .duet-slideout-panel .top span {
176
162
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
177
- font-size: 1rem;
178
- font-weight: 600;
163
+ font-size: 1.1rem;
164
+ font-weight: 700;
179
165
  line-height: 1.5;
180
166
  color: rgb(8, 42, 77);
181
167
  opacity: 1;
@@ -194,10 +180,18 @@
194
180
  flex-direction: column;
195
181
  align-items: flex-start;
196
182
  justify-content: flex-start;
197
- padding: 1rem 16px;
183
+ padding: 12px 20px;
198
184
  overflow-y: auto;
199
185
  color: rgb(8, 42, 77);
200
186
  }
187
+ @media (min-width: 36em) {
188
+ .duet-slideout-panel .items {
189
+ padding: 16px 28px;
190
+ }
191
+ }
192
+ .duet-slideout-panel duet-indicator {
193
+ top: 4px;
194
+ }
201
195
  .duet-slideout-panel.duet-theme-turva .link {
202
196
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
203
197
  color: rgb(23, 28, 58);
@@ -49,7 +49,7 @@ export class DuetSlideoutPanel {
49
49
  /**
50
50
  * Background color. Use one of the color tokens.
51
51
  */
52
- this.backgroundColor = "primary-lightest";
52
+ this.backgroundColor = "gray-lightest";
53
53
  /**
54
54
  * Show a badge that indicates something has changed.
55
55
  */
@@ -169,33 +169,28 @@ export class DuetSlideoutPanel {
169
169
  * Always the last one in the class.
170
170
  */
171
171
  render() {
172
- const defaultBackgroundColor = this.backgroundColor === "primary-lightest"
173
- ? this.theme === "turva"
174
- ? "gray-lighter"
175
- : this.backgroundColor
176
- : this.backgroundColor;
177
172
  const styles = {
178
- background: getColorByName(defaultBackgroundColor, this.theme),
173
+ background: getColorByName(this.backgroundColor, this.theme),
179
174
  };
180
175
  const exitTranslation = getLocaleString(this.exitLangObject);
181
176
  const backTranslation = getLocaleString(this.backLangObject);
182
- return (h(Host, { key: '942391bf280f263cbbb12ff47d5e19e64677ce59' }, h("div", { key: '5150a8a4f51a6518de50432847b7a4be7f52a8f7', class: {
177
+ return (h(Host, { key: '91e1bfb50346e6f0b7d7b93f6d9cb16e84df9297' }, h("div", { key: '80891454e08a69f87d42ca5879c85a7e1eab6d5c', class: {
183
178
  "duet-slideout-panel": true,
184
179
  "duet-theme-turva": this.theme === "turva",
185
180
  active: this.open,
186
- } }, h("button", { key: '2fa4949a7380687952d41bec65b982162f4b1369', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
181
+ } }, this.badge && h("duet-indicator", { key: '2dc9f2f3b5eebbc44158f9c7795ee2e9dadbfeef', variation: "change" }), h("button", { key: 'fe2d4c0f8dc01d791946a720592101e83dc016ea', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
187
182
  link: true,
188
183
  active: this.active,
189
- }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '239abf831224e505471d4faa690c4fb9eec39657', class: "duet-slideout-icon" }, h("duet-icon", { key: '91d352ae3154e830d2ea6e07be749a301f959dd7', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && h("div", { key: '048f8d6339aa0fac808cb8539aec7fc39dc69e22', class: "duet-slideout-badge" }))), h("span", { key: '78c8194b03f576175deb05836ee62db4909ff2ae', class: "label" }, h("span", { key: '698881982e56840d20105c0859d433f057d0e8c2', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '52990bf8fd3f928746ee83d5b84570ca6324b2bd', name: "label" })), h("duet-icon", { key: '8b11c870487c41351035fd29a0379ff022f86676', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '420fc600c08d2636b7ee91ef2378cd073822ffc7', ref: element => (this.dialog = element), class: {
184
+ }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: 'b38f6287ae32328d38478369c11fcf53af075731', class: "duet-slideout-icon" }, h("duet-icon", { key: '7b8e0204a8a23daf0ece9b96b981921dd7dc6e84', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '15944b22ad22f757436034fb8ef1465d19caca6d', class: "label" }, h("span", { key: '7bed6412b760df7878162e7a683488ccf91b01e9', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '4700d12f643dd979d5c90a1bf193f9ef55e5e584', name: "label" })), h("duet-icon", { key: '99c0ce44ec6a8abec00a1379a3bbd695c728e873', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: 'ea37489cb1f9476b74c7e14311011293002791ef', ref: element => (this.dialog = element), class: {
190
185
  dialog: true,
191
186
  hidden: !this.open,
192
- }, style: styles }, h(FocusGuard, { key: '53c5dd886930895a4b98a215d12c26a1da4e33c0', moveFocusTo: this.closeButton }), h("div", { key: '4be2ad3519e0e43f9bdf7d9db5cfab397f5a2f48', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'e10cd953dccb8a456545bc58e374e53361016759', class: "top" }, h("button", { key: '0fdc986a24b858871aebe4431fc5a02ee73d42bf', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
187
+ }, style: styles }, h(FocusGuard, { key: 'f936fd64a01150ec06f4007872e38ed39f2d13a3', moveFocusTo: this.closeButton }), h("div", { key: '12af8aafbb83a7470bdf6d43def68492ea0b950d', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '71ee6b6d138c1dfc009f41460f43676ba7ee405b', class: "top" }, h("button", { key: '8b1170da102425174dfe9ec6a12996cb3d1fa123', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
193
188
  back: true,
194
- }, onClick: this.onClick }, h("duet-icon", { key: '40b07857257d0e150e40cd506c53ee743d1323fa', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: 'f1c04199ddd3f93c079edea3666879483e003c9e' }, this.label.innerHTML), h("button", { key: 'fe8dafe02a327c652b4815013aeae50ab2ffa40d', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: 'aa9cdab26dfe54f286a9586716285b7400d78ea3', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'c046cb5cef75c8932a338db3a4e7056f489c3bd4', class: "sticky-header" }, h("slot", { key: '08fe11beec9d0a01519ca21a00cc11298c17facb', name: "sticky-header" }))), h("div", { key: '34b482569c730fe07ec6b4899f7d8fb0b371190c', tabindex: "-1", role: "menu",
189
+ }, onClick: this.onClick }, h("duet-icon", { key: '99d2cf1b6a7b2584460187cce27f9f9f0713f58e', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '7c41e4f0d2f3c71cfaf03f3a0350f9d390b3e0ec' }, this.label.innerHTML), h("button", { key: '96024d91d7946d05f62fc2c7f051bfce152e07f7', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '89b82c6c543718835c92fcf8ed4c4b9882eea0fe', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '3665563f52fa7947c426394d637447ae157e7a83', class: "sticky-header" }, h("slot", { key: '2db3b51deffa106264a66fddb59d2e614a7f1691', name: "sticky-header" }))), h("div", { key: 'e2e29f223e33babd0c6186802383f2f4578b5063', tabindex: "-1", role: "menu",
195
190
  //TODO: slideout menu fades out, needs to be instant
196
191
  id: "menu", "aria-labelledby": "button", class: {
197
192
  items: true,
198
- } }, h("slot", { key: '2b87c3b4d7ab96fe8b069d023e7b07f27910cf07' })), h(FocusGuard, { key: '158e38e0df98000f097952a14da74a4195b4515b', moveFocusTo: this.closeButton })))));
193
+ } }, h("slot", { key: 'ebdc8c4f45b0670a30806ce49c1dbf812e47ec14' })), h(FocusGuard, { key: 'db918af81f016c137a0551589daf1b2848239817', moveFocusTo: this.closeButton })))));
199
194
  }
200
195
  static get is() { return "duet-slideout-panel"; }
201
196
  static get encapsulation() { return "shadow"; }
@@ -341,7 +336,7 @@ export class DuetSlideoutPanel {
341
336
  "getter": false,
342
337
  "setter": false,
343
338
  "reflect": true,
344
- "defaultValue": "\"primary-lightest\""
339
+ "defaultValue": "\"gray-lightest\""
345
340
  },
346
341
  "badge": {
347
342
  "type": "boolean",
@@ -44,7 +44,7 @@
44
44
  .duet-slideout-panel-dropdown button {
45
45
  position: relative;
46
46
  display: flex;
47
- gap: 20px;
47
+ gap: 16px;
48
48
  align-items: center;
49
49
  justify-content: flex-start;
50
50
  width: 100%;
@@ -89,7 +89,7 @@
89
89
  justify-content: center;
90
90
  width: 100%;
91
91
  max-height: 1000px;
92
- padding: 4px 20px 8px 44px;
92
+ padding: 4px 20px 8px 36px;
93
93
  overflow-y: auto;
94
94
  visibility: visible;
95
95
  transition: max-height 0.3s ease-in, padding-bottom 0.3s ease-in;
@@ -52,16 +52,16 @@ export class DuetSlideoutPanelDropdown {
52
52
  * Always the last one in the class.
53
53
  */
54
54
  render() {
55
- return (h(Host, { key: 'f96919a68190339dfad3a02b63943bc7c944a1e7' }, h("div", { key: '109f23c80ed885b60278b261eca318bde1ec47eb', class: {
55
+ return (h(Host, { key: '74023ff3094ea4e1867ae58690abaa3f338053e7' }, h("div", { key: '0a0de8be47b2d48bc9f0c1564d458af29ee2e05f', class: {
56
56
  "duet-slideout-panel-dropdown": true,
57
57
  "duet-theme-turva": this.theme === "turva",
58
58
  active: this.open,
59
- } }, h("button", { key: 'b40332159750123f2564b18834426c09a7a69bf0', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
59
+ } }, h("button", { key: '06d4e99fe87e549a17af9dc8100528b349ff51ba', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
60
60
  active: this.active,
61
- }, onClick: this.onClick }, this.icon && h("duet-icon", { key: '885d1ef770aa91efc19169c8084d8fb60f6ae314', name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("span", { key: 'bafa2159d2892a908ed6ce49c13d4d1beaa674c1', class: "label" }, h("slot", { key: '96fa1309813257aeb3acff36894828563331b43d', name: "label" }), h("duet-icon", { key: 'fbad64614399ece9b86750e3851336a523944951', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '2869b77624970b590f37909f10ee2a2b9d252a64', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
61
+ }, onClick: this.onClick }, this.icon && h("duet-icon", { key: '0822390f41e67611f8e441bea52420840e010f9e', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: '379e21cd716611030dc29ddf1caf36aa44ea722d', class: "label" }, h("slot", { key: '9f4235a7e7c71766070591db1fb2186cf11e395f', name: "label" }), h("duet-icon", { key: 'e138b8d3f0d3218d3585d463a5ee7202647ef623', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '64cb95df7ee047d6de44a0f4187beec77fd25770', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
62
62
  items: true,
63
63
  hidden: !this.open,
64
- } }, h("slot", { key: 'a76b88dbcbb32ce8c0d96f807da0623a6cb8fc1f' })))));
64
+ } }, h("slot", { key: '83cd9c5df8e8e8399f10f4b709fcbb08bcabb919' })))));
65
65
  }
66
66
  static get is() { return "duet-slideout-panel-dropdown"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class DuetSpacer {
23
23
  * Always the last one in the class.
24
24
  */
25
25
  render() {
26
- return (h(Host, { key: 'f2f4fa377c08b91ba94544d234bc8ab55c8b35b5', class: {
26
+ return (h(Host, { key: '6765403ee0beffd36f0e97c767260714c18bdc19', class: {
27
27
  "duet-spacer": true,
28
28
  "duet-spacer-xx-small": this.breakpoint === "xx-small",
29
29
  "duet-spacer-x-small": this.breakpoint === "x-small",
@@ -33,11 +33,11 @@ export class DuetSpinner {
33
33
  */
34
34
  render() {
35
35
  const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
36
- return (h(Host, { key: '8e4d0ddb4abd8fb9c68b9f3935ca75fb65f63cf3', class: {
36
+ return (h(Host, { key: '02a74b72a4b22798ac1a768e41793ee920494ca0', class: {
37
37
  "duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
38
38
  "duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
39
39
  "duet-theme-default": this.theme === "default" && this.color !== "currentColor",
40
- } }, h("div", { key: '4940f908c0ecdb401c361b0ab7dc2720d5c6a1a1', class: {
40
+ } }, h("div", { key: 'e4d1b98fbcdc05241e8ea87fe91a944be89d1bff', class: {
41
41
  "duet-spinner": true,
42
42
  [this.size]: true,
43
43
  }, style: { color }, "aria-label": this.accessibleLabel })));
@@ -85,10 +85,10 @@ export class DuetStatusIcon {
85
85
  }
86
86
  }
87
87
  render() {
88
- return (h(Host, { key: 'd35995f352a518b4933f82071bba491062afa0e6', class: {
88
+ return (h(Host, { key: '7f80e70111b54c6828f96f9b4701ed969e592e0e', class: {
89
89
  [`duet-status-icon-${this.getVariation()}`]: true,
90
90
  "duet-strong-bg": this.strong,
91
- } }, h("duet-icon", { key: '67a2d52e3cc7e6d2685de643130654f8031f643a', icon: this.getIcon(), size: this.size, margin: this.margin })));
91
+ } }, h("duet-icon", { key: '8a5d1ee9135d47f515b8e74bbbaea58d7e6815b6', icon: this.getIcon(), size: this.size, margin: this.margin })));
92
92
  }
93
93
  static get is() { return "duet-status-icon"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -93,13 +93,13 @@ export class DuetStep {
93
93
  * Always the last one in the class.
94
94
  */
95
95
  render() {
96
- return (h("div", { key: '3204237f7f65d0f7e40d171da59beae2438d0b73', class: {
96
+ return (h("div", { key: '369f656f742589a178915ed4e72365d3dda7b907', class: {
97
97
  "duet-step": true,
98
98
  [`is-${this.state}`]: true,
99
99
  "rounded-top": this.roundedTop,
100
100
  "rounded-bottom": this.roundedBottom,
101
101
  "duet-theme-turva": this.theme === "turva",
102
- } }, h("div", { key: '144dc2c4f67e3ab88437ba11dbe665d8d938e998', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '3a16cbf1b403adb015eafda7d8768e17eae7fb40', "aria-hidden": "true" }, h("div", { key: '8ee2d9f18fcef2d1cdb2ad43cf8a41c5615b4765', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '0dd226292f09ae93ba5ca9bde08511982771fe15', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: 'd2fea319dfc6db59b1aaba216a913c3a8e9e81e8', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '7c3dee5bf9df62db35cbe5896551062c482d8b3e' }, h("duet-heading", { key: '27d4325d36f4f0621af0bf633fe3de821822d4bc', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: 'f0e367883df25339d1882ebe17ff56c3555d4cd1', direction: "horizontal", size: "large" }), h("div", { key: 'f4313eed84ca3fe24272ce59a59b711169c4c0a8', class: "duet-step-heading-slot" }, h("slot", { key: 'a06a67c70d672288b7ef3f76149561fe5200ed99', name: "heading-content" }))), h("div", { key: '62b81bf1127a74bd5fb1cec4b0aa1e9c706d2038', class: "duet-step-content-wrapper" }, h("div", { key: 'c46f37355b38f10b1dc182108cae7f444025246d', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: 'f08a916f605a7227add9fdb0bd4f6ede0719ec02' })))));
102
+ } }, h("div", { key: '486a6f5b91cd3a6435bd02202b2191077469044d', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '80895fe6a9d2581b54ddeb9095f50ab2ae2c40ec', "aria-hidden": "true" }, h("div", { key: '8b38a04e831e7feb20bfbccaf56a017b0c52260d', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '2220531e141df3a5cd47dbcecdf5992265af1fff', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: '80ba3be5b395b09c02a15ddabc70319bdb710ec2', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '7426ac138a49a07b9d914c7b92b24dde89fd2220' }, h("duet-heading", { key: '2cf9505b640081b6bc33bf726aa95fb8b49a100e', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '8888b2e5b45f4bc049454ef6166b97af508a09b6', direction: "horizontal", size: "large" }), h("div", { key: '2931ae9df30278381ee5634a45d3bb934ae34215', class: "duet-step-heading-slot" }, h("slot", { key: '0f4314f52c16ef8f3929cea2bf0b5e405168593e', name: "heading-content" }))), h("div", { key: '43264d21b4cb69938551d3e81d4378369c4b23b3', class: "duet-step-content-wrapper" }, h("div", { key: '4913f58605148bb81539d7a24b29b288210f2f3d', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: '7e7ce320adcd8b1dd456fdb63249c983b03a829e' })))));
103
103
  }
104
104
  static get is() { return "duet-step"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -118,7 +118,7 @@ export class DuetStepper {
118
118
  * Always the last one in the class.
119
119
  */
120
120
  render() {
121
- return (h(Host, { key: 'f135a9f1ddcc6eaa86acdcdc9d11def0ec489b81', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd68ff41042b6582c21d555e3131054278e9eaf1f', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '21d8af2f8896f0e5f893f041a2f3010ada1e74c9', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'efe281a3ddce9364e69c5131e7e59e3a9c2bb9d5' }))));
121
+ return (h(Host, { key: 'df89f1e452d33048371e02ceb399b3392e370b00', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '41faad40942a4fbc0bfec56801d76f6972f87eb4', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '225714f663a988bfcca3ae1ff3846bf9bafa12fb', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'e24151a3887c08c59be65fb9b9ab14be52db5fa7' }))));
122
122
  }
123
123
  static get is() { return "duet-stepper"; }
124
124
  static get encapsulation() { return "shadow"; }
@@ -131,19 +131,19 @@ export class DuetSubmenuBar {
131
131
  * Always the last one in the class.
132
132
  */
133
133
  render() {
134
- return (h(Host, { key: '3e7b02904bbbba59c39e6ab92da7f5c57725da8b' }, h("nav", { key: '2dc04f3533701d9c21afd7c15756f27ecb58441f', class: {
134
+ return (h(Host, { key: '463af77c5ac9d7a775876cfc005df160c5e7fdfa' }, h("nav", { key: 'fcbdbfc332d352007b1122ffa65cd6d13012a559', class: {
135
135
  "duet-submenu-bar": true,
136
136
  "duet-theme-turva": this.theme === "turva",
137
137
  hidden: this.hidden,
138
- }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '839b1d9944d8c6c3bfaf329a682d91657066ec2f', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
138
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '98fadd59813f2aae19d4cb5d4734d73a98d4bb7e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
139
139
  active: this.open,
140
- }, onClick: this.onClick }, h("span", { key: '67a6c63dc412388b52a2de220127dea5bef408e9', class: "label" }, h("slot", { key: 'f7c3882a3339a2cfdf581b63d4aee13867b5d67b', name: "label" }), h("duet-icon", { key: 'e0f1cd34ad6ae56df39fcdf39683cb7dfacc6aec', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '368b77169fb80a8486623763734cedecb40b33a8', class: {
140
+ }, onClick: this.onClick }, h("span", { key: 'dc38b3df13d3a4d1b4a9c78c53a9fc68b932152e', class: "label" }, h("slot", { key: '128302a4e4c2c6e68d9fd8cb96d1439db8daf800', name: "label" }), h("duet-icon", { key: '0d4d0b35713d68685084568f0f95f1818b8deaca', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '7396ba0b29224cfa487e725604ff50dab010cdeb', class: {
141
141
  "menu-container": true,
142
142
  hidden: !this.open,
143
- }, role: "presentation" }, h("div", { key: '25476a3938ac4a4cde6a36aeb5c992e61cd016b3', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
143
+ }, role: "presentation" }, h("div", { key: '4b5178a06a8933dfb9be60276a1a893158c62aaa', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
144
144
  items: true,
145
145
  hidden: !this.open,
146
- }, ref: element => (this.itemsContainer = element) }, h("div", { key: '78a0b5dcbad16181839842b362fc2aa4233933e0', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '88ed711a6f222bfa266148da84789eaecfa433d4' }), h("div", { key: 'bccca592f7f6986a27e8b90b410f09c28d7d5667', class: "list-padding" }))), h("duet-overlay", { key: '3ba23120b948aeb6f066d21d86b58e3b6fa91669', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
146
+ }, ref: element => (this.itemsContainer = element) }, h("div", { key: '71ee3de51b625b340635a30fb39292e25ddfc116', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '4baa81a1de7c328e826df2f752075a9c4b05af0f' }), h("div", { key: '38b755c720305c3627d82a5e53af380752616396', class: "list-padding" }))), h("duet-overlay", { key: '62afaa179b2175f4c4c6cd56c6773675cffc061c', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
147
147
  }
148
148
  static get is() { return "duet-submenu-bar"; }
149
149
  static get encapsulation() { return "shadow"; }
@@ -108,18 +108,18 @@ export class DuetSubmenuBarDropdown {
108
108
  * Always the last one in the class.
109
109
  */
110
110
  render() {
111
- return (h(Host, { key: '0cb9c03f321c7ff444123e06bee1017a69786c76', role: "listitem" }, h("div", { key: '7a69b5c2e3d9f7f6737931fd98d0626ecb23dcb5', class: {
111
+ return (h(Host, { key: 'b08d71c303bbbb5dc488ccb9df3a6606cbcee45f', role: "listitem" }, h("div", { key: 'f27808ba704701f0857e90d8c4474f11f2bd284d', class: {
112
112
  "duet-submenu-bar-dropdown": true,
113
113
  "duet-theme-turva": this.theme === "turva",
114
114
  open: this.open,
115
115
  active: this.active,
116
- } }, h("button", { key: 'cb47f2b220eccb921a6fb2b6d9372cab734dcf9f', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
116
+ } }, h("button", { key: 'da50cea3b3daea0da483dc01649345a9fcc27d55', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
117
117
  open: this.open,
118
118
  active: this.active,
119
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '0777f325a3186cfb4a20c0d71fa3bbcc0ee752b5', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'db5cabb7d09304cd2bd9eba231ed5c3d0453131b', class: "label" }, h("span", { key: '33760c3388e525ca78442660bcba3712bb1a0b91', class: "label-text" }, h("slot", { key: '557457c4d150285a804a861755393b2ead85eb29', name: "label" })), h("duet-icon", { key: '0632a6cb7801c25f3ddec7c36744ed1def3d2d42', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '22f16e71f250d490bf1fca22119b5422ea519021', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
119
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '41562541f2cf4bbe9e8d6ccb3214b8fc5b44079f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '8b2782607b3478bc491ce2fa423257d4233968fa', class: "label" }, h("span", { key: '5b22aff9852f284416e15d60b1a262e963ff228e', class: "label-text" }, h("slot", { key: 'aec50191a12adf0fbd6f9e388c2dc09954d21f83', name: "label" })), h("duet-icon", { key: '154795bda221d38ca73b47a86c97da4c6e4d573b', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '574669c2280fa1e7e4d14666f95fbe912a068119', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
120
120
  items: true,
121
121
  hidden: !this.open,
122
- } }, h("slot", { key: '63e09b29477fe83753399f2934115780169deb5c' })))));
122
+ } }, h("slot", { key: '9a69e63aae77e184049ed7d8f7f511d47eca642e' })))));
123
123
  }
124
124
  static get is() { return "duet-submenu-bar-dropdown"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -49,12 +49,12 @@ export class DuetSubmenuBarDropdownLink {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: '634468684f5ca0645aca55e4755a6f778d4aeaf1' }, h("a", { key: 'df84408330d4e171054f96de10b761d9c6435800', class: {
52
+ return (h(Host, { key: '206adf55a559a97afad7c5bc107b46f6a099d8c0' }, h("a", { key: 'a61437b76e1ecd5c7d61b773b0b97fe43c457bc5', class: {
53
53
  "duet-submenu-bar-dropdown-link": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
55
  highlight: this.highlight,
56
56
  active: this.active,
57
- }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '70f8d741e10aaf9e6492e47b3bf2ffe2d488b0dc', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '9ec616e8c8b512f0731e90441bf1d20b485f503a', class: "label-container" }, h("span", { key: '41825ec964adb07f1d6262d995de497b5bf597c8', class: "label" }, h("slot", { key: '16e2e05e0662ee3cbb59ee5ceb371b57b2b3ddcd' })), this.caret && h("duet-icon", { key: '97aa221937f2099cd478aad6745d8b1fc93fdb22', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '1b281ba9300b07c9b8e15688b7383e27195b1ce2', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
57
+ }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '50c64c74c7f21aebcb34252b9a5fbf75c391c0d3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '0e697759844c9f0255d18fdb41765290f1389581', class: "label-container" }, h("span", { key: '3fafa6fece2c5188ec289dbc6fab760d49c73fb4', class: "label" }, h("slot", { key: '498dacafcd6fa3c3d097e9bcceb9e78c906cc236' })), this.caret && h("duet-icon", { key: 'd7055d84b2cd8de873b0400e7b3434f7670f987a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '40d559b351fcc4d3f56f26045d065a55b840c740', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
58
58
  }
59
59
  static get is() { return "duet-submenu-bar-dropdown-link"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -80,7 +80,7 @@ export class DuetSubmenuBarItem {
80
80
  render() {
81
81
  const TagName = this.url ? "a" : "button";
82
82
  const role = this.url ? "link" : "button";
83
- return (h(Host, { key: 'bc1b76eff2619e0f79a21c0d8bef3efb622a4f75', role: "listitem" }, h(TagName, { key: 'ecb396d50b5964ca911a4bcc01dfbbd2235554f0', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "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, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '64e157f0aad997e6f8f20c8f61be5a9f6cb1ba7d', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'd51db5d687d360dc8d82c704407c35d2b7878193', class: "label" }, h("span", { key: '067121784839bea1c72167d2b8bcb6869620b69a', class: "label-text" }, h("slot", { key: 'd080c716b2c29ad39aa4e377d298d2fc340162b6' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'd749eeeb21d1491c418db9469b2b7bde9ddf1014', class: {
83
+ return (h(Host, { key: '35be20639e3574ca775aa4b697485c84a1512045', role: "listitem" }, h(TagName, { key: '10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "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, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'e4de062ea87077cdf5ab2f80a72cb746d10b32e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '1829e95b6db1e8970ca53e5f8332b0aa97df310a', class: "label" }, h("span", { key: '815b45070604d6a9fc3f875677119480812c448d', class: "label-text" }, h("slot", { key: '195a9798c946491c1ec6318a99b5738e92d68f58' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '8718695a96ec8294833a18791aeefbe51526308f', class: {
84
84
  "trailing-icon": !!this.trailingIcon,
85
85
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
86
86
  "external-icon": !!this.external,
@@ -41,7 +41,7 @@ export class DuetSubmenuBarLink {
41
41
  * Always the last one in the class.
42
42
  */
43
43
  render() {
44
- return (h(Host, { key: '1690f55f331c933f9fb468a34dacd7ca59b4a6ec', role: "listitem" }, h("a", { key: 'bef17a08ede70f41666795b66295bde08809e350', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: 'b7cbc5a4b7747f3b151eded40adaa568a58abb56', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '7351aeba73af6d8f8606662ee3bc100dc4f8c513', class: "label" }, h("slot", { key: 'c56efc7a7ac3d5afeea81444f1c7ec0db3a6ce68' })))));
44
+ return (h(Host, { key: '43fe2f21e9f7ce5b2ea4a31fb4ac6f9f76b7dea7', role: "listitem" }, h("a", { key: '78ffb34f6f54b32f8c8401139b23b34a5fe9ef95', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: 'c42d8f5d5fe3c4b9d4dbcfe3151a1ee2c7be2ec2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: 'a2e72daf94cc2c40ab025e399c949b4f8111bdea', class: "label" }, h("slot", { key: 'a5fb89a7dc0aea64b82a6be83104f8b9971066c8' })))));
45
45
  }
46
46
  static get is() { return "duet-submenu-bar-link"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -79,6 +79,9 @@ export class DuetTab {
79
79
  connectedCallback() {
80
80
  connectLanguageChangeObserver(this, { prop: "accessibleDescription", defaults: "accessibleDescriptionDefault" });
81
81
  subscribeTabbingChange(this);
82
+ if (this.notificationMark) {
83
+ this.indicator = this.notificationMark === "warning" ? "change" : "error";
84
+ }
82
85
  this.setupContentElement();
83
86
  }
84
87
  disconnectedCallback() {
@@ -107,7 +110,7 @@ export class DuetTab {
107
110
  * Always the last one in the class.
108
111
  */
109
112
  render() {
110
- return (h("div", { key: '6903bcdb8e3fa5178b6238ccdcf4f028a85a1cf2', ref: element => {
113
+ return (h("div", { key: 'a022a330a4f4eef2664a452c8f0df2b84e46c429', ref: element => {
111
114
  if (!this.contentId) {
112
115
  this.tabpanelElement = element;
113
116
  }
@@ -116,7 +119,7 @@ export class DuetTab {
116
119
  "duet-tab": true,
117
120
  selected: this.selected,
118
121
  "has-content-id": !!this.contentId,
119
- }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '6629dc6968129353f9daa96cc26a4c9f23dc384d' })));
122
+ }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: 'fcb609d847cf496ada314f386a9b82dab58a7c19' })));
120
123
  }
121
124
  static get is() { return "duet-tab"; }
122
125
  static get encapsulation() { return "shadow"; }
@@ -226,14 +229,61 @@ export class DuetTab {
226
229
  },
227
230
  "required": false,
228
231
  "optional": false,
232
+ "docs": {
233
+ "tags": [{
234
+ "name": "deprecated",
235
+ "text": "Use indicator property instead.\nNotification mark to show in the tab button. Works better with plain variation, as the dark background of\nselected default button makes the mark less noticable."
236
+ }],
237
+ "text": ""
238
+ },
239
+ "getter": false,
240
+ "setter": false,
241
+ "reflect": true
242
+ },
243
+ "indicator": {
244
+ "type": "string",
245
+ "attribute": "indicator",
246
+ "mutable": true,
247
+ "complexType": {
248
+ "original": "IndicatorVariation",
249
+ "resolved": "\"change\" | \"error\" | \"new\" | \"success\"",
250
+ "references": {
251
+ "IndicatorVariation": {
252
+ "location": "import",
253
+ "path": "../duet-indicator/duet-indicator",
254
+ "id": "src/components/duet-indicator/duet-indicator.tsx::IndicatorVariation"
255
+ }
256
+ }
257
+ },
258
+ "required": false,
259
+ "optional": false,
229
260
  "docs": {
230
261
  "tags": [],
231
- "text": "Notification mark to show in the tab button. Works better with plain variation, as the dark background of\nselected default button makes the mark less noticable."
262
+ "text": "Indicator to show in the tab button."
232
263
  },
233
264
  "getter": false,
234
265
  "setter": false,
235
266
  "reflect": true
236
267
  },
268
+ "indicatorAccessibleLabel": {
269
+ "type": "string",
270
+ "attribute": "indicator-accessible-label",
271
+ "mutable": false,
272
+ "complexType": {
273
+ "original": "string",
274
+ "resolved": "string",
275
+ "references": {}
276
+ },
277
+ "required": false,
278
+ "optional": false,
279
+ "docs": {
280
+ "tags": [],
281
+ "text": "Provides accessible text for the Duet Indicator. If Indicator's default is sufficient this is not needed."
282
+ },
283
+ "getter": false,
284
+ "setter": false,
285
+ "reflect": false
286
+ },
237
287
  "accessibleDescriptionDefault": {
238
288
  "type": "string",
239
289
  "attribute": "accessible-description-defaults",
@@ -166,74 +166,19 @@
166
166
  min-width: fit-content;
167
167
  text-align: center;
168
168
  }
169
- .duet-tab-button.duet-notification-mark-warning::after {
169
+ .duet-tab-button duet-indicator {
170
170
  position: absolute;
171
- top: 6px;
172
- right: 6px;
173
- display: inline-block;
174
- width: 6px;
175
- height: 6px;
176
- content: "";
177
- border-radius: 50%;
178
- background: rgb(247, 178, 40);
179
- box-shadow: 0 0 0 1px #dea024;
171
+ top: 5px;
172
+ right: 5px;
180
173
  }
181
- .duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after {
182
- top: calc(50% - 0.5rem - 6px);
183
- right: -6px;
184
- }
185
- .duet-tab-button.duet-notification-mark-danger::after {
186
- position: absolute;
187
- top: 6px;
188
- right: 6px;
189
- display: inline-block;
190
- width: 6px;
191
- height: 6px;
192
- content: "";
193
- border-radius: 50%;
194
- background: rgb(214, 28, 82);
195
- box-shadow: 0 0 0 1px #c1194a;
196
- }
197
- .duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after {
198
- top: calc(50% - 0.5rem - 6px);
199
- right: -6px;
174
+ .duet-tab-variation-plain .duet-tab-button duet-indicator {
175
+ top: calc(50% - 0.5rem - 7px);
176
+ right: -7px;
200
177
  }
201
178
  .duet-theme-turva .duet-tab-button {
202
179
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
203
180
  color: rgb(23, 28, 58);
204
181
  }
205
- .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after {
206
- position: absolute;
207
- top: 6px;
208
- right: 6px;
209
- display: inline-block;
210
- width: 6px;
211
- height: 6px;
212
- content: "";
213
- border-radius: 50%;
214
- background: rgb(247, 178, 40);
215
- box-shadow: 0 0 0 1px #dea024;
216
- }
217
- .duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after {
218
- top: calc(50% - 0.5rem - 6px);
219
- right: -6px;
220
- }
221
- .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after {
222
- position: absolute;
223
- top: 6px;
224
- right: 6px;
225
- display: inline-block;
226
- width: 6px;
227
- height: 6px;
228
- content: "";
229
- border-radius: 50%;
230
- background: rgb(214, 28, 82);
231
- box-shadow: 0 0 0 1px #c1194a;
232
- }
233
- .duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after {
234
- top: calc(50% - 0.5rem - 6px);
235
- right: -6px;
236
- }
237
182
  .duet-tab-button.duet-p-0 {
238
183
  padding: 0 !important;
239
184
  }