@duetds/components 8.5.0 → 8.5.2

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 (644) hide show
  1. package/hydrate/index.js +270 -197
  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 +29 -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 +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
  11. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  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 +20 -36
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +72 -60
  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 +2 -2
  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 +2 -2
  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 +2 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  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 +1 -1
  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 +2 -2
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-modal.cjs.entry.js +21 -22
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  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 +2 -2
  45. package/lib/cjs/duet-overlay.cjs.entry.js +5 -5
  46. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-popup-menu.cjs.entry.js +13 -7
  50. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-slideout.cjs.entry.js +15 -7
  64. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -15
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +6 -22
  79. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +2 -2
  84. package/lib/cjs/{floating-ui.dom.esm-91f66430.js → floating-ui.dom.esm-806e7c53.js} +69 -0
  85. package/lib/cjs/{focus-utils-d5ff73a3.js → focus-utils-0a3cc66a.js} +1 -1
  86. package/lib/cjs/{index-55b9eb77.js → index-16863efb.js} +1 -1
  87. package/lib/cjs/{keyboard-utils-66ecb5d6.js → keyboard-utils-681e11ec.js} +2 -1
  88. package/lib/cjs/loader.cjs.js +2 -2
  89. package/lib/cjs/{teleport-6a1f83a1.js → teleport-a2fa9434.js} +37 -29
  90. package/lib/collection/collection-manifest.json +1 -1
  91. package/lib/collection/components/duet-banner/duet-banner.css +4 -134
  92. package/lib/collection/components/duet-banner/duet-banner.js +43 -9
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -1
  94. package/lib/collection/components/duet-choice/duet-choice.css +43 -12
  95. package/lib/collection/components/duet-choice/duet-choice.js +18 -56
  96. package/lib/collection/components/duet-combobox/duet-combobox.css +2 -6
  97. package/lib/collection/components/duet-combobox/duet-combobox.js +70 -58
  98. package/lib/collection/components/duet-fieldset/duet-fieldset.js +4 -4
  99. package/lib/collection/components/duet-hero/duet-hero.js +1 -1
  100. package/lib/collection/components/duet-icon/duet-icon.css +2 -0
  101. package/lib/collection/components/duet-link/duet-link.css +4 -0
  102. package/lib/collection/components/duet-link/duet-link.js +26 -0
  103. package/lib/collection/components/duet-modal/duet-modal.css +11 -6
  104. package/lib/collection/components/duet-modal/duet-modal.e2e.js +1 -34
  105. package/lib/collection/components/duet-modal/duet-modal.js +21 -19
  106. package/lib/collection/components/duet-overlay/duet-overlay.css +8 -1
  107. package/lib/collection/components/duet-overlay/duet-overlay.js +11 -11
  108. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -2
  109. package/lib/collection/components/duet-slideout/duet-slideout.js +11 -3
  110. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -15
  111. package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -32
  112. package/lib/collection/utils/keyboard-utils.js +2 -1
  113. package/lib/collection/utils/teleport.js +37 -29
  114. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  115. package/lib/dist-custom-elements/duet-alert.js +1 -1
  116. package/lib/dist-custom-elements/duet-badge.js +1 -1
  117. package/lib/dist-custom-elements/duet-banner.js +33 -9
  118. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  119. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  120. package/lib/dist-custom-elements/duet-button.js +1 -1
  121. package/lib/dist-custom-elements/duet-callout.js +2 -2
  122. package/lib/dist-custom-elements/duet-caption.js +1 -1
  123. package/lib/dist-custom-elements/duet-card.js +4 -4
  124. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  125. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  126. package/lib/dist-custom-elements/duet-chip.js +3 -3
  127. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  128. package/lib/dist-custom-elements/duet-choice.js +27 -50
  129. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  130. package/lib/dist-custom-elements/duet-combobox.js +73 -61
  131. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  132. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  133. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  134. package/lib/dist-custom-elements/duet-divider.js +1 -1
  135. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  136. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  137. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  138. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  139. package/lib/dist-custom-elements/duet-footer.js +5 -5
  140. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  141. package/lib/dist-custom-elements/duet-grid.js +1 -1
  142. package/lib/dist-custom-elements/duet-header.js +9 -9
  143. package/lib/dist-custom-elements/duet-heading.js +1 -1
  144. package/lib/dist-custom-elements/duet-hero.js +10 -10
  145. package/lib/dist-custom-elements/duet-icon.js +1 -1
  146. package/lib/dist-custom-elements/duet-input.js +1 -1
  147. package/lib/dist-custom-elements/duet-label.js +1 -1
  148. package/lib/dist-custom-elements/duet-layout.js +1 -1
  149. package/lib/dist-custom-elements/duet-link.js +1 -1
  150. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  151. package/lib/dist-custom-elements/duet-list.js +1 -1
  152. package/lib/dist-custom-elements/duet-logo.js +1 -1
  153. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  154. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  155. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  156. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  157. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  158. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  159. package/lib/dist-custom-elements/duet-modal.js +28 -29
  160. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  161. package/lib/dist-custom-elements/duet-nav.js +1 -1
  162. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  163. package/lib/dist-custom-elements/duet-notification.js +3 -3
  164. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  165. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  166. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  167. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  168. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  169. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  170. package/lib/dist-custom-elements/duet-popup-menu.js +12 -6
  171. package/lib/dist-custom-elements/duet-progress.js +1 -1
  172. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  173. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  174. package/lib/dist-custom-elements/duet-radio.js +1 -1
  175. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  176. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  177. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  178. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  179. package/lib/dist-custom-elements/duet-select.js +1 -1
  180. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  181. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  182. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  183. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  184. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  185. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  186. package/lib/dist-custom-elements/duet-slideout.js +16 -8
  187. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  188. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  189. package/lib/dist-custom-elements/duet-step.js +5 -5
  190. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  191. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  192. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  193. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  194. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  195. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  196. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  197. package/lib/dist-custom-elements/duet-tab.js +2 -2
  198. package/lib/dist-custom-elements/duet-table.js +1 -1
  199. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  200. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  201. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  202. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  203. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  204. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  205. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  206. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  207. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  208. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  209. package/lib/dist-custom-elements/duet-tray.js +4 -4
  210. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  211. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  212. package/lib/dist-custom-elements/duet-upload.js +19 -19
  213. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  214. package/lib/dist-custom-elements/index.js +1 -1
  215. package/lib/dist-custom-elements/{p-c5cbad6a.js → p-0013bbd9.js} +5 -5
  216. package/lib/dist-custom-elements/{p-e041a480.js → p-0df120f7.js} +11 -11
  217. package/lib/dist-custom-elements/{p-872e2f85.js → p-1ff11eb0.js} +1 -1
  218. package/lib/dist-custom-elements/{p-a7a43cc8.js → p-227546cf.js} +2 -2
  219. package/lib/dist-custom-elements/{p-7e0593c4.js → p-2a3d455e.js} +1 -1
  220. package/lib/dist-custom-elements/{p-11e152cd.js → p-31ed51c3.js} +69 -1
  221. package/lib/dist-custom-elements/{p-020faef4.js → p-3e413cfd.js} +1 -1
  222. package/lib/dist-custom-elements/{p-1ce04b25.js → p-3fbeb75f.js} +1 -1
  223. package/lib/dist-custom-elements/{p-2f740f34.js → p-4021501c.js} +4 -4
  224. package/lib/dist-custom-elements/{p-a2e4cefc.js → p-532e0afe.js} +11 -27
  225. package/lib/dist-custom-elements/{p-fa57c719.js → p-53f70c5c.js} +1 -1
  226. package/lib/dist-custom-elements/{p-1c41e380.js → p-6783b103.js} +7 -7
  227. package/lib/dist-custom-elements/{p-1ab843a7.js → p-69fa1487.js} +1 -1
  228. package/lib/dist-custom-elements/{p-2ccce086.js → p-6f10ebc0.js} +4 -4
  229. package/lib/dist-custom-elements/{p-d4229a56.js → p-77552eed.js} +1 -1
  230. package/lib/dist-custom-elements/{p-ccdff614.js → p-7796b4bf.js} +37 -29
  231. package/lib/dist-custom-elements/{p-76ce0f9b.js → p-821bb92e.js} +11 -18
  232. package/lib/dist-custom-elements/{p-0a49f6e7.js → p-8cb2b7fe.js} +1 -1
  233. package/lib/dist-custom-elements/{p-979bd60b.js → p-8e696845.js} +1 -1
  234. package/lib/dist-custom-elements/{p-d321d5fc.js → p-8f86417c.js} +1 -1
  235. package/lib/dist-custom-elements/{p-935d79ab.js → p-934d4db1.js} +2 -2
  236. package/lib/dist-custom-elements/{p-17d5c190.js → p-9a2b977c.js} +2 -2
  237. package/lib/dist-custom-elements/{p-422afb9b.js → p-9af6adea.js} +1 -1
  238. package/lib/dist-custom-elements/{p-ea85bdb3.js → p-a13ff0ba.js} +2 -2
  239. package/lib/dist-custom-elements/{p-c79fe592.js → p-ab97f5a6.js} +1 -1
  240. package/lib/dist-custom-elements/{p-fb5d5f01.js → p-b35f5feb.js} +2 -2
  241. package/lib/dist-custom-elements/{p-8b86f3bd.js → p-c3ee68d3.js} +10 -10
  242. package/lib/dist-custom-elements/{p-79459d6e.js → p-c7e4d8c0.js} +3 -3
  243. package/lib/dist-custom-elements/{p-e1dc8e10.js → p-cbc5e3c2.js} +3 -3
  244. package/lib/dist-custom-elements/{p-69e641c9.js → p-cc019e60.js} +6 -6
  245. package/lib/dist-custom-elements/{p-e4a6f691.js → p-d5e33f97.js} +6 -3
  246. package/lib/dist-custom-elements/{p-bec3a15c.js → p-e44c0eff.js} +2 -1
  247. package/lib/dist-custom-elements/{p-baf436c1.js → p-e67b79bd.js} +6 -6
  248. package/lib/dist-custom-elements/{p-fbdd04e4.js → p-e77cc4f8.js} +1 -1
  249. package/lib/dist-custom-elements/{p-efa5851d.js → p-ed283f4c.js} +1 -1
  250. package/lib/dist-custom-elements/{p-0fce9d94.js → p-f0eaa248.js} +1 -1
  251. package/lib/dist-custom-elements/{p-b8844392.js → p-f843d6ff.js} +8 -8
  252. package/lib/dist-custom-elements/{p-d71a2b7b.js → p-fcd3721b.js} +1 -1
  253. package/lib/dist-custom-elements/{p-94656301.js → p-fce4d62c.js} +1 -1
  254. package/lib/duet/duet.esm.js +1 -1
  255. package/lib/duet/duet.js +1 -1
  256. package/lib/duet/p-002e18db.system.entry.js +4 -0
  257. package/lib/duet/p-027e5569.entry.js +4 -0
  258. package/lib/duet/{p-a19429c2.system.entry.js → p-030253f2.system.entry.js} +1 -1
  259. package/lib/duet/{p-cd6471b4.entry.js → p-03183a0f.entry.js} +1 -1
  260. package/lib/duet/{p-ea115f4e.system.entry.js → p-05f294b6.system.entry.js} +2 -2
  261. package/lib/duet/{p-9f54fc54.system.entry.js → p-0b8849bd.system.entry.js} +1 -1
  262. package/lib/duet/{p-93e74683.system.entry.js → p-0d37679b.system.entry.js} +1 -1
  263. package/lib/duet/{p-9d1cef64.system.entry.js → p-0d8cdce3.system.entry.js} +1 -1
  264. package/lib/duet/{p-0456ff4d.entry.js → p-0e265cf5.entry.js} +1 -1
  265. package/lib/duet/{p-27e81b06.entry.js → p-0e3a5d41.entry.js} +1 -1
  266. package/lib/duet/{p-b5b79a9c.entry.js → p-0e56bbe4.entry.js} +1 -1
  267. package/lib/duet/{p-401a3854.system.entry.js → p-0e6d65b4.system.entry.js} +1 -1
  268. package/lib/duet/p-103be53e.system.entry.js +4 -0
  269. package/lib/duet/{p-b3377755.system.entry.js → p-1047951a.system.entry.js} +1 -1
  270. package/lib/duet/{p-604c51f9.entry.js → p-1054ebce.entry.js} +1 -1
  271. package/lib/duet/{p-33f698d1.entry.js → p-11076593.entry.js} +1 -1
  272. package/lib/duet/{p-4729bcef.entry.js → p-129045fa.entry.js} +1 -1
  273. package/lib/duet/p-15d65ccc.system.js +4 -0
  274. package/lib/duet/{p-65468b0d.system.entry.js → p-17c077ab.system.entry.js} +1 -1
  275. package/lib/duet/{p-efd90de0.system.entry.js → p-188a000d.system.entry.js} +1 -1
  276. package/lib/duet/{p-8cd0cd03.entry.js → p-189a6d7a.entry.js} +1 -1
  277. package/lib/duet/{p-9b21ed50.entry.js → p-19714cb0.entry.js} +1 -1
  278. package/lib/duet/{p-2be0df40.system.entry.js → p-1a5d2b48.system.entry.js} +1 -1
  279. package/lib/duet/p-1c5b9e11.entry.js +4 -0
  280. package/lib/duet/{p-6aa4f325.entry.js → p-1cd772fc.entry.js} +1 -1
  281. package/lib/duet/{p-d925ab53.entry.js → p-1d90e7f5.entry.js} +1 -1
  282. package/lib/duet/{p-0d3f184b.entry.js → p-20601453.entry.js} +1 -1
  283. package/lib/duet/p-20d8f5b3.system.entry.js +4 -0
  284. package/lib/duet/{p-592edf29.system.entry.js → p-220ed4df.system.entry.js} +1 -1
  285. package/lib/duet/{p-13cd24b7.entry.js → p-244dd96f.entry.js} +1 -1
  286. package/lib/duet/p-261f4be7.entry.js +4 -0
  287. package/lib/duet/{p-a18768aa.entry.js → p-26224b8d.entry.js} +1 -1
  288. package/lib/duet/{p-e6cf95c7.entry.js → p-262cad2f.entry.js} +1 -1
  289. package/lib/duet/{p-f5578381.entry.js → p-26e9b71a.entry.js} +1 -1
  290. package/lib/duet/p-28829e73.system.entry.js +4 -0
  291. package/lib/duet/{p-01a8bdf7.system.entry.js → p-291921b6.system.entry.js} +1 -1
  292. package/lib/duet/{p-6af28665.system.entry.js → p-29cf9d3a.system.entry.js} +1 -1
  293. package/lib/duet/{p-801471d9.system.entry.js → p-2a5a769f.system.entry.js} +1 -1
  294. package/lib/duet/{p-9059866a.entry.js → p-2acd082d.entry.js} +1 -1
  295. package/lib/duet/{p-09af7801.system.entry.js → p-2ae068ec.system.entry.js} +1 -1
  296. package/lib/duet/{p-c9710402.entry.js → p-2e78e388.entry.js} +1 -1
  297. package/lib/duet/{p-5c5cd6d1.entry.js → p-2f4b30bc.entry.js} +1 -1
  298. package/lib/duet/p-31ed51c3.js +4 -0
  299. package/lib/duet/{p-b2716337.system.js → p-34d7dd10.system.js} +1 -1
  300. package/lib/duet/{p-4572372a.system.entry.js → p-3653b2fb.system.entry.js} +1 -1
  301. package/lib/duet/{p-5117272c.entry.js → p-3c521995.entry.js} +1 -1
  302. package/lib/duet/{p-6bd0ede9.system.entry.js → p-3cd16df4.system.entry.js} +1 -1
  303. package/lib/duet/{p-5e1d1a77.entry.js → p-3d5bd0bc.entry.js} +1 -1
  304. package/lib/duet/{p-5c3e7e35.entry.js → p-41b41654.entry.js} +1 -1
  305. package/lib/duet/{p-7559791e.system.entry.js → p-41dbacca.system.entry.js} +1 -1
  306. package/lib/duet/{p-daea7400.entry.js → p-42c4d8eb.entry.js} +1 -1
  307. package/lib/duet/{p-88079356.system.entry.js → p-458a582a.system.entry.js} +1 -1
  308. package/lib/duet/{p-73b9f01f.system.entry.js → p-46ae8180.system.entry.js} +1 -1
  309. package/lib/duet/{p-70521845.system.entry.js → p-472290cf.system.entry.js} +1 -1
  310. package/lib/duet/{p-51443fe0.system.entry.js → p-4829dff1.system.entry.js} +1 -1
  311. package/lib/duet/{p-64bc51ee.entry.js → p-4960de67.entry.js} +1 -1
  312. package/lib/duet/{p-6bfb1097.system.entry.js → p-4cc23ad9.system.entry.js} +1 -1
  313. package/lib/duet/{p-f831f948.system.entry.js → p-4dc42560.system.entry.js} +1 -1
  314. package/lib/duet/{p-ab5e0012.js → p-4ffa264b.js} +1 -1
  315. package/lib/duet/p-543274cc.entry.js +4 -0
  316. package/lib/duet/p-546f6d45.system.entry.js +4 -0
  317. package/lib/duet/{p-86a1f736.entry.js → p-55d583ae.entry.js} +1 -1
  318. package/lib/duet/{p-66ab34e4.system.entry.js → p-5639ce0e.system.entry.js} +1 -1
  319. package/lib/duet/p-5bd22454.system.entry.js +4 -0
  320. package/lib/duet/{p-5fcfa176.system.entry.js → p-5bfe7045.system.entry.js} +1 -1
  321. package/lib/duet/{p-2a664c02.system.entry.js → p-5c1601ff.system.entry.js} +1 -1
  322. package/lib/duet/{p-2fd5aa00.entry.js → p-5d2c26b0.entry.js} +1 -1
  323. package/lib/duet/{p-2ad5fbae.entry.js → p-5e55c792.entry.js} +1 -1
  324. package/lib/duet/{p-67d81156.entry.js → p-5ea3014b.entry.js} +1 -1
  325. package/lib/duet/p-5ee6ee0f.entry.js +4 -0
  326. package/lib/duet/{p-f62e0d80.entry.js → p-62fe20b3.entry.js} +1 -1
  327. package/lib/duet/p-68139eec.entry.js +4 -0
  328. package/lib/duet/{p-f42c2d6e.system.js → p-6ad43e56.system.js} +1 -1
  329. package/lib/duet/{p-256cd41d.system.entry.js → p-6b09f77a.system.entry.js} +1 -1
  330. package/lib/duet/{p-6d928783.system.entry.js → p-6dfd2ad4.system.entry.js} +2 -2
  331. package/lib/duet/{p-e8b9e8ef.entry.js → p-6f86849a.entry.js} +1 -1
  332. package/lib/duet/{p-ae604d66.entry.js → p-750b8092.entry.js} +1 -1
  333. package/lib/duet/p-7796b4bf.js +4 -0
  334. package/lib/duet/{p-76ae0bc6.system.entry.js → p-779cc0e2.system.entry.js} +1 -1
  335. package/lib/duet/{p-66584477.entry.js → p-7a4f6f61.entry.js} +1 -1
  336. package/lib/duet/{p-cbcbab5e.entry.js → p-7a851859.entry.js} +1 -1
  337. package/lib/duet/{p-151493bf.entry.js → p-7af65952.entry.js} +1 -1
  338. package/lib/duet/p-7c4bccd0.entry.js +4 -0
  339. package/lib/duet/{p-317012d4.system.entry.js → p-7ce56bbb.system.entry.js} +1 -1
  340. package/lib/duet/{p-14ab0d93.system.entry.js → p-7d41397d.system.entry.js} +1 -1
  341. package/lib/duet/{p-863e4171.system.entry.js → p-7e694c23.system.entry.js} +1 -1
  342. package/lib/duet/{p-a7752b9e.system.entry.js → p-7f73ca35.system.entry.js} +1 -1
  343. package/lib/duet/{p-b28be710.system.entry.js → p-8046702e.system.entry.js} +1 -1
  344. package/lib/duet/{p-8e3b762b.system.entry.js → p-811d068d.system.entry.js} +1 -1
  345. package/lib/duet/p-856aabfc.entry.js +4 -0
  346. package/lib/duet/{p-c0109cdc.entry.js → p-890d2216.entry.js} +1 -1
  347. package/lib/duet/{p-33a5b8d1.entry.js → p-8e6a3459.entry.js} +1 -1
  348. package/lib/duet/{p-6a21013d.system.entry.js → p-90945aa7.system.entry.js} +1 -1
  349. package/lib/duet/{p-9228a4db.system.entry.js → p-91a7213e.system.entry.js} +1 -1
  350. package/lib/duet/{p-658480e9.entry.js → p-924d010a.entry.js} +1 -1
  351. package/lib/duet/{p-8f12df73.entry.js → p-934fbd8c.entry.js} +1 -1
  352. package/lib/duet/{p-05e3d13d.system.entry.js → p-945299e5.system.entry.js} +1 -1
  353. package/lib/duet/{p-8dafd7ea.entry.js → p-94f1da1e.entry.js} +1 -1
  354. package/lib/duet/p-9b7e4770.entry.js +4 -0
  355. package/lib/duet/{p-d2b114c3.system.entry.js → p-9c29c451.system.entry.js} +1 -1
  356. package/lib/duet/{p-0f34e239.entry.js → p-9c8eff95.entry.js} +1 -1
  357. package/lib/duet/{p-3d15f7c8.system.entry.js → p-9db7f0ee.system.entry.js} +1 -1
  358. package/lib/duet/{p-3a954cff.system.entry.js → p-9dfddcfe.system.entry.js} +1 -1
  359. package/lib/duet/{p-15b98f96.entry.js → p-a0bf2426.entry.js} +1 -1
  360. package/lib/duet/{p-7a98b0ec.entry.js → p-a104d690.entry.js} +1 -1
  361. package/lib/duet/p-a1b7f2a0.js +4 -0
  362. package/lib/duet/{p-2d3595b0.system.entry.js → p-a2c5ed9f.system.entry.js} +1 -1
  363. package/lib/duet/{p-073a10d2.entry.js → p-a4d3867b.entry.js} +1 -1
  364. package/lib/duet/{p-86aaa7a8.entry.js → p-a4f6e7a4.entry.js} +1 -1
  365. package/lib/duet/{p-d6902713.system.entry.js → p-aa34aa28.system.entry.js} +1 -1
  366. package/lib/duet/{p-31ab2fac.system.entry.js → p-abb6b45d.system.entry.js} +2 -2
  367. package/lib/duet/{p-0d618124.entry.js → p-abb6c6d6.entry.js} +1 -1
  368. package/lib/duet/{p-988683bf.entry.js → p-ace84e21.entry.js} +1 -1
  369. package/lib/duet/{p-19987cc7.entry.js → p-b0092c61.entry.js} +1 -1
  370. package/lib/duet/{p-1622a8dc.entry.js → p-b16f7f88.entry.js} +1 -1
  371. package/lib/duet/{p-c168a681.entry.js → p-b188ca10.entry.js} +1 -1
  372. package/lib/duet/{p-c417f6e2.entry.js → p-b19584f8.entry.js} +1 -1
  373. package/lib/duet/{p-608649b0.system.entry.js → p-b34e1fe3.system.entry.js} +1 -1
  374. package/lib/duet/{p-1ff168a6.system.entry.js → p-b3ec72f4.system.entry.js} +1 -1
  375. package/lib/duet/{p-a5a66e00.system.entry.js → p-b501aa93.system.entry.js} +1 -1
  376. package/lib/duet/{p-7cf1ec7c.system.entry.js → p-b61e64ec.system.entry.js} +1 -1
  377. package/lib/duet/p-b641b843.entry.js +4 -0
  378. package/lib/duet/p-b71802e6.entry.js +4 -0
  379. package/lib/duet/{p-38ad9e4e.system.entry.js → p-b9235db5.system.entry.js} +1 -1
  380. package/lib/duet/{p-a0675b54.system.entry.js → p-b93f7135.system.entry.js} +1 -1
  381. package/lib/duet/{p-226f6be1.system.entry.js → p-ba472cc3.system.entry.js} +1 -1
  382. package/lib/duet/p-be07ec36.entry.js +4 -0
  383. package/lib/duet/{p-1fdaa565.system.entry.js → p-c0773d8a.system.entry.js} +1 -1
  384. package/lib/duet/p-c0b43b78.system.js +4 -0
  385. package/lib/duet/{p-8a8945a6.system.entry.js → p-c0f4fc0f.system.entry.js} +1 -1
  386. package/lib/duet/{p-4f4e7905.entry.js → p-c1226bac.entry.js} +1 -1
  387. package/lib/duet/{p-3199cd51.system.entry.js → p-c3324ec1.system.entry.js} +1 -1
  388. package/lib/duet/{p-9f7b6689.entry.js → p-c3dcf506.entry.js} +1 -1
  389. package/lib/duet/{p-1a3f475b.system.entry.js → p-c3df6a13.system.entry.js} +1 -1
  390. package/lib/duet/{p-23a308b4.entry.js → p-c436c489.entry.js} +1 -1
  391. package/lib/duet/{p-d7dc7cbe.system.entry.js → p-c6d0fa16.system.entry.js} +1 -1
  392. package/lib/duet/{p-a3295b50.entry.js → p-c9e60391.entry.js} +1 -1
  393. package/lib/duet/p-cc12db97.entry.js +4 -0
  394. package/lib/duet/{p-0389a394.js → p-cd0a050c.js} +1 -1
  395. package/lib/duet/p-cd5db171.system.entry.js +4 -0
  396. package/lib/duet/{p-f2c72c35.entry.js → p-cfaa9978.entry.js} +1 -1
  397. package/lib/duet/{p-c83596f4.entry.js → p-d0b4d585.entry.js} +1 -1
  398. package/lib/duet/{p-77056d41.entry.js → p-d1e721c0.entry.js} +1 -1
  399. package/lib/duet/{p-45e825a2.entry.js → p-d222404e.entry.js} +1 -1
  400. package/lib/duet/{p-ccce468e.entry.js → p-d43cb576.entry.js} +1 -1
  401. package/lib/duet/{p-74d3d7c2.system.entry.js → p-d723e2bf.system.entry.js} +1 -1
  402. package/lib/duet/{p-ca0f477d.system.entry.js → p-d72c9b61.system.entry.js} +1 -1
  403. package/lib/duet/{p-047c3e3b.system.entry.js → p-d8b5bb36.system.entry.js} +1 -1
  404. package/lib/duet/{p-354c17a2.entry.js → p-d8de1209.entry.js} +1 -1
  405. package/lib/duet/{p-ce0c1247.system.js → p-d98dd209.system.js} +1 -1
  406. package/lib/duet/p-d9b6cabf.system.js +4 -0
  407. package/lib/duet/{p-96731c5a.system.entry.js → p-dada7734.system.entry.js} +1 -1
  408. package/lib/duet/{p-9c4066c6.system.entry.js → p-db6b760d.system.entry.js} +1 -1
  409. package/lib/duet/p-e211e155.system.entry.js +4 -0
  410. package/lib/duet/{p-eb376f0d.entry.js → p-e4174ecb.entry.js} +1 -1
  411. package/lib/duet/{p-f45745d0.entry.js → p-e5f42099.entry.js} +1 -1
  412. package/lib/duet/{p-d4056106.entry.js → p-e696786c.entry.js} +1 -1
  413. package/lib/duet/{p-c059695b.system.entry.js → p-e6f52d21.system.entry.js} +1 -1
  414. package/lib/duet/{p-247f0bf4.system.entry.js → p-e82699f0.system.entry.js} +1 -1
  415. package/lib/duet/{p-9a8f0bb2.system.entry.js → p-ea4a51dd.system.entry.js} +1 -1
  416. package/lib/duet/{p-f3009df9.entry.js → p-ebcacf15.entry.js} +1 -1
  417. package/lib/duet/{p-fcc4a7c1.system.entry.js → p-ec31cc90.system.entry.js} +1 -1
  418. package/lib/duet/{p-09a780a9.entry.js → p-ecf78455.entry.js} +1 -1
  419. package/lib/duet/{p-6833ff0d.entry.js → p-f0ede3b6.entry.js} +1 -1
  420. package/lib/duet/{p-a04c76f4.system.entry.js → p-f1984238.system.entry.js} +1 -1
  421. package/lib/duet/{p-ebef8737.system.entry.js → p-f505766a.system.entry.js} +1 -1
  422. package/lib/duet/{p-8e30f9a6.system.entry.js → p-f7719d79.system.entry.js} +1 -1
  423. package/lib/duet/{p-c0715203.system.entry.js → p-f7e80bed.system.entry.js} +1 -1
  424. package/lib/duet/{p-e45e0200.system.entry.js → p-f97f62e2.system.entry.js} +2 -2
  425. package/lib/duet/{p-c8f68ea5.entry.js → p-fbd2a797.entry.js} +1 -1
  426. package/lib/duet/{p-256b1c93.entry.js → p-fd8f15ff.entry.js} +1 -1
  427. package/lib/duet/{p-80f53550.system.entry.js → p-fe77631b.system.entry.js} +1 -1
  428. package/lib/duet/{p-ae58e4dd.system.entry.js → p-ffcbc32e.system.entry.js} +2 -2
  429. package/lib/esm/duet-action-button.entry.js +2 -2
  430. package/lib/esm/duet-alert.entry.js +2 -2
  431. package/lib/esm/duet-badge.entry.js +1 -1
  432. package/lib/esm/duet-banner.entry.js +29 -6
  433. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  434. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  435. package/lib/esm/duet-button_2.entry.js +1 -1
  436. package/lib/esm/duet-callout.entry.js +1 -1
  437. package/lib/esm/duet-caption_4.entry.js +4 -2
  438. package/lib/esm/duet-card.entry.js +2 -2
  439. package/lib/esm/duet-checkbox.entry.js +2 -2
  440. package/lib/esm/duet-checkmark.entry.js +1 -1
  441. package/lib/esm/duet-chip.entry.js +2 -2
  442. package/lib/esm/duet-choice_2.entry.js +20 -36
  443. package/lib/esm/duet-collapsible.entry.js +2 -2
  444. package/lib/esm/duet-combobox.entry.js +72 -60
  445. package/lib/esm/duet-contact-card.entry.js +1 -1
  446. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  447. package/lib/esm/duet-date-picker.entry.js +2 -2
  448. package/lib/esm/duet-divider_2.entry.js +1 -1
  449. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  450. package/lib/esm/duet-empty-state.entry.js +1 -1
  451. package/lib/esm/duet-fieldset.entry.js +2 -2
  452. package/lib/esm/duet-file-chooser.entry.js +1 -1
  453. package/lib/esm/duet-footer.entry.js +2 -2
  454. package/lib/esm/duet-grid_2.entry.js +1 -1
  455. package/lib/esm/duet-header_2.entry.js +2 -2
  456. package/lib/esm/duet-hero.entry.js +2 -2
  457. package/lib/esm/duet-icon.entry.js +2 -2
  458. package/lib/esm/duet-input_2.entry.js +2 -2
  459. package/lib/esm/duet-layout.entry.js +1 -1
  460. package/lib/esm/duet-list_2.entry.js +1 -1
  461. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  462. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  463. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  464. package/lib/esm/duet-menu-bar-item.entry.js +1 -1
  465. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  466. package/lib/esm/duet-menu-bar.entry.js +1 -1
  467. package/lib/esm/duet-modal.entry.js +21 -22
  468. package/lib/esm/duet-multiselect.entry.js +2 -2
  469. package/lib/esm/duet-nav.entry.js +1 -1
  470. package/lib/esm/duet-notification_2.entry.js +2 -2
  471. package/lib/esm/duet-number-input.entry.js +2 -2
  472. package/lib/esm/duet-overlay.entry.js +5 -5
  473. package/lib/esm/duet-page-heading.entry.js +1 -1
  474. package/lib/esm/duet-pagination_2.entry.js +2 -2
  475. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  476. package/lib/esm/duet-popup-menu.entry.js +13 -7
  477. package/lib/esm/duet-progress.entry.js +1 -1
  478. package/lib/esm/duet-promo-card.entry.js +1 -1
  479. package/lib/esm/duet-radio_2.entry.js +1 -1
  480. package/lib/esm/duet-range-slider.entry.js +2 -2
  481. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  482. package/lib/esm/duet-section-layout.entry.js +1 -1
  483. package/lib/esm/duet-select.entry.js +1 -1
  484. package/lib/esm/duet-shaped-image.entry.js +1 -1
  485. package/lib/esm/duet-show-more.entry.js +2 -2
  486. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  487. package/lib/esm/duet-slideout-link.entry.js +1 -1
  488. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  489. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  490. package/lib/esm/duet-slideout.entry.js +15 -7
  491. package/lib/esm/duet-step_2.entry.js +2 -2
  492. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  493. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  494. package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
  495. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  496. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  497. package/lib/esm/duet-textarea.entry.js +1 -1
  498. package/lib/esm/duet-toggle.entry.js +2 -2
  499. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  500. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  501. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  502. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  503. package/lib/esm/duet-toolbar.entry.js +1 -1
  504. package/lib/esm/duet-tooltip-button_2.entry.js +10 -15
  505. package/lib/esm/duet-tooltip.entry.js +6 -22
  506. package/lib/esm/duet-tray.entry.js +2 -2
  507. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  508. package/lib/esm/duet-upload-item.entry.js +1 -1
  509. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  510. package/lib/esm/duet.js +3 -3
  511. package/lib/esm/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +69 -1
  512. package/lib/esm/{focus-utils-a10adf64.js → focus-utils-aa3a68f0.js} +1 -1
  513. package/lib/esm/{index-64c1298f.js → index-453deef5.js} +1 -1
  514. package/lib/esm/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +2 -1
  515. package/lib/esm/loader.js +3 -3
  516. package/lib/esm/{teleport-d66d62e4.js → teleport-13402d94.js} +37 -29
  517. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  518. package/lib/esm-es5/duet-alert.entry.js +1 -1
  519. package/lib/esm-es5/duet-badge.entry.js +1 -1
  520. package/lib/esm-es5/duet-banner.entry.js +1 -1
  521. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  522. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  523. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  524. package/lib/esm-es5/duet-callout.entry.js +1 -1
  525. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  526. package/lib/esm-es5/duet-card.entry.js +1 -1
  527. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  528. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  529. package/lib/esm-es5/duet-chip.entry.js +1 -1
  530. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  531. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  532. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  533. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  534. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  535. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  536. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  537. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  538. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  539. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  540. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  541. package/lib/esm-es5/duet-footer.entry.js +1 -1
  542. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  543. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-hero.entry.js +1 -1
  545. package/lib/esm-es5/duet-icon.entry.js +1 -1
  546. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  547. package/lib/esm-es5/duet-layout.entry.js +1 -1
  548. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  549. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  550. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  551. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  552. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  553. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  554. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  555. package/lib/esm-es5/duet-modal.entry.js +2 -2
  556. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  557. package/lib/esm-es5/duet-nav.entry.js +1 -1
  558. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  560. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  561. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  562. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  563. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  564. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  565. package/lib/esm-es5/duet-progress.entry.js +1 -1
  566. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  567. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  569. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  570. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  571. package/lib/esm-es5/duet-select.entry.js +1 -1
  572. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  573. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  574. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  575. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  576. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  577. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  578. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  579. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  581. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  582. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  583. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  584. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  585. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  586. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  587. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  588. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  589. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  590. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  591. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  592. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  593. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  594. package/lib/esm-es5/duet-tray.entry.js +1 -1
  595. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  596. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  597. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  598. package/lib/esm-es5/duet.js +1 -1
  599. package/lib/esm-es5/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +1 -1
  600. package/lib/esm-es5/focus-utils-aa3a68f0.js +4 -0
  601. package/lib/esm-es5/{index-64c1298f.js → index-453deef5.js} +1 -1
  602. package/lib/esm-es5/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +1 -1
  603. package/lib/esm-es5/loader.js +1 -1
  604. package/lib/esm-es5/{teleport-d66d62e4.js → teleport-13402d94.js} +1 -1
  605. package/lib/types/components/duet-banner/duet-banner.d.ts +8 -3
  606. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
  607. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  608. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
  609. package/lib/types/components/duet-link/duet-link.d.ts +5 -1
  610. package/lib/types/components/duet-modal/duet-modal.d.ts +2 -4
  611. package/lib/types/components/duet-overlay/duet-overlay.d.ts +2 -2
  612. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
  613. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -7
  614. package/lib/types/components.d.ts +28 -18
  615. package/lib/types/utils/teleport.d.ts +12 -10
  616. package/package.json +5 -5
  617. package/lib/duet/p-108e590d.entry.js +0 -4
  618. package/lib/duet/p-11e152cd.js +0 -4
  619. package/lib/duet/p-2acc7234.entry.js +0 -4
  620. package/lib/duet/p-314584b6.entry.js +0 -4
  621. package/lib/duet/p-3624bad1.js +0 -4
  622. package/lib/duet/p-492f593d.system.entry.js +0 -4
  623. package/lib/duet/p-4ce604e7.system.entry.js +0 -4
  624. package/lib/duet/p-5b26e3f6.entry.js +0 -4
  625. package/lib/duet/p-5d4415c4.entry.js +0 -4
  626. package/lib/duet/p-65e3c5b0.system.js +0 -4
  627. package/lib/duet/p-6628b910.entry.js +0 -4
  628. package/lib/duet/p-75ddb749.system.entry.js +0 -4
  629. package/lib/duet/p-8d9eed3a.entry.js +0 -4
  630. package/lib/duet/p-906431d6.system.entry.js +0 -4
  631. package/lib/duet/p-954187ca.entry.js +0 -4
  632. package/lib/duet/p-a8ec05ce.entry.js +0 -4
  633. package/lib/duet/p-ad8f72c1.entry.js +0 -4
  634. package/lib/duet/p-add5965e.system.entry.js +0 -4
  635. package/lib/duet/p-b7de6cf2.system.js +0 -4
  636. package/lib/duet/p-c6504e8e.system.entry.js +0 -4
  637. package/lib/duet/p-ccdff614.js +0 -4
  638. package/lib/duet/p-cda576c3.entry.js +0 -4
  639. package/lib/duet/p-d9e75bb3.entry.js +0 -4
  640. package/lib/duet/p-e639b9ee.system.js +0 -4
  641. package/lib/duet/p-e8320a1b.system.entry.js +0 -4
  642. package/lib/duet/p-e8d4440f.system.entry.js +0 -4
  643. package/lib/duet/p-fb543570.entry.js +0 -4
  644. package/lib/esm-es5/focus-utils-a10adf64.js +0 -4
@@ -14,6 +14,19 @@ import { getColorByName } from "../../utils/token-utils";
14
14
  */
15
15
  export class DuetBanner {
16
16
  constructor() {
17
+ this.checkBannerSize = () => {
18
+ const elementSize = this.element.clientWidth;
19
+ if (elementSize < 500 || this.size === "small") {
20
+ this.currentSize = "small";
21
+ }
22
+ else if (elementSize < 900 || this.size === "medium") {
23
+ this.currentSize = "medium";
24
+ }
25
+ else {
26
+ this.currentSize = "large";
27
+ }
28
+ this.setButtonSize();
29
+ };
17
30
  /**
18
31
  * Default to smaller button size for small and medium banners.
19
32
  */
@@ -21,19 +34,20 @@ export class DuetBanner {
21
34
  if (this.hasActionSlot) {
22
35
  const buttons = this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");
23
36
  for (const button of buttons) {
24
- if (button && button.getAttribute("size") === null && this.size !== "large") {
37
+ if (button && button.getAttribute("size") === null && this.currentSize !== "large") {
25
38
  button.size = "small";
26
39
  }
27
40
  }
28
41
  }
29
42
  };
43
+ this.currentSize = undefined;
30
44
  this.theme = "";
31
45
  this.margin = "auto";
32
46
  this.backgroundColor = "primary-lighter";
33
47
  this.iconColor = "gray-lightest";
34
48
  this.iconBackgroundColor = "primary";
35
49
  this.textColor = "secondary";
36
- this.size = "auto";
50
+ this.size = "large";
37
51
  this.image = "";
38
52
  this.sources = undefined;
39
53
  this.icon = "";
@@ -49,6 +63,15 @@ export class DuetBanner {
49
63
  this.hasActionSlot = hasSlot(this.element, "action");
50
64
  checkNamedSlotElement(this.element, "heading", "span");
51
65
  this.setButtonSize();
66
+ setTimeout(() => {
67
+ this.checkBannerSize();
68
+ }, 0);
69
+ }
70
+ connectedCallback() {
71
+ window.addEventListener("resize", this.checkBannerSize);
72
+ }
73
+ disconnectedCallback() {
74
+ window.removeEventListener("resize", this.checkBannerSize);
52
75
  }
53
76
  /**
54
77
  * render() function
@@ -68,8 +91,8 @@ export class DuetBanner {
68
91
  return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("aside", { class: {
69
92
  "duet-banner": true,
70
93
  "duet-theme-turva": this.theme === "turva",
71
- [this.size]: true,
72
- }, style: bannerStyles }, h("div", { class: "visual" }, h("div", { class: "image-container" }, this.image && h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.size === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h("div", { class: "content" }, this.hasHeadingSlot && (h("div", { class: "heading" }, h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.size === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h("div", { class: "description", style: { color } }, h("slot", { name: "description" }))), this.hasActionSlot && (h("div", { class: "action" }, h("slot", { name: "action" })))))));
94
+ [this.currentSize]: true,
95
+ }, style: bannerStyles }, h("div", { class: "visual" }, h("div", { class: "image-container" }, this.image && h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.currentSize === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h("div", { class: "content" }, this.hasHeadingSlot && (h("div", { class: "heading" }, h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h("div", { class: "description", style: { color } }, h("slot", { name: "description" }))), this.hasActionSlot && (h("div", { class: "action" }, h("slot", { name: "action" })))))));
73
96
  }
74
97
  static get is() { return "duet-banner"; }
75
98
  static get encapsulation() { return "shadow"; }
@@ -233,19 +256,25 @@ export class DuetBanner {
233
256
  "type": "string",
234
257
  "mutable": true,
235
258
  "complexType": {
236
- "original": "\"auto\" | \"small\" | \"medium\" | \"large\"",
237
- "resolved": "\"auto\" | \"large\" | \"medium\" | \"small\"",
238
- "references": {}
259
+ "original": "bannerSize",
260
+ "resolved": "\"large\" | \"medium\" | \"small\"",
261
+ "references": {
262
+ "bannerSize": {
263
+ "location": "local",
264
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-banner/duet-banner.tsx",
265
+ "id": "src/components/duet-banner/duet-banner.tsx::bannerSize"
266
+ }
267
+ }
239
268
  },
240
269
  "required": false,
241
270
  "optional": false,
242
271
  "docs": {
243
272
  "tags": [],
244
- "text": "Size of the banner. \"large\" and \"medium\" are horizontal, \"small\" is vertical,\n\"auto\" is responsive and sets the size based on the window size."
273
+ "text": "Maximum size of the banner. The banner will automatically switch to smaller sizes when space is not available.\nSizes \"large\" and \"medium\" are horizontal, \"small\" is vertical,"
245
274
  },
246
275
  "attribute": "size",
247
276
  "reflect": false,
248
- "defaultValue": "\"auto\""
277
+ "defaultValue": "\"large\""
249
278
  },
250
279
  "image": {
251
280
  "type": "string",
@@ -338,5 +367,10 @@ export class DuetBanner {
338
367
  }
339
368
  };
340
369
  }
370
+ static get states() {
371
+ return {
372
+ "currentSize": {}
373
+ };
374
+ }
341
375
  static get elementRef() { return "element"; }
342
376
  }
@@ -172,7 +172,8 @@
172
172
  color: rgb(224, 42, 13);
173
173
  }
174
174
 
175
- .duet-label-hidden .duet-label span {
175
+ .duet-label-hidden .duet-label span,
176
+ .duet-label-hidden .duet-checkbox-error span {
176
177
  position: absolute;
177
178
  width: 1px;
178
179
  height: 1px;
@@ -110,7 +110,7 @@
110
110
  position: relative;
111
111
  z-index: 100;
112
112
  display: flex;
113
- gap: 1rem;
113
+ gap: 12px;
114
114
  align-items: center;
115
115
  justify-content: flex-start;
116
116
  width: 100%;
@@ -157,7 +157,6 @@
157
157
  }
158
158
  .checked > .duet-choice-label {
159
159
  padding: 1rem;
160
- color: rgb(0, 119, 179) !important;
161
160
  background: rgb(243, 249, 252);
162
161
  border-color: rgb(0, 119, 179) !important;
163
162
  border-width: 2px;
@@ -166,7 +165,6 @@
166
165
  border-color: rgb(0, 119, 179);
167
166
  }
168
167
  .duet-theme-turva .checked > .duet-choice-label {
169
- color: rgb(23, 28, 58) !important;
170
168
  background: rgb(245, 245, 247);
171
169
  border-color: rgb(23, 28, 58) !important;
172
170
  }
@@ -174,7 +172,7 @@
174
172
  border-color: rgb(198, 12, 48);
175
173
  }
176
174
  .checked.collapsible > .duet-choice-label, .collapsible-force-expanded.collapsible > .duet-choice-label {
177
- padding-bottom: calc(1rem + 1px);
175
+ padding-bottom: calc(1rem + 2px) !important;
178
176
  border-bottom: 0 !important;
179
177
  border-bottom-right-radius: 0;
180
178
  border-bottom-left-radius: 0;
@@ -188,7 +186,7 @@
188
186
  border-color: rgb(144, 149, 153);
189
187
  }
190
188
  .duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-flextainer .duet-choice-label:not(.checked) {
191
- border-color: rgb(116, 116, 117);
189
+ border-color: rgb(23, 28, 58);
192
190
  }
193
191
  .duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container {
194
192
  border-color: rgb(116, 116, 117);
@@ -227,6 +225,12 @@ input[disabled] + .duet-choice-label {
227
225
  background: rgb(245, 248, 250) !important;
228
226
  border-color: rgb(225, 227, 230) !important;
229
227
  }
228
+ input[disabled] + .duet-choice-label .duet-choice-card-icon {
229
+ color: rgb(101, 119, 135);
230
+ }
231
+ .duet-theme-turva input[disabled] + .duet-choice-label .duet-choice-card-icon {
232
+ color: rgb(116, 116, 117);
233
+ }
230
234
  input[disabled] + .duet-choice-label .duet-checkmark {
231
235
  border-color: rgb(101, 119, 135) !important;
232
236
  }
@@ -246,13 +250,11 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
246
250
  }
247
251
 
248
252
  .checked > input[disabled] + .duet-choice-label {
249
- background: rgb(225, 227, 230) !important;
250
- border-color: rgb(225, 227, 230) !important;
253
+ border-color: rgb(144, 149, 153) !important;
251
254
  }
252
255
 
253
256
  .duet-theme-turva .checked > input[disabled] + .duet-choice-label {
254
- background: rgb(228, 228, 230) !important;
255
- border-color: rgb(228, 228, 230) !important;
257
+ border-color: rgb(116, 116, 117) !important;
256
258
  }
257
259
 
258
260
  .duet-checkmark-container {
@@ -280,6 +282,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
280
282
  border-radius: 50%;
281
283
  }
282
284
  [disabled] + label .duet-checkmark-container {
285
+ background: rgb(207, 210, 212) !important;
283
286
  border-color: rgb(207, 210, 212) !important;
284
287
  }
285
288
  .duet-theme-turva [disabled] + label .duet-checkmark-container {
@@ -290,6 +293,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
290
293
  }
291
294
  .duet-theme-turva .checked > [disabled] + label .duet-checkmark-container {
292
295
  background: rgb(207, 207, 209) !important;
296
+ border-color: rgb(207, 207, 209) !important;
293
297
  }
294
298
 
295
299
  .duet-checkmark {
@@ -328,6 +332,10 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
328
332
  }
329
333
  .duet-choice-card-icon {
330
334
  position: relative;
335
+ color: rgb(0, 119, 179);
336
+ }
337
+ .duet-theme-turva .duet-choice-card-icon {
338
+ color: rgb(173, 11, 43);
331
339
  }
332
340
  .duet-choice-card-icon duet-icon {
333
341
  display: block;
@@ -356,6 +364,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
356
364
  border: 1px solid rgb(225, 227, 230);
357
365
  border-top: 0;
358
366
  border-radius: 0 0 8px 8px;
367
+ transition: border-color 300ms ease;
359
368
  }
360
369
  @media (min-width: 36em) {
361
370
  .duet-choice-card-info, .duet-choice-card-collapsible {
@@ -382,9 +391,17 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
382
391
  border-color: rgb(228, 228, 230);
383
392
  }
384
393
  .duet-choice-card-collapsible.checked {
394
+ padding: 19px !important;
395
+ padding-top: 20px !important;
385
396
  border-color: rgb(0, 119, 179);
386
397
  border-width: 2px;
387
398
  }
399
+ @media (min-width: 36em) {
400
+ .duet-choice-card-collapsible.checked {
401
+ padding: 27px !important;
402
+ padding-top: 28px !important;
403
+ }
404
+ }
388
405
  .duet-choice-card-collapsible.checked.duet-theme-turva {
389
406
  border-color: rgb(23, 28, 58);
390
407
  }
@@ -412,13 +429,16 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
412
429
  background: rgb(245, 245, 247);
413
430
  border-color: rgb(228, 228, 230);
414
431
  }
415
- .duet-choice-card-info .duet-choice-info-container:focus {
416
- outline: none;
417
- }
418
432
  .duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*) {
419
433
  display: none;
420
434
  }
421
435
 
436
+ :host(.user-is-tabbing) .duet-choice-info-container:focus {
437
+ display: block;
438
+ outline: none;
439
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
440
+ }
441
+
422
442
  :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
423
443
  border-color: rgb(0, 119, 179);
424
444
  border-width: 2px;
@@ -427,6 +447,17 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
427
447
  border-color: rgb(116, 116, 117);
428
448
  }
429
449
 
450
+ :host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
451
+ padding: 19px !important;
452
+ padding-top: 20px !important;
453
+ }
454
+ @media (min-width: 36em) {
455
+ :host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
456
+ padding: 27px !important;
457
+ padding-top: 28px !important;
458
+ }
459
+ }
460
+
430
461
  .duet-choice-info-toggle {
431
462
  display: flex;
432
463
  flex-shrink: 0;
@@ -6,7 +6,6 @@ import { Build, h, Host } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common";
7
7
  import { DuetStringsExternalDefaults } from "../../common-strings";
8
8
  import { createID } from "../../utils/create-id";
9
- import { FocusGuard } from "../../utils/focus-utils";
10
9
  import { isEscapeKey, isKeyboardClick, isQuestionKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
11
10
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
12
11
  import { hasSlot } from "../../utils/slot-utils";
@@ -25,6 +24,9 @@ export class DuetChoice {
25
24
  this.expandId = createID("DuetChoiceExpand");
26
25
  this.headerId = createID("DuetChoiceHeader");
27
26
  this.infoButtonId = createID("DuetChoiceInfoButton");
27
+ /**
28
+ * Component event handling.
29
+ */
28
30
  this.onMouseEnter = () => {
29
31
  this.isHovering = true;
30
32
  };
@@ -75,7 +77,6 @@ export class DuetChoice {
75
77
  if (this.getDisabled()) {
76
78
  return;
77
79
  }
78
- this.isInfoOpen = false;
79
80
  // if it's a radio button, and it's already checked
80
81
  // we shouldn't fire an event, so exit early
81
82
  if (this.type === "radio" && this.checked) {
@@ -95,12 +96,11 @@ export class DuetChoice {
95
96
  setTimeout(() => {
96
97
  var _a;
97
98
  (_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
98
- });
99
+ }, 150);
99
100
  }
100
101
  };
101
102
  this.isHovering = false;
102
103
  this.isInfoOpen = false;
103
- this.isBlurred = false;
104
104
  this.theme = "";
105
105
  this.label = "label";
106
106
  this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
@@ -168,30 +168,6 @@ export class DuetChoice {
168
168
  unsubscribeTabbingChange(this);
169
169
  this.duetChoiceRemove.emit();
170
170
  }
171
- /**
172
- * Component event handling.
173
- */
174
- handleHostBlur(ev) {
175
- /**
176
- * When moving away from a choice, collapse the info bar to assist visually impared people on focusing
177
- */
178
- if (this.hasInfo && this.isInfoOpen && this.isKeyDown) {
179
- // @ts-ignore
180
- const isTargetContainedInHost = this.element.contains(ev === null || ev === void 0 ? void 0 : ev.relatedTarget) || false;
181
- if (!isTargetContainedInHost) {
182
- this.toggleInfo();
183
- }
184
- }
185
- }
186
- handleHostKeyDown() {
187
- this.isKeyDown = true;
188
- }
189
- handleHostKeyUp(ev) {
190
- this.isKeyDown = false;
191
- if (isEscapeKey(ev) && this.isInfoOpen) {
192
- this.toggleInfo();
193
- }
194
- }
195
171
  /**
196
172
  * Sets focus on the specified `duet-choice`. Use this method instead of the global
197
173
  * `input.focus()`.
@@ -205,6 +181,16 @@ export class DuetChoice {
205
181
  async toggleInfoMethod() {
206
182
  this.isInfoOpen = !this.isInfoOpen;
207
183
  }
184
+ handleEscape(e) {
185
+ if (isEscapeKey(e)) {
186
+ if (this.isInfoOpen) {
187
+ this.isInfoOpen = false;
188
+ if (this.infoButtonEl) {
189
+ this.infoButtonEl.focus();
190
+ }
191
+ }
192
+ }
193
+ }
208
194
  /**
209
195
  * Should the collapsible content be announced by screen readers
210
196
  */
@@ -272,8 +258,6 @@ export class DuetChoice {
272
258
  if (Build.isServer) {
273
259
  return;
274
260
  }
275
- const choiceGroup = this.element.closest("duet-choice-group");
276
- const choiceGroupLabel = choiceGroup ? choiceGroup.label : undefined;
277
261
  const identifier = this.identifier || this.choiceId;
278
262
  return (h(Host, { class: {
279
263
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
@@ -295,13 +279,13 @@ export class DuetChoice {
295
279
  collapsible: this.collapsible,
296
280
  "collapsible-force-expanded": this.collapsibleForceExpanded,
297
281
  "duet-p-0": this.padding === "none",
298
- } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
282
+ } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
299
283
  "duet-choice-info-toggle": true,
300
284
  "duet-theme-turva": this.theme === "turva",
301
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
285
+ }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
302
286
  "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
303
287
  "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
304
- } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
288
+ } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
305
289
  }
306
290
  static get is() { return "duet-choice"; }
307
291
  static get encapsulation() { return "scoped"; }
@@ -954,8 +938,7 @@ export class DuetChoice {
954
938
  static get states() {
955
939
  return {
956
940
  "isHovering": {},
957
- "isInfoOpen": {},
958
- "isBlurred": {}
941
+ "isInfoOpen": {}
959
942
  };
960
943
  }
961
944
  static get events() {
@@ -1111,25 +1094,4 @@ export class DuetChoice {
1111
1094
  };
1112
1095
  }
1113
1096
  static get elementRef() { return "element"; }
1114
- static get listeners() {
1115
- return [{
1116
- "name": "blur",
1117
- "method": "handleHostBlur",
1118
- "target": undefined,
1119
- "capture": true,
1120
- "passive": false
1121
- }, {
1122
- "name": "keydown",
1123
- "method": "handleHostKeyDown",
1124
- "target": undefined,
1125
- "capture": true,
1126
- "passive": false
1127
- }, {
1128
- "name": "keyup",
1129
- "method": "handleHostKeyUp",
1130
- "target": undefined,
1131
- "capture": true,
1132
- "passive": false
1133
- }];
1134
- }
1135
1097
  }
@@ -44,18 +44,14 @@
44
44
  .duet-combobox-list {
45
45
  position: absolute;
46
46
  top: calc(100% - 12px);
47
- height: 0;
48
- overflow: hidden;
47
+ z-index: 700;
48
+ display: none;
49
49
  background: rgb(255, 255, 255);
50
50
  border-radius: 0 4px;
51
51
  box-shadow: 0 2px 10px 0 rgba(0, 41, 77, 0.1);
52
- opacity: 0;
53
52
  }
54
53
  .duet-combobox-list.open {
55
- z-index: 700;
56
54
  display: block;
57
- height: auto;
58
- opacity: 1;
59
55
  }
60
56
  .duet-combobox-list .duet-combobox-listbox {
61
57
  max-height: 200px;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { Build, h, Host, } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
+ import { createID } from "../../utils/create-id";
6
7
  import { debounce } from "../../utils/js-utils";
7
8
  import { isArrowDownKey, isArrowUpKey, isEnterKey, isEscapeKey, isTabKey } from "../../utils/keyboard-utils";
8
9
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
@@ -10,6 +11,7 @@ import { parsePossibleJSON } from "../../utils/string-utils";
10
11
  import { DuetComboBoxSelect } from "./duet-combobox-select";
11
12
  export class DuetCombobox {
12
13
  constructor() {
14
+ this.listBoxId = createID("duet-combobox-list-element");
13
15
  this.resizeObserver = new ResizeObserver(debounce(entries => {
14
16
  var _a, _b;
15
17
  // otherwise, something is wrong, expecting 1 element only
@@ -19,6 +21,52 @@ export class DuetCombobox {
19
21
  // this.listElement.style.width = `${currentWidth + 1}px`
20
22
  }
21
23
  }, 100));
24
+ this.handleInputKeyDownEvent = (e) => {
25
+ //if selection is made, close the list and update internal and external values
26
+ // this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
27
+ // https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
28
+ this.input.accessibleActiveDescendant = undefined;
29
+ if (isEnterKey(e)) {
30
+ e.preventDefault();
31
+ this.selectActiveItem();
32
+ this.updateInputText(false);
33
+ this.listOpen = false;
34
+ return;
35
+ }
36
+ //tabbing out or escaping, restore initial state
37
+ if (isEscapeKey(e) || isTabKey(e)) {
38
+ this.updateInputText(true);
39
+ this.listOpen = false;
40
+ return;
41
+ }
42
+ //handle arrow up/down navigation
43
+ let nextActiveItem = this.activeItem;
44
+ if (isArrowUpKey(e)) {
45
+ e.preventDefault();
46
+ nextActiveItem = this.activeItem - 1;
47
+ }
48
+ else if (isArrowDownKey(e)) {
49
+ e.preventDefault();
50
+ nextActiveItem = this.listOpen ? this.activeItem + 1 : this.activeItem;
51
+ this.listOpen = true;
52
+ }
53
+ if (isArrowDownKey(e) || isArrowUpKey(e)) {
54
+ const listItems = this.shouldListBeFiltered() ? this.getFilteredItems() : this.processedItems;
55
+ if (nextActiveItem < 0 || !nextActiveItem) {
56
+ nextActiveItem = 0;
57
+ }
58
+ if (nextActiveItem >= listItems.length) {
59
+ nextActiveItem = listItems.length - 1;
60
+ }
61
+ // this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
62
+ // https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
63
+ this.input.accessibleActiveDescendant = "active_item";
64
+ this.activeItem = nextActiveItem;
65
+ this.scrollToActive();
66
+ }
67
+ this.announceActive();
68
+ return;
69
+ };
22
70
  this.processedItems = null;
23
71
  this.inputWidth = 0;
24
72
  this.inputValue = "";
@@ -86,6 +134,7 @@ export class DuetCombobox {
86
134
  if (this.openListOnClick) {
87
135
  this.input.icon = this.listOpen ? "action-arrow-up" : "action-arrow-down";
88
136
  }
137
+ this.input.accessibleExpanded = this.listOpen ? "true" : "false";
89
138
  }
90
139
  /**
91
140
  * Component lifecycle events.
@@ -108,11 +157,13 @@ export class DuetCombobox {
108
157
  this.listOpen = !this.listOpen;
109
158
  }
110
159
  });
111
- this.element.addEventListener("keydown", this.handleInputKeyDownEvent.bind(this));
160
+ this.element.addEventListener("keydown", this.handleInputKeyDownEvent);
112
161
  connectLanguageChangeObserver(this, { prop: "accessibleLabels", defaults: "accessibleLabelDefaults" });
113
162
  //add correct aria attributes to the input element
163
+ this.input.role = "combobox";
164
+ this.input.accessibleExpanded = this.listOpen ? "true" : "false";
114
165
  this.input.accessibleAutocomplete = "list";
115
- this.input.accessibleControls = "duet-combobox-list-element";
166
+ this.input.accessibleControls = this.listBoxId;
116
167
  this.processListOpenChange();
117
168
  }
118
169
  disconnectedCallback() {
@@ -121,7 +172,7 @@ export class DuetCombobox {
121
172
  }
122
173
  this.input.removeEventListener("duetChange", this.updateInputValue.bind(this));
123
174
  this.input.removeEventListener("click", () => this.inputValue.length ? (this.listOpen = true) : (this.listOpen = false));
124
- this.element.removeEventListener("keydown", this.handleInputKeyDownEvent.bind(this));
175
+ this.element.removeEventListener("keydown", this.handleInputKeyDownEvent);
125
176
  this.listElement.removeEventListener("click", e => {
126
177
  e.stopPropagation();
127
178
  });
@@ -215,13 +266,20 @@ export class DuetCombobox {
215
266
  this.activeItem = undefined;
216
267
  this.value = item[0].value;
217
268
  }
218
- if (isBlurred && this.selectedItems.size === 0) {
219
- //if nothing is selected and a user clicks outside, we want the input field to clearly illustrate that nothing was selected
220
- if (this.force) {
221
- this.inputValue = "";
222
- this.input.value = "";
269
+ if (isBlurred) {
270
+ if (this.selectedItems.size === 0) {
271
+ this.activeItem = undefined;
272
+ if (this.force) {
273
+ this.inputValue = "";
274
+ this.input.value = "";
275
+ }
276
+ }
277
+ else if (this.force) {
278
+ const selectedValueIndex = [...this.selectedItems][0];
279
+ const selectedValueLabel = await this.formatItem(this.items[selectedValueIndex]);
280
+ this.inputValue = selectedValueLabel;
281
+ this.input.value = selectedValueLabel;
223
282
  }
224
- this.activeItem = undefined;
225
283
  }
226
284
  this.listOpen = false;
227
285
  }
@@ -230,52 +288,6 @@ export class DuetCombobox {
230
288
  this.inputValue = e.detail.value;
231
289
  this.listOpen = String(this.inputValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
232
290
  }
233
- handleInputKeyDownEvent(e) {
234
- //if selection is made, close the list and update internal and external values
235
- // this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
236
- // https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
237
- this.input.accessibleActiveDescendant = undefined;
238
- if (isEnterKey(e)) {
239
- e.preventDefault();
240
- this.selectActiveItem();
241
- this.updateInputText(false);
242
- this.listOpen = false;
243
- return;
244
- }
245
- //tabbing out or escaping, restore initial state
246
- if (isEscapeKey(e) || isTabKey(e)) {
247
- this.updateInputText(true);
248
- this.listOpen = false;
249
- return;
250
- }
251
- //handle arrow up/down navigation
252
- let nextActiveItem = this.activeItem;
253
- if (isArrowUpKey(e)) {
254
- e.preventDefault();
255
- nextActiveItem = this.activeItem - 1;
256
- }
257
- else if (isArrowDownKey(e)) {
258
- e.preventDefault();
259
- nextActiveItem = this.listOpen ? this.activeItem + 1 : this.activeItem;
260
- this.listOpen = true;
261
- }
262
- if (isArrowDownKey(e) || isArrowUpKey(e)) {
263
- const listItems = this.shouldListBeFiltered() ? this.getFilteredItems() : this.processedItems;
264
- if (nextActiveItem < 0 || !nextActiveItem) {
265
- nextActiveItem = 0;
266
- }
267
- if (nextActiveItem >= listItems.length) {
268
- nextActiveItem = listItems.length - 1;
269
- }
270
- // this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
271
- // https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
272
- this.input.accessibleActiveDescendant = "active_item";
273
- this.activeItem = nextActiveItem;
274
- this.scrollToActive();
275
- }
276
- this.announceActive();
277
- return;
278
- }
279
291
  selectActiveItem() {
280
292
  if (this.activeItem === undefined) {
281
293
  return;
@@ -357,7 +369,7 @@ export class DuetCombobox {
357
369
  return;
358
370
  }
359
371
  const selectElements = this.returnFilteredOrNonFiltered();
360
- return (h(Host, { role: "combobox", "aria-expanded": this.listOpen ? "true" : "false", "aria-owns": "duet-combobox-list-element", "aria-haspopup": "listbox", class: {
372
+ return (h(Host, { class: {
361
373
  "duet-combobox": true,
362
374
  [`duet-theme-${this.theme}`]: true,
363
375
  } }, h("slot", null), h("div", { class: {
@@ -366,7 +378,7 @@ export class DuetCombobox {
366
378
  }, ref: el => (this.listContainer = el) }, h("ul", { class: {
367
379
  "duet-combobox-listbox-open": this.listOpen,
368
380
  "duet-combobox-listbox": true,
369
- }, role: "listbox", ref: el => (this.listElement = el), id: "duet-combobox-list-element" }, selectElements.map((item, index) => {
381
+ }, role: "listbox", ref: el => (this.listElement = el), id: this.listBoxId }, selectElements.map((item, index) => {
370
382
  return (h(DuetComboBoxSelect, { item: item, active: index === this.activeItem, selected: this.selectedItems.has(item.id), search: this.inputValue, total: selectElements.length, clickHandler: e => this.onListClick(e, item), label: this.formatLabel(item, selectElements.length, this.items.length) }));
371
383
  })))));
372
384
  }
@@ -471,7 +483,7 @@ export class DuetCombobox {
471
483
  "optional": false,
472
484
  "docs": {
473
485
  "tags": [],
474
- "text": "Force the user to make a selection (typing things in the input field will only be used for list search)"
486
+ "text": "Force the user to make a selection (typing things in the input field will only be used for list search).\nThis property also sync input value with selected value on blur."
475
487
  },
476
488
  "attribute": "force",
477
489
  "reflect": false,