@duetds/components 6.11.1 → 7.0.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 (674) hide show
  1. package/hydrate/index.js +479 -289
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +14 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  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 +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +75 -22
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -2
  25. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-header_2.cjs.entry.js +14 -9
  28. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -2
  38. package/lib/cjs/duet-modal.cjs.entry.js +6 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +23 -4
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-number-input.cjs.entry.js +4 -1
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +4 -31
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +92 -0
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +33 -48
  74. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -4
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +2 -2
  79. package/lib/cjs/{floating-ui.dom.esm-3801794e.js → floating-ui.dom.esm-d537b048.js} +154 -159
  80. package/lib/cjs/{focus-utils-832cb087.js → focus-utils-6d4f01d9.js} +1 -1
  81. package/lib/cjs/{index-f9a10385.js → index-b7f668db.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/teleport-04ad16c2.js +88 -0
  84. package/lib/cjs/{token-utils-18a05118.js → token-utils-c1864408.js} +1 -1
  85. package/lib/cjs/{tokens.module-d30fb52a.js → tokens.module-5fe478ed.js} +0 -1
  86. package/lib/collection/collection-manifest.json +2 -1
  87. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  88. package/lib/collection/components/duet-alert/duet-alert.js +54 -2
  89. package/lib/collection/components/duet-button/duet-button.css +22 -1
  90. package/lib/collection/components/duet-button/duet-button.js +5 -5
  91. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  92. package/lib/collection/components/duet-card/duet-card.js +3 -3
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  94. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  95. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  96. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  97. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  98. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  99. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  100. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  101. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  102. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  103. package/lib/collection/components/duet-fieldset/duet-fieldset.js +25 -1
  104. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  105. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  106. package/lib/collection/components/duet-header/duet-header.js +28 -23
  107. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  108. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  109. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  110. package/lib/collection/components/duet-input/duet-input.css +1 -1
  111. package/lib/collection/components/duet-input/duet-input.js +8 -8
  112. package/lib/collection/components/duet-label/duet-label.js +2 -2
  113. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  114. package/lib/collection/components/duet-list/duet-list.js +3 -3
  115. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  116. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -2
  117. package/lib/collection/components/duet-modal/duet-modal.js +7 -3
  118. package/lib/collection/components/duet-multiselect/duet-multiselect.css +36 -0
  119. package/lib/collection/components/duet-multiselect/duet-multiselect.js +44 -7
  120. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  121. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  122. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  123. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  124. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  125. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  126. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  127. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  128. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  129. package/lib/collection/components/duet-select/duet-select.js +5 -5
  130. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  131. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  132. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  133. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  134. package/lib/collection/components/duet-step/duet-step.js +2 -2
  135. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  136. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  137. package/lib/collection/components/duet-table/duet-table.css +13 -11
  138. package/lib/collection/components/duet-table/duet-table.js +10 -1
  139. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  140. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  141. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +87 -0
  142. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +175 -0
  143. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -0
  144. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +9 -12
  145. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -61
  146. package/lib/collection/components/duet-tooltip/duet-tooltip.js +39 -48
  147. package/lib/collection/components/duet-upload/duet-upload.js +66 -32
  148. package/lib/collection/components/duet-upload/upload-item-header.js +6 -1
  149. package/lib/collection/components/duet-upload/upload-validators.js +19 -0
  150. package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -4
  151. package/lib/collection/utils/math.utils.js +3 -0
  152. package/lib/collection/utils/teleport.js +64 -10
  153. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  154. package/lib/dist-custom-elements/duet-alert.js +1 -1
  155. package/lib/dist-custom-elements/duet-badge.js +1 -1
  156. package/lib/dist-custom-elements/duet-banner.js +5 -5
  157. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  158. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  159. package/lib/dist-custom-elements/duet-button.js +1 -1
  160. package/lib/dist-custom-elements/duet-callout.js +3 -3
  161. package/lib/dist-custom-elements/duet-caption.js +1 -1
  162. package/lib/dist-custom-elements/duet-card.js +4 -4
  163. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  164. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  165. package/lib/dist-custom-elements/duet-chip.js +2 -2
  166. package/lib/dist-custom-elements/duet-choice-group.js +17 -11
  167. package/lib/dist-custom-elements/duet-choice.js +5 -5
  168. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  169. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  170. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  171. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  172. package/lib/dist-custom-elements/duet-date-picker.js +25 -19
  173. package/lib/dist-custom-elements/duet-divider.js +1 -1
  174. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  175. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  176. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  177. package/lib/dist-custom-elements/duet-footer.js +4 -4
  178. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  179. package/lib/dist-custom-elements/duet-grid.js +1 -1
  180. package/lib/dist-custom-elements/duet-header.js +20 -15
  181. package/lib/dist-custom-elements/duet-heading.js +1 -1
  182. package/lib/dist-custom-elements/duet-hero.js +9 -9
  183. package/lib/dist-custom-elements/duet-icon.js +1 -1
  184. package/lib/dist-custom-elements/duet-input.js +1 -1
  185. package/lib/dist-custom-elements/duet-label.js +1 -1
  186. package/lib/dist-custom-elements/duet-layout.js +1 -1
  187. package/lib/dist-custom-elements/duet-link.js +1 -1
  188. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  189. package/lib/dist-custom-elements/duet-list.js +1 -1
  190. package/lib/dist-custom-elements/duet-logo.js +1 -1
  191. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  192. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  193. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  194. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  195. package/lib/dist-custom-elements/duet-menu-bar.js +4 -3
  196. package/lib/dist-custom-elements/duet-modal.js +11 -7
  197. package/lib/dist-custom-elements/duet-multiselect.js +44 -18
  198. package/lib/dist-custom-elements/duet-nav.js +1 -1
  199. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  200. package/lib/dist-custom-elements/duet-notification.js +2 -2
  201. package/lib/dist-custom-elements/duet-number-input.js +26 -17
  202. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  203. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  204. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  205. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  206. package/lib/dist-custom-elements/duet-popup-menu.js +3 -30
  207. package/lib/dist-custom-elements/duet-progress.js +1 -1
  208. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  209. package/lib/dist-custom-elements/duet-radio-group.js +17 -11
  210. package/lib/dist-custom-elements/duet-radio.js +1 -1
  211. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  212. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  213. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  214. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  215. package/lib/dist-custom-elements/duet-select.js +1 -1
  216. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  217. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  218. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  219. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  220. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  221. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  222. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  223. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  224. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  225. package/lib/dist-custom-elements/duet-step.js +4 -4
  226. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  227. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  228. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  229. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  230. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  231. package/lib/dist-custom-elements/duet-tab-group.js +27 -21
  232. package/lib/dist-custom-elements/duet-tab.js +1 -1
  233. package/lib/dist-custom-elements/duet-table.js +1 -1
  234. package/lib/dist-custom-elements/duet-textarea.js +21 -15
  235. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  236. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  237. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  238. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  239. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  240. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +11 -0
  241. package/lib/dist-custom-elements/duet-tooltip-button.js +9 -0
  242. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  243. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  244. package/lib/dist-custom-elements/duet-tray.js +4 -4
  245. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  246. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  247. package/lib/dist-custom-elements/duet-upload.js +80 -35
  248. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  249. package/lib/dist-custom-elements/index.js +1 -1
  250. package/lib/dist-custom-elements/{p-98bca605.js → p-19b04293.js} +1 -1
  251. package/lib/dist-custom-elements/{p-fc2fdeba.js → p-1fef65c4.js} +1 -1
  252. package/lib/dist-custom-elements/{p-b5568c37.js → p-20d8a7ab.js} +14 -13
  253. package/lib/dist-custom-elements/{p-b1c2af98.js → p-28facbdc.js} +2 -2
  254. package/lib/dist-custom-elements/{p-fa37a369.js → p-32a42529.js} +4 -4
  255. package/lib/dist-custom-elements/{p-95d44d0f.js → p-34d193a7.js} +1 -1
  256. package/lib/dist-custom-elements/p-371290d2.js +145 -0
  257. package/lib/dist-custom-elements/{p-09ac696c.js → p-47bc3fc6.js} +1 -1
  258. package/lib/dist-custom-elements/{p-74b72454.js → p-4fa0d10e.js} +3 -3
  259. package/lib/dist-custom-elements/{p-8badaab4.js → p-507ae246.js} +2 -2
  260. package/lib/dist-custom-elements/{p-4fb34519.js → p-591040e5.js} +1 -1
  261. package/lib/dist-custom-elements/p-63c149ab.js +86 -0
  262. package/lib/dist-custom-elements/{p-215e9694.js → p-66206ea5.js} +1 -1
  263. package/lib/dist-custom-elements/{p-48b731bc.js → p-80bd412e.js} +22 -16
  264. package/lib/dist-custom-elements/{p-5db7fd87.js → p-84003069.js} +5 -3
  265. package/lib/dist-custom-elements/{p-a8b46969.js → p-86f35893.js} +1 -1
  266. package/lib/{esm/floating-ui.dom.esm-37dc174a.js → dist-custom-elements/p-8adb9463.js} +154 -159
  267. package/lib/dist-custom-elements/{p-67064f22.js → p-8dbc5e4b.js} +1 -1
  268. package/lib/dist-custom-elements/{p-8319ca94.js → p-8e9d78b5.js} +1 -1
  269. package/lib/dist-custom-elements/{p-cb811b5c.js → p-91f98ca2.js} +5 -5
  270. package/lib/dist-custom-elements/{p-0d04d137.js → p-93609c40.js} +2 -2
  271. package/lib/dist-custom-elements/{p-841186f0.js → p-960b00e1.js} +2 -2
  272. package/lib/dist-custom-elements/{p-e41a8579.js → p-9fb22951.js} +2 -2
  273. package/lib/dist-custom-elements/{p-184261b3.js → p-a7cc7bd9.js} +2 -2
  274. package/lib/dist-custom-elements/p-b1fa6ee7.js +72 -0
  275. package/lib/dist-custom-elements/{p-7be4444a.js → p-b95006a5.js} +2 -2
  276. package/lib/dist-custom-elements/{p-217bb82f.js → p-c2a056b1.js} +2 -2
  277. package/lib/dist-custom-elements/{p-0c3282a0.js → p-c85f0028.js} +17 -11
  278. package/lib/dist-custom-elements/{p-05ab48bf.js → p-cbc43bac.js} +21 -7
  279. package/lib/dist-custom-elements/{p-1888263b.js → p-da75f5d9.js} +1 -1
  280. package/lib/dist-custom-elements/p-dd112690.js +273 -0
  281. package/lib/dist-custom-elements/{p-37f86174.js → p-de10f837.js} +45 -55
  282. package/lib/dist-custom-elements/{p-661e7864.js → p-de68431d.js} +1 -1
  283. package/lib/dist-custom-elements/p-e78bd379.js +87 -0
  284. package/lib/dist-custom-elements/{p-cd9b5f96.js → p-e8475b3c.js} +1 -1
  285. package/lib/dist-custom-elements/{p-3366d1ff.js → p-eb0475d3.js} +1 -1
  286. package/lib/dist-custom-elements/{p-841f9d02.js → p-f3ffb5b4.js} +2 -2
  287. package/lib/dist-custom-elements/{p-b7cc653b.js → p-f933f857.js} +1 -1
  288. package/lib/duet/duet.esm.js +1 -1
  289. package/lib/duet/duet.js +1 -1
  290. package/lib/duet/{p-d9886ef0.system.entry.js → p-01aaac6a.system.entry.js} +1 -1
  291. package/lib/duet/{p-a306b058.system.entry.js → p-01f3e23e.system.entry.js} +1 -1
  292. package/lib/duet/{p-c7f097e8.entry.js → p-02ce139d.entry.js} +1 -1
  293. package/lib/duet/p-02fa277e.system.entry.js +4 -0
  294. package/lib/duet/{p-2a14f9c7.system.entry.js → p-04dd24ca.system.entry.js} +1 -1
  295. package/lib/duet/p-05545e81.entry.js +4 -0
  296. package/lib/duet/{p-1ebe62cb.entry.js → p-07871336.entry.js} +1 -1
  297. package/lib/duet/{p-54589f3a.entry.js → p-090b0eb4.entry.js} +1 -1
  298. package/lib/duet/{p-5cc44de5.system.entry.js → p-0c3cfb88.system.entry.js} +1 -1
  299. package/lib/duet/{p-f3a4805a.entry.js → p-0ec7bc0d.entry.js} +1 -1
  300. package/lib/duet/{p-ff28d71a.entry.js → p-104758cf.entry.js} +1 -1
  301. package/lib/duet/{p-65bef373.entry.js → p-10b014f5.entry.js} +1 -1
  302. package/lib/duet/{p-1830770c.entry.js → p-1137a234.entry.js} +1 -1
  303. package/lib/duet/{p-3cfd5322.system.entry.js → p-11a22107.system.entry.js} +1 -1
  304. package/lib/duet/{p-933417e6.system.entry.js → p-125fff3c.system.entry.js} +1 -1
  305. package/lib/duet/{p-50180a44.system.entry.js → p-15c364ef.system.entry.js} +1 -1
  306. package/lib/duet/p-180b9ef7.entry.js +4 -0
  307. package/lib/duet/{p-09f48cb9.entry.js → p-1e2689a2.entry.js} +1 -1
  308. package/lib/duet/p-231e217b.entry.js +4 -0
  309. package/lib/duet/{p-fda4e4a4.system.entry.js → p-2362c81c.system.entry.js} +1 -1
  310. package/lib/duet/{p-05bfc8ff.system.entry.js → p-236348a6.system.entry.js} +1 -1
  311. package/lib/duet/{p-77cbe175.entry.js → p-26082482.entry.js} +1 -1
  312. package/lib/duet/{p-6910113f.entry.js → p-27831ad1.entry.js} +1 -1
  313. package/lib/duet/p-27cbcb00.system.entry.js +4 -0
  314. package/lib/duet/{p-9c464273.entry.js → p-28cbcde9.entry.js} +1 -1
  315. package/lib/duet/{p-f23c11c2.system.entry.js → p-2b90e0bf.system.entry.js} +1 -1
  316. package/lib/duet/{p-31562410.entry.js → p-2f8baf13.entry.js} +1 -1
  317. package/lib/duet/{p-34293dad.entry.js → p-2f8ff010.entry.js} +1 -1
  318. package/lib/duet/{p-305f20a0.system.entry.js → p-31f51b63.system.entry.js} +1 -1
  319. package/lib/duet/{p-8d288b4f.entry.js → p-3351f110.entry.js} +1 -1
  320. package/lib/duet/p-33620d03.js +4 -0
  321. package/lib/duet/p-3493bd62.entry.js +4 -0
  322. package/lib/duet/{p-59dde679.system.entry.js → p-361a40a6.system.entry.js} +1 -1
  323. package/lib/duet/{p-bea6e5e0.entry.js → p-399ae33f.entry.js} +1 -1
  324. package/lib/duet/{p-9bbda8a9.system.entry.js → p-3a48878a.system.entry.js} +1 -1
  325. package/lib/duet/{p-25aa9da5.entry.js → p-3addfa0b.entry.js} +1 -1
  326. package/lib/duet/{p-34e93067.system.entry.js → p-3bd38a60.system.entry.js} +1 -1
  327. package/lib/duet/{p-9b5f71df.entry.js → p-3bdaca53.entry.js} +1 -1
  328. package/lib/duet/{p-95dbb7e9.system.entry.js → p-3bf13db2.system.entry.js} +1 -1
  329. package/lib/duet/{p-daf609a8.entry.js → p-3ddc61bc.entry.js} +1 -1
  330. package/lib/duet/p-3e3f76cc.entry.js +4 -0
  331. package/lib/duet/{p-11090514.entry.js → p-407bc2e8.entry.js} +1 -1
  332. package/lib/duet/{p-58491286.entry.js → p-4525bb7b.entry.js} +1 -1
  333. package/lib/duet/p-45d92a24.system.js +4 -0
  334. package/lib/duet/{p-f9625065.system.entry.js → p-46ae0197.system.entry.js} +1 -1
  335. package/lib/duet/{p-15e3eca0.system.entry.js → p-4908aa39.system.entry.js} +1 -1
  336. package/lib/duet/p-491006e1.system.js +4 -0
  337. package/lib/duet/{p-617c03dc.system.entry.js → p-494e7691.system.entry.js} +1 -1
  338. package/lib/duet/{p-212651b5.system.entry.js → p-49e39bc1.system.entry.js} +1 -1
  339. package/lib/duet/p-4b3bef47.entry.js +4 -0
  340. package/lib/duet/{p-9180e7f5.system.entry.js → p-4b57b898.system.entry.js} +1 -1
  341. package/lib/duet/{p-4e6ad0aa.entry.js → p-4d272de8.entry.js} +1 -1
  342. package/lib/duet/{p-47ec0bce.system.entry.js → p-4ee4938c.system.entry.js} +1 -1
  343. package/lib/duet/{p-5b4e316c.system.entry.js → p-4f99c879.system.entry.js} +1 -1
  344. package/lib/duet/{p-cc70ab4a.entry.js → p-5003f2f7.entry.js} +1 -1
  345. package/lib/duet/p-501d76ac.system.entry.js +4 -0
  346. package/lib/duet/{p-be7a7b77.entry.js → p-51ea8a1e.entry.js} +1 -1
  347. package/lib/duet/{p-130d0e42.entry.js → p-56e8e51e.entry.js} +1 -1
  348. package/lib/duet/{p-e2c354ef.system.entry.js → p-5700d7df.system.entry.js} +1 -1
  349. package/lib/duet/{p-3dc8596c.system.entry.js → p-5726b0c6.system.entry.js} +1 -1
  350. package/lib/duet/{p-c405af98.system.entry.js → p-57c81cdf.system.entry.js} +1 -1
  351. package/lib/duet/{p-57708d82.entry.js → p-58d191e0.entry.js} +1 -1
  352. package/lib/duet/{p-86991900.system.entry.js → p-5bb44d21.system.entry.js} +1 -1
  353. package/lib/duet/{p-c37c86ef.entry.js → p-5be89661.entry.js} +1 -1
  354. package/lib/duet/{p-a05fa71c.entry.js → p-5c682b2c.entry.js} +1 -1
  355. package/lib/duet/{p-732d4693.system.entry.js → p-5d06caee.system.entry.js} +1 -1
  356. package/lib/duet/{p-88501e6a.entry.js → p-5d1f9c44.entry.js} +1 -1
  357. package/lib/duet/{p-6d9e809f.system.entry.js → p-61c551d2.system.entry.js} +1 -1
  358. package/lib/duet/{p-f0173106.system.entry.js → p-63330f08.system.entry.js} +1 -1
  359. package/lib/duet/{p-0c72528c.system.entry.js → p-63566970.system.entry.js} +1 -1
  360. package/lib/duet/p-63c149ab.js +4 -0
  361. package/lib/duet/{p-bb64f25d.system.entry.js → p-66ab3c0e.system.entry.js} +2 -2
  362. package/lib/duet/{p-5e965627.system.entry.js → p-6c1482e6.system.entry.js} +1 -1
  363. package/lib/duet/{p-fe3dbb59.entry.js → p-715db5f9.entry.js} +1 -1
  364. package/lib/duet/{p-277d9e45.system.js → p-71a46879.system.js} +1 -1
  365. package/lib/duet/{p-3db4b9e1.entry.js → p-720ffaf8.entry.js} +1 -1
  366. package/lib/duet/{p-a727e03a.entry.js → p-74bee1d0.entry.js} +1 -1
  367. package/lib/duet/p-7709b117.entry.js +4 -0
  368. package/lib/duet/{p-5e2c8e38.entry.js → p-7a3c5568.entry.js} +1 -1
  369. package/lib/duet/{p-3117f16c.system.entry.js → p-7d1b0468.system.entry.js} +1 -1
  370. package/lib/duet/{p-66cc34da.entry.js → p-7d5e5659.entry.js} +1 -1
  371. package/lib/duet/{p-312656b2.entry.js → p-7e43823e.entry.js} +1 -1
  372. package/lib/duet/p-8894b5f8.system.entry.js +4 -0
  373. package/lib/duet/p-892b0784.system.js +5 -0
  374. package/lib/duet/p-8ace7a8f.entry.js +4 -0
  375. package/lib/duet/{p-d2cbaed2.entry.js → p-8adadd0e.entry.js} +1 -1
  376. package/lib/duet/p-8adb9463.js +4 -0
  377. package/lib/duet/{p-b959ac63.system.entry.js → p-8aee7f16.system.entry.js} +1 -1
  378. package/lib/duet/{p-fe5705fe.system.entry.js → p-8b01d5ae.system.entry.js} +1 -1
  379. package/lib/duet/p-8be782cb.system.entry.js +4 -0
  380. package/lib/duet/{p-f2b11d36.system.entry.js → p-8bfe774e.system.entry.js} +1 -1
  381. package/lib/duet/{p-10695d55.system.js → p-8c6e3c4f.system.js} +1 -1
  382. package/lib/duet/{p-00fc5376.system.entry.js → p-8e64876c.system.entry.js} +1 -1
  383. package/lib/duet/p-90b90630.system.entry.js +4 -0
  384. package/lib/duet/p-90d5fb9a.entry.js +4 -0
  385. package/lib/duet/{p-8548fc3a.system.entry.js → p-9116810a.system.entry.js} +1 -1
  386. package/lib/duet/{p-b66706de.entry.js → p-91e92ff0.entry.js} +1 -1
  387. package/lib/duet/p-92a26eb7.system.entry.js +4 -0
  388. package/lib/duet/{p-36fafe5f.entry.js → p-939bceb1.entry.js} +1 -1
  389. package/lib/duet/{p-52fdd651.system.entry.js → p-968c8724.system.entry.js} +1 -1
  390. package/lib/duet/p-9837720e.system.entry.js +4 -0
  391. package/lib/duet/{p-22a436ef.entry.js → p-99a6c65d.entry.js} +1 -1
  392. package/lib/duet/{p-9d3deabb.system.entry.js → p-9a9f4f83.system.entry.js} +1 -1
  393. package/lib/duet/{p-66ce877b.entry.js → p-9ad54264.entry.js} +1 -1
  394. package/lib/duet/{p-42242eb4.entry.js → p-9bad6410.entry.js} +1 -1
  395. package/lib/duet/{p-df03f394.entry.js → p-9ef41dff.entry.js} +1 -1
  396. package/lib/duet/{p-97162b31.system.entry.js → p-a04538da.system.entry.js} +1 -1
  397. package/lib/duet/{p-f75b8801.system.entry.js → p-a4dc39b7.system.entry.js} +1 -1
  398. package/lib/duet/{p-e3d40270.entry.js → p-a61f629f.entry.js} +1 -1
  399. package/lib/duet/p-a659351d.system.js +4 -0
  400. package/lib/duet/{p-c1ec3ad4.entry.js → p-a6a78989.entry.js} +1 -1
  401. package/lib/duet/{p-75f7a572.js → p-a76ceaf6.js} +1 -1
  402. package/lib/duet/{p-293d6a2b.entry.js → p-acfd55b1.entry.js} +1 -1
  403. package/lib/duet/{p-896fff8f.entry.js → p-afd647b4.entry.js} +1 -1
  404. package/lib/duet/{p-daa1595d.entry.js → p-b150413c.entry.js} +1 -1
  405. package/lib/duet/{p-4ca5d008.system.entry.js → p-b4548652.system.entry.js} +1 -1
  406. package/lib/duet/{p-419b1bec.system.entry.js → p-b50fe6a3.system.entry.js} +1 -1
  407. package/lib/duet/p-b63e9d32.system.entry.js +4 -0
  408. package/lib/duet/p-b63fdf97.entry.js +4 -0
  409. package/lib/duet/{p-ced4679a.entry.js → p-b70632f4.entry.js} +1 -1
  410. package/lib/duet/{p-930c8f3c.system.entry.js → p-b8f45b9b.system.entry.js} +1 -1
  411. package/lib/duet/{p-5847fbcf.system.entry.js → p-ba8d654e.system.entry.js} +1 -1
  412. package/lib/duet/{p-6fcc9de8.entry.js → p-c047dce3.entry.js} +1 -1
  413. package/lib/duet/{p-fde10739.system.entry.js → p-c06dd7ff.system.entry.js} +1 -1
  414. package/lib/duet/{p-45043c9d.system.entry.js → p-c1aa415d.system.entry.js} +1 -1
  415. package/lib/duet/p-c6265d54.system.entry.js +4 -0
  416. package/lib/duet/{p-615a393c.system.entry.js → p-c7f078b4.system.entry.js} +1 -1
  417. package/lib/duet/{p-7f9909ed.entry.js → p-ca587193.entry.js} +1 -1
  418. package/lib/duet/{p-9fb4f41a.system.entry.js → p-cc2c3bda.system.entry.js} +1 -1
  419. package/lib/duet/{p-5c37dda9.system.entry.js → p-ccbd26f8.system.entry.js} +1 -1
  420. package/lib/duet/{p-a6d18e87.system.entry.js → p-cd494ec0.system.entry.js} +1 -1
  421. package/lib/duet/{p-655275ec.entry.js → p-d0517764.entry.js} +1 -1
  422. package/lib/duet/{p-c905c010.entry.js → p-d1ada824.entry.js} +1 -1
  423. package/lib/duet/{p-d1ee4298.system.entry.js → p-d23f5574.system.entry.js} +1 -1
  424. package/lib/duet/{p-1e161672.entry.js → p-d38f4401.entry.js} +1 -1
  425. package/lib/duet/{p-d649d264.system.entry.js → p-d5a72abd.system.entry.js} +1 -1
  426. package/lib/duet/{p-41c64229.system.entry.js → p-d976e355.system.entry.js} +1 -1
  427. package/lib/duet/p-dafb7efd.js +5 -0
  428. package/lib/duet/{p-1eada326.system.entry.js → p-dc00285e.system.entry.js} +1 -1
  429. package/lib/duet/{p-d6e7f2d1.entry.js → p-ddec1906.entry.js} +1 -1
  430. package/lib/duet/{p-27b9e751.system.entry.js → p-dfecd542.system.entry.js} +1 -1
  431. package/lib/duet/{p-c65b31df.entry.js → p-e1a2ad9b.entry.js} +1 -1
  432. package/lib/duet/{p-222548cd.entry.js → p-e26224c8.entry.js} +1 -1
  433. package/lib/duet/{p-17f95bce.entry.js → p-e2674cbd.entry.js} +1 -1
  434. package/lib/duet/{p-889fc0c6.entry.js → p-e464c127.entry.js} +1 -1
  435. package/lib/duet/{p-f31b839f.system.entry.js → p-e62bcf02.system.entry.js} +1 -1
  436. package/lib/duet/{p-78eb3378.system.entry.js → p-e73904ab.system.entry.js} +1 -1
  437. package/lib/duet/{p-a7d43918.entry.js → p-e775f206.entry.js} +1 -1
  438. package/lib/duet/{p-08945ef7.entry.js → p-e8496052.entry.js} +1 -1
  439. package/lib/duet/{p-e591257f.entry.js → p-e8e50fdb.entry.js} +1 -1
  440. package/lib/duet/{p-653fd5d0.system.entry.js → p-ecfdc7d9.system.entry.js} +1 -1
  441. package/lib/duet/p-edddef22.entry.js +4 -0
  442. package/lib/duet/{p-a7f9f585.system.entry.js → p-ee2dc527.system.entry.js} +1 -1
  443. package/lib/duet/{p-4bae7f7e.entry.js → p-ee3d6a73.entry.js} +1 -1
  444. package/lib/duet/{p-26f8a5e3.entry.js → p-ef194759.entry.js} +1 -1
  445. package/lib/duet/{p-2ba628cc.system.entry.js → p-f06b4b03.system.entry.js} +1 -1
  446. package/lib/duet/{p-ab07e9c2.entry.js → p-f29123b4.entry.js} +1 -1
  447. package/lib/duet/{p-f22404fe.system.js → p-f36c856d.system.js} +1 -1
  448. package/lib/duet/{p-81ef610a.system.entry.js → p-f36ee41c.system.entry.js} +1 -1
  449. package/lib/duet/p-fa56fe59.entry.js +4 -0
  450. package/lib/duet/{p-c2a407e8.system.entry.js → p-fa7cdc28.system.entry.js} +1 -1
  451. package/lib/duet/{p-69abe752.system.entry.js → p-fc3275ba.system.entry.js} +1 -1
  452. package/lib/duet/p-fd4785ab.js +4 -0
  453. package/lib/duet/{p-d00f7632.system.entry.js → p-fd54a219.system.entry.js} +1 -1
  454. package/lib/duet/p-fe4cd626.entry.js +4 -0
  455. package/lib/esm/duet-action-button.entry.js +3 -3
  456. package/lib/esm/duet-alert.entry.js +14 -2
  457. package/lib/esm/duet-badge.entry.js +1 -1
  458. package/lib/esm/duet-banner.entry.js +3 -3
  459. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  460. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  461. package/lib/esm/duet-button_2.entry.js +4 -4
  462. package/lib/esm/duet-callout.entry.js +1 -1
  463. package/lib/esm/duet-caption_4.entry.js +3 -3
  464. package/lib/esm/duet-card.entry.js +3 -3
  465. package/lib/esm/duet-checkbox.entry.js +1 -1
  466. package/lib/esm/duet-checkmark.entry.js +1 -1
  467. package/lib/esm/duet-chip.entry.js +1 -1
  468. package/lib/esm/duet-choice_2.entry.js +2 -2
  469. package/lib/esm/duet-collapsible.entry.js +1 -1
  470. package/lib/esm/duet-combobox.entry.js +1 -1
  471. package/lib/esm/duet-contact-card.entry.js +1 -1
  472. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  473. package/lib/esm/duet-date-picker.entry.js +2 -2
  474. package/lib/esm/duet-divider_2.entry.js +3 -3
  475. package/lib/esm/duet-editable-table_3.entry.js +75 -22
  476. package/lib/esm/duet-empty-state.entry.js +1 -1
  477. package/lib/esm/duet-fieldset.entry.js +3 -2
  478. package/lib/esm/duet-footer.entry.js +1 -1
  479. package/lib/esm/duet-grid_2.entry.js +1 -1
  480. package/lib/esm/duet-header_2.entry.js +14 -9
  481. package/lib/esm/duet-hero.entry.js +1 -1
  482. package/lib/esm/duet-icon.entry.js +3 -3
  483. package/lib/esm/duet-input_2.entry.js +2 -2
  484. package/lib/esm/duet-layout.entry.js +1 -1
  485. package/lib/esm/duet-list_2.entry.js +1 -1
  486. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  487. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  488. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  489. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  490. package/lib/esm/duet-menu-bar.entry.js +3 -2
  491. package/lib/esm/duet-modal.entry.js +6 -2
  492. package/lib/esm/duet-multiselect.entry.js +23 -4
  493. package/lib/esm/duet-nav.entry.js +1 -1
  494. package/lib/esm/duet-notification_2.entry.js +1 -1
  495. package/lib/esm/duet-number-input.entry.js +4 -1
  496. package/lib/esm/duet-page-heading.entry.js +1 -1
  497. package/lib/esm/duet-pagination_2.entry.js +1 -1
  498. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  499. package/lib/esm/duet-popup-menu.entry.js +3 -30
  500. package/lib/esm/duet-progress.entry.js +1 -1
  501. package/lib/esm/duet-promo-card.entry.js +3 -3
  502. package/lib/esm/duet-radio_2.entry.js +1 -1
  503. package/lib/esm/duet-range-slider.entry.js +2 -2
  504. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  505. package/lib/esm/duet-section-layout.entry.js +1 -1
  506. package/lib/esm/duet-select.entry.js +1 -1
  507. package/lib/esm/duet-shaped-image.entry.js +1 -1
  508. package/lib/esm/duet-show-more.entry.js +1 -1
  509. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  510. package/lib/esm/duet-slideout-link.entry.js +1 -1
  511. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  512. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  513. package/lib/esm/duet-slideout.entry.js +4 -4
  514. package/lib/esm/duet-step_2.entry.js +1 -1
  515. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  516. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  517. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  518. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  519. package/lib/esm/duet-textarea.entry.js +1 -1
  520. package/lib/esm/duet-toggle.entry.js +1 -1
  521. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  522. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  523. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  524. package/lib/esm/duet-toolbar.entry.js +1 -1
  525. package/lib/esm/duet-tooltip-button_2.entry.js +87 -0
  526. package/lib/esm/duet-tooltip.entry.js +33 -48
  527. package/lib/esm/duet-tray.entry.js +2 -2
  528. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  529. package/lib/esm/duet-upload-item.entry.js +5 -4
  530. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  531. package/lib/esm/duet.js +3 -3
  532. package/lib/{dist-custom-elements/p-df10a767.js → esm/floating-ui.dom.esm-6025c98f.js} +154 -159
  533. package/lib/esm/{focus-utils-08d27c67.js → focus-utils-8a8cfffd.js} +1 -1
  534. package/lib/esm/{index-729ef6e7.js → index-d48e2c74.js} +1 -1
  535. package/lib/esm/loader.js +3 -3
  536. package/lib/esm/teleport-4ede216d.js +86 -0
  537. package/lib/esm/{token-utils-058d6220.js → token-utils-a1dcaa4b.js} +1 -1
  538. package/lib/esm/{tokens.module-f436c2cd.js → tokens.module-ed773027.js} +1 -1
  539. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  540. package/lib/esm-es5/duet-alert.entry.js +2 -2
  541. package/lib/esm-es5/duet-badge.entry.js +1 -1
  542. package/lib/esm-es5/duet-banner.entry.js +1 -1
  543. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  544. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  545. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  546. package/lib/esm-es5/duet-callout.entry.js +1 -1
  547. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  548. package/lib/esm-es5/duet-card.entry.js +1 -1
  549. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  550. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  551. package/lib/esm-es5/duet-chip.entry.js +1 -1
  552. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  553. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  554. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  555. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  556. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  557. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  558. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  560. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  561. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  562. package/lib/esm-es5/duet-footer.entry.js +1 -1
  563. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  564. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  565. package/lib/esm-es5/duet-hero.entry.js +1 -1
  566. package/lib/esm-es5/duet-icon.entry.js +1 -1
  567. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-layout.entry.js +1 -1
  569. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  571. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  572. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  573. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  574. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  575. package/lib/esm-es5/duet-modal.entry.js +1 -1
  576. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  577. package/lib/esm-es5/duet-nav.entry.js +1 -1
  578. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  579. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  580. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  581. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  582. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  583. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  584. package/lib/esm-es5/duet-progress.entry.js +1 -1
  585. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  586. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  587. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  588. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  589. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  590. package/lib/esm-es5/duet-select.entry.js +1 -1
  591. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  592. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  593. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  594. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  595. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  596. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  597. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  598. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  600. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  601. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  602. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  603. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  604. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  605. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  606. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  607. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  608. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  609. package/lib/esm-es5/duet-tooltip-button_2.entry.js +4 -0
  610. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  611. package/lib/esm-es5/duet-tray.entry.js +1 -1
  612. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  613. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  614. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  615. package/lib/esm-es5/duet.js +1 -1
  616. package/lib/esm-es5/floating-ui.dom.esm-6025c98f.js +4 -0
  617. package/lib/esm-es5/focus-utils-8a8cfffd.js +4 -0
  618. package/lib/esm-es5/index-d48e2c74.js +5 -0
  619. package/lib/esm-es5/loader.js +1 -1
  620. package/lib/esm-es5/teleport-4ede216d.js +4 -0
  621. package/lib/esm-es5/{token-utils-058d6220.js → token-utils-a1dcaa4b.js} +1 -1
  622. package/lib/esm-es5/{tokens.module-f436c2cd.js → tokens.module-ed773027.js} +1 -1
  623. package/lib/types/components/duet-alert/duet-alert.d.ts +12 -0
  624. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +6 -1
  625. package/lib/types/components/duet-header/duet-header.d.ts +3 -0
  626. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
  627. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +9 -0
  628. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +29 -0
  629. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +4 -7
  630. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -2
  631. package/lib/types/components/duet-upload/duet-upload.d.ts +21 -16
  632. package/lib/types/components/duet-upload/upload-validators.d.ts +1 -0
  633. package/lib/types/components.d.ts +71 -7
  634. package/lib/types/utils/teleport.d.ts +15 -2
  635. package/package.json +5 -5
  636. package/lib/cjs/duet-tooltip-popup.cjs.entry.js +0 -56
  637. package/lib/dist-custom-elements/p-95109364.js +0 -136
  638. package/lib/dist-custom-elements/p-d6238b66.js +0 -88
  639. package/lib/dist-custom-elements/p-f3b91052.js +0 -273
  640. package/lib/duet/p-00215a97.entry.js +0 -4
  641. package/lib/duet/p-106940dd.js +0 -5
  642. package/lib/duet/p-1700211f.system.js +0 -5
  643. package/lib/duet/p-1760b8d4.system.entry.js +0 -4
  644. package/lib/duet/p-1ea89299.entry.js +0 -4
  645. package/lib/duet/p-2a64f169.system.entry.js +0 -4
  646. package/lib/duet/p-2d68f259.entry.js +0 -4
  647. package/lib/duet/p-340e36a8.system.js +0 -4
  648. package/lib/duet/p-3a417fd2.entry.js +0 -4
  649. package/lib/duet/p-61fb382d.entry.js +0 -4
  650. package/lib/duet/p-6494c48e.entry.js +0 -4
  651. package/lib/duet/p-6c24d8b4.entry.js +0 -4
  652. package/lib/duet/p-7084c7fa.system.entry.js +0 -4
  653. package/lib/duet/p-7649b95e.js +0 -4
  654. package/lib/duet/p-7e64358b.entry.js +0 -4
  655. package/lib/duet/p-8040b3f3.system.entry.js +0 -4
  656. package/lib/duet/p-82b5380b.system.js +0 -4
  657. package/lib/duet/p-86dc2ebb.entry.js +0 -4
  658. package/lib/duet/p-90ad5759.system.entry.js +0 -4
  659. package/lib/duet/p-a1057e50.js +0 -4
  660. package/lib/duet/p-a8af0ea4.entry.js +0 -4
  661. package/lib/duet/p-bd751ea4.system.entry.js +0 -4
  662. package/lib/duet/p-d3910688.entry.js +0 -4
  663. package/lib/duet/p-d759b718.system.entry.js +0 -4
  664. package/lib/duet/p-d7fa5f72.system.entry.js +0 -4
  665. package/lib/duet/p-df10a767.js +0 -4
  666. package/lib/duet/p-e0cfe3d5.entry.js +0 -4
  667. package/lib/duet/p-e73a1930.entry.js +0 -4
  668. package/lib/duet/p-ebbb398a.system.entry.js +0 -4
  669. package/lib/duet/p-f3c3932d.system.entry.js +0 -4
  670. package/lib/esm/duet-tooltip-popup.entry.js +0 -52
  671. package/lib/esm-es5/duet-tooltip-popup.entry.js +0 -4
  672. package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +0 -4
  673. package/lib/esm-es5/focus-utils-08d27c67.js +0 -4
  674. package/lib/esm-es5/index-729ef6e7.js +0 -5
@@ -1,20 +1,118 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
+ const min$1 = Math.min;
5
+ const max$1 = Math.max;
6
+ const oppositeSideMap = {
7
+ left: 'right',
8
+ right: 'left',
9
+ bottom: 'top',
10
+ top: 'bottom'
11
+ };
12
+ const oppositeAlignmentMap = {
13
+ start: 'end',
14
+ end: 'start'
15
+ };
16
+ function clamp(start, value, end) {
17
+ return max$1(start, min$1(value, end));
18
+ }
19
+ function evaluate(value, param) {
20
+ return typeof value === 'function' ? value(param) : value;
21
+ }
22
+ function getSide(placement) {
23
+ return placement.split('-')[0];
24
+ }
4
25
  function getAlignment(placement) {
5
26
  return placement.split('-')[1];
6
27
  }
7
-
8
- function getLengthFromAxis(axis) {
28
+ function getOppositeAxis(axis) {
29
+ return axis === 'x' ? 'y' : 'x';
30
+ }
31
+ function getAxisLength(axis) {
9
32
  return axis === 'y' ? 'height' : 'width';
10
33
  }
11
-
12
- function getSide(placement) {
13
- return placement.split('-')[0];
34
+ function getSideAxis(placement) {
35
+ return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
14
36
  }
15
-
16
- function getMainAxisFromPlacement(placement) {
17
- return ['top', 'bottom'].includes(getSide(placement)) ? 'x' : 'y';
37
+ function getAlignmentAxis(placement) {
38
+ return getOppositeAxis(getSideAxis(placement));
39
+ }
40
+ function getAlignmentSides(placement, rects, rtl) {
41
+ if (rtl === void 0) {
42
+ rtl = false;
43
+ }
44
+ const alignment = getAlignment(placement);
45
+ const alignmentAxis = getAlignmentAxis(placement);
46
+ const length = getAxisLength(alignmentAxis);
47
+ let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
48
+ if (rects.reference[length] > rects.floating[length]) {
49
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
50
+ }
51
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
52
+ }
53
+ function getExpandedPlacements(placement) {
54
+ const oppositePlacement = getOppositePlacement(placement);
55
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
56
+ }
57
+ function getOppositeAlignmentPlacement(placement) {
58
+ return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
59
+ }
60
+ function getSideList(side, isStart, rtl) {
61
+ const lr = ['left', 'right'];
62
+ const rl = ['right', 'left'];
63
+ const tb = ['top', 'bottom'];
64
+ const bt = ['bottom', 'top'];
65
+ switch (side) {
66
+ case 'top':
67
+ case 'bottom':
68
+ if (rtl) return isStart ? rl : lr;
69
+ return isStart ? lr : rl;
70
+ case 'left':
71
+ case 'right':
72
+ return isStart ? tb : bt;
73
+ default:
74
+ return [];
75
+ }
76
+ }
77
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
78
+ const alignment = getAlignment(placement);
79
+ let list = getSideList(getSide(placement), direction === 'start', rtl);
80
+ if (alignment) {
81
+ list = list.map(side => side + "-" + alignment);
82
+ if (flipAlignment) {
83
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
84
+ }
85
+ }
86
+ return list;
87
+ }
88
+ function getOppositePlacement(placement) {
89
+ return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
90
+ }
91
+ function expandPaddingObject(padding) {
92
+ return {
93
+ top: 0,
94
+ right: 0,
95
+ bottom: 0,
96
+ left: 0,
97
+ ...padding
98
+ };
99
+ }
100
+ function getPaddingObject(padding) {
101
+ return typeof padding !== 'number' ? expandPaddingObject(padding) : {
102
+ top: padding,
103
+ right: padding,
104
+ bottom: padding,
105
+ left: padding
106
+ };
107
+ }
108
+ function rectToClientRect(rect) {
109
+ return {
110
+ ...rect,
111
+ top: rect.y,
112
+ left: rect.x,
113
+ right: rect.x + rect.width,
114
+ bottom: rect.y + rect.height
115
+ };
18
116
  }
19
117
 
20
118
  function computeCoordsFromPlacement(_ref, placement, rtl) {
@@ -22,13 +120,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
22
120
  reference,
23
121
  floating
24
122
  } = _ref;
123
+ const sideAxis = getSideAxis(placement);
124
+ const alignmentAxis = getAlignmentAxis(placement);
125
+ const alignLength = getAxisLength(alignmentAxis);
126
+ const side = getSide(placement);
127
+ const isVertical = sideAxis === 'y';
25
128
  const commonX = reference.x + reference.width / 2 - floating.width / 2;
26
129
  const commonY = reference.y + reference.height / 2 - floating.height / 2;
27
- const mainAxis = getMainAxisFromPlacement(placement);
28
- const length = getLengthFromAxis(mainAxis);
29
- const commonAlign = reference[length] / 2 - floating[length] / 2;
30
- const side = getSide(placement);
31
- const isVertical = mainAxis === 'x';
130
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
32
131
  let coords;
33
132
  switch (side) {
34
133
  case 'top':
@@ -63,10 +162,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
63
162
  }
64
163
  switch (getAlignment(placement)) {
65
164
  case 'start':
66
- coords[mainAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
165
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
67
166
  break;
68
167
  case 'end':
69
- coords[mainAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
168
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
70
169
  break;
71
170
  }
72
171
  return coords;
@@ -164,35 +263,6 @@ const computePosition$1 = async (reference, floating, config) => {
164
263
  };
165
264
  };
166
265
 
167
- function expandPaddingObject(padding) {
168
- return {
169
- top: 0,
170
- right: 0,
171
- bottom: 0,
172
- left: 0,
173
- ...padding
174
- };
175
- }
176
-
177
- function getSideObjectFromPadding(padding) {
178
- return typeof padding !== 'number' ? expandPaddingObject(padding) : {
179
- top: padding,
180
- right: padding,
181
- bottom: padding,
182
- left: padding
183
- };
184
- }
185
-
186
- function rectToClientRect(rect) {
187
- return {
188
- ...rect,
189
- top: rect.y,
190
- left: rect.x,
191
- right: rect.x + rect.width,
192
- bottom: rect.y + rect.height
193
- };
194
- }
195
-
196
266
  /**
197
267
  * Resolves with an object of overflow side offsets that determine how much the
198
268
  * element is overflowing a given clipping boundary on each side.
@@ -220,8 +290,8 @@ async function detectOverflow(state, options) {
220
290
  elementContext = 'floating',
221
291
  altBoundary = false,
222
292
  padding = 0
223
- } = options;
224
- const paddingObject = getSideObjectFromPadding(padding);
293
+ } = evaluate(options, state);
294
+ const paddingObject = getPaddingObject(padding);
225
295
  const altContext = elementContext === 'floating' ? 'reference' : 'floating';
226
296
  const element = elements[altBoundary ? altContext : elementContext];
227
297
  const clippingClientRect = rectToClientRect(await platform.getClippingRect({
@@ -256,13 +326,6 @@ async function detectOverflow(state, options) {
256
326
  };
257
327
  }
258
328
 
259
- const min$1 = Math.min;
260
- const max$1 = Math.max;
261
-
262
- function within(min$1$1, value, max$1$1) {
263
- return max$1(min$1$1, min$1(value, max$1$1));
264
- }
265
-
266
329
  /**
267
330
  * Provides data to position an inner element of the floating element so that it
268
331
  * appears centered to the reference element.
@@ -272,11 +335,6 @@ const arrow = options => ({
272
335
  name: 'arrow',
273
336
  options,
274
337
  async fn(state) {
275
- // Since `element` is required, we don't Partial<> the type.
276
- const {
277
- element,
278
- padding = 0
279
- } = options || {};
280
338
  const {
281
339
  x,
282
340
  y,
@@ -285,16 +343,21 @@ const arrow = options => ({
285
343
  platform,
286
344
  elements
287
345
  } = state;
346
+ // Since `element` is required, we don't Partial<> the type.
347
+ const {
348
+ element,
349
+ padding = 0
350
+ } = evaluate(options, state) || {};
288
351
  if (element == null) {
289
352
  return {};
290
353
  }
291
- const paddingObject = getSideObjectFromPadding(padding);
354
+ const paddingObject = getPaddingObject(padding);
292
355
  const coords = {
293
356
  x,
294
357
  y
295
358
  };
296
- const axis = getMainAxisFromPlacement(placement);
297
- const length = getLengthFromAxis(axis);
359
+ const axis = getAlignmentAxis(placement);
360
+ const length = getAxisLength(axis);
298
361
  const arrowDimensions = await platform.getDimensions(element);
299
362
  const isYAxis = axis === 'y';
300
363
  const minProp = isYAxis ? 'top' : 'left';
@@ -311,98 +374,35 @@ const arrow = options => ({
311
374
  }
312
375
  const centerToReference = endDiff / 2 - startDiff / 2;
313
376
 
377
+ // If the padding is large enough that it causes the arrow to no longer be
378
+ // centered, modify the padding so that it is centered.
379
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
380
+ const minPadding = min$1(paddingObject[minProp], largestPossiblePadding);
381
+ const maxPadding = min$1(paddingObject[maxProp], largestPossiblePadding);
382
+
314
383
  // Make sure the arrow doesn't overflow the floating element if the center
315
384
  // point is outside the floating element's bounds.
316
- const min = paddingObject[minProp];
317
- const max = clientSize - arrowDimensions[length] - paddingObject[maxProp];
385
+ const min$1$1 = minPadding;
386
+ const max = clientSize - arrowDimensions[length] - maxPadding;
318
387
  const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
319
- const offset = within(min, center, max);
388
+ const offset = clamp(min$1$1, center, max);
320
389
 
321
390
  // If the reference is small enough that the arrow's padding causes it to
322
391
  // to point to nothing for an aligned placement, adjust the offset of the
323
392
  // floating element itself. This stops `shift()` from taking action, but can
324
393
  // be worked around by calling it again after the `arrow()` if desired.
325
- const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min ? paddingObject[minProp] : paddingObject[maxProp]) - arrowDimensions[length] / 2 < 0;
326
- const alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;
394
+ const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
395
+ const alignmentOffset = shouldAddOffset ? center < min$1$1 ? min$1$1 - center : max - center : 0;
327
396
  return {
328
397
  [axis]: coords[axis] - alignmentOffset,
329
398
  data: {
330
399
  [axis]: offset,
331
- centerOffset: center - offset
400
+ centerOffset: center - offset + alignmentOffset
332
401
  }
333
402
  };
334
403
  }
335
404
  });
336
405
 
337
- const oppositeSideMap = {
338
- left: 'right',
339
- right: 'left',
340
- bottom: 'top',
341
- top: 'bottom'
342
- };
343
- function getOppositePlacement(placement) {
344
- return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
345
- }
346
-
347
- function getAlignmentSides(placement, rects, rtl) {
348
- if (rtl === void 0) {
349
- rtl = false;
350
- }
351
- const alignment = getAlignment(placement);
352
- const mainAxis = getMainAxisFromPlacement(placement);
353
- const length = getLengthFromAxis(mainAxis);
354
- let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
355
- if (rects.reference[length] > rects.floating[length]) {
356
- mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
357
- }
358
- return {
359
- main: mainAlignmentSide,
360
- cross: getOppositePlacement(mainAlignmentSide)
361
- };
362
- }
363
-
364
- const oppositeAlignmentMap = {
365
- start: 'end',
366
- end: 'start'
367
- };
368
- function getOppositeAlignmentPlacement(placement) {
369
- return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
370
- }
371
-
372
- function getExpandedPlacements(placement) {
373
- const oppositePlacement = getOppositePlacement(placement);
374
- return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
375
- }
376
-
377
- function getSideList(side, isStart, rtl) {
378
- const lr = ['left', 'right'];
379
- const rl = ['right', 'left'];
380
- const tb = ['top', 'bottom'];
381
- const bt = ['bottom', 'top'];
382
- switch (side) {
383
- case 'top':
384
- case 'bottom':
385
- if (rtl) return isStart ? rl : lr;
386
- return isStart ? lr : rl;
387
- case 'left':
388
- case 'right':
389
- return isStart ? tb : bt;
390
- default:
391
- return [];
392
- }
393
- }
394
- function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
395
- const alignment = getAlignment(placement);
396
- let list = getSideList(getSide(placement), direction === 'start', rtl);
397
- if (alignment) {
398
- list = list.map(side => side + "-" + alignment);
399
- if (flipAlignment) {
400
- list = list.concat(list.map(getOppositeAlignmentPlacement));
401
- }
402
- }
403
- return list;
404
- }
405
-
406
406
  /**
407
407
  * Optimizes the visibility of the floating element by flipping the `placement`
408
408
  * in order to keep it in view when the preferred placement(s) will overflow the
@@ -434,7 +434,7 @@ const flip = function (options) {
434
434
  fallbackAxisSideDirection = 'none',
435
435
  flipAlignment = true,
436
436
  ...detectOverflowOptions
437
- } = options;
437
+ } = evaluate(options, state);
438
438
  const side = getSide(placement);
439
439
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
440
440
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
@@ -450,11 +450,8 @@ const flip = function (options) {
450
450
  overflows.push(overflow[side]);
451
451
  }
452
452
  if (checkCrossAxis) {
453
- const {
454
- main,
455
- cross
456
- } = getAlignmentSides(placement, rects, rtl);
457
- overflows.push(overflow[main], overflow[cross]);
453
+ const sides = getAlignmentSides(placement, rects, rtl);
454
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
458
455
  }
459
456
  overflowsData = [...overflowsData, {
460
457
  placement,
@@ -513,7 +510,9 @@ const flip = function (options) {
513
510
  };
514
511
  };
515
512
 
516
- async function convertValueToCoords(state, value) {
513
+ // For type backwards-compatibility, the `OffsetOptions` type was also
514
+ // Derivable.
515
+ async function convertValueToCoords(state, options) {
517
516
  const {
518
517
  placement,
519
518
  platform,
@@ -522,10 +521,10 @@ async function convertValueToCoords(state, value) {
522
521
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
523
522
  const side = getSide(placement);
524
523
  const alignment = getAlignment(placement);
525
- const isVertical = getMainAxisFromPlacement(placement) === 'x';
524
+ const isVertical = getSideAxis(placement) === 'y';
526
525
  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
527
526
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
528
- const rawValue = typeof value === 'function' ? value(state) : value;
527
+ const rawValue = evaluate(options, state);
529
528
 
530
529
  // eslint-disable-next-line prefer-const
531
530
  let {
@@ -561,19 +560,19 @@ async function convertValueToCoords(state, value) {
561
560
  * object may be passed.
562
561
  * @see https://floating-ui.com/docs/offset
563
562
  */
564
- const offset = function (value) {
565
- if (value === void 0) {
566
- value = 0;
563
+ const offset = function (options) {
564
+ if (options === void 0) {
565
+ options = 0;
567
566
  }
568
567
  return {
569
568
  name: 'offset',
570
- options: value,
569
+ options,
571
570
  async fn(state) {
572
571
  const {
573
572
  x,
574
573
  y
575
574
  } = state;
576
- const diffCoords = await convertValueToCoords(state, value);
575
+ const diffCoords = await convertValueToCoords(state, options);
577
576
  return {
578
577
  x: x + diffCoords.x,
579
578
  y: y + diffCoords.y,
@@ -583,10 +582,6 @@ const offset = function (value) {
583
582
  };
584
583
  };
585
584
 
586
- function getCrossAxis(axis) {
587
- return axis === 'x' ? 'y' : 'x';
588
- }
589
-
590
585
  /**
591
586
  * Optimizes the visibility of the floating element by shifting it in order to
592
587
  * keep it in view when it will overflow the clipping boundary.
@@ -621,14 +616,14 @@ const shift = function (options) {
621
616
  }
622
617
  },
623
618
  ...detectOverflowOptions
624
- } = options;
619
+ } = evaluate(options, state);
625
620
  const coords = {
626
621
  x,
627
622
  y
628
623
  };
629
624
  const overflow = await detectOverflow(state, detectOverflowOptions);
630
- const mainAxis = getMainAxisFromPlacement(getSide(placement));
631
- const crossAxis = getCrossAxis(mainAxis);
625
+ const crossAxis = getSideAxis(getSide(placement));
626
+ const mainAxis = getOppositeAxis(crossAxis);
632
627
  let mainAxisCoord = coords[mainAxis];
633
628
  let crossAxisCoord = coords[crossAxis];
634
629
  if (checkMainAxis) {
@@ -636,14 +631,14 @@ const shift = function (options) {
636
631
  const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
637
632
  const min = mainAxisCoord + overflow[minSide];
638
633
  const max = mainAxisCoord - overflow[maxSide];
639
- mainAxisCoord = within(min, mainAxisCoord, max);
634
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
640
635
  }
641
636
  if (checkCrossAxis) {
642
637
  const minSide = crossAxis === 'y' ? 'top' : 'left';
643
638
  const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
644
639
  const min = crossAxisCoord + overflow[minSide];
645
640
  const max = crossAxisCoord - overflow[maxSide];
646
- crossAxisCoord = within(min, crossAxisCoord, max);
641
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
647
642
  }
648
643
  const limitedCoords = limiter.fn({
649
644
  ...state,
@@ -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-215e9694.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-66206ea5.js';
5
5
 
6
6
  const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
7
7
 
@@ -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-215e9694.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-66206ea5.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
 
7
7
  const duetBadgeCss = "*,*::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:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#e6f1f7;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fef3df}.duet-badge.warning.duet-theme-turva{background:#fef1db}.duet-badge.danger{background:#fce9ef}.duet-badge.danger.duet-theme-turva{background:#fceae7}.duet-badge.success{background:#e6f3ef}.duet-badge.success.duet-theme-turva{background:#e6f3ed}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:rgb(247, 178, 40)}.duet-badge.background-strong.warning.duet-theme-turva{background:rgb(250, 164, 15)}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}";
@@ -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-215e9694.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-66206ea5.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$4 } from './p-f3b91052.js';
7
- import { d as defineCustomElement$3 } from './p-7be4444a.js';
8
- import { d as defineCustomElement$2 } from './p-841f9d02.js';
9
- import { d as defineCustomElement$1 } from './p-67064f22.js';
6
+ import { d as defineCustomElement$4 } from './p-dd112690.js';
7
+ import { d as defineCustomElement$3 } from './p-b95006a5.js';
8
+ import { d as defineCustomElement$2 } from './p-f3ffb5b4.js';
9
+ import { d as defineCustomElement$1 } from './p-8dbc5e4b.js';
10
10
 
11
11
  const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{visibility:hidden}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";
12
12
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h } from './p-215e9694.js';
4
+ import { p as proxyCustomElement, H, h } from './p-66206ea5.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { s as sanitizeString } from './p-5a9d75e1.js';
7
- import { g as getColorByName } from './p-661e7864.js';
7
+ import { g as getColorByName } from './p-de68431d.js';
8
8
 
9
9
  const duetHeadingCss = "*,*::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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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\";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
10
10
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-215e9694.js';
5
- import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-cd9b5f96.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-66206ea5.js';
5
+ import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-e8475b3c.js';
6
6
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
7
7
  import { c as createID } from './p-c1325e35.js';
8
8
  import { a as getLocaleString, g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-215e9694.js';
5
- import { d as defineCustomElement$1 } from './p-67064f22.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-66206ea5.js';
5
+ import { d as defineCustomElement$1 } from './p-8dbc5e4b.js';
6
6
 
7
7
  const DuetUploadAriaStatus = /*@__PURE__*/ proxyCustomElement(class extends H {
8
8
  constructor() {
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h } from './p-215e9694.js';
4
+ import { p as proxyCustomElement, H, h } from './p-66206ea5.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { g as getColorByName } from './p-661e7864.js';
6
+ import { g as getColorByName } from './p-de68431d.js';
7
7
 
8
8
  const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
9
9
 
@@ -0,0 +1,72 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-66206ea5.js';
5
+ import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
+ import { d as defineCustomElement$1 } from './p-8dbc5e4b.js';
7
+
8
+ const duetTooltipButtonCss = "*,*::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}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}";
9
+
10
+ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class extends H {
11
+ constructor() {
12
+ super();
13
+ this.__registerHost();
14
+ this.__attachShadow();
15
+ this.label = "";
16
+ this.accessibleLabel = undefined;
17
+ this.theme = "";
18
+ this.active = undefined;
19
+ this.tooltipId = undefined;
20
+ }
21
+ /**
22
+ * Component lifecycle events.
23
+ */
24
+ componentWillLoad() {
25
+ inheritGlobalTheme(this);
26
+ }
27
+ async setFocus(options) {
28
+ if (this.buttonElement) {
29
+ this.buttonElement.focus(options);
30
+ }
31
+ }
32
+ /**
33
+ * render() function.
34
+ * Always the last one in the class.
35
+ */
36
+ render() {
37
+ return (h(Host, null, h("button", { ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
38
+ "duet-tooltip-button": true,
39
+ "duet-tooltip-button-has-label": !!this.label,
40
+ "duet-theme-turva": this.theme === "turva",
41
+ } }, h("svg", { "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleLabel)))));
42
+ }
43
+ get element() { return this; }
44
+ static get style() { return duetTooltipButtonCss; }
45
+ }, [1, "duet-tooltip-button", {
46
+ "label": [1],
47
+ "accessibleLabel": [1, "accessible-label"],
48
+ "theme": [1025],
49
+ "active": [4],
50
+ "tooltipId": [1, "tooltip-id"],
51
+ "setFocus": [64]
52
+ }]);
53
+ function defineCustomElement() {
54
+ if (typeof customElements === "undefined") {
55
+ return;
56
+ }
57
+ const components = ["duet-tooltip-button", "duet-visually-hidden"];
58
+ components.forEach(tagName => { switch (tagName) {
59
+ case "duet-tooltip-button":
60
+ if (!customElements.get(tagName)) {
61
+ customElements.define(tagName, DuetTooltipButton);
62
+ }
63
+ break;
64
+ case "duet-visually-hidden":
65
+ if (!customElements.get(tagName)) {
66
+ defineCustomElement$1();
67
+ }
68
+ break;
69
+ } });
70
+ }
71
+
72
+ export { DuetTooltipButton as D, defineCustomElement as d };