@duetds/components 6.8.1 → 6.8.3

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 (562) hide show
  1. package/hydrate/index.js +259 -63
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -2
  14. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +11 -3
  32. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +17 -4
  33. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -1
  35. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +10 -4
  51. package/lib/cjs/duet-slideout-panel.cjs.entry.js +31 -10
  52. package/lib/cjs/duet-slideout.cjs.entry.js +42 -10
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +13 -3
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +31 -5
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +12 -3
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +42 -4
  58. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +11 -3
  61. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +17 -4
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -1
  65. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  68. package/lib/cjs/duet.cjs.js +2 -2
  69. package/lib/cjs/{focus-utils-b0dc8aa1.js → focus-utils-2ff2eab6.js} +1 -1
  70. package/lib/cjs/{index-d02209e9.js → index-6d5f06d0.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/collection/components/duet-collapsible/duet-collapsible.css +3 -0
  73. package/lib/collection/components/duet-collapsible/duet-collapsible.js +20 -0
  74. package/lib/collection/components/duet-hero/duet-hero.css +8 -2
  75. package/lib/collection/components/duet-hero/duet-hero.js +1 -1
  76. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +16 -1
  77. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +10 -0
  78. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +7 -0
  79. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +41 -2
  80. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
  81. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +9 -1
  82. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +10 -0
  83. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
  84. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  85. package/lib/collection/components/duet-slideout/duet-slideout.css +15 -1
  86. package/lib/collection/components/duet-slideout/duet-slideout.js +69 -7
  87. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  88. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -0
  89. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +1 -1
  90. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +18 -2
  91. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +54 -7
  92. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +13 -3
  93. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +34 -2
  94. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +7 -0
  95. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +71 -2
  96. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +41 -8
  97. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +73 -3
  98. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +30 -0
  99. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +29 -1
  100. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +54 -0
  101. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +28 -1
  102. package/lib/collection/components/duet-tab-group/duet-tab-group.css +8 -0
  103. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +7 -0
  104. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +41 -2
  105. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -0
  106. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +9 -1
  107. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +7 -0
  108. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
  109. package/lib/collection/components/duet-tooltip/duet-tooltip.js +3 -0
  110. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  111. package/lib/dist-custom-elements/duet-alert.js +1 -1
  112. package/lib/dist-custom-elements/duet-badge.js +1 -1
  113. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  114. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  115. package/lib/dist-custom-elements/duet-button.js +1 -1
  116. package/lib/dist-custom-elements/duet-caption.js +1 -1
  117. package/lib/dist-custom-elements/duet-card.js +3 -3
  118. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  119. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  120. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  121. package/lib/dist-custom-elements/duet-choice.js +5 -5
  122. package/lib/dist-custom-elements/duet-collapsible.js +6 -3
  123. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  124. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  125. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  126. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  127. package/lib/dist-custom-elements/duet-divider.js +1 -1
  128. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  129. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  130. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  131. package/lib/dist-custom-elements/duet-footer.js +4 -4
  132. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  133. package/lib/dist-custom-elements/duet-grid.js +1 -1
  134. package/lib/dist-custom-elements/duet-header.js +8 -8
  135. package/lib/dist-custom-elements/duet-heading.js +1 -1
  136. package/lib/dist-custom-elements/duet-hero.js +11 -11
  137. package/lib/dist-custom-elements/duet-icon.js +1 -1
  138. package/lib/dist-custom-elements/duet-input.js +1 -1
  139. package/lib/dist-custom-elements/duet-label.js +1 -1
  140. package/lib/dist-custom-elements/duet-layout.js +1 -1
  141. package/lib/dist-custom-elements/duet-link.js +1 -1
  142. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  143. package/lib/dist-custom-elements/duet-list.js +1 -1
  144. package/lib/dist-custom-elements/duet-logo.js +1 -1
  145. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  146. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +12 -4
  147. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +20 -6
  148. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  149. package/lib/dist-custom-elements/duet-menu-bar.js +9 -3
  150. package/lib/dist-custom-elements/duet-modal.js +7 -7
  151. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  152. package/lib/dist-custom-elements/duet-nav.js +1 -1
  153. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  154. package/lib/dist-custom-elements/duet-notification.js +2 -2
  155. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  156. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  157. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  158. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  159. package/lib/dist-custom-elements/duet-progress.js +1 -1
  160. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  161. package/lib/dist-custom-elements/duet-radio.js +1 -1
  162. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  163. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  164. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  165. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  166. package/lib/dist-custom-elements/duet-select.js +1 -1
  167. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -10
  168. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  169. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +13 -6
  170. package/lib/dist-custom-elements/duet-slideout-panel.js +33 -11
  171. package/lib/dist-custom-elements/duet-slideout.js +44 -12
  172. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  173. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  174. package/lib/dist-custom-elements/duet-step.js +4 -4
  175. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  176. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +15 -4
  177. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +35 -7
  178. package/lib/dist-custom-elements/duet-submenu-bar-link.js +14 -4
  179. package/lib/dist-custom-elements/duet-submenu-bar.js +46 -6
  180. package/lib/dist-custom-elements/duet-tab-group.js +10 -10
  181. package/lib/dist-custom-elements/duet-tab.js +1 -1
  182. package/lib/dist-custom-elements/duet-table.js +1 -1
  183. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  184. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  185. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +12 -4
  186. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +20 -6
  187. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  188. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  189. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  190. package/lib/dist-custom-elements/duet-tray.js +3 -3
  191. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  192. package/lib/dist-custom-elements/duet-upload.js +18 -18
  193. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  194. package/lib/dist-custom-elements/index.js +1 -1
  195. package/lib/dist-custom-elements/{p-6f251b0d.js → p-05e73b74.js} +1 -1
  196. package/lib/dist-custom-elements/{p-2b1e6b5d.js → p-10030e7c.js} +1 -1
  197. package/lib/dist-custom-elements/{p-2d0de36a.js → p-13d9d4b0.js} +1 -1
  198. package/lib/dist-custom-elements/{p-43c6d719.js → p-1cb77270.js} +2 -2
  199. package/lib/dist-custom-elements/{p-f6acbcec.js → p-26afb575.js} +1 -1
  200. package/lib/dist-custom-elements/{p-51d9c7c1.js → p-2e97d3cf.js} +1 -1
  201. package/lib/dist-custom-elements/{p-9ffd6287.js → p-4a7f34e4.js} +2 -2
  202. package/lib/dist-custom-elements/{p-01ffc602.js → p-4ad31816.js} +1 -1
  203. package/lib/dist-custom-elements/{p-bf7f746f.js → p-53076cdd.js} +2 -2
  204. package/lib/dist-custom-elements/{p-cc3bb9f3.js → p-57aace09.js} +6 -3
  205. package/lib/dist-custom-elements/{p-76544393.js → p-5ab6461c.js} +1 -1
  206. package/lib/dist-custom-elements/{p-cdd3420f.js → p-681c9a42.js} +5 -5
  207. package/lib/dist-custom-elements/{p-a9b833c4.js → p-6a8cdb7b.js} +1 -1
  208. package/lib/dist-custom-elements/{p-2053808f.js → p-7a6f9236.js} +1 -1
  209. package/lib/dist-custom-elements/{p-d9c36445.js → p-84c970d9.js} +1 -1
  210. package/lib/dist-custom-elements/{p-20a7e678.js → p-87b5525b.js} +3 -3
  211. package/lib/dist-custom-elements/{p-aa7f3d85.js → p-89dbfa07.js} +1 -1
  212. package/lib/dist-custom-elements/{p-ba3c9ede.js → p-8aa1b007.js} +1 -1
  213. package/lib/dist-custom-elements/{p-3ec4c5a3.js → p-8d8f500f.js} +6 -6
  214. package/lib/dist-custom-elements/{p-aa4fc281.js → p-9556589f.js} +1 -1
  215. package/lib/dist-custom-elements/{p-55d4ce4d.js → p-9b6166b7.js} +1 -1
  216. package/lib/dist-custom-elements/{p-1ef726c7.js → p-9bf072bd.js} +2 -2
  217. package/lib/dist-custom-elements/{p-e1c7945c.js → p-9cfa785f.js} +3 -3
  218. package/lib/dist-custom-elements/{p-5cd6cc1c.js → p-9f1bb199.js} +1 -1
  219. package/lib/dist-custom-elements/{p-c4e077b3.js → p-a0efab88.js} +4 -4
  220. package/lib/dist-custom-elements/{p-e65fa79a.js → p-c86c6df0.js} +2 -2
  221. package/lib/dist-custom-elements/{p-6a114fc5.js → p-cb7de9dd.js} +1 -1
  222. package/lib/dist-custom-elements/{p-d8caf2d2.js → p-ce7b7450.js} +1 -1
  223. package/lib/dist-custom-elements/{p-156628ee.js → p-d5e06462.js} +1 -1
  224. package/lib/dist-custom-elements/{p-326cf323.js → p-db69ae9d.js} +7 -7
  225. package/lib/dist-custom-elements/{p-53e6d3f1.js → p-dd03af24.js} +1 -1
  226. package/lib/dist-custom-elements/{p-6aa4d505.js → p-f7a12024.js} +8 -8
  227. package/lib/duet/duet.esm.js +1 -1
  228. package/lib/duet/duet.js +1 -1
  229. package/lib/duet/{p-f6b884c4.system.entry.js → p-0115b516.system.entry.js} +1 -1
  230. package/lib/duet/{p-b35baeed.system.entry.js → p-01833853.system.entry.js} +1 -1
  231. package/lib/duet/{p-427add54.system.entry.js → p-032d0db3.system.entry.js} +1 -1
  232. package/lib/duet/{p-d07aacdc.system.entry.js → p-0335d3ba.system.entry.js} +2 -2
  233. package/lib/duet/p-04a1f201.entry.js +4 -0
  234. package/lib/duet/{p-a37ef41d.system.entry.js → p-07f8de09.system.entry.js} +1 -1
  235. package/lib/duet/{p-21ecd01e.entry.js → p-0f2c807b.entry.js} +1 -1
  236. package/lib/duet/p-1515b46a.entry.js +4 -0
  237. package/lib/duet/{p-f5db84bb.entry.js → p-15b65a7c.entry.js} +1 -1
  238. package/lib/duet/p-15e1c955.entry.js +4 -0
  239. package/lib/duet/{p-113efe69.system.entry.js → p-18a1350b.system.entry.js} +2 -2
  240. package/lib/duet/{p-20dc2ce5.system.entry.js → p-1bb2106c.system.entry.js} +1 -1
  241. package/lib/duet/{p-afe0e62a.entry.js → p-1c21f6ee.entry.js} +1 -1
  242. package/lib/duet/{p-334a3c39.system.entry.js → p-1ccc3647.system.entry.js} +1 -1
  243. package/lib/duet/{p-700a95eb.system.entry.js → p-1e86fdd0.system.entry.js} +1 -1
  244. package/lib/duet/{p-81308c38.entry.js → p-1ea20994.entry.js} +1 -1
  245. package/lib/duet/{p-283301cd.entry.js → p-1ec42ecd.entry.js} +1 -1
  246. package/lib/duet/{p-17d9c17b.system.entry.js → p-20291d6a.system.entry.js} +1 -1
  247. package/lib/duet/{p-365da977.system.entry.js → p-259eff20.system.entry.js} +1 -1
  248. package/lib/duet/p-268a27e0.system.entry.js +4 -0
  249. package/lib/duet/{p-9291c5a9.system.entry.js → p-2765a53e.system.entry.js} +1 -1
  250. package/lib/duet/p-2a57d9b6.entry.js +4 -0
  251. package/lib/duet/{p-17680aab.system.entry.js → p-2b3c2e41.system.entry.js} +1 -1
  252. package/lib/duet/{p-6a4118bf.entry.js → p-2c19f162.entry.js} +1 -1
  253. package/lib/duet/{p-b11d4150.system.entry.js → p-2d0a6607.system.entry.js} +1 -1
  254. package/lib/duet/{p-61d0fa5b.entry.js → p-2e5b3bcf.entry.js} +1 -1
  255. package/lib/duet/{p-35daef86.entry.js → p-2e6a3a17.entry.js} +1 -1
  256. package/lib/duet/{p-6f621e11.system.entry.js → p-31159c85.system.entry.js} +1 -1
  257. package/lib/duet/{p-4f03d185.entry.js → p-35afcb27.entry.js} +1 -1
  258. package/lib/duet/p-39c79c00.system.entry.js +4 -0
  259. package/lib/duet/p-3ab084e8.system.entry.js +4 -0
  260. package/lib/duet/{p-da8c937e.entry.js → p-3aeb487a.entry.js} +1 -1
  261. package/lib/duet/{p-bde04bd3.entry.js → p-3c5967bc.entry.js} +1 -1
  262. package/lib/duet/p-3dc1f3c6.system.entry.js +4 -0
  263. package/lib/duet/p-3f01f964.system.entry.js +4 -0
  264. package/lib/duet/{p-04a72387.system.entry.js → p-3ffbaf35.system.entry.js} +1 -1
  265. package/lib/duet/p-40b6203e.system.entry.js +4 -0
  266. package/lib/duet/{p-03de94fe.entry.js → p-4266b177.entry.js} +1 -1
  267. package/lib/duet/p-44c56bb6.entry.js +4 -0
  268. package/lib/duet/{p-7727a44a.entry.js → p-470e0520.entry.js} +1 -1
  269. package/lib/duet/p-475f863c.entry.js +4 -0
  270. package/lib/duet/{p-bb7b92e9.entry.js → p-48a22eca.entry.js} +1 -1
  271. package/lib/duet/{p-a5b08a77.system.entry.js → p-49ebb54d.system.entry.js} +1 -1
  272. package/lib/duet/p-4af19474.entry.js +4 -0
  273. package/lib/duet/p-4d25be5d.entry.js +4 -0
  274. package/lib/duet/{p-25f31f1d.entry.js → p-4d5cb241.entry.js} +1 -1
  275. package/lib/duet/{p-93564d46.entry.js → p-4ddb8b0f.entry.js} +1 -1
  276. package/lib/duet/p-4f203781.js +4 -0
  277. package/lib/duet/{p-3a6729c3.entry.js → p-50ee41e3.entry.js} +1 -1
  278. package/lib/duet/p-51588335.entry.js +4 -0
  279. package/lib/duet/{p-fed8565c.entry.js → p-53de8491.entry.js} +1 -1
  280. package/lib/duet/p-56b49a2b.system.entry.js +4 -0
  281. package/lib/duet/{p-e4355e6c.entry.js → p-5a884cab.entry.js} +1 -1
  282. package/lib/duet/p-5bf71c27.entry.js +4 -0
  283. package/lib/duet/p-5fcf69f8.entry.js +4 -0
  284. package/lib/duet/{p-6bce1181.system.entry.js → p-614c7065.system.entry.js} +1 -1
  285. package/lib/duet/{p-d82c4706.entry.js → p-64c8ddb9.entry.js} +1 -1
  286. package/lib/duet/{p-78ed0c18.entry.js → p-68ab467a.entry.js} +1 -1
  287. package/lib/duet/{p-35f98b09.system.entry.js → p-70425e80.system.entry.js} +1 -1
  288. package/lib/duet/p-74c8d3c2.entry.js +4 -0
  289. package/lib/duet/{p-e97f7391.system.entry.js → p-74e6b8fd.system.entry.js} +1 -1
  290. package/lib/duet/p-75492e02.system.entry.js +4 -0
  291. package/lib/duet/{p-c1ebf12e.system.entry.js → p-76fdc86f.system.entry.js} +1 -1
  292. package/lib/duet/{p-1d7f1df4.entry.js → p-770f94ca.entry.js} +1 -1
  293. package/lib/duet/p-77c2e21e.system.js +4 -0
  294. package/lib/duet/p-7c7f6370.entry.js +4 -0
  295. package/lib/duet/p-7f1506d7.entry.js +4 -0
  296. package/lib/duet/p-7ff34de9.entry.js +4 -0
  297. package/lib/duet/p-82e4f38f.entry.js +4 -0
  298. package/lib/duet/{p-b81a4e3c.entry.js → p-84cf594e.entry.js} +1 -1
  299. package/lib/duet/{p-d6925758.entry.js → p-84f17b60.entry.js} +1 -1
  300. package/lib/duet/{p-1babc6be.entry.js → p-85961465.entry.js} +1 -1
  301. package/lib/duet/{p-4d585c01.entry.js → p-886c35c2.entry.js} +1 -1
  302. package/lib/duet/{p-be1ca3c9.system.entry.js → p-8ae86f38.system.entry.js} +1 -1
  303. package/lib/duet/{p-cdf2e7e8.system.entry.js → p-8d4c36cc.system.entry.js} +1 -1
  304. package/lib/duet/{p-9acb547a.entry.js → p-8e6d9b39.entry.js} +1 -1
  305. package/lib/duet/{p-4707c32c.entry.js → p-8ed7e105.entry.js} +1 -1
  306. package/lib/duet/p-8f1e0f63.entry.js +4 -0
  307. package/lib/duet/{p-95c75961.system.entry.js → p-9207cd90.system.entry.js} +1 -1
  308. package/lib/duet/{p-2c44325a.system.js → p-92d37e55.system.js} +1 -1
  309. package/lib/duet/{p-2fb4f3b5.entry.js → p-9431cbd9.entry.js} +1 -1
  310. package/lib/duet/{p-95c0d478.system.entry.js → p-94fa2062.system.entry.js} +1 -1
  311. package/lib/duet/{p-f12bf693.entry.js → p-9693b127.entry.js} +1 -1
  312. package/lib/duet/{p-7a3f2b74.entry.js → p-9a911da7.entry.js} +1 -1
  313. package/lib/duet/{p-40b97e14.system.entry.js → p-9abc893a.system.entry.js} +1 -1
  314. package/lib/duet/{p-072cc012.entry.js → p-9aebf3f7.entry.js} +1 -1
  315. package/lib/duet/{p-05ca989b.system.entry.js → p-9ca2af16.system.entry.js} +1 -1
  316. package/lib/duet/{p-0535962b.system.entry.js → p-9d4592dc.system.entry.js} +1 -1
  317. package/lib/duet/{p-66584556.system.entry.js → p-9fd3df4e.system.entry.js} +1 -1
  318. package/lib/duet/{p-975684e4.system.entry.js → p-a6653cdc.system.entry.js} +1 -1
  319. package/lib/duet/{p-70f4ebe3.system.entry.js → p-a8432547.system.entry.js} +1 -1
  320. package/lib/duet/{p-33884197.entry.js → p-a8d67797.entry.js} +1 -1
  321. package/lib/duet/{p-5f0b9b1c.system.entry.js → p-aabd9905.system.entry.js} +1 -1
  322. package/lib/duet/{p-cd7db17d.entry.js → p-ab4af140.entry.js} +1 -1
  323. package/lib/duet/p-abdd047f.system.entry.js +4 -0
  324. package/lib/duet/{p-f936f13c.system.entry.js → p-b1296afd.system.entry.js} +1 -1
  325. package/lib/duet/{p-51410532.system.entry.js → p-b3c6d973.system.entry.js} +1 -1
  326. package/lib/duet/{p-c7b63dea.system.entry.js → p-b7c160f8.system.entry.js} +1 -1
  327. package/lib/duet/{p-561ad02e.system.entry.js → p-c3436d4d.system.entry.js} +1 -1
  328. package/lib/duet/{p-2058c3cb.entry.js → p-c48232b6.entry.js} +1 -1
  329. package/lib/duet/p-c88e1b86.system.entry.js +4 -0
  330. package/lib/duet/{p-38a57d62.entry.js → p-c96b1fae.entry.js} +1 -1
  331. package/lib/duet/{p-6f85b3b2.entry.js → p-c989c952.entry.js} +1 -1
  332. package/lib/duet/{p-6ba49302.entry.js → p-ca6f6878.entry.js} +1 -1
  333. package/lib/duet/{p-9340367b.entry.js → p-cb814de3.entry.js} +1 -1
  334. package/lib/duet/p-cbd1e2c6.system.entry.js +4 -0
  335. package/lib/duet/{p-0b8d596f.entry.js → p-cc332f12.entry.js} +1 -1
  336. package/lib/duet/p-cffc25f7.system.entry.js +4 -0
  337. package/lib/duet/p-d03517b4.system.entry.js +4 -0
  338. package/lib/duet/{p-15df8929.js → p-d4d0fd29.js} +1 -1
  339. package/lib/duet/{p-062f3759.system.entry.js → p-d4e3b832.system.entry.js} +1 -1
  340. package/lib/duet/{p-a5331bb2.entry.js → p-d7014558.entry.js} +1 -1
  341. package/lib/duet/{p-f3ac3c5b.system.entry.js → p-d7d050f5.system.entry.js} +1 -1
  342. package/lib/duet/p-d871a695.system.entry.js +4 -0
  343. package/lib/duet/{p-3176b8fc.entry.js → p-d8d0fb8f.entry.js} +1 -1
  344. package/lib/duet/{p-4c1e550d.system.entry.js → p-d94e5b57.system.entry.js} +1 -1
  345. package/lib/duet/{p-047713ed.system.entry.js → p-d9a1ce3e.system.entry.js} +1 -1
  346. package/lib/duet/p-da73f58c.system.entry.js +4 -0
  347. package/lib/duet/{p-81844f31.system.js → p-dbc13c36.system.js} +1 -1
  348. package/lib/duet/p-dd6b8fec.system.entry.js +4 -0
  349. package/lib/duet/{p-3e100ee8.system.entry.js → p-deb0bf2b.system.entry.js} +1 -1
  350. package/lib/duet/{p-1c3be420.system.entry.js → p-def345e8.system.entry.js} +1 -1
  351. package/lib/duet/{p-e56d2f1e.system.entry.js → p-e30006d7.system.entry.js} +1 -1
  352. package/lib/duet/p-e459f448.entry.js +4 -0
  353. package/lib/duet/{p-410fd1f0.system.entry.js → p-e651dcce.system.entry.js} +1 -1
  354. package/lib/duet/{p-07e4077e.entry.js → p-eb92e362.entry.js} +1 -1
  355. package/lib/duet/p-ecb55af2.system.entry.js +4 -0
  356. package/lib/duet/{p-76858d7c.system.entry.js → p-ef7c6a28.system.entry.js} +2 -2
  357. package/lib/duet/p-efdc7c2e.entry.js +4 -0
  358. package/lib/duet/p-efe489f3.entry.js +4 -0
  359. package/lib/duet/{p-74d1ce07.system.entry.js → p-f5708af6.system.entry.js} +1 -1
  360. package/lib/duet/{p-f9b6198b.system.entry.js → p-f998b544.system.entry.js} +1 -1
  361. package/lib/duet/{p-c538413b.system.entry.js → p-fc1cf69f.system.entry.js} +1 -1
  362. package/lib/duet/p-fd7a5a08.entry.js +4 -0
  363. package/lib/duet/{p-2065404b.entry.js → p-fd7de93a.entry.js} +1 -1
  364. package/lib/duet/{p-1de3cfb8.entry.js → p-fee010a2.entry.js} +1 -1
  365. package/lib/duet/{p-b226a97c.system.entry.js → p-ff84ff9d.system.entry.js} +1 -1
  366. package/lib/esm/duet-action-button.entry.js +1 -1
  367. package/lib/esm/duet-alert.entry.js +1 -1
  368. package/lib/esm/duet-badge.entry.js +1 -1
  369. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  370. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  371. package/lib/esm/duet-button_2.entry.js +1 -1
  372. package/lib/esm/duet-caption_4.entry.js +1 -1
  373. package/lib/esm/duet-card.entry.js +1 -1
  374. package/lib/esm/duet-checkbox.entry.js +1 -1
  375. package/lib/esm/duet-checkmark.entry.js +1 -1
  376. package/lib/esm/duet-choice_2.entry.js +2 -2
  377. package/lib/esm/duet-collapsible.entry.js +4 -2
  378. package/lib/esm/duet-combobox.entry.js +1 -1
  379. package/lib/esm/duet-contact-card.entry.js +1 -1
  380. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  381. package/lib/esm/duet-date-picker.entry.js +2 -2
  382. package/lib/esm/duet-divider_2.entry.js +1 -1
  383. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  384. package/lib/esm/duet-empty-state.entry.js +1 -1
  385. package/lib/esm/duet-fieldset.entry.js +1 -1
  386. package/lib/esm/duet-footer.entry.js +1 -1
  387. package/lib/esm/duet-grid_2.entry.js +1 -1
  388. package/lib/esm/duet-header_2.entry.js +1 -1
  389. package/lib/esm/duet-hero.entry.js +3 -3
  390. package/lib/esm/duet-icon.entry.js +1 -1
  391. package/lib/esm/duet-input_2.entry.js +1 -1
  392. package/lib/esm/duet-layout.entry.js +1 -1
  393. package/lib/esm/duet-list_2.entry.js +1 -1
  394. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  395. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +11 -3
  396. package/lib/esm/duet-menu-bar-dropdown.entry.js +17 -4
  397. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  398. package/lib/esm/duet-menu-bar.entry.js +7 -1
  399. package/lib/esm/duet-modal.entry.js +2 -2
  400. package/lib/esm/duet-multiselect.entry.js +1 -1
  401. package/lib/esm/duet-nav.entry.js +1 -1
  402. package/lib/esm/duet-notification_2.entry.js +1 -1
  403. package/lib/esm/duet-number-input.entry.js +3 -3
  404. package/lib/esm/duet-page-heading.entry.js +1 -1
  405. package/lib/esm/duet-pagination_2.entry.js +1 -1
  406. package/lib/esm/duet-progress.entry.js +1 -1
  407. package/lib/esm/duet-radio_2.entry.js +1 -1
  408. package/lib/esm/duet-range-slider.entry.js +1 -1
  409. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  410. package/lib/esm/duet-section-layout.entry.js +1 -1
  411. package/lib/esm/duet-select.entry.js +1 -1
  412. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  413. package/lib/esm/duet-slideout-link.entry.js +3 -3
  414. package/lib/esm/duet-slideout-panel-dropdown.entry.js +10 -4
  415. package/lib/esm/duet-slideout-panel.entry.js +31 -10
  416. package/lib/esm/duet-slideout.entry.js +42 -10
  417. package/lib/esm/duet-step_2.entry.js +1 -1
  418. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +13 -3
  419. package/lib/esm/duet-submenu-bar-dropdown.entry.js +31 -5
  420. package/lib/esm/duet-submenu-bar-link.entry.js +12 -3
  421. package/lib/esm/duet-submenu-bar.entry.js +42 -4
  422. package/lib/esm/duet-textarea.entry.js +1 -1
  423. package/lib/esm/duet-toggle.entry.js +1 -1
  424. package/lib/esm/duet-toolbar-dropdown-link.entry.js +11 -3
  425. package/lib/esm/duet-toolbar-dropdown.entry.js +17 -4
  426. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  427. package/lib/esm/duet-toolbar.entry.js +1 -1
  428. package/lib/esm/duet-tooltip.entry.js +4 -1
  429. package/lib/esm/duet-tray.entry.js +1 -1
  430. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  431. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  432. package/lib/esm/duet.js +3 -3
  433. package/lib/esm/{focus-utils-e582db06.js → focus-utils-24487417.js} +1 -1
  434. package/lib/esm/{index-2ffd554c.js → index-3b6ef857.js} +1 -1
  435. package/lib/esm/loader.js +3 -3
  436. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  437. package/lib/esm-es5/duet-alert.entry.js +1 -1
  438. package/lib/esm-es5/duet-badge.entry.js +1 -1
  439. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  440. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  441. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  442. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  443. package/lib/esm-es5/duet-card.entry.js +1 -1
  444. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  445. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  446. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  447. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  448. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  449. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  450. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  451. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  452. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  453. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  454. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  455. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  456. package/lib/esm-es5/duet-footer.entry.js +1 -1
  457. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  458. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  459. package/lib/esm-es5/duet-hero.entry.js +1 -1
  460. package/lib/esm-es5/duet-icon.entry.js +1 -1
  461. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  462. package/lib/esm-es5/duet-layout.entry.js +1 -1
  463. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  464. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  465. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  466. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  467. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  468. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  469. package/lib/esm-es5/duet-modal.entry.js +1 -1
  470. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  471. package/lib/esm-es5/duet-nav.entry.js +1 -1
  472. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  473. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  474. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  475. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  476. package/lib/esm-es5/duet-progress.entry.js +1 -1
  477. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  478. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  479. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  480. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  481. package/lib/esm-es5/duet-select.entry.js +1 -1
  482. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  483. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  484. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  485. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  486. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  487. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  488. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  489. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  490. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  491. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  492. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  493. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  494. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  495. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  496. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  497. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  498. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  499. package/lib/esm-es5/duet-tray.entry.js +1 -1
  500. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  501. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  502. package/lib/esm-es5/duet.js +1 -1
  503. package/lib/esm-es5/focus-utils-24487417.js +4 -0
  504. package/lib/esm-es5/{index-2ffd554c.js → index-3b6ef857.js} +1 -1
  505. package/lib/esm-es5/loader.js +1 -1
  506. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -0
  507. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +3 -1
  508. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +6 -0
  509. package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +1 -0
  510. package/lib/types/components/duet-slideout/duet-slideout.d.ts +9 -0
  511. package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +5 -0
  512. package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +5 -0
  513. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +11 -0
  514. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +10 -0
  515. package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +9 -0
  516. package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +5 -0
  517. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
  518. package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +1 -0
  519. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -0
  520. package/lib/types/components.d.ts +60 -0
  521. package/package.json +5 -5
  522. package/lib/duet/p-00172969.js +0 -4
  523. package/lib/duet/p-0050fcea.system.entry.js +0 -4
  524. package/lib/duet/p-0c65784e.entry.js +0 -4
  525. package/lib/duet/p-1ace9df6.system.entry.js +0 -4
  526. package/lib/duet/p-34db2dcf.entry.js +0 -4
  527. package/lib/duet/p-47ad406b.system.entry.js +0 -4
  528. package/lib/duet/p-4bd30449.system.entry.js +0 -4
  529. package/lib/duet/p-4f1e71ea.system.entry.js +0 -4
  530. package/lib/duet/p-56574368.entry.js +0 -4
  531. package/lib/duet/p-56f058c2.entry.js +0 -4
  532. package/lib/duet/p-643f0001.entry.js +0 -4
  533. package/lib/duet/p-666fe490.entry.js +0 -4
  534. package/lib/duet/p-729a6e20.entry.js +0 -4
  535. package/lib/duet/p-74ad3952.system.entry.js +0 -4
  536. package/lib/duet/p-7677f2f8.system.entry.js +0 -4
  537. package/lib/duet/p-7db95aa4.entry.js +0 -4
  538. package/lib/duet/p-7dea3b1c.entry.js +0 -4
  539. package/lib/duet/p-7e97bed4.system.entry.js +0 -4
  540. package/lib/duet/p-803bec7d.entry.js +0 -4
  541. package/lib/duet/p-8821f614.entry.js +0 -4
  542. package/lib/duet/p-8a363e59.entry.js +0 -4
  543. package/lib/duet/p-9bf1b6ec.entry.js +0 -4
  544. package/lib/duet/p-9e6763fd.system.entry.js +0 -4
  545. package/lib/duet/p-9e7923ce.entry.js +0 -4
  546. package/lib/duet/p-a036041f.entry.js +0 -4
  547. package/lib/duet/p-a09e6bdb.system.entry.js +0 -4
  548. package/lib/duet/p-a2293dee.system.js +0 -4
  549. package/lib/duet/p-a3da6b7b.system.entry.js +0 -4
  550. package/lib/duet/p-a5db1616.system.entry.js +0 -4
  551. package/lib/duet/p-a7ee23c4.entry.js +0 -4
  552. package/lib/duet/p-aace5d7b.entry.js +0 -4
  553. package/lib/duet/p-c829c363.entry.js +0 -4
  554. package/lib/duet/p-cad2ce97.system.entry.js +0 -4
  555. package/lib/duet/p-d337fd5d.entry.js +0 -4
  556. package/lib/duet/p-deadbb54.system.entry.js +0 -4
  557. package/lib/duet/p-e5aaea95.entry.js +0 -4
  558. package/lib/duet/p-ec4e2f2a.system.entry.js +0 -4
  559. package/lib/duet/p-f599ebfc.system.entry.js +0 -4
  560. package/lib/duet/p-f86b3eb4.system.entry.js +0 -4
  561. package/lib/duet/p-fd5f21d8.entry.js +0 -4
  562. package/lib/esm-es5/focus-utils-e582db06.js +0 -4
@@ -65,6 +65,7 @@ export class DuetCollapsible {
65
65
  this.theme = "";
66
66
  this.accessibleLabel = undefined;
67
67
  this.heading = "";
68
+ this.centerHeading = false;
68
69
  this.headingWeight = "semibold";
69
70
  this.headingSize = undefined;
70
71
  this.headingLevel = undefined;
@@ -98,6 +99,7 @@ export class DuetCollapsible {
98
99
  const HeadingTagName = this.headingLevel ? sanitizeString(this.headingLevel) : "div";
99
100
  return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName, null, h("button", { class: {
100
101
  "duet-collapsible-heading": true,
102
+ "duet-collapsible-heading-centered": this.centerHeading,
101
103
  "duet-theme-turva": this.theme === "turva",
102
104
  "duet-collapsible-normal-weight": this.headingWeight === "normal",
103
105
  "has-after-heading": this.hasAfterHeading,
@@ -175,6 +177,24 @@ export class DuetCollapsible {
175
177
  "reflect": false,
176
178
  "defaultValue": "\"\""
177
179
  },
180
+ "centerHeading": {
181
+ "type": "boolean",
182
+ "mutable": false,
183
+ "complexType": {
184
+ "original": "boolean",
185
+ "resolved": "boolean",
186
+ "references": {}
187
+ },
188
+ "required": false,
189
+ "optional": false,
190
+ "docs": {
191
+ "tags": [],
192
+ "text": "Centers heading inside its container"
193
+ },
194
+ "attribute": "center-heading",
195
+ "reflect": false,
196
+ "defaultValue": "false"
197
+ },
178
198
  "headingWeight": {
179
199
  "type": "string",
180
200
  "mutable": false,
@@ -122,13 +122,19 @@
122
122
  .duet-hero.duet-hero-campaign, .duet-hero.duet-hero-section {
123
123
  padding: 0 0 48px;
124
124
  margin: 0;
125
- overflow: hidden;
126
125
  background: none;
127
126
  }
128
- .duet-hero.duet-hero-campaign .background, .duet-hero.duet-hero-section .background {
127
+ .duet-hero.duet-hero-campaign .background-area, .duet-hero.duet-hero-section .background-area {
128
+ height: 1px;
129
+ margin-bottom: -1px;
130
+ }
131
+ .duet-hero.duet-hero-campaign .background-container, .duet-hero.duet-hero-section .background-container {
129
132
  position: absolute;
130
133
  right: 0;
131
134
  left: 0;
135
+ overflow: hidden;
136
+ }
137
+ .duet-hero.duet-hero-campaign .background, .duet-hero.duet-hero-section .background {
132
138
  display: flex;
133
139
  align-items: flex-start;
134
140
  justify-content: center;
@@ -151,7 +151,7 @@ export class DuetHero {
151
151
  "duet-hero-gray-with-back": !!this.processedBack,
152
152
  "duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
153
153
  "duet-hero-left-align": this.leftAlign && !campaignOrSection,
154
- }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", null, h("div", { class: "background" }, h("img", { src: this.image, alt: "", role: "presentation" })), h("div", { class: "brand-shape" }))), this.variation === "product" && this.image && (h("div", { class: { background: true, [this.layout]: true } }, h("div", { class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { class: { "brand-shape": true, [this.layout]: true } }), h("div", { class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))), this.variation === "content" && this.image && (h("div", { class: "background" }, h("div", { class: "background-mask" }), this.theme !== "turva" && h("div", { class: "brand-shape" }), h("div", { class: "brand-shaped-image" }, h("div", { class: "brand-shaped-image-wrapper" }, h("div", { class: "brand-shaped-image-bg", style: styles }))))), h("div", { class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { class: "duet-hero-image-mask" }, h("div", { class: "duet-hero-image-wrapper" }, h("div", { class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
154
+ }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { class: "background-area" }, h("div", { class: "background-container" }, h("div", { class: "background" }, h("img", { src: this.image, alt: "", role: "presentation" })), h("div", { class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { class: { background: true, [this.layout]: true } }, h("div", { class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { class: { "brand-shape": true, [this.layout]: true } }), h("div", { class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))), this.variation === "content" && this.image && (h("div", { class: "background" }, h("div", { class: "background-mask" }), this.theme !== "turva" && h("div", { class: "brand-shape" }), h("div", { class: "brand-shaped-image" }, h("div", { class: "brand-shaped-image-wrapper" }, h("div", { class: "brand-shaped-image-bg", style: styles }))))), h("div", { class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { class: "duet-hero-image-mask" }, h("div", { class: "duet-hero-image-wrapper" }, h("div", { class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
155
155
  this.processedBack && (h("div", { class: "duet-hero-back" }, h("duet-button", { style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
156
156
  label: this.processedBack.label,
157
157
  href: this.processedBack.href,
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { media_query_large, media_query_xx_large } from "@duetds/tokens/lib/tokens.json";
5
5
  import { Build, h, Host } from "@stencil/core";
6
- import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ import { inheritGlobalTheme } from "../../common";
7
7
  /**
8
8
  * @slot center - Slot for content in center.
9
9
  * @slot right - Slot for content in right side.
@@ -96,6 +96,12 @@ export class DuetMenuBar {
96
96
  this.scrollToActive();
97
97
  }, 0);
98
98
  }
99
+ onWindowResize() {
100
+ clearTimeout(this.resizeTimer);
101
+ this.resizeTimer = setTimeout(() => {
102
+ this.scrollToActive();
103
+ }, 100);
104
+ }
99
105
  /**
100
106
  * render() function
101
107
  * Always the last one in the class.
@@ -214,4 +220,13 @@ export class DuetMenuBar {
214
220
  }];
215
221
  }
216
222
  static get elementRef() { return "element"; }
223
+ static get listeners() {
224
+ return [{
225
+ "name": "resize",
226
+ "method": "onWindowResize",
227
+ "target": "window",
228
+ "capture": false,
229
+ "passive": true
230
+ }];
231
+ }
217
232
  }
@@ -38,6 +38,16 @@
38
38
  text-decoration: none;
39
39
  cursor: pointer;
40
40
  }
41
+ .duet-menu-bar-button.duet-theme-turva {
42
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
43
+ }
44
+ .duet-menu-bar-button:focus {
45
+ outline: 0;
46
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
47
+ }
48
+ .duet-menu-bar-button:focus.duet-theme-turva {
49
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
50
+ }
41
51
  @media (min-width: 62em) {
42
52
  .duet-menu-bar-button {
43
53
  padding: 0 16px;
@@ -68,6 +68,10 @@
68
68
  .duet-menu-bar-dropdown button:hover {
69
69
  color: rgb(0, 119, 179);
70
70
  }
71
+ .duet-menu-bar-dropdown button:focus {
72
+ outline: 0;
73
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
74
+ }
71
75
  .duet-menu-bar-dropdown button .label {
72
76
  display: flex;
73
77
  gap: 0.5rem;
@@ -122,6 +126,9 @@
122
126
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
123
127
  color: rgb(23, 28, 58);
124
128
  }
129
+ .duet-menu-bar-dropdown.duet-theme-turva button:focus {
130
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
131
+ }
125
132
  .duet-menu-bar-dropdown.duet-theme-turva button:hover {
126
133
  color: rgb(198, 12, 48);
127
134
  }
@@ -4,6 +4,7 @@
4
4
  import { media_query_large } from "@duetds/tokens/lib/tokens.json";
5
5
  import { h, Host } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
+ import { isEscapeKey } from "../../utils/keyboard-utils";
7
8
  export class DuetMenuBarDropdown {
8
9
  constructor() {
9
10
  /**
@@ -71,6 +72,18 @@ export class DuetMenuBarDropdown {
71
72
  }
72
73
  this.boundMqlFunctions = [];
73
74
  }
75
+ handleEscape(e) {
76
+ if (isEscapeKey(e)) {
77
+ this.open = false;
78
+ this.setFocus();
79
+ }
80
+ }
81
+ /**
82
+ * Sets focus. Use this method instead of the global focus().
83
+ */
84
+ async setFocus(options) {
85
+ this.button.focus(options);
86
+ }
74
87
  /**
75
88
  * render() function
76
89
  * Always the last one in the class.
@@ -81,9 +94,9 @@ export class DuetMenuBarDropdown {
81
94
  "duet-theme-turva": this.theme === "turva",
82
95
  active: this.open,
83
96
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
84
- } }, h("button", { "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
97
+ } }, h("button", { 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: {
85
98
  active: this.open,
86
- }, onClick: this.onClick }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: this.iconSize, margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
99
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: this.iconSize, margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
87
100
  items: true,
88
101
  hidden: !this.open,
89
102
  } }, h("slot", null)))));
@@ -185,6 +198,32 @@ export class DuetMenuBarDropdown {
185
198
  "iconSize": {}
186
199
  };
187
200
  }
201
+ static get methods() {
202
+ return {
203
+ "setFocus": {
204
+ "complexType": {
205
+ "signature": "(options?: FocusOptions) => Promise<void>",
206
+ "parameters": [{
207
+ "tags": [],
208
+ "text": ""
209
+ }],
210
+ "references": {
211
+ "Promise": {
212
+ "location": "global"
213
+ },
214
+ "FocusOptions": {
215
+ "location": "global"
216
+ }
217
+ },
218
+ "return": "Promise<void>"
219
+ },
220
+ "docs": {
221
+ "text": "Sets focus. Use this method instead of the global focus().",
222
+ "tags": []
223
+ }
224
+ }
225
+ };
226
+ }
188
227
  static get elementRef() { return "element"; }
189
228
  static get listeners() {
190
229
  return [{
@@ -50,6 +50,13 @@
50
50
  .duet-menu-bar-dropdown-link--slot-right:hover.duet-theme-turva {
51
51
  background: rgb(228, 228, 230);
52
52
  }
53
+ .duet-menu-bar-dropdown-link--slot-right:focus {
54
+ outline: 0;
55
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
56
+ }
57
+ .duet-menu-bar-dropdown-link--slot-right:focus.duet-theme-turva {
58
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
59
+ }
53
60
  .duet-menu-bar-dropdown-link--slot-below:hover {
54
61
  color: rgb(0, 77, 128);
55
62
  background: rgb(243, 249, 252);
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ import { isEscapeKey } from "../../utils/keyboard-utils";
6
7
  export class DuetMenuBarDropdownLink {
7
8
  constructor() {
8
9
  this.getVariant = () => {
@@ -26,6 +27,13 @@ export class DuetMenuBarDropdownLink {
26
27
  componentWillLoad() {
27
28
  inheritGlobalTheme(this);
28
29
  }
30
+ handleEscape(e) {
31
+ if (isEscapeKey(e)) {
32
+ const dropdown = this.element.closest("duet-menu-bar-dropdown");
33
+ dropdown.open = false;
34
+ dropdown.setFocus();
35
+ }
36
+ }
29
37
  /**
30
38
  * render() function
31
39
  * Always the last one in the class.
@@ -35,7 +43,7 @@ export class DuetMenuBarDropdownLink {
35
43
  "duet-menu-bar-dropdown-link": true,
36
44
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
37
45
  "duet-theme-turva": this.theme === "turva",
38
- }, href: this.href, role: "menuitem" }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", null))));
46
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", null))));
39
47
  }
40
48
  static get is() { return "duet-menu-bar-dropdown-link"; }
41
49
  static get encapsulation() { return "shadow"; }
@@ -37,6 +37,9 @@
37
37
  text-decoration: none;
38
38
  white-space: nowrap;
39
39
  }
40
+ .duet-menu-bar-link.duet-theme-turva {
41
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
42
+ }
40
43
  @media (min-width: 62em) {
41
44
  .duet-menu-bar-link {
42
45
  padding: 0 16px;
@@ -47,6 +50,13 @@
47
50
  padding: 0 28px;
48
51
  }
49
52
  }
53
+ .duet-menu-bar-link:focus {
54
+ outline: 0;
55
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
56
+ }
57
+ .duet-menu-bar-link:focus.duet-theme-turva {
58
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
59
+ }
50
60
  .duet-menu-bar-link.active {
51
61
  color: rgb(0, 119, 179);
52
62
  }
@@ -60,7 +60,7 @@ export class DuetMenuBarLink {
60
60
  "duet-menu-bar-link": true,
61
61
  "duet-theme-turva": this.theme === "turva",
62
62
  active: this.active,
63
- }, href: this.href }, this.icon && (h("duet-icon", { theme: this.theme, size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" })), h("slot", null))));
63
+ }, href: this.href, "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { theme: this.theme, size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" })), h("slot", null))));
64
64
  }
65
65
  static get is() { return "duet-menu-bar-link"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -226,7 +226,7 @@ export class DuetNumberInput {
226
226
  this.duetInputElement.value = "";
227
227
  }
228
228
  formatAnnouncement() {
229
- const current = SafeParseFloat(this.value, this.locale);
229
+ const current = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
230
230
  if (current == null) {
231
231
  return "";
232
232
  }
@@ -239,7 +239,7 @@ export class DuetNumberInput {
239
239
  render() {
240
240
  const identifier = this.identifier || this.inputId;
241
241
  const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
242
- const cleanedValue = SafeParseFloat(this.value, this.locale);
242
+ const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
243
243
  return (h(Host, { class: {
244
244
  "duet-theme-turva": this.theme === "turva",
245
245
  "duet-expand": this.expand,
@@ -34,6 +34,10 @@
34
34
  opacity: 1;
35
35
  }
36
36
 
37
+ :host(:not([open])) ::slotted(duet-slideout-panel) {
38
+ display: none;
39
+ }
40
+
37
41
  .duet-slideout {
38
42
  display: flex;
39
43
  align-items: center;
@@ -98,6 +102,10 @@
98
102
  .duet-slideout .dialog .top button {
99
103
  cursor: pointer;
100
104
  }
105
+ .duet-slideout .dialog .top button:focus {
106
+ outline: 0;
107
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
108
+ }
101
109
  .duet-slideout .dialog .top duet-icon {
102
110
  padding: 16px;
103
111
  }
@@ -123,12 +131,18 @@
123
131
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
124
132
  color: rgb(23, 28, 58);
125
133
  }
134
+ .duet-slideout.duet-theme-turva button:focus {
135
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
136
+ }
126
137
  .duet-slideout.duet-theme-turva button.active {
127
138
  color: rgb(198, 12, 48);
128
139
  }
129
140
  .duet-slideout.duet-theme-turva button.active::after {
130
141
  background: rgb(198, 12, 48);
131
142
  }
143
+ .duet-slideout .dialog .top button:focus {
144
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
145
+ }
132
146
 
133
147
  ::slotted(*) {
134
148
  width: 100%;
@@ -138,7 +152,7 @@ slot {
138
152
  color: rgb(0, 41, 77);
139
153
  }
140
154
  .duet-theme-turva slot {
141
- color: rgb(148, 9, 37);
155
+ color: rgb(23, 28, 58);
142
156
  }
143
157
 
144
158
  slot[name=toggle] {
@@ -4,9 +4,16 @@
4
4
  import { Build, h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { FocusGuard } from "../../utils/focus-utils";
7
+ import { isEscapeKey } from "../../utils/keyboard-utils";
8
+ import { getLocaleString } from "../../utils/language-utils";
7
9
  import { getColorByName } from "../../utils/token-utils";
8
10
  export class DuetSlideout {
9
11
  constructor() {
12
+ this.exitLangObject = {
13
+ en: "Exit the menu",
14
+ fi: "Poistu valikosta",
15
+ sv: "Avsluta menyn",
16
+ };
10
17
  this.toggleMenu = (e) => {
11
18
  const toggle = !this.open;
12
19
  this.open = toggle;
@@ -17,9 +24,15 @@ export class DuetSlideout {
17
24
  component: "duet-slideout",
18
25
  });
19
26
  if (toggle) {
20
- setTimeout(() => {
21
- this.closeButton.focus();
22
- }, 200);
27
+ const openPanel = this.element.querySelector("duet-slideout-panel[open]");
28
+ if (openPanel) {
29
+ openPanel.setFocus();
30
+ }
31
+ else {
32
+ setTimeout(() => {
33
+ this.closeButton.focus();
34
+ }, 200);
35
+ }
23
36
  }
24
37
  else {
25
38
  setTimeout(() => {
@@ -59,8 +72,8 @@ export class DuetSlideout {
59
72
  this.openButton = this.element.querySelector(":scope > [slot='toggle']");
60
73
  }
61
74
  if (this.openButton) {
62
- this.openButton.setAttribute("aria-haspopup", "dialog");
63
- this.openButton.setAttribute("aria-expanded", "false");
75
+ this.openButton.accessiblePopup = "true";
76
+ this.openButton.accessibleExpanded = false;
64
77
  this.openButton.addEventListener("click", e => {
65
78
  e.stopPropagation();
66
79
  e.preventDefault();
@@ -69,6 +82,23 @@ export class DuetSlideout {
69
82
  this.openButton = this.openButton;
70
83
  }
71
84
  }
85
+ /**
86
+ * Component event handling.
87
+ */
88
+ handleKeyUp(ev) {
89
+ // When Esc is pressed
90
+ if (isEscapeKey(ev)) {
91
+ if (this.open) {
92
+ this.toggleMenu(ev);
93
+ }
94
+ }
95
+ }
96
+ /**
97
+ * Sets focus. Use this method instead of the global focus().
98
+ */
99
+ async setFocus(options) {
100
+ this.openButton.focus(options);
101
+ }
72
102
  /**
73
103
  * render() function
74
104
  * Always the last one in the class.
@@ -77,6 +107,7 @@ export class DuetSlideout {
77
107
  const styles = {
78
108
  background: getColorByName(this.backgroundColor, this.theme),
79
109
  };
110
+ const exitTranslation = getLocaleString(this.exitLangObject);
80
111
  return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { name: "toggle" }), h("div", { class: {
81
112
  "desktop-bg": true,
82
113
  hidden: !this.open,
@@ -85,10 +116,10 @@ export class DuetSlideout {
85
116
  } }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": "true", "aria-flowto": "menubar", class: {
86
117
  dialog: true,
87
118
  hidden: !this.open,
88
- }, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", type: "button", class: {
119
+ }, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
89
120
  "slideout-close": true,
90
121
  active: this.open,
91
- }, onClick: this.onClick }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none" }))), h("div", { id: "menubar", role: "menubar", class: {
122
+ }, onClick: this.onClick }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { id: "menubar", role: "menubar", class: {
92
123
  items: true,
93
124
  } }, h("slot", null)), h(FocusGuard, { moveFocusTo: this.closeButton })))));
94
125
  }
@@ -212,8 +243,39 @@ export class DuetSlideout {
212
243
  "text": "Toggles the slideout.",
213
244
  "tags": []
214
245
  }
246
+ },
247
+ "setFocus": {
248
+ "complexType": {
249
+ "signature": "(options?: FocusOptions) => Promise<void>",
250
+ "parameters": [{
251
+ "tags": [],
252
+ "text": ""
253
+ }],
254
+ "references": {
255
+ "Promise": {
256
+ "location": "global"
257
+ },
258
+ "FocusOptions": {
259
+ "location": "global"
260
+ }
261
+ },
262
+ "return": "Promise<void>"
263
+ },
264
+ "docs": {
265
+ "text": "Sets focus. Use this method instead of the global focus().",
266
+ "tags": []
267
+ }
215
268
  }
216
269
  };
217
270
  }
218
271
  static get elementRef() { return "element"; }
272
+ static get listeners() {
273
+ return [{
274
+ "name": "keyup",
275
+ "method": "handleKeyUp",
276
+ "target": "window",
277
+ "capture": false,
278
+ "passive": false
279
+ }];
280
+ }
219
281
  }
@@ -28,7 +28,7 @@ export class DuetSlideoutLang {
28
28
  */
29
29
  render() {
30
30
  const langTranslation = getLocaleString(this.chooseLangObject);
31
- return (h(Host, null, h("div", { class: "duet-slideout-lang" }, h("duet-visually-hidden", null, langTranslation), h("duet-icon", { name: "navigation-language", margin: "none" }), h("slot", null))));
31
+ return (h(Host, null, h("div", { class: "duet-slideout-lang", "aria-role": "group", "aria-label": langTranslation }, h("duet-icon", { name: "navigation-language", margin: "none", color: "secondary" }), h("slot", null))));
32
32
  }
33
33
  static get is() { return "duet-slideout-lang"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -44,6 +44,13 @@
44
44
  .duet-slideout-link.duet-theme-turva {
45
45
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
46
46
  }
47
+ .duet-slideout-link:focus {
48
+ outline: 0;
49
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
50
+ }
51
+ .duet-slideout-link:focus.duet-theme-turva {
52
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
53
+ }
47
54
  .duet-slideout-link.active span {
48
55
  position: relative;
49
56
  }
@@ -31,7 +31,7 @@ export class DuetSlideoutLink {
31
31
  "duet-theme-turva": this.theme === "turva",
32
32
  active: this.active,
33
33
  [this.size]: true,
34
- }, href: this.href, role: this.menuItem && "menuitem", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { name: this.icon, color: this.menuItem && "currentColor", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { class: "label" }, h("span", null, h("slot", null), h("slot", { name: "description" })), this.caret && (h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))))));
34
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { class: "label" }, h("span", null, h("slot", null), h("slot", { name: "description" })), this.caret && (h("duet-icon", { name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
35
35
  }
36
36
  static get is() { return "duet-slideout-link"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -76,6 +76,10 @@
76
76
  font-size: 1.5rem;
77
77
  font-weight: 800;
78
78
  }
79
+ .duet-slideout-panel .link:focus {
80
+ outline: 0;
81
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
82
+ }
79
83
  .duet-slideout-panel .link.active .label-text {
80
84
  position: relative;
81
85
  }
@@ -122,6 +126,11 @@
122
126
  opacity: 1;
123
127
  transition: top 0.3s ease-in, opacity 0.3s ease-in;
124
128
  }
129
+ .duet-slideout-panel .top .back:focus,
130
+ .duet-slideout-panel .top .close:focus {
131
+ outline: 0;
132
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
133
+ }
125
134
  .duet-slideout-panel .top duet-icon {
126
135
  padding: 16px;
127
136
  }
@@ -145,11 +154,18 @@
145
154
  }
146
155
  .duet-slideout-panel.duet-theme-turva .link {
147
156
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
148
- color: rgb(148, 9, 37);
157
+ color: rgb(23, 28, 58);
158
+ }
159
+ .duet-slideout-panel.duet-theme-turva .link:focus {
160
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
149
161
  }
150
162
  .duet-slideout-panel.duet-theme-turva .link.active .label-text::after {
151
163
  background: rgb(198, 12, 48);
152
164
  }
165
+ .duet-slideout-panel.duet-theme-turva .top .back:focus,
166
+ .duet-slideout-panel.duet-theme-turva .top .close:focus {
167
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
168
+ }
153
169
  .duet-slideout-panel.duet-theme-turva .top span {
154
170
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
155
171
  color: rgb(23, 28, 58);
@@ -163,5 +179,5 @@ slot:not([name=label]) {
163
179
  color: rgb(0, 41, 77);
164
180
  }
165
181
  .duet-theme-turva slot:not([name=label]) {
166
- color: rgb(148, 9, 37);
182
+ color: rgb(23, 28, 58);
167
183
  }