@duetds/components 6.8.6 → 6.8.7

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 (506) hide show
  1. package/hydrate/index.js +95 -20
  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 +3 -3
  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 +1 -1
  14. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  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 +2 -2
  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 +1 -1
  31. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar.cjs.entry.js +34 -5
  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 +2 -2
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  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 +1 -1
  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 +1 -1
  50. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-slideout.cjs.entry.js +6 -4
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +26 -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 +1 -1
  61. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -2
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +39 -3
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -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-e3004898.js → focus-utils-b501431f.js} +1 -1
  70. package/lib/cjs/{index-1d72531b.js → index-13388615.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +17 -9
  73. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +1 -1
  74. package/lib/collection/components/duet-contact-card/duet-contact-card.js +1 -1
  75. package/lib/collection/components/duet-hero/duet-hero.css +67 -10
  76. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +14 -4
  77. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +58 -4
  78. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  79. package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
  80. package/lib/collection/components/duet-slideout/duet-slideout.js +3 -1
  81. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  82. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +15 -0
  83. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +50 -4
  84. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -1
  85. package/lib/collection/components/duet-toolbar/duet-toolbar.js +67 -2
  86. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +19 -1
  87. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  88. package/lib/dist-custom-elements/duet-alert.js +1 -1
  89. package/lib/dist-custom-elements/duet-badge.js +1 -1
  90. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  91. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  92. package/lib/dist-custom-elements/duet-button.js +1 -1
  93. package/lib/dist-custom-elements/duet-caption.js +1 -1
  94. package/lib/dist-custom-elements/duet-card.js +3 -3
  95. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  96. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  97. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  98. package/lib/dist-custom-elements/duet-choice.js +5 -5
  99. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  100. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  101. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  102. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  103. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  104. package/lib/dist-custom-elements/duet-divider.js +1 -1
  105. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  106. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  107. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  108. package/lib/dist-custom-elements/duet-footer.js +4 -4
  109. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  110. package/lib/dist-custom-elements/duet-grid.js +1 -1
  111. package/lib/dist-custom-elements/duet-header.js +8 -8
  112. package/lib/dist-custom-elements/duet-heading.js +1 -1
  113. package/lib/dist-custom-elements/duet-hero.js +10 -10
  114. package/lib/dist-custom-elements/duet-icon.js +1 -1
  115. package/lib/dist-custom-elements/duet-input.js +1 -1
  116. package/lib/dist-custom-elements/duet-label.js +1 -1
  117. package/lib/dist-custom-elements/duet-layout.js +1 -1
  118. package/lib/dist-custom-elements/duet-link.js +1 -1
  119. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  120. package/lib/dist-custom-elements/duet-list.js +1 -1
  121. package/lib/dist-custom-elements/duet-logo.js +1 -1
  122. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  123. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  124. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  125. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  126. package/lib/dist-custom-elements/duet-menu-bar.js +39 -7
  127. package/lib/dist-custom-elements/duet-modal.js +7 -7
  128. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  129. package/lib/dist-custom-elements/duet-nav.js +2 -2
  130. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  131. package/lib/dist-custom-elements/duet-notification.js +2 -2
  132. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  133. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  134. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  135. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  136. package/lib/dist-custom-elements/duet-progress.js +1 -1
  137. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  138. package/lib/dist-custom-elements/duet-radio.js +1 -1
  139. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  140. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  141. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  142. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  143. package/lib/dist-custom-elements/duet-select.js +1 -1
  144. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  145. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  146. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  147. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  148. package/lib/dist-custom-elements/duet-slideout.js +6 -4
  149. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  150. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  151. package/lib/dist-custom-elements/duet-step.js +4 -4
  152. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  153. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  154. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  155. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  156. package/lib/dist-custom-elements/duet-submenu-bar.js +29 -5
  157. package/lib/dist-custom-elements/duet-tab-group.js +9 -9
  158. package/lib/dist-custom-elements/duet-tab.js +1 -1
  159. package/lib/dist-custom-elements/duet-table.js +1 -1
  160. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  161. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  162. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  163. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +5 -3
  164. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  165. package/lib/dist-custom-elements/duet-toolbar.js +43 -4
  166. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  167. package/lib/dist-custom-elements/duet-tray.js +3 -3
  168. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  169. package/lib/dist-custom-elements/duet-upload.js +18 -18
  170. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  171. package/lib/dist-custom-elements/index.js +1 -1
  172. package/lib/dist-custom-elements/{p-d56e25b8.js → p-05af1562.js} +1 -1
  173. package/lib/dist-custom-elements/{p-077f3d0f.js → p-136bba51.js} +1 -1
  174. package/lib/dist-custom-elements/{p-a4fc8229.js → p-1460a593.js} +1 -1
  175. package/lib/dist-custom-elements/{p-46027643.js → p-15a0e9fd.js} +3 -3
  176. package/lib/dist-custom-elements/{p-f8f93c32.js → p-18ecc42e.js} +3 -3
  177. package/lib/dist-custom-elements/{p-1bb1bc0f.js → p-19150a67.js} +1 -1
  178. package/lib/dist-custom-elements/{p-023342e9.js → p-194c6d5b.js} +1 -1
  179. package/lib/dist-custom-elements/{p-068064d2.js → p-1cbf685d.js} +1 -1
  180. package/lib/dist-custom-elements/{p-c6743310.js → p-29949e1b.js} +1 -1
  181. package/lib/dist-custom-elements/{p-32e43a11.js → p-30637273.js} +4 -4
  182. package/lib/dist-custom-elements/{p-1f065f44.js → p-3644a561.js} +1 -1
  183. package/lib/dist-custom-elements/{p-58fa2020.js → p-4672eb29.js} +2 -2
  184. package/lib/dist-custom-elements/{p-a9c9cbc3.js → p-4a21157d.js} +2 -2
  185. package/lib/dist-custom-elements/{p-46998408.js → p-4d8d1b92.js} +1 -1
  186. package/lib/dist-custom-elements/{p-8198ee17.js → p-5146b16a.js} +1 -1
  187. package/lib/dist-custom-elements/{p-6bfd97a0.js → p-5343b436.js} +2 -2
  188. package/lib/dist-custom-elements/{p-a64f3e9c.js → p-5e8a98c7.js} +2 -2
  189. package/lib/dist-custom-elements/{p-28141fe5.js → p-68ebd7ae.js} +6 -6
  190. package/lib/dist-custom-elements/{p-6713af30.js → p-69659e26.js} +1 -1
  191. package/lib/dist-custom-elements/{p-998f0e68.js → p-7180327e.js} +1 -1
  192. package/lib/dist-custom-elements/{p-1dcfcc9f.js → p-7c186545.js} +8 -8
  193. package/lib/dist-custom-elements/{p-10bc90a5.js → p-7c5c5437.js} +1 -1
  194. package/lib/dist-custom-elements/{p-86bdfc5f.js → p-8b969843.js} +1 -1
  195. package/lib/dist-custom-elements/{p-40818933.js → p-950410b7.js} +2 -2
  196. package/lib/dist-custom-elements/{p-33ba43e1.js → p-9c053778.js} +1 -1
  197. package/lib/dist-custom-elements/{p-9340fc7c.js → p-a4e7ed86.js} +1 -1
  198. package/lib/dist-custom-elements/{p-c94512a3.js → p-d0fad319.js} +3 -3
  199. package/lib/dist-custom-elements/{p-81d240e1.js → p-d307a46b.js} +1 -1
  200. package/lib/dist-custom-elements/{p-56443db2.js → p-d4fea7f4.js} +1 -1
  201. package/lib/dist-custom-elements/{p-de338e31.js → p-e67ec38e.js} +5 -5
  202. package/lib/dist-custom-elements/{p-bc2fe9f9.js → p-f316bb52.js} +1 -1
  203. package/lib/dist-custom-elements/{p-2b97f950.js → p-fdc72d0f.js} +7 -7
  204. package/lib/duet/duet.esm.js +1 -1
  205. package/lib/duet/duet.js +1 -1
  206. package/lib/duet/{p-26b45af6.system.entry.js → p-01aaa7a2.system.entry.js} +1 -1
  207. package/lib/duet/{p-56f04d8b.system.entry.js → p-028ec3d7.system.entry.js} +1 -1
  208. package/lib/duet/{p-653c4b81.system.entry.js → p-0614e1c5.system.entry.js} +1 -1
  209. package/lib/duet/{p-4a820e40.entry.js → p-0a996015.entry.js} +1 -1
  210. package/lib/duet/{p-af645d50.system.entry.js → p-0d2741c1.system.entry.js} +1 -1
  211. package/lib/duet/{p-0478aca4.js → p-10ea9dce.js} +1 -1
  212. package/lib/duet/{p-a7d8d000.system.entry.js → p-12970382.system.entry.js} +1 -1
  213. package/lib/duet/{p-5e1d86aa.entry.js → p-13409919.entry.js} +1 -1
  214. package/lib/duet/{p-5eee6f5b.system.entry.js → p-13815abb.system.entry.js} +1 -1
  215. package/lib/duet/{p-e98a91bd.system.entry.js → p-14fa519e.system.entry.js} +1 -1
  216. package/lib/duet/{p-751cded7.entry.js → p-1503bfe4.entry.js} +1 -1
  217. package/lib/duet/p-1585e4fa.entry.js +4 -0
  218. package/lib/duet/{p-dafbf164.entry.js → p-161ddf06.entry.js} +1 -1
  219. package/lib/duet/{p-637954d3.entry.js → p-17baf252.entry.js} +1 -1
  220. package/lib/duet/{p-2c385164.system.entry.js → p-187153ca.system.entry.js} +1 -1
  221. package/lib/duet/{p-de7c93e6.system.entry.js → p-18e72b2c.system.entry.js} +1 -1
  222. package/lib/duet/{p-4bce10fd.entry.js → p-19a7afea.entry.js} +1 -1
  223. package/lib/duet/{p-34b4940f.entry.js → p-19ee06ab.entry.js} +1 -1
  224. package/lib/duet/{p-5127875a.entry.js → p-1b8a0131.entry.js} +1 -1
  225. package/lib/duet/{p-52598698.entry.js → p-1e130f27.entry.js} +1 -1
  226. package/lib/duet/{p-3bcc21b1.entry.js → p-1ede9679.entry.js} +1 -1
  227. package/lib/duet/{p-9d6beb46.entry.js → p-1f912fb4.entry.js} +1 -1
  228. package/lib/duet/{p-53db1b2d.entry.js → p-208d4e98.entry.js} +1 -1
  229. package/lib/duet/{p-d3bb4cd0.system.entry.js → p-255f1542.system.entry.js} +1 -1
  230. package/lib/duet/{p-1ca5d9c9.system.entry.js → p-25e10b51.system.entry.js} +1 -1
  231. package/lib/duet/p-25f14ac5.system.entry.js +4 -0
  232. package/lib/duet/{p-98ac3517.system.entry.js → p-2718896c.system.entry.js} +1 -1
  233. package/lib/duet/{p-def5eefd.system.entry.js → p-28d6f291.system.entry.js} +1 -1
  234. package/lib/duet/{p-e3f9f86d.entry.js → p-2bd4d42d.entry.js} +1 -1
  235. package/lib/duet/{p-85652a95.system.entry.js → p-2e119045.system.entry.js} +1 -1
  236. package/lib/duet/p-2e394748.system.entry.js +4 -0
  237. package/lib/duet/p-323d22b9.entry.js +4 -0
  238. package/lib/duet/p-330febf7.entry.js +4 -0
  239. package/lib/duet/{p-af878746.system.entry.js → p-35c0d8e2.system.entry.js} +1 -1
  240. package/lib/duet/{p-73941510.entry.js → p-3baf3dcc.entry.js} +1 -1
  241. package/lib/duet/{p-6a186073.system.entry.js → p-3bf4a093.system.entry.js} +1 -1
  242. package/lib/duet/{p-7ca90a39.entry.js → p-3ca9a002.entry.js} +1 -1
  243. package/lib/duet/{p-115bc126.system.entry.js → p-3d2bcd2e.system.entry.js} +1 -1
  244. package/lib/duet/{p-317e511d.entry.js → p-3f4fcae9.entry.js} +1 -1
  245. package/lib/duet/{p-29a36b0d.system.entry.js → p-427f78f8.system.entry.js} +1 -1
  246. package/lib/duet/{p-baa83969.system.entry.js → p-433fb103.system.entry.js} +1 -1
  247. package/lib/duet/{p-384cd404.entry.js → p-488f5515.entry.js} +1 -1
  248. package/lib/duet/{p-118c2455.entry.js → p-4a2569f0.entry.js} +1 -1
  249. package/lib/duet/{p-c0e762c5.entry.js → p-4aae5fa5.entry.js} +1 -1
  250. package/lib/duet/{p-c2691df5.entry.js → p-508e5f90.entry.js} +1 -1
  251. package/lib/duet/{p-b9ff52c3.system.entry.js → p-54083f7e.system.entry.js} +1 -1
  252. package/lib/duet/{p-a6da9ebd.system.entry.js → p-56bdca95.system.entry.js} +1 -1
  253. package/lib/duet/{p-23e3e56f.entry.js → p-579feef2.entry.js} +1 -1
  254. package/lib/duet/{p-008e926c.system.entry.js → p-5d12bac3.system.entry.js} +1 -1
  255. package/lib/duet/{p-7033077c.entry.js → p-5eca64bb.entry.js} +1 -1
  256. package/lib/duet/{p-547f0190.entry.js → p-5f5191d3.entry.js} +1 -1
  257. package/lib/duet/{p-70e3e285.system.entry.js → p-65438201.system.entry.js} +1 -1
  258. package/lib/duet/p-65d31e27.entry.js +4 -0
  259. package/lib/duet/{p-78538446.system.entry.js → p-669cf7dd.system.entry.js} +1 -1
  260. package/lib/duet/{p-7bd0998b.entry.js → p-69542357.entry.js} +1 -1
  261. package/lib/duet/{p-131a09ef.system.entry.js → p-69d5c27d.system.entry.js} +1 -1
  262. package/lib/duet/{p-e403da27.entry.js → p-69f480e1.entry.js} +1 -1
  263. package/lib/duet/{p-3d9462b2.system.entry.js → p-6a9f3539.system.entry.js} +1 -1
  264. package/lib/duet/{p-680fe6e2.entry.js → p-6dc4a6b7.entry.js} +1 -1
  265. package/lib/duet/p-72abda3c.entry.js +4 -0
  266. package/lib/duet/{p-3d283bed.system.entry.js → p-7770a36f.system.entry.js} +1 -1
  267. package/lib/duet/{p-2885dc4f.system.entry.js → p-778ac454.system.entry.js} +1 -1
  268. package/lib/duet/{p-2c8ec5dc.entry.js → p-780a75a2.entry.js} +1 -1
  269. package/lib/duet/{p-c6ab65e4.system.entry.js → p-78bc14ae.system.entry.js} +1 -1
  270. package/lib/duet/{p-3466ab1a.system.entry.js → p-796ba871.system.entry.js} +1 -1
  271. package/lib/duet/{p-187f61a9.entry.js → p-7b5cc047.entry.js} +1 -1
  272. package/lib/duet/p-7f317b88.entry.js +4 -0
  273. package/lib/duet/{p-ea3cb1bd.entry.js → p-7fce8695.entry.js} +1 -1
  274. package/lib/duet/{p-a2eb4c1f.entry.js → p-80d61c0b.entry.js} +1 -1
  275. package/lib/duet/{p-2e65c35d.system.entry.js → p-8155e4f7.system.entry.js} +1 -1
  276. package/lib/duet/{p-9bfe1254.system.entry.js → p-823197ed.system.entry.js} +1 -1
  277. package/lib/duet/{p-1de4480f.system.entry.js → p-8232b1d5.system.entry.js} +1 -1
  278. package/lib/duet/{p-6e02f332.entry.js → p-82be0673.entry.js} +1 -1
  279. package/lib/duet/{p-2357cbb2.system.entry.js → p-851ad654.system.entry.js} +1 -1
  280. package/lib/duet/{p-e653cfd1.system.entry.js → p-85c6f600.system.entry.js} +1 -1
  281. package/lib/duet/p-8a4ed826.entry.js +4 -0
  282. package/lib/duet/{p-96befdd7.system.entry.js → p-8abf9da5.system.entry.js} +1 -1
  283. package/lib/duet/{p-c21e0220.system.entry.js → p-8b2728c2.system.entry.js} +1 -1
  284. package/lib/duet/{p-8f3e2da9.entry.js → p-8bded27b.entry.js} +1 -1
  285. package/lib/duet/{p-3a8973fc.entry.js → p-8c4d279b.entry.js} +1 -1
  286. package/lib/duet/{p-1af44cd7.system.entry.js → p-90cfdbb8.system.entry.js} +1 -1
  287. package/lib/duet/{p-a1d584e5.entry.js → p-94244bf4.entry.js} +1 -1
  288. package/lib/duet/{p-64a196c8.entry.js → p-957af858.entry.js} +1 -1
  289. package/lib/duet/{p-33df50af.system.entry.js → p-9780467a.system.entry.js} +1 -1
  290. package/lib/duet/p-97c4ff91.entry.js +4 -0
  291. package/lib/duet/{p-02402b1d.system.entry.js → p-99a34692.system.entry.js} +1 -1
  292. package/lib/duet/p-9ae7a189.js +4 -0
  293. package/lib/duet/{p-3c02b40c.system.entry.js → p-9d040ae3.system.entry.js} +1 -1
  294. package/lib/duet/{p-e7505450.system.entry.js → p-9e97cd91.system.entry.js} +1 -1
  295. package/lib/duet/{p-8b0af3a4.entry.js → p-a132127e.entry.js} +1 -1
  296. package/lib/duet/{p-2ff2f7ab.entry.js → p-a16eed4d.entry.js} +1 -1
  297. package/lib/duet/p-a36d502c.system.entry.js +4 -0
  298. package/lib/duet/p-a842a56f.entry.js +4 -0
  299. package/lib/duet/{p-d2ea6a49.system.entry.js → p-a8964560.system.entry.js} +1 -1
  300. package/lib/duet/{p-f94c7bd2.system.entry.js → p-aaf64918.system.entry.js} +1 -1
  301. package/lib/duet/{p-00052a21.entry.js → p-adcd531d.entry.js} +1 -1
  302. package/lib/duet/{p-441bf2f7.system.entry.js → p-b26d675a.system.entry.js} +1 -1
  303. package/lib/duet/{p-d5add2a1.entry.js → p-b672f754.entry.js} +1 -1
  304. package/lib/duet/{p-b03452eb.system.js → p-b8735715.system.js} +1 -1
  305. package/lib/duet/{p-90aef7eb.entry.js → p-bac833e6.entry.js} +1 -1
  306. package/lib/duet/{p-fa00dc57.system.entry.js → p-bc1d488f.system.entry.js} +1 -1
  307. package/lib/duet/{p-cfa12307.system.entry.js → p-bc75a8d1.system.entry.js} +1 -1
  308. package/lib/duet/{p-1e404cf1.entry.js → p-bdb56679.entry.js} +1 -1
  309. package/lib/duet/{p-dfbb9078.system.entry.js → p-bf01b2a3.system.entry.js} +1 -1
  310. package/lib/duet/{p-3db2790b.system.entry.js → p-bf4f657d.system.entry.js} +1 -1
  311. package/lib/duet/{p-91417a9a.entry.js → p-c1d00a72.entry.js} +1 -1
  312. package/lib/duet/{p-733c0420.system.entry.js → p-c38a3306.system.entry.js} +1 -1
  313. package/lib/duet/{p-9fdfdaed.system.entry.js → p-c6eb7ed0.system.entry.js} +1 -1
  314. package/lib/duet/{p-20310f15.system.entry.js → p-c83c936f.system.entry.js} +1 -1
  315. package/lib/duet/p-c86d2229.entry.js +4 -0
  316. package/lib/duet/{p-355f2ced.system.entry.js → p-d2cfb003.system.entry.js} +1 -1
  317. package/lib/duet/{p-d11642a4.system.entry.js → p-d339f6db.system.entry.js} +1 -1
  318. package/lib/duet/{p-fad0a3b6.entry.js → p-d40a7872.entry.js} +1 -1
  319. package/lib/duet/{p-0d47b5d0.system.js → p-d5af9e03.system.js} +1 -1
  320. package/lib/duet/{p-0ee9fe5a.system.entry.js → p-d6641757.system.entry.js} +1 -1
  321. package/lib/duet/{p-c99dff59.system.entry.js → p-d7bb0434.system.entry.js} +1 -1
  322. package/lib/duet/{p-b1aa9b0e.entry.js → p-d9aaf1e7.entry.js} +1 -1
  323. package/lib/duet/{p-ecb016d1.entry.js → p-dafad527.entry.js} +1 -1
  324. package/lib/duet/{p-24266786.system.entry.js → p-dc332689.system.entry.js} +1 -1
  325. package/lib/duet/{p-b6f1722a.entry.js → p-dc372b0d.entry.js} +1 -1
  326. package/lib/duet/{p-bd5a23ad.entry.js → p-de7b708f.entry.js} +1 -1
  327. package/lib/duet/{p-5704bea4.entry.js → p-dfe03aaa.entry.js} +1 -1
  328. package/lib/duet/{p-95770ba7.entry.js → p-e42ab7c6.entry.js} +1 -1
  329. package/lib/duet/{p-d6bf59f8.entry.js → p-e4a11340.entry.js} +1 -1
  330. package/lib/duet/p-e5151a14.system.entry.js +4 -0
  331. package/lib/duet/{p-abf85b30.system.entry.js → p-e5489bc7.system.entry.js} +1 -1
  332. package/lib/duet/{p-6843534a.entry.js → p-e73ce021.entry.js} +1 -1
  333. package/lib/duet/{p-f02f252c.entry.js → p-e819b8fb.entry.js} +1 -1
  334. package/lib/duet/p-ead52cf7.system.js +4 -0
  335. package/lib/duet/{p-d7890385.entry.js → p-f2e37eed.entry.js} +1 -1
  336. package/lib/duet/{p-914cd18e.entry.js → p-f3494bcf.entry.js} +1 -1
  337. package/lib/duet/{p-eaa14406.entry.js → p-f4804f02.entry.js} +1 -1
  338. package/lib/duet/{p-0c647794.system.entry.js → p-f4db2b86.system.entry.js} +1 -1
  339. package/lib/duet/{p-716f6b7f.system.entry.js → p-f7fbbc35.system.entry.js} +1 -1
  340. package/lib/duet/{p-6303e2c2.system.entry.js → p-f9e966e7.system.entry.js} +1 -1
  341. package/lib/duet/{p-34a536c5.entry.js → p-fa52d2f1.entry.js} +1 -1
  342. package/lib/duet/p-fcd74652.system.entry.js +4 -0
  343. package/lib/esm/duet-action-button.entry.js +1 -1
  344. package/lib/esm/duet-alert.entry.js +1 -1
  345. package/lib/esm/duet-badge.entry.js +1 -1
  346. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  347. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  348. package/lib/esm/duet-button_2.entry.js +1 -1
  349. package/lib/esm/duet-caption_4.entry.js +1 -1
  350. package/lib/esm/duet-card.entry.js +1 -1
  351. package/lib/esm/duet-checkbox.entry.js +1 -1
  352. package/lib/esm/duet-checkmark.entry.js +1 -1
  353. package/lib/esm/duet-choice_2.entry.js +2 -2
  354. package/lib/esm/duet-collapsible.entry.js +1 -1
  355. package/lib/esm/duet-combobox.entry.js +1 -1
  356. package/lib/esm/duet-contact-card.entry.js +2 -2
  357. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  358. package/lib/esm/duet-date-picker.entry.js +2 -2
  359. package/lib/esm/duet-divider_2.entry.js +1 -1
  360. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  361. package/lib/esm/duet-empty-state.entry.js +1 -1
  362. package/lib/esm/duet-fieldset.entry.js +1 -1
  363. package/lib/esm/duet-footer.entry.js +1 -1
  364. package/lib/esm/duet-grid_2.entry.js +1 -1
  365. package/lib/esm/duet-header_2.entry.js +1 -1
  366. package/lib/esm/duet-hero.entry.js +2 -2
  367. package/lib/esm/duet-icon.entry.js +1 -1
  368. package/lib/esm/duet-input_2.entry.js +1 -1
  369. package/lib/esm/duet-layout.entry.js +1 -1
  370. package/lib/esm/duet-list_2.entry.js +1 -1
  371. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  372. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  373. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  374. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  375. package/lib/esm/duet-menu-bar.entry.js +34 -5
  376. package/lib/esm/duet-modal.entry.js +2 -2
  377. package/lib/esm/duet-multiselect.entry.js +1 -1
  378. package/lib/esm/duet-nav.entry.js +2 -2
  379. package/lib/esm/duet-notification_2.entry.js +1 -1
  380. package/lib/esm/duet-number-input.entry.js +1 -1
  381. package/lib/esm/duet-page-heading.entry.js +1 -1
  382. package/lib/esm/duet-pagination_2.entry.js +1 -1
  383. package/lib/esm/duet-progress.entry.js +1 -1
  384. package/lib/esm/duet-radio_2.entry.js +1 -1
  385. package/lib/esm/duet-range-slider.entry.js +1 -1
  386. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  387. package/lib/esm/duet-section-layout.entry.js +1 -1
  388. package/lib/esm/duet-select.entry.js +1 -1
  389. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  390. package/lib/esm/duet-slideout-link.entry.js +1 -1
  391. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  392. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  393. package/lib/esm/duet-slideout.entry.js +6 -4
  394. package/lib/esm/duet-step_2.entry.js +1 -1
  395. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  396. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  397. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  398. package/lib/esm/duet-submenu-bar.entry.js +26 -4
  399. package/lib/esm/duet-textarea.entry.js +1 -1
  400. package/lib/esm/duet-toggle.entry.js +1 -1
  401. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  402. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -2
  403. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  404. package/lib/esm/duet-toolbar.entry.js +39 -3
  405. package/lib/esm/duet-tooltip.entry.js +1 -1
  406. package/lib/esm/duet-tray.entry.js +1 -1
  407. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  408. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  409. package/lib/esm/duet.js +3 -3
  410. package/lib/esm/{focus-utils-038f6536.js → focus-utils-6b1704b1.js} +1 -1
  411. package/lib/esm/{index-0237f6f4.js → index-b024f5b5.js} +1 -1
  412. package/lib/esm/loader.js +3 -3
  413. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  414. package/lib/esm-es5/duet-alert.entry.js +1 -1
  415. package/lib/esm-es5/duet-badge.entry.js +1 -1
  416. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  417. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  418. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  419. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  420. package/lib/esm-es5/duet-card.entry.js +1 -1
  421. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  422. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  423. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  424. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  425. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  426. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  427. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  428. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  429. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  430. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  431. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  432. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  433. package/lib/esm-es5/duet-footer.entry.js +1 -1
  434. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  435. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  436. package/lib/esm-es5/duet-hero.entry.js +2 -2
  437. package/lib/esm-es5/duet-icon.entry.js +1 -1
  438. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  439. package/lib/esm-es5/duet-layout.entry.js +1 -1
  440. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  441. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  442. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  443. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  444. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  445. package/lib/esm-es5/duet-menu-bar.entry.js +2 -2
  446. package/lib/esm-es5/duet-modal.entry.js +1 -1
  447. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  448. package/lib/esm-es5/duet-nav.entry.js +1 -1
  449. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  450. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  451. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  452. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  453. package/lib/esm-es5/duet-progress.entry.js +1 -1
  454. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  455. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  456. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  457. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  458. package/lib/esm-es5/duet-select.entry.js +1 -1
  459. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  460. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  461. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  462. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  463. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  464. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  465. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  466. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  467. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  468. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  469. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  470. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  471. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  472. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  473. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  474. package/lib/esm-es5/duet-toolbar.entry.js +2 -2
  475. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  476. package/lib/esm-es5/duet-tray.entry.js +1 -1
  477. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  478. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  479. package/lib/esm-es5/duet.js +1 -1
  480. package/lib/esm-es5/{focus-utils-038f6536.js → focus-utils-6b1704b1.js} +1 -1
  481. package/lib/esm-es5/{index-0237f6f4.js → index-b024f5b5.js} +1 -1
  482. package/lib/esm-es5/loader.js +1 -1
  483. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +10 -0
  484. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
  485. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +9 -0
  486. package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +12 -0
  487. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
  488. package/lib/types/components.d.ts +32 -0
  489. package/package.json +5 -5
  490. package/lib/duet/p-0135d3be.entry.js +0 -4
  491. package/lib/duet/p-01f704c5.system.entry.js +0 -4
  492. package/lib/duet/p-0ac82243.system.js +0 -4
  493. package/lib/duet/p-0f76b544.js +0 -4
  494. package/lib/duet/p-0fae73be.system.entry.js +0 -4
  495. package/lib/duet/p-33ffc418.entry.js +0 -4
  496. package/lib/duet/p-44e0cb33.system.entry.js +0 -4
  497. package/lib/duet/p-5c4e7535.entry.js +0 -4
  498. package/lib/duet/p-70df605a.entry.js +0 -4
  499. package/lib/duet/p-72a74500.entry.js +0 -4
  500. package/lib/duet/p-73058322.entry.js +0 -4
  501. package/lib/duet/p-7af1ae76.entry.js +0 -4
  502. package/lib/duet/p-8761c920.system.entry.js +0 -4
  503. package/lib/duet/p-91cb169e.entry.js +0 -4
  504. package/lib/duet/p-a9d4d0e3.system.entry.js +0 -4
  505. package/lib/duet/p-b09de818.entry.js +0 -4
  506. package/lib/duet/p-edc3786b.entry.js +0 -4
@@ -140,7 +140,7 @@
140
140
  .duet-slideout.duet-theme-turva button.active::after {
141
141
  background: rgb(198, 12, 48);
142
142
  }
143
- .duet-slideout .dialog .top button:focus {
143
+ .duet-slideout.duet-theme-turva .dialog .top button:focus {
144
144
  box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
145
145
  }
146
146
 
@@ -14,6 +14,7 @@ export class DuetSlideout {
14
14
  fi: "Poistu valikosta",
15
15
  sv: "Avsluta menyn",
16
16
  };
17
+ this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
17
18
  this.toggleMenu = (e) => {
18
19
  const toggle = !this.open;
19
20
  this.open = toggle;
@@ -30,6 +31,7 @@ export class DuetSlideout {
30
31
  }
31
32
  else {
32
33
  setTimeout(() => {
34
+ console.log("focus to close button");
33
35
  this.closeButton.focus();
34
36
  }, 200);
35
37
  }
@@ -120,7 +122,7 @@ export class DuetSlideout {
120
122
  hidden: !this.open,
121
123
  }, onClick: () => {
122
124
  this.open = false;
123
- } }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": "true", "aria-flowto": "menubar", class: {
125
+ } }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "menubar", class: {
124
126
  dialog: true,
125
127
  hidden: !this.open,
126
128
  }, 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: {
@@ -35,7 +35,7 @@ export class DuetSlideoutLang {
35
35
  */
36
36
  render() {
37
37
  const langTranslation = getLocaleString(this.chooseLangObject);
38
- 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))));
38
+ return (h(Host, null, h("div", { class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { name: "navigation-language", margin: "none", color: "secondary" }), h("slot", null))));
39
39
  }
40
40
  static get is() { return "duet-slideout-lang"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -96,6 +96,12 @@
96
96
  border-bottom: 1px solid rgb(207, 210, 212);
97
97
  transition: 300ms ease;
98
98
  }
99
+ .duet-submenu-bar .items ul {
100
+ list-style-type: none;
101
+ }
102
+ .duet-submenu-bar .items li {
103
+ position: relative;
104
+ }
99
105
  .duet-submenu-bar .items.hidden {
100
106
  max-height: 0;
101
107
  overflow: hidden;
@@ -104,6 +110,12 @@
104
110
  transition: 300ms ease;
105
111
  }
106
112
  @media (min-width: 62em) {
113
+ .duet-submenu-bar .items ul {
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: space-between;
117
+ height: 100%;
118
+ }
107
119
  .duet-submenu-bar .items, .duet-submenu-bar .items.hidden {
108
120
  position: static;
109
121
  z-index: auto;
@@ -127,4 +139,7 @@
127
139
  }
128
140
  .duet-submenu-bar.duet-theme-turva .items {
129
141
  background: rgb(245, 245, 247);
142
+ }
143
+ .duet-submenu-bar .hide {
144
+ display: none;
130
145
  }
@@ -2,12 +2,16 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { media_query_large } from "@duetds/tokens/lib/tokens.json";
5
- import { h, Host } from "@stencil/core";
5
+ import { Build, h, Host } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
7
  export class DuetSubmenuBar {
8
8
  constructor() {
9
9
  this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
10
10
  this.boundMqlFunctions = [];
11
+ this.observers = [];
12
+ this.setChildren = (children) => {
13
+ this.slotChildren = Array.from(children);
14
+ };
11
15
  this.changeAriaProperties = () => {
12
16
  if (this.mql[0].matches) {
13
17
  this.mobile = false;
@@ -20,8 +24,10 @@ export class DuetSubmenuBar {
20
24
  this.open = !this.open;
21
25
  };
22
26
  this.mobile = true;
27
+ this.slotChildren = [];
23
28
  this.theme = "";
24
29
  this.open = false;
30
+ this.accessibleLabel = undefined;
25
31
  }
26
32
  /**
27
33
  * Component lifecycle events.
@@ -39,6 +45,21 @@ export class DuetSubmenuBar {
39
45
  this.boundMqlFunctions[i] = bound;
40
46
  }
41
47
  }
48
+ if (Build.isServer) {
49
+ return;
50
+ }
51
+ Array.from(this.element.children).forEach(child => {
52
+ const observer = new MutationObserver(() => {
53
+ this.setChildren(Array.from(this.element.children));
54
+ });
55
+ observer.observe(child, {
56
+ childList: true,
57
+ subtree: true,
58
+ attributes: true,
59
+ characterData: true,
60
+ });
61
+ this.observers = [...this.observers, observer];
62
+ });
42
63
  }
43
64
  disconnectedCallback() {
44
65
  for (let i = 0; i < this.mql.length; i++) {
@@ -48,6 +69,11 @@ export class DuetSubmenuBar {
48
69
  }
49
70
  }
50
71
  this.boundMqlFunctions = [];
72
+ if (Build.isServer) {
73
+ return;
74
+ }
75
+ this.observers.forEach(observer => observer.disconnect());
76
+ this.observers = [];
51
77
  }
52
78
  /**
53
79
  * Sets focus. Use this method instead of the global focus().
@@ -60,12 +86,14 @@ export class DuetSubmenuBar {
60
86
  * Always the last one in the class.
61
87
  */
62
88
  render() {
63
- return (h(Host, null, h("div", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: this.mobile ? null : "menubar" }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
89
+ return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
64
90
  active: this.open,
65
91
  }, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
66
92
  items: true,
67
93
  hidden: !this.open,
68
- } }, h("slot", null)))));
94
+ } }, h("ul", null, this.slotChildren
95
+ .filter(child => !child.hasAttribute("slot"))
96
+ .map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", null)))));
69
97
  }
70
98
  static get is() { return "duet-submenu-bar"; }
71
99
  static get encapsulation() { return "shadow"; }
@@ -121,12 +149,30 @@ export class DuetSubmenuBar {
121
149
  "attribute": "open",
122
150
  "reflect": true,
123
151
  "defaultValue": "false"
152
+ },
153
+ "accessibleLabel": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string",
158
+ "resolved": "string",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
166
+ },
167
+ "attribute": "accessible-label",
168
+ "reflect": false
124
169
  }
125
170
  };
126
171
  }
127
172
  static get states() {
128
173
  return {
129
- "mobile": {}
174
+ "mobile": {},
175
+ "slotChildren": {}
130
176
  };
131
177
  }
132
178
  static get methods() {
@@ -41,7 +41,14 @@
41
41
  margin: 0 28px;
42
42
  border-bottom: 1px solid rgb(225, 227, 230);
43
43
  }
44
- .duet-toolbar ::slotted(*) {
44
+ .duet-toolbar ul {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: space-between;
48
+ height: 100%;
49
+ list-style-type: none;
50
+ }
51
+ .duet-toolbar li {
45
52
  display: flex;
46
53
  align-items: center;
47
54
  justify-content: center;
@@ -52,4 +59,7 @@
52
59
  }
53
60
  .duet-toolbar.duet-theme-turva .container {
54
61
  border-bottom: 1px solid rgb(228, 228, 230);
62
+ }
63
+ .duet-toolbar .hide {
64
+ display: none;
55
65
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, Host } from "@stencil/core";
4
+ import { Build, h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  /**
7
7
  * @slot left - Slot for content in left side.
@@ -9,20 +9,62 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
9
9
  */
10
10
  export class DuetToolbar {
11
11
  constructor() {
12
+ /**
13
+ * Own Properties.
14
+ */
15
+ this.observers = [];
16
+ this.setChildren = (children) => {
17
+ for (const child of children) {
18
+ if (child.getAttribute("slot") === "left") {
19
+ this.leftSlotChildren = Array.from(child.children);
20
+ }
21
+ else if (child.getAttribute("slot") === "right") {
22
+ this.rightSlotChildren = Array.from(child.children);
23
+ }
24
+ }
25
+ };
26
+ this.leftSlotChildren = [];
27
+ this.rightSlotChildren = [];
12
28
  this.theme = "";
29
+ this.accessibleLabel = undefined;
13
30
  }
14
31
  /**
15
32
  * Component lifecycle events.
16
33
  */
17
34
  componentWillLoad() {
18
35
  inheritGlobalTheme(this);
36
+ this.setChildren(Array.from(this.element.children));
37
+ }
38
+ connectedCallback() {
39
+ if (Build.isServer) {
40
+ return;
41
+ }
42
+ Array.from(this.element.children).forEach(child => {
43
+ const observer = new MutationObserver(() => {
44
+ this.setChildren(Array.from(this.element.children));
45
+ });
46
+ observer.observe(child, {
47
+ childList: true,
48
+ subtree: true,
49
+ attributes: true,
50
+ characterData: true,
51
+ });
52
+ this.observers = [...this.observers, observer];
53
+ });
54
+ }
55
+ disconnectedCallback() {
56
+ if (Build.isServer) {
57
+ return;
58
+ }
59
+ this.observers.forEach(observer => observer.disconnect());
60
+ this.observers = [];
19
61
  }
20
62
  /**
21
63
  * render() function
22
64
  * Always the last one in the class.
23
65
  */
24
66
  render() {
25
- return (h(Host, null, h("div", { class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva" }, role: "menubar" }, h("div", { class: "container" }, h("slot", { name: "left" }), h("slot", { name: "right" })))));
67
+ return (h(Host, null, h("nav", { class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "container" }, h("ul", null, this.leftSlotChildren.map(child => (h("li", { innerHTML: child.outerHTML })))), h("ul", null, this.rightSlotChildren.map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", { name: "left" }), h("slot", { name: "right" })))));
26
68
  }
27
69
  static get is() { return "duet-toolbar"; }
28
70
  static get encapsulation() { return "shadow"; }
@@ -60,8 +102,31 @@ export class DuetToolbar {
60
102
  "attribute": "theme",
61
103
  "reflect": false,
62
104
  "defaultValue": "\"\""
105
+ },
106
+ "accessibleLabel": {
107
+ "type": "string",
108
+ "mutable": false,
109
+ "complexType": {
110
+ "original": "string",
111
+ "resolved": "string",
112
+ "references": {}
113
+ },
114
+ "required": false,
115
+ "optional": false,
116
+ "docs": {
117
+ "tags": [],
118
+ "text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
119
+ },
120
+ "attribute": "accessible-label",
121
+ "reflect": false
63
122
  }
64
123
  };
65
124
  }
125
+ static get states() {
126
+ return {
127
+ "leftSlotChildren": {},
128
+ "rightSlotChildren": {}
129
+ };
130
+ }
66
131
  static get elementRef() { return "element"; }
67
132
  }
@@ -10,6 +10,7 @@ export class DuetToolbarDropdown {
10
10
  this.open = !this.open;
11
11
  };
12
12
  this.theme = "";
13
+ this.accessibleLabel = undefined;
13
14
  this.active = false;
14
15
  this.open = false;
15
16
  this.icon = undefined;
@@ -51,7 +52,7 @@ export class DuetToolbarDropdown {
51
52
  "duet-toolbar-dropdown": true,
52
53
  "duet-theme-turva": this.theme === "turva",
53
54
  [itemsAlign]: true,
54
- } }, h("button", { 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: {
55
+ } }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
55
56
  active: this.active,
56
57
  open: this.open,
57
58
  }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", 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: {
@@ -96,6 +97,23 @@ export class DuetToolbarDropdown {
96
97
  "reflect": false,
97
98
  "defaultValue": "\"\""
98
99
  },
100
+ "accessibleLabel": {
101
+ "type": "string",
102
+ "mutable": false,
103
+ "complexType": {
104
+ "original": "string",
105
+ "resolved": "string",
106
+ "references": {}
107
+ },
108
+ "required": false,
109
+ "optional": false,
110
+ "docs": {
111
+ "tags": [],
112
+ "text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
113
+ },
114
+ "attribute": "accessible-label",
115
+ "reflect": false
116
+ },
99
117
  "active": {
100
118
  "type": "boolean",
101
119
  "mutable": true,
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-46027643.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-15a0e9fd.js';
5
5
 
6
6
  const DuetActionButton = DuetActionButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-de338e31.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-e67ec38e.js';
5
5
 
6
6
  const DuetAlert = DuetAlert$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-d56e25b8.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-05af1562.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$2 } from './p-a4fc8229.js';
6
+ import { d as defineCustomElement$2 } from './p-1460a593.js';
7
7
 
8
8
  const duetBreadcrumbCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";
9
9
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { g as getLocaleString } from './p-6c05e879.js';
7
- import { d as defineCustomElement$2 } from './p-a4fc8229.js';
7
+ import { d as defineCustomElement$2 } from './p-1460a593.js';
8
8
 
9
9
  var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
10
10
 
11
- const duetBreadcrumbsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-breadcrumbs{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 16px;color:rgb(0, 41, 77);list-style:none;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 62em){.duet-breadcrumbs ol{padding:10px 36px}}.duet-breadcrumbs ol li{font-weight:400}.duet-breadcrumbs ol li:last-of-type{font-weight:600}.duet-breadcrumbs.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs.duet-theme-turva ol{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}";
11
+ const duetBreadcrumbsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumbs{display:flex;align-items:center;justify-content:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-breadcrumbs .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:rgb(0, 41, 77);list-style:none}.duet-breadcrumbs ol li{font-weight:400}.duet-breadcrumbs ol li:last-of-type{font-weight:600}.duet-breadcrumbs.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background:rgb(245, 245, 247)}.duet-breadcrumbs.duet-theme-turva ol{color:rgb(23, 28, 58)}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}";
12
12
 
13
13
  const DuetBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
14
14
  constructor() {
@@ -55,7 +55,7 @@ const DuetBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
55
55
  return (h(Host, null, h("nav", { "aria-label": this.breadcrumbsAriaLabel, class: {
56
56
  "duet-breadcrumbs": true,
57
57
  "duet-theme-turva": this.theme === "turva",
58
- } }, h("ol", null, this.children.map((child, index) => (h(Fragment, null, index > 0 && (h("li", { "aria-hidden": "true" }, h("duet-icon", { class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" }))), h("li", { innerHTML: child.outerHTML }), h("div", { class: "hide" }, h("slot", null)))))))));
58
+ } }, h("div", { class: "container" }, h("ol", null, this.children.map((child, index) => (h(Fragment, null, index > 0 && (h("li", { "aria-hidden": "true" }, h("duet-icon", { class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" }))), h("li", { innerHTML: child.outerHTML }), h("div", { class: "hide" }, h("slot", null))))))))));
59
59
  }
60
60
  get element() { return this; }
61
61
  static get style() { return duetBreadcrumbsCss; }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetButton$1, d as defineCustomElement$1 } from './p-32e43a11.js';
4
+ import { D as DuetButton$1, d as defineCustomElement$1 } from './p-30637273.js';
5
5
 
6
6
  const DuetButton = DuetButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-6713af30.js';
4
+ import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-69659e26.js';
5
5
 
6
6
  const DuetCaption = DuetCaption$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
7
  import { i as isKeyboardClick } from './p-d8549efe.js';
8
8
  import { s as sanitizeString } from './p-5a9d75e1.js';
9
9
  import { g as getColorByName } from './p-9ed347f9.js';
10
- import { d as defineCustomElement$3 } from './p-a4fc8229.js';
11
- import { d as defineCustomElement$2 } from './p-c6743310.js';
10
+ import { d as defineCustomElement$3 } from './p-1460a593.js';
11
+ import { d as defineCustomElement$2 } from './p-29949e1b.js';
12
12
 
13
13
  const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
14
14
  const duetBlock = "div";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-068064d2.js';
4
+ import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-1cbf685d.js';
5
5
 
6
6
  const DuetCheckbox = DuetCheckbox$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-1bb1bc0f.js';
4
+ import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-19150a67.js';
5
5
 
6
6
  const DuetCheckmark = DuetCheckmark$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { f as findCheckedOption, w as watchForOptions } from './p-12721178.js';
7
- import { d as defineCustomElement$6 } from './p-6713af30.js';
8
- import { d as defineCustomElement$5 } from './p-a9c9cbc3.js';
9
- import { d as defineCustomElement$4 } from './p-a4fc8229.js';
10
- import { d as defineCustomElement$3 } from './p-c94512a3.js';
11
- import { d as defineCustomElement$2 } from './p-56443db2.js';
7
+ import { d as defineCustomElement$6 } from './p-69659e26.js';
8
+ import { d as defineCustomElement$5 } from './p-4a21157d.js';
9
+ import { d as defineCustomElement$4 } from './p-1460a593.js';
10
+ import { d as defineCustomElement$3 } from './p-d0fad319.js';
11
+ import { d as defineCustomElement$2 } from './p-d4fea7f4.js';
12
12
 
13
13
  const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
14
14
 
@@ -1,17 +1,17 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
7
7
  import { c as createID } from './p-c1325e35.js';
8
8
  import { F as FocusGuard } from './p-efaad71c.js';
9
9
  import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-d8549efe.js';
10
10
  import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
11
- import { d as defineCustomElement$5 } from './p-6713af30.js';
12
- import { d as defineCustomElement$4 } from './p-a4fc8229.js';
13
- import { d as defineCustomElement$3 } from './p-c6743310.js';
14
- import { d as defineCustomElement$2 } from './p-56443db2.js';
11
+ import { d as defineCustomElement$5 } from './p-69659e26.js';
12
+ import { d as defineCustomElement$4 } from './p-1460a593.js';
13
+ import { d as defineCustomElement$3 } from './p-29949e1b.js';
14
+ import { d as defineCustomElement$2 } from './p-d4fea7f4.js';
15
15
 
16
16
  var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
17
17
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-9c053778.js';
5
5
  import { a as actionArrowDownSmall } from './p-115c79b6.js';
6
6
  import { f as font_size_medium, t as tokens } from './p-c4d8cad0.js';
7
7
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
8
8
  import { c as createID } from './p-c1325e35.js';
9
9
  import { i as isKeyboardClick } from './p-d8549efe.js';
10
10
  import { s as sanitizeString } from './p-5a9d75e1.js';
11
- import { d as defineCustomElement$2 } from './p-a4fc8229.js';
11
+ import { d as defineCustomElement$2 } from './p-1460a593.js';
12
12
 
13
13
  const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{flex:1 0 auto;margin-left:16px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
14
14
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { d as debounce } from './p-0b3f675e.js';
7
7
  import { c as isEnterKey, b as isEscapeKey, d as isTabKey, e as isArrowUpKey, f as isArrowDownKey } from './p-d8549efe.js';
8
8
  import { g as getLocaleString, a as getLanguage } from './p-6c05e879.js';
9
9
  import { p as parsePossibleJSON } from './p-5a9d75e1.js';
10
10
  import { h, F as Fragment } from './p-152ee893.js';
11
- import { d as defineCustomElement$2 } from './p-a4fc8229.js';
11
+ import { d as defineCustomElement$2 } from './p-1460a593.js';
12
12
 
13
13
  const SelectSingle = ({ item, search = "", selected }) => {
14
14
  const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-33ba43e1.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
7
- import { d as defineCustomElement$8 } from './p-32e43a11.js';
8
- import { d as defineCustomElement$7 } from './p-bc2fe9f9.js';
9
- import { d as defineCustomElement$6 } from './p-a4fc8229.js';
10
- import { d as defineCustomElement$5 } from './p-f8f93c32.js';
11
- import { d as defineCustomElement$4 } from './p-86bdfc5f.js';
12
- import { d as defineCustomElement$3 } from './p-46998408.js';
13
- import { d as defineCustomElement$2 } from './p-56443db2.js';
7
+ import { d as defineCustomElement$8 } from './p-30637273.js';
8
+ import { d as defineCustomElement$7 } from './p-f316bb52.js';
9
+ import { d as defineCustomElement$6 } from './p-1460a593.js';
10
+ import { d as defineCustomElement$5 } from './p-18ecc42e.js';
11
+ import { d as defineCustomElement$4 } from './p-8b969843.js';
12
+ import { d as defineCustomElement$3 } from './p-4d8d1b92.js';
13
+ import { d as defineCustomElement$2 } from './p-d4fea7f4.js';
14
14
 
15
15
  const duetContactCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;word-break:break-all}";
16
16
 
@@ -61,7 +61,7 @@ const DuetContactCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
61
61
  return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
62
62
  "duet-contact-card": true,
63
63
  "duet-theme-turva": this.theme === "turva",
64
- }, "aria-role": "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { class: "phone" }, h("duet-icon", { name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { class: "call-to-action" }, h("duet-button", { variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", null), h("slot", null))));
64
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { class: "phone" }, h("duet-icon", { name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { class: "call-to-action" }, h("duet-button", { variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", null), h("slot", null))));
65
65
  }
66
66
  get element() { return this; }
67
67
  static get style() { return duetContactCardCss; }