@duetds/components 8.3.0 → 8.4.0

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 (681) hide show
  1. package/hydrate/index.js +352 -103
  2. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +7 -6
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-callout.cjs.entry.js +5 -4
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -5
  11. package/lib/cjs/duet-card.cjs.entry.js +5 -4
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +9 -6
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +5 -4
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +88 -0
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -15
  40. package/lib/cjs/duet-modal.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -4
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
  45. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
  48. package/lib/cjs/duet-popup-menu.cjs.entry.js +85 -22
  49. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +14 -9
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -3
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-select.cjs.entry.js +4 -3
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  63. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
  69. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-item.cjs.entry.js +59 -0
  73. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -15
  75. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  81. package/lib/cjs/duet.cjs.js +2 -2
  82. package/lib/cjs/{focus-utils-da780025.js → focus-utils-26803c28.js} +1 -1
  83. package/lib/cjs/{index-34b8e765.js → index-4e1fe95e.js} +1 -1
  84. package/lib/cjs/{keyboard-utils-66010749.js → keyboard-utils-66ecb5d6.js} +4 -2
  85. package/lib/cjs/loader.cjs.js +2 -2
  86. package/lib/cjs/slot-utils-0b8037ab.js +51 -0
  87. package/lib/collection/collection-manifest.json +2 -0
  88. package/lib/collection/common/index.js +0 -1
  89. package/lib/collection/components/duet-banner/duet-banner.js +6 -5
  90. package/lib/collection/components/duet-button/duet-button.css +25 -0
  91. package/lib/collection/components/duet-callout/duet-callout.js +4 -3
  92. package/lib/collection/components/duet-card/duet-card.js +4 -3
  93. package/lib/collection/components/duet-choice/duet-choice.js +2 -1
  94. package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -2
  95. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -1
  96. package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -2
  97. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  98. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -0
  99. package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
  100. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +4 -4
  101. package/lib/collection/components/duet-hero/duet-hero.js +8 -5
  102. package/lib/collection/components/duet-input/duet-input.js +3 -2
  103. package/lib/collection/components/duet-link/duet-link.js +3 -4
  104. package/lib/collection/components/duet-list/duet-list.js +1 -1
  105. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +45 -9
  106. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +1 -0
  107. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -13
  108. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
  109. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +1 -1
  110. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +103 -0
  111. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +286 -0
  112. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
  113. package/lib/collection/components/duet-modal/duet-modal.css +2 -2
  114. package/lib/collection/components/duet-modal/duet-modal.js +2 -1
  115. package/lib/collection/components/duet-multiselect/duet-multiselect.js +3 -2
  116. package/lib/collection/components/duet-number-input/duet-number-input.js +3 -2
  117. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +95 -25
  118. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
  119. package/lib/collection/components/duet-promo-card/duet-promo-card.css +10 -0
  120. package/lib/collection/components/duet-promo-card/duet-promo-card.js +13 -8
  121. package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -2
  122. package/lib/collection/components/duet-select/duet-select.js +3 -2
  123. package/lib/collection/components/duet-slideout/duet-slideout.css +3 -3
  124. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  125. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +1 -1
  126. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -2
  127. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -2
  128. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +65 -14
  129. package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
  130. package/lib/collection/components/duet-toolbar/duet-toolbar.js +0 -13
  131. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
  132. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
  133. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +122 -0
  134. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +270 -0
  135. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
  136. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  137. package/lib/collection/utils/keyboard-utils.js +4 -2
  138. package/lib/collection/utils/slot-utils.js +42 -11
  139. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  140. package/lib/dist-custom-elements/duet-alert.js +1 -1
  141. package/lib/dist-custom-elements/duet-badge.js +1 -1
  142. package/lib/dist-custom-elements/duet-banner.js +9 -8
  143. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  144. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  145. package/lib/dist-custom-elements/duet-button.js +1 -1
  146. package/lib/dist-custom-elements/duet-callout.js +6 -5
  147. package/lib/dist-custom-elements/duet-caption.js +1 -1
  148. package/lib/dist-custom-elements/duet-card.js +7 -6
  149. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  150. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  151. package/lib/dist-custom-elements/duet-chip.js +3 -3
  152. package/lib/dist-custom-elements/duet-choice-group.js +11 -10
  153. package/lib/dist-custom-elements/duet-choice.js +7 -7
  154. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  155. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  156. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  157. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  158. package/lib/dist-custom-elements/duet-date-picker.js +16 -15
  159. package/lib/dist-custom-elements/duet-divider.js +1 -1
  160. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  161. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  162. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  163. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  164. package/lib/dist-custom-elements/duet-footer.js +5 -5
  165. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  166. package/lib/dist-custom-elements/duet-grid.js +1 -1
  167. package/lib/dist-custom-elements/duet-header.js +9 -9
  168. package/lib/dist-custom-elements/duet-heading.js +1 -1
  169. package/lib/dist-custom-elements/duet-hero.js +17 -14
  170. package/lib/dist-custom-elements/duet-icon.js +1 -1
  171. package/lib/dist-custom-elements/duet-input.js +1 -1
  172. package/lib/dist-custom-elements/duet-label.js +1 -1
  173. package/lib/dist-custom-elements/duet-layout.js +1 -1
  174. package/lib/dist-custom-elements/duet-link.js +1 -1
  175. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  176. package/lib/dist-custom-elements/duet-list.js +1 -1
  177. package/lib/dist-custom-elements/duet-logo.js +1 -1
  178. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  179. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  180. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  181. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +11 -0
  182. package/lib/dist-custom-elements/duet-menu-bar-item.js +119 -0
  183. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  184. package/lib/dist-custom-elements/duet-menu-bar.js +3 -16
  185. package/lib/dist-custom-elements/duet-modal.js +10 -10
  186. package/lib/dist-custom-elements/duet-multiselect.js +13 -12
  187. package/lib/dist-custom-elements/duet-nav.js +1 -1
  188. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  189. package/lib/dist-custom-elements/duet-notification.js +3 -3
  190. package/lib/dist-custom-elements/duet-number-input.js +15 -14
  191. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  192. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  193. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  194. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -3
  195. package/lib/dist-custom-elements/duet-popup-menu.js +90 -24
  196. package/lib/dist-custom-elements/duet-progress.js +1 -1
  197. package/lib/dist-custom-elements/duet-promo-card.js +16 -11
  198. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  199. package/lib/dist-custom-elements/duet-radio.js +1 -1
  200. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  201. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  202. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  203. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  204. package/lib/dist-custom-elements/duet-select.js +1 -1
  205. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  206. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  207. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  208. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  209. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  210. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  211. package/lib/dist-custom-elements/duet-slideout.js +5 -5
  212. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  213. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  214. package/lib/dist-custom-elements/duet-step.js +5 -5
  215. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  216. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  217. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  218. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  219. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  220. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  221. package/lib/dist-custom-elements/duet-tab.js +2 -2
  222. package/lib/dist-custom-elements/duet-table.js +1 -1
  223. package/lib/dist-custom-elements/duet-textarea.js +13 -12
  224. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  225. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  226. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  227. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +11 -0
  228. package/lib/dist-custom-elements/duet-toolbar-item.js +90 -0
  229. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  230. package/lib/dist-custom-elements/duet-toolbar.js +2 -15
  231. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  232. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  233. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  234. package/lib/dist-custom-elements/duet-tray.js +4 -4
  235. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  236. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  237. package/lib/dist-custom-elements/duet-upload.js +18 -18
  238. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  239. package/lib/dist-custom-elements/index.js +1 -1
  240. package/lib/dist-custom-elements/{p-363d74c3.js → p-04647f60.js} +4 -4
  241. package/lib/dist-custom-elements/{p-afe568e9.js → p-0b90bbc2.js} +1 -1
  242. package/lib/dist-custom-elements/{p-73904865.js → p-0e584f41.js} +1 -1
  243. package/lib/dist-custom-elements/{p-b24c3dc4.js → p-1166a31e.js} +3 -3
  244. package/lib/dist-custom-elements/{p-8cd82767.js → p-148fdc67.js} +1 -1
  245. package/lib/dist-custom-elements/{p-e3d866c6.js → p-231e248d.js} +5 -5
  246. package/lib/dist-custom-elements/{p-ac4ee6ea.js → p-42a1b569.js} +2 -2
  247. package/lib/dist-custom-elements/{p-2718851e.js → p-42f3ff36.js} +1 -1
  248. package/lib/dist-custom-elements/{p-cf2212cc.js → p-440669fe.js} +14 -13
  249. package/lib/dist-custom-elements/{p-0233383b.js → p-54a40cbc.js} +1 -1
  250. package/lib/dist-custom-elements/{p-10c1d640.js → p-55dc7e3a.js} +1 -1
  251. package/lib/dist-custom-elements/{p-34fe2adb.js → p-581c0a5a.js} +1 -1
  252. package/lib/dist-custom-elements/{p-2c44fafc.js → p-5b7820b5.js} +1 -1
  253. package/lib/dist-custom-elements/{p-5b8774b6.js → p-604f5020.js} +6 -6
  254. package/lib/dist-custom-elements/{p-a13cbd71.js → p-6cb11f93.js} +1 -1
  255. package/lib/dist-custom-elements/p-796edee6.js +48 -0
  256. package/lib/dist-custom-elements/{p-60dcae4f.js → p-7cf48950.js} +1 -1
  257. package/lib/dist-custom-elements/{p-d27e5b0d.js → p-8356d992.js} +2 -2
  258. package/lib/dist-custom-elements/{p-5df55152.js → p-85712a7c.js} +1 -1
  259. package/lib/dist-custom-elements/{p-7183d0e7.js → p-88394bab.js} +10 -10
  260. package/lib/dist-custom-elements/{p-c7e3638d.js → p-88ce5a27.js} +1 -1
  261. package/lib/dist-custom-elements/{p-98ca74e0.js → p-9448a82f.js} +1 -1
  262. package/lib/dist-custom-elements/{p-0d6e1f1b.js → p-9c0ce616.js} +1 -1
  263. package/lib/dist-custom-elements/{p-41c5df58.js → p-a3651df3.js} +2 -2
  264. package/lib/dist-custom-elements/{p-7c44c302.js → p-b68755bb.js} +1 -1
  265. package/lib/dist-custom-elements/{p-997c1c72.js → p-b9f613f5.js} +1 -1
  266. package/lib/dist-custom-elements/{p-55634a0b.js → p-bec3a15c.js} +4 -2
  267. package/lib/dist-custom-elements/{p-8a5c7cdf.js → p-d07c620c.js} +5 -5
  268. package/lib/dist-custom-elements/{p-42da65d1.js → p-d2dafb20.js} +5 -6
  269. package/lib/dist-custom-elements/{p-b443af91.js → p-dd175a82.js} +11 -10
  270. package/lib/dist-custom-elements/{p-e445c96b.js → p-de066189.js} +1 -1
  271. package/lib/dist-custom-elements/{p-a73804b7.js → p-e278477e.js} +1 -1
  272. package/lib/dist-custom-elements/{p-2bc31f8b.js → p-e47bf090.js} +1 -1
  273. package/lib/dist-custom-elements/{p-96a8a294.js → p-f38ed7fe.js} +4 -4
  274. package/lib/dist-custom-elements/{p-5ccb7f41.js → p-fc352257.js} +7 -7
  275. package/lib/dist-custom-elements/{p-3bcad21a.js → p-ffe65adf.js} +3 -3
  276. package/lib/duet/duet.esm.js +1 -1
  277. package/lib/duet/duet.js +1 -1
  278. package/lib/duet/{p-505375e1.system.entry.js → p-05b8ae17.system.entry.js} +1 -1
  279. package/lib/duet/{p-dcaed1b0.entry.js → p-072607fd.entry.js} +1 -1
  280. package/lib/duet/{p-58a8254d.entry.js → p-077c7ac7.entry.js} +1 -1
  281. package/lib/duet/p-090ae709.entry.js +4 -0
  282. package/lib/duet/{p-19fc4ff9.system.entry.js → p-0c8ef637.system.entry.js} +1 -1
  283. package/lib/duet/{p-77b95466.system.entry.js → p-0c98eb74.system.entry.js} +1 -1
  284. package/lib/duet/p-0d452219.entry.js +4 -0
  285. package/lib/duet/{p-65dcf9ed.entry.js → p-0f80c628.entry.js} +1 -1
  286. package/lib/duet/{p-56be87c9.system.entry.js → p-1099ef42.system.entry.js} +1 -1
  287. package/lib/duet/{p-3ddc5b9d.entry.js → p-113ad39d.entry.js} +1 -1
  288. package/lib/duet/p-13bdce94.entry.js +4 -0
  289. package/lib/duet/{p-8a2f8d7d.entry.js → p-154f1517.entry.js} +1 -1
  290. package/lib/duet/{p-33771b10.system.entry.js → p-1c5a34ec.system.entry.js} +1 -1
  291. package/lib/duet/{p-1d91fb5d.entry.js → p-1ce475d7.entry.js} +1 -1
  292. package/lib/duet/{p-193fcf1c.system.entry.js → p-1d032bb3.system.entry.js} +1 -1
  293. package/lib/duet/{p-85e98030.entry.js → p-1e55dfa3.entry.js} +1 -1
  294. package/lib/duet/p-246f8836.system.entry.js +4 -0
  295. package/lib/duet/{p-97cf5b01.system.entry.js → p-265aaa8b.system.entry.js} +1 -1
  296. package/lib/duet/{p-b507f27d.system.entry.js → p-26859589.system.entry.js} +1 -1
  297. package/lib/duet/p-26c2008d.entry.js +4 -0
  298. package/lib/duet/{p-ffdb9d3f.system.entry.js → p-276fac2f.system.entry.js} +1 -1
  299. package/lib/duet/p-280e0b55.entry.js +4 -0
  300. package/lib/duet/{p-f801f2a7.entry.js → p-288ba4f9.entry.js} +1 -1
  301. package/lib/duet/{p-4ca1be7a.system.entry.js → p-2a29c6d5.system.entry.js} +1 -1
  302. package/lib/duet/{p-b9140794.entry.js → p-2b5c578e.entry.js} +1 -1
  303. package/lib/duet/{p-d7f9ea61.system.entry.js → p-2d4cd88c.system.entry.js} +1 -1
  304. package/lib/duet/{p-7083fb38.system.entry.js → p-30174f82.system.entry.js} +1 -1
  305. package/lib/duet/p-322b427c.system.entry.js +4 -0
  306. package/lib/duet/{p-9d841e0f.entry.js → p-33ba6560.entry.js} +1 -1
  307. package/lib/duet/p-3624bad1.js +4 -0
  308. package/lib/duet/{p-8c08f362.system.entry.js → p-36ca4962.system.entry.js} +1 -1
  309. package/lib/duet/{p-3ac0c888.system.entry.js → p-3706d57f.system.entry.js} +1 -1
  310. package/lib/duet/{p-573ce757.system.entry.js → p-378c88b0.system.entry.js} +1 -1
  311. package/lib/duet/{p-27485e15.system.entry.js → p-3790d9c6.system.entry.js} +1 -1
  312. package/lib/duet/{p-a3b8bb87.entry.js → p-37b390b1.entry.js} +1 -1
  313. package/lib/duet/p-3a2f42cc.entry.js +4 -0
  314. package/lib/duet/{p-5c42b7f0.system.entry.js → p-3b7af0aa.system.entry.js} +1 -1
  315. package/lib/duet/p-3ffede1b.entry.js +4 -0
  316. package/lib/duet/{p-90847ed0.system.entry.js → p-423cc443.system.entry.js} +2 -2
  317. package/lib/duet/{p-05cfffb1.entry.js → p-42f7208c.entry.js} +1 -1
  318. package/lib/duet/p-4594fdfc.system.entry.js +4 -0
  319. package/lib/duet/{p-c03920c0.entry.js → p-4646de9d.entry.js} +1 -1
  320. package/lib/duet/{p-e0db152c.system.entry.js → p-468606ef.system.entry.js} +1 -1
  321. package/lib/duet/{p-0296a34a.system.entry.js → p-46980318.system.entry.js} +1 -1
  322. package/lib/duet/{p-85c6a112.entry.js → p-46c368b6.entry.js} +1 -1
  323. package/lib/duet/{p-34b96e8d.system.entry.js → p-48d5fd63.system.entry.js} +1 -1
  324. package/lib/duet/{p-e79d2de2.system.entry.js → p-497fbe6f.system.entry.js} +1 -1
  325. package/lib/duet/{p-777fbef3.entry.js → p-4a69a574.entry.js} +1 -1
  326. package/lib/duet/p-4c2964ba.system.entry.js +4 -0
  327. package/lib/duet/p-4c40ab32.entry.js +4 -0
  328. package/lib/duet/{p-1953edbe.entry.js → p-4c99d4e4.entry.js} +1 -1
  329. package/lib/duet/{p-ba89aaf0.entry.js → p-4ddb4401.entry.js} +1 -1
  330. package/lib/duet/{p-82cd0795.entry.js → p-52aefd49.entry.js} +1 -1
  331. package/lib/duet/{p-25e0cbc3.entry.js → p-55f4b594.entry.js} +1 -1
  332. package/lib/duet/p-560b0225.system.entry.js +4 -0
  333. package/lib/duet/{p-fefcaeb4.entry.js → p-5969cc96.entry.js} +1 -1
  334. package/lib/duet/p-5a07838a.system.entry.js +4 -0
  335. package/lib/duet/{p-0abf8fe1.system.entry.js → p-5f6619db.system.entry.js} +1 -1
  336. package/lib/duet/{p-5bf6660a.entry.js → p-60cc4982.entry.js} +1 -1
  337. package/lib/duet/{p-d8144268.system.entry.js → p-613ca231.system.entry.js} +1 -1
  338. package/lib/duet/{p-2eb5153f.system.entry.js → p-62b76a24.system.entry.js} +1 -1
  339. package/lib/duet/{p-f43327c2.system.entry.js → p-65a1a167.system.entry.js} +1 -1
  340. package/lib/duet/{p-618cc2c7.system.entry.js → p-65bd8411.system.entry.js} +1 -1
  341. package/lib/duet/{p-cff7873f.entry.js → p-67a6cdda.entry.js} +1 -1
  342. package/lib/duet/{p-6626a173.entry.js → p-69d93a05.entry.js} +1 -1
  343. package/lib/duet/{p-e27a4bf4.system.entry.js → p-6bad4da4.system.entry.js} +1 -1
  344. package/lib/duet/{p-b263e985.js → p-6c4b49d5.js} +1 -1
  345. package/lib/duet/p-6db50eea.entry.js +4 -0
  346. package/lib/duet/{p-9ba3d633.entry.js → p-6ed83596.entry.js} +1 -1
  347. package/lib/duet/{p-fe79a10c.system.entry.js → p-7066a413.system.entry.js} +1 -1
  348. package/lib/duet/{p-d7175aea.entry.js → p-72bedacd.entry.js} +1 -1
  349. package/lib/duet/{p-87112f7c.system.entry.js → p-7436bd48.system.entry.js} +1 -1
  350. package/lib/duet/p-74f8da81.entry.js +4 -0
  351. package/lib/duet/p-75350b07.entry.js +4 -0
  352. package/lib/duet/{p-e3c31f72.system.entry.js → p-75503668.system.entry.js} +1 -1
  353. package/lib/duet/{p-e72a7aa6.system.entry.js → p-75f81010.system.entry.js} +1 -1
  354. package/lib/duet/{p-769b7d3c.system.js → p-76b3dfea.system.js} +1 -1
  355. package/lib/duet/{p-c16515e0.entry.js → p-76f3d250.entry.js} +1 -1
  356. package/lib/duet/{p-fa6061c9.entry.js → p-7792b370.entry.js} +1 -1
  357. package/lib/duet/p-796edee6.js +4 -0
  358. package/lib/duet/{p-71568bfa.entry.js → p-79b1232f.entry.js} +1 -1
  359. package/lib/duet/p-7a0523f1.entry.js +4 -0
  360. package/lib/duet/p-7c6d5f9c.system.js +4 -0
  361. package/lib/duet/p-8678ad49.system.js +4 -0
  362. package/lib/duet/{p-c9221359.system.entry.js → p-8b0053b4.system.entry.js} +1 -1
  363. package/lib/duet/p-8b01d018.entry.js +4 -0
  364. package/lib/duet/p-8b310c25.system.entry.js +4 -0
  365. package/lib/duet/{p-53e192de.system.entry.js → p-8b621333.system.entry.js} +1 -1
  366. package/lib/duet/{p-310fd85a.system.entry.js → p-8c340908.system.entry.js} +1 -1
  367. package/lib/duet/p-8cdbf7c7.system.entry.js +4 -0
  368. package/lib/duet/p-8da5c103.entry.js +4 -0
  369. package/lib/duet/{p-11be6924.system.entry.js → p-900abeb7.system.entry.js} +1 -1
  370. package/lib/duet/{p-604aab16.system.entry.js → p-913b9c68.system.entry.js} +1 -1
  371. package/lib/duet/p-91d750ad.system.js +4 -0
  372. package/lib/duet/{p-b9c1d172.entry.js → p-93950a7f.entry.js} +1 -1
  373. package/lib/duet/{p-39730ce5.entry.js → p-94e0fba1.entry.js} +1 -1
  374. package/lib/duet/{p-004f5593.system.entry.js → p-96c1789d.system.entry.js} +1 -1
  375. package/lib/duet/{p-c8466623.system.entry.js → p-97af661b.system.entry.js} +1 -1
  376. package/lib/duet/p-991f9b2e.entry.js +4 -0
  377. package/lib/duet/{p-079710fa.system.entry.js → p-994d95e9.system.entry.js} +1 -1
  378. package/lib/duet/{p-f1843c31.entry.js → p-99eb5647.entry.js} +1 -1
  379. package/lib/duet/p-9a1f8af3.entry.js +4 -0
  380. package/lib/duet/{p-d3aed7d8.system.entry.js → p-9cdf78b3.system.entry.js} +1 -1
  381. package/lib/duet/{p-ccb58dd2.entry.js → p-9ce07f50.entry.js} +1 -1
  382. package/lib/duet/{p-5d74e505.entry.js → p-a09d3878.entry.js} +1 -1
  383. package/lib/duet/{p-690d8509.system.entry.js → p-a15bdee3.system.entry.js} +1 -1
  384. package/lib/duet/{p-0322bace.entry.js → p-a1db3600.entry.js} +1 -1
  385. package/lib/duet/{p-73f87dff.system.entry.js → p-a43ad34f.system.entry.js} +1 -1
  386. package/lib/duet/{p-a9a0f040.system.entry.js → p-a50e095d.system.entry.js} +1 -1
  387. package/lib/duet/{p-859754bb.entry.js → p-a88d7e91.entry.js} +1 -1
  388. package/lib/duet/{p-2054dad2.entry.js → p-a8935106.entry.js} +1 -1
  389. package/lib/duet/{p-8726889d.system.entry.js → p-a8c96cc0.system.entry.js} +1 -1
  390. package/lib/duet/{p-213dab77.entry.js → p-aa14230b.entry.js} +1 -1
  391. package/lib/duet/{p-2f22f4cc.system.entry.js → p-aa840586.system.entry.js} +1 -1
  392. package/lib/duet/p-ad6388ce.entry.js +4 -0
  393. package/lib/duet/p-b01e1f6c.system.entry.js +4 -0
  394. package/lib/duet/{p-09c54c8e.system.js → p-b2716337.system.js} +1 -1
  395. package/lib/duet/{p-fbbfcc2d.system.entry.js → p-b2df2bb9.system.entry.js} +1 -1
  396. package/lib/duet/{p-98a822e3.entry.js → p-b3af96a8.entry.js} +1 -1
  397. package/lib/duet/{p-a01d2fdb.entry.js → p-b49d10f6.entry.js} +1 -1
  398. package/lib/duet/{p-e7b6657c.system.entry.js → p-b4e730ac.system.entry.js} +1 -1
  399. package/lib/duet/{p-294b9ccf.system.entry.js → p-b57e1bac.system.entry.js} +1 -1
  400. package/lib/duet/{p-45e26ba0.system.entry.js → p-b5f5d7ce.system.entry.js} +1 -1
  401. package/lib/duet/{p-5add7da0.entry.js → p-b7b4b33c.entry.js} +1 -1
  402. package/lib/duet/{p-7479da8d.system.entry.js → p-b85c4e9e.system.entry.js} +1 -1
  403. package/lib/duet/{p-52a756fe.entry.js → p-ba015d7a.entry.js} +1 -1
  404. package/lib/duet/p-bb640b45.entry.js +4 -0
  405. package/lib/duet/{p-82bef678.system.entry.js → p-bc8c2990.system.entry.js} +1 -1
  406. package/lib/duet/{p-4a4317af.system.entry.js → p-be8e8efc.system.entry.js} +1 -1
  407. package/lib/duet/{p-15c9c4cb.entry.js → p-c19ce026.entry.js} +1 -1
  408. package/lib/duet/{p-7fd03652.system.entry.js → p-c28e4280.system.entry.js} +1 -1
  409. package/lib/duet/{p-fdeb4f7d.entry.js → p-c383e8d6.entry.js} +1 -1
  410. package/lib/duet/{p-0d0867ae.entry.js → p-c899df04.entry.js} +1 -1
  411. package/lib/duet/{p-b2ccffd1.system.entry.js → p-c900f541.system.entry.js} +1 -1
  412. package/lib/duet/p-caa48d36.system.entry.js +4 -0
  413. package/lib/duet/{p-9e8772d1.entry.js → p-cd8fc9f7.entry.js} +1 -1
  414. package/lib/duet/{p-447943eb.entry.js → p-cd9619e3.entry.js} +1 -1
  415. package/lib/duet/{p-0f35fce0.system.entry.js → p-d047123e.system.entry.js} +1 -1
  416. package/lib/duet/{p-d864a0e3.system.entry.js → p-d257c333.system.entry.js} +1 -1
  417. package/lib/duet/{p-2888bff8.system.entry.js → p-d2cabbed.system.entry.js} +1 -1
  418. package/lib/duet/p-d2d6281b.entry.js +4 -0
  419. package/lib/duet/{p-0c416590.system.entry.js → p-d48ab4d3.system.entry.js} +1 -1
  420. package/lib/duet/p-d56b354c.entry.js +4 -0
  421. package/lib/duet/{p-9bba389f.entry.js → p-d9fd389c.entry.js} +1 -1
  422. package/lib/duet/{p-9686aa88.system.entry.js → p-db29100b.system.entry.js} +1 -1
  423. package/lib/duet/p-dc45b241.entry.js +4 -0
  424. package/lib/duet/p-de46b522.entry.js +4 -0
  425. package/lib/duet/p-de958fe7.system.entry.js +4 -0
  426. package/lib/duet/{p-2e3254e1.system.entry.js → p-e0befaf6.system.entry.js} +1 -1
  427. package/lib/duet/p-e1020f12.system.entry.js +4 -0
  428. package/lib/duet/{p-755f5cf0.system.entry.js → p-e19a12b4.system.entry.js} +1 -1
  429. package/lib/duet/{p-ba92e7b1.system.entry.js → p-e1b947e9.system.entry.js} +1 -1
  430. package/lib/duet/{p-a3351207.entry.js → p-e5c75975.entry.js} +1 -1
  431. package/lib/duet/{p-d84be985.entry.js → p-e632de74.entry.js} +1 -1
  432. package/lib/duet/p-e650b1b7.system.entry.js +4 -0
  433. package/lib/duet/p-e669b52a.entry.js +4 -0
  434. package/lib/duet/p-e6beb82f.entry.js +4 -0
  435. package/lib/duet/p-ea90f7c4.entry.js +4 -0
  436. package/lib/duet/{p-45464aa5.entry.js → p-eaa8473a.entry.js} +1 -1
  437. package/lib/duet/{p-1f6ad797.system.entry.js → p-ed9d957f.system.entry.js} +2 -2
  438. package/lib/duet/{p-560f26a5.entry.js → p-eededb83.entry.js} +1 -1
  439. package/lib/duet/p-f27034be.entry.js +4 -0
  440. package/lib/duet/p-f36f6e98.js +4 -0
  441. package/lib/duet/p-f3a2cd70.entry.js +4 -0
  442. package/lib/duet/p-f4b9871c.system.entry.js +4 -0
  443. package/lib/duet/{p-ca5cd66a.system.entry.js → p-fbede069.system.entry.js} +1 -1
  444. package/lib/duet/p-fd6421e9.entry.js +4 -0
  445. package/lib/esm/duet-action-button.entry.js +2 -2
  446. package/lib/esm/duet-alert.entry.js +2 -2
  447. package/lib/esm/duet-badge.entry.js +1 -1
  448. package/lib/esm/duet-banner.entry.js +7 -6
  449. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  450. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  451. package/lib/esm/duet-button_2.entry.js +2 -2
  452. package/lib/esm/duet-callout.entry.js +5 -4
  453. package/lib/esm/duet-caption_4.entry.js +4 -5
  454. package/lib/esm/duet-card.entry.js +5 -4
  455. package/lib/esm/duet-checkbox.entry.js +1 -1
  456. package/lib/esm/duet-checkmark.entry.js +1 -1
  457. package/lib/esm/duet-chip.entry.js +2 -2
  458. package/lib/esm/duet-choice_2.entry.js +6 -6
  459. package/lib/esm/duet-collapsible.entry.js +3 -3
  460. package/lib/esm/duet-combobox.entry.js +2 -2
  461. package/lib/esm/duet-contact-card.entry.js +1 -1
  462. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  463. package/lib/esm/duet-date-picker.entry.js +6 -5
  464. package/lib/esm/duet-divider_2.entry.js +1 -1
  465. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  466. package/lib/esm/duet-empty-state.entry.js +1 -1
  467. package/lib/esm/duet-fieldset.entry.js +2 -2
  468. package/lib/esm/duet-file-chooser.entry.js +1 -1
  469. package/lib/esm/duet-footer.entry.js +2 -2
  470. package/lib/esm/duet-grid_2.entry.js +1 -1
  471. package/lib/esm/duet-header_2.entry.js +2 -2
  472. package/lib/esm/duet-hero.entry.js +9 -6
  473. package/lib/esm/duet-icon.entry.js +1 -1
  474. package/lib/esm/duet-input_2.entry.js +5 -4
  475. package/lib/esm/duet-layout.entry.js +1 -1
  476. package/lib/esm/duet-list_2.entry.js +1 -1
  477. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  478. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  479. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  480. package/lib/esm/duet-menu-bar-item.entry.js +84 -0
  481. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  482. package/lib/esm/duet-menu-bar.entry.js +2 -15
  483. package/lib/esm/duet-modal.entry.js +5 -5
  484. package/lib/esm/duet-multiselect.entry.js +5 -4
  485. package/lib/esm/duet-nav.entry.js +1 -1
  486. package/lib/esm/duet-notification_2.entry.js +2 -2
  487. package/lib/esm/duet-number-input.entry.js +5 -4
  488. package/lib/esm/duet-page-heading.entry.js +1 -1
  489. package/lib/esm/duet-pagination_2.entry.js +2 -2
  490. package/lib/esm/duet-popup-menu-item.entry.js +3 -2
  491. package/lib/esm/duet-popup-menu.entry.js +85 -22
  492. package/lib/esm/duet-progress.entry.js +1 -1
  493. package/lib/esm/duet-promo-card.entry.js +14 -9
  494. package/lib/esm/duet-radio_2.entry.js +4 -3
  495. package/lib/esm/duet-range-slider.entry.js +2 -2
  496. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  497. package/lib/esm/duet-section-layout.entry.js +1 -1
  498. package/lib/esm/duet-select.entry.js +4 -3
  499. package/lib/esm/duet-shaped-image.entry.js +1 -1
  500. package/lib/esm/duet-show-more.entry.js +2 -2
  501. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  502. package/lib/esm/duet-slideout-link.entry.js +1 -1
  503. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  504. package/lib/esm/duet-slideout-panel.entry.js +3 -3
  505. package/lib/esm/duet-slideout.entry.js +5 -5
  506. package/lib/esm/duet-step_2.entry.js +2 -2
  507. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  508. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  509. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  510. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  511. package/lib/esm/duet-textarea.entry.js +4 -3
  512. package/lib/esm/duet-toggle.entry.js +2 -2
  513. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  514. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  515. package/lib/esm/duet-toolbar-item.entry.js +55 -0
  516. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  517. package/lib/esm/duet-toolbar.entry.js +2 -15
  518. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  519. package/lib/esm/duet-tooltip.entry.js +3 -3
  520. package/lib/esm/duet-tray.entry.js +2 -2
  521. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  522. package/lib/esm/duet-upload-item.entry.js +1 -1
  523. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  524. package/lib/esm/duet.js +3 -3
  525. package/lib/esm/{focus-utils-a9110b59.js → focus-utils-a15379ec.js} +1 -1
  526. package/lib/esm/{index-ad0e5e61.js → index-2fcdad1e.js} +1 -1
  527. package/lib/esm/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +4 -2
  528. package/lib/esm/loader.js +3 -3
  529. package/lib/esm/slot-utils-3c3ab3d6.js +48 -0
  530. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  531. package/lib/esm-es5/duet-alert.entry.js +1 -1
  532. package/lib/esm-es5/duet-badge.entry.js +1 -1
  533. package/lib/esm-es5/duet-banner.entry.js +1 -1
  534. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  535. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  536. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  537. package/lib/esm-es5/duet-callout.entry.js +1 -1
  538. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  539. package/lib/esm-es5/duet-card.entry.js +1 -1
  540. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  541. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  542. package/lib/esm-es5/duet-chip.entry.js +1 -1
  543. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  545. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  546. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  547. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  548. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  549. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  551. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  552. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  553. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  554. package/lib/esm-es5/duet-footer.entry.js +1 -1
  555. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  557. package/lib/esm-es5/duet-hero.entry.js +2 -2
  558. package/lib/esm-es5/duet-icon.entry.js +1 -1
  559. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  560. package/lib/esm-es5/duet-layout.entry.js +1 -1
  561. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  563. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  564. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  565. package/lib/esm-es5/duet-menu-bar-item.entry.js +4 -0
  566. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  567. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  568. package/lib/esm-es5/duet-modal.entry.js +1 -1
  569. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  570. package/lib/esm-es5/duet-nav.entry.js +1 -1
  571. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  572. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  573. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  574. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  575. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  576. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  577. package/lib/esm-es5/duet-progress.entry.js +1 -1
  578. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  579. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  581. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  582. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  583. package/lib/esm-es5/duet-select.entry.js +2 -2
  584. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  585. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  586. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  587. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  588. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  589. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  590. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  591. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  592. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  594. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  595. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  596. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  597. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  598. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  599. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  600. package/lib/esm-es5/duet-toolbar-item.entry.js +4 -0
  601. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  602. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  603. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  604. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  605. package/lib/esm-es5/duet-tray.entry.js +1 -1
  606. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  607. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  608. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  609. package/lib/esm-es5/duet.js +1 -1
  610. package/lib/esm-es5/{focus-utils-a9110b59.js → focus-utils-a15379ec.js} +1 -1
  611. package/lib/esm-es5/{index-ad0e5e61.js → index-2fcdad1e.js} +1 -1
  612. package/lib/esm-es5/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +1 -1
  613. package/lib/esm-es5/loader.js +1 -1
  614. package/lib/esm-es5/slot-utils-3c3ab3d6.js +4 -0
  615. package/lib/types/common/index.d.ts +0 -1
  616. package/lib/types/components/duet-card/duet-card.d.ts +3 -2
  617. package/lib/types/components/duet-list/duet-list.d.ts +1 -0
  618. package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +67 -0
  619. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +9 -2
  620. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
  621. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +3 -1
  622. package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +65 -0
  623. package/lib/types/components.d.ts +184 -6
  624. package/lib/types/utils/slot-utils.d.ts +14 -2
  625. package/package.json +5 -5
  626. package/lib/cjs/slot-query-3259af5b.js +0 -10
  627. package/lib/cjs/slot-utils-6c81bd09.js +0 -20
  628. package/lib/collection/common/slot-query.js +0 -9
  629. package/lib/dist-custom-elements/p-11230037.js +0 -8
  630. package/lib/dist-custom-elements/p-bb24a019.js +0 -18
  631. package/lib/duet/p-0c2cf3a5.system.entry.js +0 -4
  632. package/lib/duet/p-11230037.js +0 -4
  633. package/lib/duet/p-1c7ca800.entry.js +0 -4
  634. package/lib/duet/p-1cb624dd.entry.js +0 -4
  635. package/lib/duet/p-240c3f03.system.entry.js +0 -4
  636. package/lib/duet/p-2de5d10d.entry.js +0 -4
  637. package/lib/duet/p-32f3d9e9.entry.js +0 -4
  638. package/lib/duet/p-38bab76d.entry.js +0 -4
  639. package/lib/duet/p-3f9bb231.entry.js +0 -4
  640. package/lib/duet/p-43ee1368.entry.js +0 -4
  641. package/lib/duet/p-48f4acef.entry.js +0 -4
  642. package/lib/duet/p-578de372.entry.js +0 -4
  643. package/lib/duet/p-5eb9efcf.system.js +0 -4
  644. package/lib/duet/p-634e8787.system.js +0 -4
  645. package/lib/duet/p-6a9f8b30.entry.js +0 -4
  646. package/lib/duet/p-6ab9f8ce.entry.js +0 -4
  647. package/lib/duet/p-700eb8d9.system.entry.js +0 -4
  648. package/lib/duet/p-74fef701.system.entry.js +0 -4
  649. package/lib/duet/p-753d1ca4.system.js +0 -4
  650. package/lib/duet/p-7cdcc3f9.system.entry.js +0 -4
  651. package/lib/duet/p-85b08ff2.system.entry.js +0 -4
  652. package/lib/duet/p-8a90810c.system.entry.js +0 -4
  653. package/lib/duet/p-8b25f04b.system.entry.js +0 -4
  654. package/lib/duet/p-91e776e5.entry.js +0 -4
  655. package/lib/duet/p-93037a0a.entry.js +0 -4
  656. package/lib/duet/p-99269e38.system.js +0 -4
  657. package/lib/duet/p-9bfaaf32.entry.js +0 -4
  658. package/lib/duet/p-a5ebbe3e.entry.js +0 -4
  659. package/lib/duet/p-abe6350b.system.entry.js +0 -4
  660. package/lib/duet/p-afa0c531.entry.js +0 -4
  661. package/lib/duet/p-b3e26504.entry.js +0 -4
  662. package/lib/duet/p-bb24a019.js +0 -4
  663. package/lib/duet/p-c28792a8.entry.js +0 -4
  664. package/lib/duet/p-c9c43026.entry.js +0 -4
  665. package/lib/duet/p-cea6ffda.entry.js +0 -4
  666. package/lib/duet/p-cfdea256.system.entry.js +0 -4
  667. package/lib/duet/p-d36935fa.system.entry.js +0 -4
  668. package/lib/duet/p-da0e04fa.entry.js +0 -4
  669. package/lib/duet/p-e19067f1.js +0 -4
  670. package/lib/duet/p-e276fee0.js +0 -4
  671. package/lib/duet/p-e7ffb722.entry.js +0 -4
  672. package/lib/duet/p-ed8efd4d.system.entry.js +0 -4
  673. package/lib/duet/p-f61c00e3.entry.js +0 -4
  674. package/lib/duet/p-f7e13990.entry.js +0 -4
  675. package/lib/duet/p-fcb84038.entry.js +0 -4
  676. package/lib/duet/p-fea9215a.entry.js +0 -4
  677. package/lib/esm/slot-query-022710bb.js +0 -8
  678. package/lib/esm/slot-utils-07ba4363.js +0 -18
  679. package/lib/esm-es5/slot-query-022710bb.js +0 -4
  680. package/lib/esm-es5/slot-utils-07ba4363.js +0 -4
  681. package/lib/types/common/slot-query.d.ts +0 -1
@@ -0,0 +1,270 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h, Host } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ export class DuetToolbarItem {
7
+ constructor() {
8
+ this.theme = "";
9
+ this.variation = "default";
10
+ this.active = false;
11
+ this.url = undefined;
12
+ this.leadingIcon = undefined;
13
+ this.trailingIcon = undefined;
14
+ this.accessibleLabel = undefined;
15
+ this.accessibleExpanded = undefined;
16
+ this.accessiblePopup = "false";
17
+ }
18
+ /**
19
+ * Component lifecycle events.
20
+ */
21
+ componentWillLoad() {
22
+ inheritGlobalTheme(this);
23
+ }
24
+ /**
25
+ * Sets focus. Use this method instead of the global focus().
26
+ */
27
+ async setFocus(options) {
28
+ setTimeout(() => this.itemElement.focus(options), 200);
29
+ }
30
+ /**
31
+ * render() function
32
+ * Always the last one in the class.
33
+ */
34
+ render() {
35
+ const TagName = this.url ? "a" : "button";
36
+ const variation = this.variation === "negative" ? "negative" : "white";
37
+ return (h(Host, { role: "listitem" }, h(TagName, { ref: element => (this.itemElement = element), class: {
38
+ "duet-toolbar-item": true,
39
+ "duet-theme-turva": this.theme === "turva",
40
+ active: this.active,
41
+ [variation]: true,
42
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", null), this.trailingIcon && (h("duet-icon", { class: {
43
+ "trailing-icon": true,
44
+ rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
45
+ }, theme: this.theme, name: this.trailingIcon, margin: "none", size: this.trailingIcon === "action-arrow-down-small" ? "xxx-small" : "x-small", color: "currentColor" })))));
46
+ }
47
+ static get is() { return "duet-toolbar-item"; }
48
+ static get encapsulation() { return "shadow"; }
49
+ static get originalStyleUrls() {
50
+ return {
51
+ "$": ["duet-toolbar-item.scss"]
52
+ };
53
+ }
54
+ static get styleUrls() {
55
+ return {
56
+ "$": ["duet-toolbar-item.css"]
57
+ };
58
+ }
59
+ static get properties() {
60
+ return {
61
+ "theme": {
62
+ "type": "string",
63
+ "mutable": true,
64
+ "complexType": {
65
+ "original": "DuetTheme",
66
+ "resolved": "\"\" | \"default\" | \"turva\"",
67
+ "references": {
68
+ "DuetTheme": {
69
+ "location": "import",
70
+ "path": "../../common-types",
71
+ "id": "src/common-types.d.ts::DuetTheme"
72
+ }
73
+ }
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": "Theme."
80
+ },
81
+ "attribute": "theme",
82
+ "reflect": false,
83
+ "defaultValue": "\"\""
84
+ },
85
+ "variation": {
86
+ "type": "string",
87
+ "mutable": true,
88
+ "complexType": {
89
+ "original": "\"default\" | \"negative\"",
90
+ "resolved": "\"default\" | \"negative\"",
91
+ "references": {}
92
+ },
93
+ "required": false,
94
+ "optional": false,
95
+ "docs": {
96
+ "tags": [],
97
+ "text": "Variation."
98
+ },
99
+ "attribute": "variation",
100
+ "reflect": false,
101
+ "defaultValue": "\"default\""
102
+ },
103
+ "active": {
104
+ "type": "boolean",
105
+ "mutable": true,
106
+ "complexType": {
107
+ "original": "boolean",
108
+ "resolved": "boolean",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "Active"
116
+ },
117
+ "attribute": "active",
118
+ "reflect": false,
119
+ "defaultValue": "false"
120
+ },
121
+ "url": {
122
+ "type": "string",
123
+ "mutable": false,
124
+ "complexType": {
125
+ "original": "string",
126
+ "resolved": "string",
127
+ "references": {}
128
+ },
129
+ "required": false,
130
+ "optional": false,
131
+ "docs": {
132
+ "tags": [],
133
+ "text": "Url"
134
+ },
135
+ "attribute": "url",
136
+ "reflect": false
137
+ },
138
+ "leadingIcon": {
139
+ "type": "string",
140
+ "mutable": false,
141
+ "complexType": {
142
+ "original": "DuetIconName",
143
+ "resolved": "string",
144
+ "references": {
145
+ "DuetIconName": {
146
+ "location": "import",
147
+ "path": "../../common-types",
148
+ "id": "src/common-types.d.ts::DuetIconName"
149
+ }
150
+ }
151
+ },
152
+ "required": false,
153
+ "optional": false,
154
+ "docs": {
155
+ "tags": [],
156
+ "text": "Left icon."
157
+ },
158
+ "attribute": "leading-icon",
159
+ "reflect": false,
160
+ "defaultValue": "undefined"
161
+ },
162
+ "trailingIcon": {
163
+ "type": "string",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "DuetIconName",
167
+ "resolved": "string",
168
+ "references": {
169
+ "DuetIconName": {
170
+ "location": "import",
171
+ "path": "../../common-types",
172
+ "id": "src/common-types.d.ts::DuetIconName"
173
+ }
174
+ }
175
+ },
176
+ "required": false,
177
+ "optional": false,
178
+ "docs": {
179
+ "tags": [],
180
+ "text": "Right icon."
181
+ },
182
+ "attribute": "trailing-icon",
183
+ "reflect": false,
184
+ "defaultValue": "undefined"
185
+ },
186
+ "accessibleLabel": {
187
+ "type": "string",
188
+ "mutable": false,
189
+ "complexType": {
190
+ "original": "string",
191
+ "resolved": "string",
192
+ "references": {}
193
+ },
194
+ "required": false,
195
+ "optional": false,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": "Adds accessible label for the link that is only shown for screen readers.\nTypically, this label text replaces the visible text on the link for users\nwho use assistive technology."
199
+ },
200
+ "attribute": "accessible-label",
201
+ "reflect": false
202
+ },
203
+ "accessibleExpanded": {
204
+ "type": "boolean",
205
+ "mutable": true,
206
+ "complexType": {
207
+ "original": "boolean",
208
+ "resolved": "boolean",
209
+ "references": {}
210
+ },
211
+ "required": false,
212
+ "optional": false,
213
+ "docs": {
214
+ "tags": [],
215
+ "text": "If a button expands or collapses adjacent content, then use the ariaExpanded\nprop to add the aria-expanded attribute to the button. Set the value to convey\nthe current expanded (true) or collapsed (false) state of the content."
216
+ },
217
+ "attribute": "accessible-expanded",
218
+ "reflect": true
219
+ },
220
+ "accessiblePopup": {
221
+ "type": "string",
222
+ "mutable": true,
223
+ "complexType": {
224
+ "original": "string",
225
+ "resolved": "string",
226
+ "references": {}
227
+ },
228
+ "required": false,
229
+ "optional": false,
230
+ "docs": {
231
+ "tags": [],
232
+ "text": "Use this property to add an aria-haspopup attribute to a button."
233
+ },
234
+ "attribute": "accessible-popup",
235
+ "reflect": true,
236
+ "defaultValue": "\"false\""
237
+ }
238
+ };
239
+ }
240
+ static get methods() {
241
+ return {
242
+ "setFocus": {
243
+ "complexType": {
244
+ "signature": "(options?: FocusOptions) => Promise<void>",
245
+ "parameters": [{
246
+ "name": "options",
247
+ "type": "FocusOptions",
248
+ "docs": ""
249
+ }],
250
+ "references": {
251
+ "Promise": {
252
+ "location": "global",
253
+ "id": "global::Promise"
254
+ },
255
+ "FocusOptions": {
256
+ "location": "global",
257
+ "id": "global::FocusOptions"
258
+ }
259
+ },
260
+ "return": "Promise<void>"
261
+ },
262
+ "docs": {
263
+ "text": "Sets focus. Use this method instead of the global focus().",
264
+ "tags": []
265
+ }
266
+ }
267
+ };
268
+ }
269
+ static get elementRef() { return "element"; }
270
+ }
@@ -24,7 +24,7 @@ export class DuetToolbarLink {
24
24
  */
25
25
  render() {
26
26
  const variation = this.variation === "negative" ? "negative" : "white";
27
- return (h(Host, null, h("a", { class: {
27
+ return (h(Host, { role: "listitem" }, h("a", { class: {
28
28
  "duet-toolbar-link": true,
29
29
  "duet-theme-turva": this.theme === "turva",
30
30
  active: this.active,
@@ -110,12 +110,12 @@ export class DuetTooltip {
110
110
  */
111
111
  componentWillLoad() {
112
112
  inheritGlobalTheme(this);
113
+ this.buttonActive = this.active;
113
114
  }
114
115
  async componentDidLoad() {
115
116
  if (Build.isServer) {
116
117
  return;
117
118
  }
118
- this.buttonActive = this.active;
119
119
  this.arrowEl = await this.popupElement.getArrowElement();
120
120
  this.contentEl = await this.popupElement.getContentElement();
121
121
  this.updatePlacement();
@@ -38,12 +38,14 @@ function listenMouse() {
38
38
  window.removeEventListener("mousedown", listenMouse);
39
39
  window.addEventListener("keydown", listenKeys, false);
40
40
  }
41
- // start listening for tabbing (and mouse clicking through that) only if window is defined (i.e. not on server)
41
+ // start listening for mouse clicking (and tabbing through that) only if window is defined (i.e. not on server)
42
42
  if (typeof window !== "undefined") {
43
- window.addEventListener("keydown", listenKeys, false);
43
+ window.addEventListener("mousedown", listenMouse, false);
44
+ window.addEventListener("blur", () => notifySubscribers(true));
44
45
  }
45
46
  export const subscribeTabbingChange = component => {
46
47
  tabbingChangeSubscribers.add(component);
48
+ component.element.classList.add("user-is-tabbing");
47
49
  };
48
50
  export const unsubscribeTabbingChange = component => {
49
51
  tabbingChangeSubscribers.delete(component);
@@ -1,16 +1,47 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- export const slotElementCheck = (evt, component, requiredTagName) => {
5
- var _a;
6
- const slot = evt.target;
7
- const slotDescription = slot.name ? `slot ${slot.name}` : "default slot";
8
- const slotElement = slot.assignedElements()[0];
9
- const slotTagName = slotElement === null || slotElement === void 0 ? void 0 : slotElement.tagName.toLowerCase();
10
- const componentTagName = (_a = component.element) === null || _a === void 0 ? void 0 : _a.tagName.toLowerCase();
11
- if (slotTagName && slotTagName !== requiredTagName) {
12
- console.warn(`Duet warning:
13
- Only <${requiredTagName}> should be used in <${componentTagName}> ${slotDescription}.
14
- Found: <${slotTagName}>`);
4
+ import { Build } from "@stencil/core";
5
+ export const getElementsFromNamedSlot = (element, slotName) => {
6
+ const childElements = Array.from(Build.isServer ? element.children : element.querySelectorAll(":scope > *"));
7
+ return childElements.filter(el => el.matches(`[slot='${slotName}']`));
8
+ };
9
+ export const hasSlot = (element, slotName) => {
10
+ return getElementsFromNamedSlot(element, slotName).length > 0;
11
+ };
12
+ /**
13
+ * Check if the slotted element matches the given selector.
14
+ * If not, log a warning, or log a error and remove the element.
15
+ * This function only works with named slots.
16
+ *
17
+ * @param hostElement Host element
18
+ * @param slotName Name of the slot to check.
19
+ * @param selector Css selector the slotted element should match
20
+ * @param maxChildren Maximum number of children allowed in the slot. For no limit use 0. Default is 0.
21
+ * @param remove If true, remove the elements that don't match. Default is false.
22
+ */
23
+ export const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0, remove = false) => {
24
+ const warnOrError = remove ? "error" : "warn";
25
+ const errors = [];
26
+ const slottedElements = getElementsFromNamedSlot(hostElement, slotName);
27
+ const nonRemovedElements = slottedElements.filter(el => {
28
+ if (el.matches(selector)) {
29
+ return true;
30
+ }
31
+ errors.push(`Only elements matcing selector "${selector}" may be used in slot ${slotName}, found:\n${el.outerHTML}`);
32
+ if (remove) {
33
+ el.remove();
34
+ return false;
35
+ }
36
+ return true;
37
+ });
38
+ if (maxChildren && nonRemovedElements.length > maxChildren) {
39
+ errors.push(`Only ${maxChildren} element${maxChildren > 1 ? "s" : ""} may be used in slot ${slotName}, found ${slottedElements.length}.`);
40
+ if (remove) {
41
+ nonRemovedElements.slice(maxChildren).forEach(el => el.remove());
42
+ }
43
+ }
44
+ if (errors.length > 0) {
45
+ console[warnOrError](`Duet ${warnOrError} in ${hostElement.tagName.toLowerCase()}:\n${errors.join("\n")}${remove ? `\nElement${errors.length > 1 ? "s" : ""} removed.` : ""}`);
15
46
  }
16
47
  };
@@ -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-96a8a294.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-f38ed7fe.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-5b8774b6.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-604f5020.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-2bc31f8b.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-e47bf090.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$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 as h$1, d as Host } from './p-5df55152.js';
4
+ import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-85712a7c.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { h } from './p-62c7d9d4.js';
7
- import { s as slotElementCheck } from './p-bb24a019.js';
7
+ import { h as hasSlot, c as checkNamedSlotElement } from './p-796edee6.js';
8
8
  import { p as parsePossibleJSON } from './p-0e052642.js';
9
9
  import { g as getColorByName } from './p-cbac9ed5.js';
10
- import { d as defineCustomElement$3 } from './p-997c1c72.js';
11
- import { d as defineCustomElement$2 } from './p-73904865.js';
10
+ import { d as defineCustomElement$3 } from './p-b9f613f5.js';
11
+ import { d as defineCustomElement$2 } from './p-0e584f41.js';
12
12
 
13
13
  const DuetPicture = ({ img, sources }) => {
14
14
  return (h("picture", null,
@@ -41,9 +41,10 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
41
41
  */
42
42
  componentWillLoad() {
43
43
  inheritGlobalTheme(this);
44
- this.hasHeadingSlot = !!this.element.querySelector('[slot="heading"]');
45
- this.hasDescriptionSlot = !!this.element.querySelector('[slot="description"]');
46
- this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
44
+ this.hasHeadingSlot = hasSlot(this.element, "heading");
45
+ this.hasDescriptionSlot = hasSlot(this.element, "description");
46
+ this.hasActionSlot = hasSlot(this.element, "action");
47
+ checkNamedSlotElement(this.element, "heading", "span");
47
48
  }
48
49
  /**
49
50
  * render() function
@@ -64,7 +65,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
64
65
  "duet-banner": true,
65
66
  "duet-theme-turva": this.theme === "turva",
66
67
  [this.size]: true,
67
- }, style: bannerStyles }, h$1("div", { class: "visual" }, h$1("div", { class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h$1("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h$1("div", { class: "content" }, this.hasHeadingSlot && (h$1("div", { class: "heading" }, h$1("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, h$1("span", null, h$1("slot", { name: "heading", onSlotchange: ev => slotElementCheck(ev, this, "span") }))))), this.hasDescriptionSlot && (h$1("div", { class: "description", style: { color } }, h$1("slot", { name: "description" }))), this.hasActionSlot && (h$1("div", { class: "action" }, h$1("slot", { name: "action" })))))));
68
+ }, style: bannerStyles }, h$1("div", { class: "visual" }, h$1("div", { class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h$1("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h$1("div", { class: "content" }, this.hasHeadingSlot && (h$1("div", { class: "heading" }, h$1("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, h$1("span", null, h$1("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h$1("div", { class: "description", style: { color } }, h$1("slot", { name: "description" }))), this.hasActionSlot && (h$1("div", { class: "action" }, h$1("slot", { name: "action" })))))));
68
69
  }
69
70
  get element() { return this; }
70
71
  static get style() { return duetBannerCss; }
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-5df55152.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-85712a7c.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-55634a0b.js';
6
+ import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-bec3a15c.js';
7
7
  import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-2e36d5bf.js';
8
- import { d as defineCustomElement$3 } from './p-73904865.js';
9
- import { d as defineCustomElement$2 } from './p-afe568e9.js';
8
+ import { d as defineCustomElement$3 } from './p-0e584f41.js';
9
+ import { d as defineCustomElement$2 } from './p-0b90bbc2.js';
10
10
 
11
11
  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>"};
12
12
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-5df55152.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-85712a7c.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { g as getLocaleString } from './p-2e36d5bf.js';
7
7
  import { g as getColorByName } from './p-cbac9ed5.js';
@@ -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-e3d866c6.js';
4
+ import { D as DuetButton$1, d as defineCustomElement$1 } from './p-231e248d.js';
5
5
 
6
6
  const DuetButton = DuetButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-5df55152.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-85712a7c.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { s as slotElementCheck } from './p-bb24a019.js';
7
- import { d as defineCustomElement$2 } from './p-73904865.js';
6
+ import { h as hasSlot, c as checkNamedSlotElement } from './p-796edee6.js';
7
+ import { d as defineCustomElement$2 } from './p-0e584f41.js';
8
8
 
9
9
  const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.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-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
10
10
 
@@ -22,7 +22,8 @@ const DuetCallout$1 = /*@__PURE__*/ proxyCustomElement(class DuetCallout extends
22
22
  */
23
23
  componentWillLoad() {
24
24
  inheritGlobalTheme(this);
25
- this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
25
+ this.hasAuthorSlot = hasSlot(this.element, "author");
26
+ checkNamedSlotElement(this.element, "author", "span");
26
27
  }
27
28
  /**
28
29
  * render() function
@@ -37,7 +38,7 @@ const DuetCallout$1 = /*@__PURE__*/ proxyCustomElement(class DuetCallout extends
37
38
  "duet-callout": true,
38
39
  "duet-theme-turva": this.theme === "turva",
39
40
  "duet-m-0": this.margin === "none",
40
- } }, h("figure", { class: "container" }, h("duet-icon", { class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", null, h("slot", null)), this.hasAuthorSlot && (h("figcaption", { class: "author" }, h("span", null, "\u2014 "), h("slot", { name: "author", onSlotchange: ev => slotElementCheck(ev, this, "span") })))))));
41
+ } }, h("figure", { class: "container" }, h("duet-icon", { class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", null, h("slot", null)), this.hasAuthorSlot && (h("figcaption", { class: "author" }, h("span", null, "\u2014 "), h("slot", { name: "author" })))))));
41
42
  }
42
43
  get element() { return this; }
43
44
  static get style() { return duetCalloutCss; }
@@ -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-0233383b.js';
4
+ import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-54a40cbc.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-5df55152.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-85712a7c.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { c as createID } from './p-5e59e970.js';
7
- import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-55634a0b.js';
7
+ import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-bec3a15c.js';
8
8
  import { s as sanitizeString } from './p-0e052642.js';
9
9
  import { g as getColorByName } from './p-cbac9ed5.js';
10
- import { d as defineCustomElement$3 } from './p-73904865.js';
11
- import { d as defineCustomElement$2 } from './p-afe568e9.js';
10
+ import { d as defineCustomElement$3 } from './p-0e584f41.js';
11
+ import { d as defineCustomElement$2 } from './p-0b90bbc2.js';
12
12
 
13
13
  const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
14
14
  const duetBlock = "div";
@@ -86,8 +86,9 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
86
86
  }
87
87
  }
88
88
  /**
89
- * Sets focus on the specified `duet-card`. Use this method instead of the global
90
- * `card.focus()`.
89
+ * Sets focus on underlying a element.
90
+ * Available only when url attribute is used.
91
+ * Use this method instead of the native `focus()`.
91
92
  */
92
93
  async setFocus(options) {
93
94
  if (this.nativeCard) {
@@ -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-60dcae4f.js';
4
+ import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-7cf48950.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-c7e3638d.js';
4
+ import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-88ce5a27.js';
5
5
 
6
6
  const DuetCheckmark = DuetCheckmark$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,11 +1,11 @@
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-5df55152.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-85712a7c.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { c as createID } from './p-5e59e970.js';
7
- import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-55634a0b.js';
8
- import { d as defineCustomElement$2 } from './p-73904865.js';
7
+ import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-bec3a15c.js';
8
+ import { d as defineCustomElement$2 } from './p-0e584f41.js';
9
9
 
10
10
  const duetChipCss = "*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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:0.875rem;font-weight:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
11
11