@duetds/components 6.10.3 → 6.11.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 (647) hide show
  1. package/hydrate/index.js +526 -175
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-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 +3 -3
  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 +89 -9
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +9 -8
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -2
  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 +31 -136
  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 +6 -3
  27. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  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 +1 -1
  38. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  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 +1 -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 +35 -2
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +98 -8
  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 +2 -2
  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 +56 -27
  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-popup.cjs.entry.js +56 -0
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +20 -15
  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 +93 -0
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +6 -86
  79. package/lib/cjs/errorcodes.utils-5deca818.js +39 -0
  80. package/lib/cjs/{focus-utils-fa8771cc.js → focus-utils-f19181d6.js} +1 -1
  81. package/lib/cjs/{index-ad229c23.js → index-ef0568d5.js} +6 -19
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/slot-query-1624497e.js +10 -0
  84. package/lib/cjs/{token-utils-c1864408.js → token-utils-18a05118.js} +1 -1
  85. package/lib/cjs/{tokens.module-5fe478ed.js → tokens.module-d30fb52a.js} +1 -0
  86. package/lib/collection/collection-manifest.json +4 -2
  87. package/lib/collection/common/index.js +1 -0
  88. package/lib/collection/common/slot-query.js +9 -0
  89. package/lib/collection/components/duet-chip/duet-chip.css +38 -10
  90. package/lib/collection/components/duet-chip/duet-chip.js +117 -9
  91. package/lib/collection/components/duet-choice/duet-choice.css +22 -22
  92. package/lib/collection/components/duet-choice/duet-choice.js +7 -11
  93. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -5
  94. package/lib/collection/components/duet-fieldset/duet-fieldset.js +2 -1
  95. package/lib/collection/components/duet-grid/duet-grid.css +260 -116
  96. package/lib/collection/components/duet-grid/duet-grid.js +22 -1
  97. package/lib/collection/components/duet-hero/duet-hero.css +6 -1
  98. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -1
  99. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +118 -9
  100. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +140 -1
  101. package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -1
  102. package/lib/collection/components/duet-show-more/duet-show-more.js +219 -26
  103. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +183 -0
  104. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +251 -0
  105. package/lib/collection/components/duet-tooltip/duet-tooltip.css +0 -163
  106. package/lib/collection/components/duet-tooltip/duet-tooltip.js +24 -13
  107. package/lib/collection/components/duet-upload/duet-upload.js +37 -13
  108. package/lib/collection/components/duet-upload-item/duet-upload-item.js +299 -0
  109. package/lib/collection/utils/teleport.js +30 -0
  110. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  111. package/lib/dist-custom-elements/duet-alert.js +1 -1
  112. package/lib/dist-custom-elements/duet-badge.js +1 -1
  113. package/lib/dist-custom-elements/duet-banner.js +5 -5
  114. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  115. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  116. package/lib/dist-custom-elements/duet-button.js +1 -1
  117. package/lib/dist-custom-elements/duet-callout.js +3 -3
  118. package/lib/dist-custom-elements/duet-caption.js +1 -1
  119. package/lib/dist-custom-elements/duet-card.js +4 -4
  120. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  121. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  122. package/lib/dist-custom-elements/duet-chip.js +95 -12
  123. package/lib/dist-custom-elements/duet-choice-group.js +16 -10
  124. package/lib/dist-custom-elements/duet-choice.js +13 -12
  125. package/lib/dist-custom-elements/duet-collapsible.js +4 -3
  126. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  127. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  128. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  129. package/lib/dist-custom-elements/duet-date-picker.js +26 -20
  130. package/lib/dist-custom-elements/duet-divider.js +1 -1
  131. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  132. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  133. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  134. package/lib/dist-custom-elements/duet-footer.js +4 -4
  135. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  136. package/lib/dist-custom-elements/duet-grid.js +1 -1
  137. package/lib/dist-custom-elements/duet-header.js +9 -9
  138. package/lib/dist-custom-elements/duet-heading.js +1 -1
  139. package/lib/dist-custom-elements/duet-hero.js +10 -10
  140. package/lib/dist-custom-elements/duet-icon.js +1 -1
  141. package/lib/dist-custom-elements/duet-input.js +1 -1
  142. package/lib/dist-custom-elements/duet-label.js +1 -1
  143. package/lib/dist-custom-elements/duet-layout.js +1 -1
  144. package/lib/dist-custom-elements/duet-link.js +1 -1
  145. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  146. package/lib/dist-custom-elements/duet-list.js +1 -1
  147. package/lib/dist-custom-elements/duet-logo.js +1 -1
  148. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  149. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  150. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  151. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  152. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  153. package/lib/dist-custom-elements/duet-modal.js +8 -8
  154. package/lib/dist-custom-elements/duet-multiselect.js +20 -14
  155. package/lib/dist-custom-elements/duet-nav.js +1 -1
  156. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  157. package/lib/dist-custom-elements/duet-notification.js +2 -2
  158. package/lib/dist-custom-elements/duet-number-input.js +22 -16
  159. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  160. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  161. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  162. package/lib/dist-custom-elements/duet-popup-menu-item.js +41 -4
  163. package/lib/dist-custom-elements/duet-popup-menu.js +101 -10
  164. package/lib/dist-custom-elements/duet-progress.js +1 -1
  165. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  166. package/lib/dist-custom-elements/duet-radio-group.js +16 -10
  167. package/lib/dist-custom-elements/duet-radio.js +1 -1
  168. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  169. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  170. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  171. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  172. package/lib/dist-custom-elements/duet-select.js +1 -1
  173. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  174. package/lib/dist-custom-elements/duet-show-more.js +71 -33
  175. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  176. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  177. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  178. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  179. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  180. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  181. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  182. package/lib/dist-custom-elements/duet-step.js +4 -4
  183. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  184. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  185. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  186. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  188. package/lib/dist-custom-elements/duet-tab-group.js +26 -20
  189. package/lib/dist-custom-elements/duet-tab.js +1 -1
  190. package/lib/dist-custom-elements/duet-table.js +1 -1
  191. package/lib/dist-custom-elements/duet-textarea.js +20 -14
  192. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  193. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  194. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  195. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  196. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  197. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +11 -0
  198. package/lib/dist-custom-elements/duet-tooltip-popup.js +9 -0
  199. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  200. package/lib/dist-custom-elements/duet-tray.js +4 -4
  201. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  202. package/lib/dist-custom-elements/duet-upload-item.d.ts +11 -0
  203. package/lib/dist-custom-elements/duet-upload-item.js +9 -0
  204. package/lib/dist-custom-elements/duet-upload.js +59 -159
  205. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  206. package/lib/dist-custom-elements/index.js +1 -1
  207. package/lib/dist-custom-elements/{p-f4a36471.js → p-00416416.js} +1 -1
  208. package/lib/dist-custom-elements/{p-c9cee36a.js → p-04bb5c9f.js} +1 -1
  209. package/lib/dist-custom-elements/{p-efaad71c.js → p-061830ef.js} +1 -1
  210. package/lib/dist-custom-elements/{p-fa4af49a.js → p-0ada372b.js} +30 -19
  211. package/lib/dist-custom-elements/{p-bd3f4de1.js → p-0aeec550.js} +2 -2
  212. package/lib/dist-custom-elements/{p-ddbc4897.js → p-0c506783.js} +6 -6
  213. package/lib/dist-custom-elements/{p-d993c8ca.js → p-0c934ab8.js} +5 -5
  214. package/lib/dist-custom-elements/{p-88a1aa29.js → p-1212aab5.js} +1 -1
  215. package/lib/dist-custom-elements/{p-0639a930.js → p-127ad24e.js} +1 -1
  216. package/lib/dist-custom-elements/{p-4524a59b.js → p-1f5d4fdb.js} +2 -2
  217. package/lib/dist-custom-elements/p-238d0ad2.js +187 -0
  218. package/lib/dist-custom-elements/{p-1460c5f4.js → p-264ce363.js} +1 -1
  219. package/lib/dist-custom-elements/{p-c5723f69.js → p-2c9478af.js} +2 -2
  220. package/lib/dist-custom-elements/{p-dade840c.js → p-31eb790f.js} +2 -2
  221. package/lib/dist-custom-elements/{p-f97098ff.js → p-42fe016c.js} +2 -2
  222. package/lib/dist-custom-elements/{p-c221f8d5.js → p-44376288.js} +5 -5
  223. package/lib/dist-custom-elements/{p-c3a8f22f.js → p-55c2bb2d.js} +1 -1
  224. package/lib/dist-custom-elements/{p-362cf634.js → p-62d5eeeb.js} +4 -3
  225. package/lib/dist-custom-elements/{p-de68431d.js → p-661e7864.js} +1 -1
  226. package/lib/dist-custom-elements/{p-9e321809.js → p-757bf6af.js} +1 -1
  227. package/lib/dist-custom-elements/{p-abf2f8eb.js → p-773bf99a.js} +1 -1
  228. package/lib/dist-custom-elements/p-7d158728.js +197 -0
  229. package/lib/dist-custom-elements/{p-9a39285c.js → p-85edc0fe.js} +2 -2
  230. package/lib/dist-custom-elements/{p-b0a1fc7a.js → p-980b82ed.js} +2 -2
  231. package/lib/dist-custom-elements/p-9d915d45.js +8 -0
  232. package/lib/dist-custom-elements/{p-ab8093ce.js → p-b761b810.js} +2 -2
  233. package/lib/dist-custom-elements/{p-87b42dc0.js → p-ba31dce0.js} +3 -3
  234. package/lib/dist-custom-elements/{p-06f56040.js → p-baccad0b.js} +2 -2
  235. package/lib/dist-custom-elements/{p-581d4969.js → p-c35ceaed.js} +1 -1
  236. package/lib/dist-custom-elements/{p-8549a5d3.js → p-c6c0520d.js} +3 -3
  237. package/lib/dist-custom-elements/{p-e6027c0e.js → p-ca8561b3.js} +20 -14
  238. package/lib/dist-custom-elements/{p-e8475b3c.js → p-cd9b5f96.js} +1 -1
  239. package/lib/dist-custom-elements/{p-0bab8976.js → p-cedbe8b5.js} +4 -4
  240. package/lib/dist-custom-elements/p-cfe72fa4.js +88 -0
  241. package/lib/dist-custom-elements/{p-e550208a.js → p-dfbbdce3.js} +4 -18
  242. package/lib/dist-custom-elements/{p-a76c2c68.js → p-e71e9330.js} +16 -10
  243. package/lib/dist-custom-elements/{p-b0e822ad.js → p-f462e031.js} +1 -1
  244. package/lib/duet/duet.esm.js +1 -1
  245. package/lib/duet/duet.js +1 -1
  246. package/lib/duet/{p-0de3b52d.system.entry.js → p-0077c0b9.system.entry.js} +2 -2
  247. package/lib/duet/{p-659b9600.system.entry.js → p-015f92ba.system.entry.js} +2 -2
  248. package/lib/duet/{p-679721de.system.entry.js → p-03b229f9.system.entry.js} +1 -1
  249. package/lib/duet/{p-596343b6.system.entry.js → p-04da6058.system.entry.js} +1 -1
  250. package/lib/duet/p-076452be.js +1 -1
  251. package/lib/duet/{p-e195ff77.entry.js → p-07b68373.entry.js} +1 -1
  252. package/lib/duet/{p-d1fdf904.entry.js → p-0a5bea68.entry.js} +1 -1
  253. package/lib/duet/p-0b19b2fc.system.entry.js +4 -0
  254. package/lib/duet/{p-bf5e03b7.system.entry.js → p-0d941b02.system.entry.js} +2 -2
  255. package/lib/duet/{p-53800205.entry.js → p-0de1d79f.entry.js} +1 -1
  256. package/lib/duet/{p-8c6e3c4f.system.js → p-10695d55.system.js} +1 -1
  257. package/lib/duet/p-120fcef7.system.entry.js +4 -0
  258. package/lib/duet/{p-be64cb47.system.entry.js → p-1447cb8a.system.entry.js} +1 -1
  259. package/lib/duet/{p-193d3aaa.system.entry.js → p-16493302.system.entry.js} +1 -1
  260. package/lib/duet/{p-f3baf86a.system.entry.js → p-17e717aa.system.entry.js} +1 -1
  261. package/lib/duet/p-1880e89c.system.js +5 -0
  262. package/lib/duet/{p-0fe6e2f3.entry.js → p-19c4479c.entry.js} +1 -1
  263. package/lib/duet/p-1afb6da1.system.entry.js +4 -0
  264. package/lib/duet/{p-7604e184.system.entry.js → p-1b7bb41b.system.entry.js} +2 -2
  265. package/lib/duet/{p-c838f35a.system.entry.js → p-1eb8f4fe.system.entry.js} +2 -2
  266. package/lib/duet/p-200f1abc.entry.js +4 -0
  267. package/lib/duet/{p-0fdddc6d.system.entry.js → p-21e22519.system.entry.js} +1 -1
  268. package/lib/duet/{p-b6f46697.entry.js → p-22b301c0.entry.js} +1 -1
  269. package/lib/duet/{p-8d9dc8b8.system.entry.js → p-26fc5f52.system.entry.js} +2 -2
  270. package/lib/duet/{p-71a46879.system.js → p-277d9e45.system.js} +1 -1
  271. package/lib/duet/{p-3ae87f9a.system.entry.js → p-2827e61e.system.entry.js} +2 -2
  272. package/lib/duet/{p-38b225ec.system.entry.js → p-2867f068.system.entry.js} +2 -2
  273. package/lib/duet/{p-fca2f60d.system.entry.js → p-28e7d8ee.system.entry.js} +2 -2
  274. package/lib/duet/p-2b16b250.system.entry.js +4 -0
  275. package/lib/duet/{p-855f2712.system.entry.js → p-2b79476c.system.entry.js} +1 -1
  276. package/lib/duet/{p-33e8ba00.entry.js → p-2bfb9cf4.entry.js} +1 -1
  277. package/lib/duet/{p-0b4324b1.system.entry.js → p-2ed796cf.system.entry.js} +2 -2
  278. package/lib/duet/{p-a80b6e7d.entry.js → p-30c6c9f0.entry.js} +1 -1
  279. package/lib/duet/{p-d20bc0fc.entry.js → p-30f0945c.entry.js} +1 -1
  280. package/lib/duet/p-312ae93d.system.entry.js +4 -0
  281. package/lib/duet/{p-7fe4bf9c.system.entry.js → p-32d6a948.system.entry.js} +1 -1
  282. package/lib/duet/{p-6fafabc4.system.entry.js → p-3499c5ce.system.entry.js} +2 -2
  283. package/lib/duet/{p-7fd5d974.system.entry.js → p-358f27d4.system.entry.js} +1 -1
  284. package/lib/duet/{p-831c76d5.system.entry.js → p-35fddc0c.system.entry.js} +2 -2
  285. package/lib/duet/{p-cd14aa98.system.entry.js → p-379b7a5b.system.entry.js} +1 -1
  286. package/lib/duet/{p-2a8ca3eb.entry.js → p-3a47193c.entry.js} +1 -1
  287. package/lib/duet/p-3a9e4386.system.entry.js +4 -0
  288. package/lib/duet/{p-eaf5b796.entry.js → p-3cff6ebc.entry.js} +1 -1
  289. package/lib/duet/{p-e6701508.entry.js → p-3dbbd772.entry.js} +1 -1
  290. package/lib/duet/{p-a6f4302f.system.entry.js → p-3f9bafee.system.entry.js} +1 -1
  291. package/lib/duet/{p-33ace290.system.entry.js → p-3fd216ee.system.entry.js} +2 -2
  292. package/lib/duet/{p-ff0c5b5b.system.entry.js → p-402a51b4.system.entry.js} +2 -2
  293. package/lib/duet/{p-ced270b7.system.entry.js → p-42e29141.system.entry.js} +2 -2
  294. package/lib/duet/p-435cb7c2.entry.js +4 -0
  295. package/lib/duet/p-440aff1c.system.entry.js +4 -0
  296. package/lib/duet/p-46547a79.entry.js +4 -0
  297. package/lib/duet/{p-242c1c1a.entry.js → p-469c8430.entry.js} +1 -1
  298. package/lib/duet/{p-ab15c9ba.entry.js → p-49c0b3f8.entry.js} +1 -1
  299. package/lib/duet/p-4b9c271c.entry.js +4 -0
  300. package/lib/duet/{p-d837c30c.entry.js → p-4ba495ae.entry.js} +1 -1
  301. package/lib/duet/{p-0b208f94.system.entry.js → p-4c05864f.system.entry.js} +1 -1
  302. package/lib/duet/{p-26cfed76.system.entry.js → p-4cb95b05.system.entry.js} +1 -1
  303. package/lib/duet/{p-10d57786.entry.js → p-4f49a9ca.entry.js} +1 -1
  304. package/lib/duet/p-57bc9d10.system.entry.js +4 -0
  305. package/lib/duet/p-5a9d75e1.js +1 -1
  306. package/lib/duet/{p-dcb58b72.system.entry.js → p-5ba959af.system.entry.js} +1 -1
  307. package/lib/duet/p-5c8e5f29.system.js +4 -0
  308. package/lib/duet/{p-f01b3bfa.entry.js → p-5c9febf5.entry.js} +1 -1
  309. package/lib/duet/{p-5f9fc349.system.entry.js → p-5cca8d3e.system.entry.js} +2 -2
  310. package/lib/duet/{p-10d47bb3.entry.js → p-6105d937.entry.js} +1 -1
  311. package/lib/duet/{p-bb450fde.entry.js → p-61611577.entry.js} +1 -1
  312. package/lib/duet/{p-f9191467.entry.js → p-6322975a.entry.js} +1 -1
  313. package/lib/duet/{p-e664403b.system.entry.js → p-6a1f6639.system.entry.js} +2 -2
  314. package/lib/duet/p-6b115b63.system.js +4 -0
  315. package/lib/duet/p-6b7d3c8c.entry.js +4 -0
  316. package/lib/duet/{p-0f05038e.system.entry.js → p-6c7a20e1.system.entry.js} +2 -2
  317. package/lib/duet/{p-82ebc3a6.system.entry.js → p-6e8dbf19.system.entry.js} +2 -2
  318. package/lib/duet/{p-2ab30c7f.entry.js → p-6ea838bf.entry.js} +1 -1
  319. package/lib/duet/{p-5c5dd33e.entry.js → p-6fba1a6d.entry.js} +1 -1
  320. package/lib/duet/{p-fce75de7.entry.js → p-71cc3d68.entry.js} +1 -1
  321. package/lib/duet/{p-18b63745.system.entry.js → p-74b822f7.system.entry.js} +2 -2
  322. package/lib/duet/{p-9cec464f.system.entry.js → p-75d98b0c.system.entry.js} +2 -2
  323. package/lib/duet/{p-a76ceaf6.js → p-75f7a572.js} +1 -1
  324. package/lib/duet/{p-07795672.entry.js → p-762f26d7.entry.js} +1 -1
  325. package/lib/duet/p-7649b95e.js +4 -0
  326. package/lib/duet/{p-e5ff4740.system.entry.js → p-798f633d.system.entry.js} +1 -1
  327. package/lib/duet/p-79b6ac98.js +5 -0
  328. package/lib/duet/{p-369190ba.entry.js → p-7b29ea1b.entry.js} +1 -1
  329. package/lib/duet/{p-60210fa0.entry.js → p-7d0c4a6e.entry.js} +1 -1
  330. package/lib/duet/{p-9781cd5a.entry.js → p-80c9d1a3.entry.js} +1 -1
  331. package/lib/duet/p-82b5380b.system.js +1 -1
  332. package/lib/duet/{p-42199e80.entry.js → p-84492c72.entry.js} +1 -1
  333. package/lib/duet/{p-6059377c.entry.js → p-84848786.entry.js} +1 -1
  334. package/lib/duet/p-864ccce8.system.entry.js +4 -0
  335. package/lib/duet/p-8793147c.system.entry.js +4 -0
  336. package/lib/duet/{p-bb3ab94b.entry.js → p-890ce3fa.entry.js} +1 -1
  337. package/lib/duet/{p-49cbf9cc.entry.js → p-8b1084e1.entry.js} +1 -1
  338. package/lib/duet/{p-65180079.entry.js → p-8cde4aa3.entry.js} +1 -1
  339. package/lib/duet/{p-67f35157.entry.js → p-8d1df4a0.entry.js} +1 -1
  340. package/lib/duet/{p-c01a1e38.entry.js → p-8fe534ac.entry.js} +1 -1
  341. package/lib/duet/{p-190e7c1f.system.entry.js → p-90b0a60f.system.entry.js} +2 -2
  342. package/lib/duet/{p-c8af967c.system.entry.js → p-95a2dc66.system.entry.js} +1 -1
  343. package/lib/duet/{p-9ad4b03e.entry.js → p-98894eb0.entry.js} +1 -1
  344. package/lib/duet/p-9a9bc779.entry.js +4 -0
  345. package/lib/duet/{p-d70c1993.entry.js → p-9b96a374.entry.js} +1 -1
  346. package/lib/duet/p-9d915d45.js +4 -0
  347. package/lib/duet/{p-476bec1d.entry.js → p-a18c65be.entry.js} +1 -1
  348. package/lib/duet/p-a4376044.entry.js +4 -0
  349. package/lib/duet/{p-6ff2601a.entry.js → p-a481cf6f.entry.js} +1 -1
  350. package/lib/duet/{p-77432368.entry.js → p-a4f63bc8.entry.js} +1 -1
  351. package/lib/duet/{p-ff814fdc.entry.js → p-a57b8625.entry.js} +1 -1
  352. package/lib/duet/{p-17569309.entry.js → p-a5ee6446.entry.js} +1 -1
  353. package/lib/duet/{p-c591ed98.system.entry.js → p-a7925c2c.system.entry.js} +2 -2
  354. package/lib/duet/p-a8657943.entry.js +4 -0
  355. package/lib/duet/{p-642a879a.system.entry.js → p-a9dee517.system.entry.js} +1 -1
  356. package/lib/duet/p-aaf1b496.system.js +4 -0
  357. package/lib/duet/{p-d309acda.entry.js → p-ab1488e4.entry.js} +1 -1
  358. package/lib/duet/{p-3fe319db.entry.js → p-ab308aa0.entry.js} +1 -1
  359. package/lib/duet/{p-7c81a1aa.system.entry.js → p-ab9b002c.system.entry.js} +1 -1
  360. package/lib/duet/{p-18084aa4.entry.js → p-ad3c2f28.entry.js} +1 -1
  361. package/lib/duet/p-ae4927ce.entry.js +4 -0
  362. package/lib/duet/{p-346b440a.entry.js → p-b07af8d7.entry.js} +1 -1
  363. package/lib/duet/{p-8a06964b.entry.js → p-b29fac9e.entry.js} +1 -1
  364. package/lib/duet/p-b54bf042.entry.js +4 -0
  365. package/lib/duet/{p-49f5f27e.entry.js → p-b5546c64.entry.js} +1 -1
  366. package/lib/duet/{p-d90b9d82.entry.js → p-b6d43529.entry.js} +1 -1
  367. package/lib/duet/p-b6d51921.system.js +1 -1
  368. package/lib/duet/{p-74bf128c.system.entry.js → p-bdd55461.system.entry.js} +2 -2
  369. package/lib/duet/p-be37633b.entry.js +4 -0
  370. package/lib/duet/{p-8fc58e21.entry.js → p-be8e6a2f.entry.js} +1 -1
  371. package/lib/duet/{p-9277a98e.entry.js → p-bf35789c.entry.js} +1 -1
  372. package/lib/duet/p-c1aafc6e.entry.js +4 -0
  373. package/lib/duet/{p-fcc9c563.entry.js → p-c1b71a60.entry.js} +1 -1
  374. package/lib/duet/{p-d95542b2.system.entry.js → p-c2860fc6.system.entry.js} +2 -2
  375. package/lib/duet/{p-0f49469b.system.entry.js → p-c3bf4ada.system.entry.js} +1 -1
  376. package/lib/duet/{p-000197bb.system.entry.js → p-c8967f73.system.entry.js} +2 -2
  377. package/lib/duet/p-c8dc599d.system.js +1 -1
  378. package/lib/duet/{p-6dea5bde.system.js → p-ca783bce.system.js} +1 -1
  379. package/lib/duet/{p-d1308874.entry.js → p-cad183f3.entry.js} +1 -1
  380. package/lib/duet/{p-a1e03781.entry.js → p-caf1d401.entry.js} +1 -1
  381. package/lib/duet/p-cb620ca3.system.entry.js +4 -0
  382. package/lib/duet/{p-e26c92ae.entry.js → p-cd1ed6f6.entry.js} +1 -1
  383. package/lib/duet/{p-8168ef41.system.entry.js → p-cdbd1085.system.entry.js} +2 -2
  384. package/lib/duet/{p-5590d075.system.entry.js → p-ce48373f.system.entry.js} +2 -2
  385. package/lib/duet/{p-f605a26a.system.entry.js → p-cefbaef0.system.entry.js} +1 -1
  386. package/lib/duet/p-cf504df5.js +4 -0
  387. package/lib/duet/{p-8215e341.system.entry.js → p-cfdd8822.system.entry.js} +1 -1
  388. package/lib/duet/{p-e1470177.system.entry.js → p-d58ad6fe.system.entry.js} +1 -1
  389. package/lib/duet/{p-fd760e06.system.entry.js → p-d7460d04.system.entry.js} +2 -2
  390. package/lib/duet/{p-c56f6296.entry.js → p-d86b661a.entry.js} +1 -1
  391. package/lib/duet/{p-d707c91d.entry.js → p-dc003f39.entry.js} +1 -1
  392. package/lib/duet/{p-aa1c11b3.system.entry.js → p-dd2c8397.system.entry.js} +1 -1
  393. package/lib/duet/{p-e3a868e7.system.entry.js → p-de933c56.system.entry.js} +1 -1
  394. package/lib/duet/{p-e13b266c.system.entry.js → p-deb6c0b1.system.entry.js} +1 -1
  395. package/lib/duet/p-df10a767.js +1 -1
  396. package/lib/duet/{p-bd21ed24.entry.js → p-e009dd0e.entry.js} +1 -1
  397. package/lib/duet/{p-c20f14ee.system.entry.js → p-e0711844.system.entry.js} +1 -1
  398. package/lib/duet/p-e414a557.js +4 -0
  399. package/lib/duet/{p-f1bce38a.system.entry.js → p-e53475fd.system.entry.js} +1 -1
  400. package/lib/duet/{p-a9fac1f4.entry.js → p-e66b2cf4.entry.js} +1 -1
  401. package/lib/duet/{p-639c44ed.system.entry.js → p-e689dc8c.system.entry.js} +2 -2
  402. package/lib/duet/{p-3aebf88e.entry.js → p-eb478d40.entry.js} +1 -1
  403. package/lib/duet/{p-54607ab5.system.entry.js → p-ebaf813c.system.entry.js} +1 -1
  404. package/lib/duet/{p-e33b158e.entry.js → p-ebd0deb2.entry.js} +1 -1
  405. package/lib/duet/p-ec120930.system.entry.js +4 -0
  406. package/lib/duet/{p-ea0b3f23.entry.js → p-ed2fa79e.entry.js} +1 -1
  407. package/lib/duet/{p-984be1b2.system.entry.js → p-f15e031a.system.entry.js} +2 -2
  408. package/lib/duet/{p-76c68d61.system.entry.js → p-f58f7049.system.entry.js} +1 -1
  409. package/lib/duet/{p-7b75c66a.system.entry.js → p-f5bc03c1.system.entry.js} +2 -2
  410. package/lib/duet/p-f5c10f8e.entry.js +4 -0
  411. package/lib/duet/{p-0fc4fd1f.entry.js → p-f6ba5087.entry.js} +1 -1
  412. package/lib/duet/{p-645d04bc.entry.js → p-f783a2bc.entry.js} +1 -1
  413. package/lib/duet/p-f80275c5.system.entry.js +4 -0
  414. package/lib/duet/p-f93a4db5.entry.js +4 -0
  415. package/lib/duet/{p-61dbdf5a.system.entry.js → p-fa579e10.system.entry.js} +1 -1
  416. package/lib/duet/{p-87ea8cd4.system.entry.js → p-fdd13933.system.entry.js} +2 -2
  417. package/lib/esm/duet-action-button.entry.js +3 -3
  418. package/lib/esm/duet-alert.entry.js +1 -1
  419. package/lib/esm/duet-badge.entry.js +1 -1
  420. package/lib/esm/duet-banner.entry.js +3 -3
  421. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  422. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  423. package/lib/esm/duet-button_2.entry.js +3 -3
  424. package/lib/esm/duet-callout.entry.js +1 -1
  425. package/lib/esm/duet-caption_4.entry.js +3 -3
  426. package/lib/esm/duet-card.entry.js +3 -3
  427. package/lib/esm/duet-checkbox.entry.js +1 -1
  428. package/lib/esm/duet-checkmark.entry.js +1 -1
  429. package/lib/esm/duet-chip.entry.js +89 -9
  430. package/lib/esm/duet-choice_2.entry.js +9 -8
  431. package/lib/esm/duet-collapsible.entry.js +3 -2
  432. package/lib/esm/duet-combobox.entry.js +1 -1
  433. package/lib/esm/duet-contact-card.entry.js +1 -1
  434. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  435. package/lib/esm/duet-date-picker.entry.js +2 -2
  436. package/lib/esm/duet-divider_2.entry.js +3 -3
  437. package/lib/esm/duet-editable-table_3.entry.js +23 -128
  438. package/lib/esm/duet-empty-state.entry.js +1 -1
  439. package/lib/esm/duet-fieldset.entry.js +3 -2
  440. package/lib/esm/duet-footer.entry.js +1 -1
  441. package/lib/esm/duet-grid_2.entry.js +6 -3
  442. package/lib/esm/duet-header_2.entry.js +2 -2
  443. package/lib/esm/duet-hero.entry.js +2 -2
  444. package/lib/esm/duet-icon.entry.js +3 -3
  445. package/lib/esm/duet-input_2.entry.js +1 -1
  446. package/lib/esm/duet-layout.entry.js +1 -1
  447. package/lib/esm/duet-list_2.entry.js +1 -1
  448. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  449. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  450. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  451. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  452. package/lib/esm/duet-menu-bar.entry.js +1 -1
  453. package/lib/esm/duet-modal.entry.js +2 -2
  454. package/lib/esm/duet-multiselect.entry.js +1 -1
  455. package/lib/esm/duet-nav.entry.js +1 -1
  456. package/lib/esm/duet-notification_2.entry.js +1 -1
  457. package/lib/esm/duet-number-input.entry.js +1 -1
  458. package/lib/esm/duet-page-heading.entry.js +1 -1
  459. package/lib/esm/duet-pagination_2.entry.js +1 -1
  460. package/lib/esm/duet-popup-menu-item.entry.js +35 -2
  461. package/lib/esm/duet-popup-menu.entry.js +99 -9
  462. package/lib/esm/duet-progress.entry.js +1 -1
  463. package/lib/esm/duet-promo-card.entry.js +3 -3
  464. package/lib/esm/duet-radio_2.entry.js +1 -1
  465. package/lib/esm/duet-range-slider.entry.js +2 -2
  466. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  467. package/lib/esm/duet-section-layout.entry.js +1 -1
  468. package/lib/esm/duet-select.entry.js +1 -1
  469. package/lib/esm/duet-shaped-image.entry.js +1 -1
  470. package/lib/esm/duet-show-more.entry.js +57 -28
  471. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  472. package/lib/esm/duet-slideout-link.entry.js +1 -1
  473. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  474. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  475. package/lib/esm/duet-slideout.entry.js +4 -4
  476. package/lib/esm/duet-step_2.entry.js +1 -1
  477. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  478. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  479. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  480. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  481. package/lib/esm/duet-textarea.entry.js +1 -1
  482. package/lib/esm/duet-toggle.entry.js +1 -1
  483. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  484. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  485. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  486. package/lib/esm/duet-toolbar.entry.js +1 -1
  487. package/lib/esm/duet-tooltip-popup.entry.js +52 -0
  488. package/lib/esm/duet-tooltip.entry.js +20 -15
  489. package/lib/esm/duet-tray.entry.js +2 -2
  490. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  491. package/lib/esm/duet-upload-item.entry.js +89 -0
  492. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  493. package/lib/esm/duet.js +7 -87
  494. package/lib/esm/errorcodes.utils-c0c33bce.js +36 -0
  495. package/lib/esm/{focus-utils-20785530.js → focus-utils-a516bd48.js} +1 -1
  496. package/lib/esm/{index-dcb8c495.js → index-23851de5.js} +7 -18
  497. package/lib/esm/loader.js +3 -3
  498. package/lib/esm/slot-query-8c7dce21.js +8 -0
  499. package/lib/esm/{token-utils-a1dcaa4b.js → token-utils-058d6220.js} +1 -1
  500. package/lib/esm/{tokens.module-ed773027.js → tokens.module-f436c2cd.js} +1 -1
  501. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  502. package/lib/esm-es5/duet-alert.entry.js +2 -2
  503. package/lib/esm-es5/duet-badge.entry.js +1 -1
  504. package/lib/esm-es5/duet-banner.entry.js +1 -1
  505. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  506. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  507. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  508. package/lib/esm-es5/duet-callout.entry.js +1 -1
  509. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  510. package/lib/esm-es5/duet-card.entry.js +2 -2
  511. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  512. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  513. package/lib/esm-es5/duet-chip.entry.js +2 -2
  514. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  515. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  516. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  517. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  518. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  519. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  520. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  522. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  523. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  524. package/lib/esm-es5/duet-footer.entry.js +2 -2
  525. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  526. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  527. package/lib/esm-es5/duet-hero.entry.js +2 -2
  528. package/lib/esm-es5/duet-icon.entry.js +2 -2
  529. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  530. package/lib/esm-es5/duet-layout.entry.js +1 -1
  531. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  532. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  533. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  534. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  535. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  536. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  537. package/lib/esm-es5/duet-modal.entry.js +2 -2
  538. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  539. package/lib/esm-es5/duet-nav.entry.js +1 -1
  540. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  541. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  542. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  543. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  544. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  545. package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
  546. package/lib/esm-es5/duet-progress.entry.js +1 -1
  547. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  548. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  549. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  550. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  551. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  552. package/lib/esm-es5/duet-select.entry.js +2 -2
  553. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  554. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  555. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  556. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  557. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  558. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  559. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  560. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  561. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  562. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  563. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  564. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  565. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  566. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  567. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  568. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  569. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  570. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  571. package/lib/esm-es5/duet-tooltip-popup.entry.js +4 -0
  572. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  573. package/lib/esm-es5/duet-tray.entry.js +1 -1
  574. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  575. package/lib/esm-es5/duet-upload-item.entry.js +4 -0
  576. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  577. package/lib/esm-es5/duet.js +1 -1
  578. package/lib/esm-es5/errorcodes.utils-c0c33bce.js +4 -0
  579. package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +1 -1
  580. package/lib/esm-es5/focus-utils-a516bd48.js +4 -0
  581. package/lib/esm-es5/index-23851de5.js +5 -0
  582. package/lib/esm-es5/language-utils-6be16ff0.js +1 -1
  583. package/lib/esm-es5/loader.js +1 -1
  584. package/lib/esm-es5/slot-query-8c7dce21.js +4 -0
  585. package/lib/esm-es5/string-utils-5954f458.js +1 -1
  586. package/lib/esm-es5/{token-utils-a1dcaa4b.js → token-utils-058d6220.js} +1 -1
  587. package/lib/esm-es5/{tokens.module-ed773027.js → tokens.module-f436c2cd.js} +1 -1
  588. package/lib/types/common/index.d.ts +1 -0
  589. package/lib/types/common/slot-query.d.ts +1 -0
  590. package/lib/types/components/duet-chip/duet-chip.d.ts +21 -2
  591. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
  592. package/lib/types/components/duet-grid/duet-grid.d.ts +4 -0
  593. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +18 -1
  594. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +30 -0
  595. package/lib/types/components/duet-show-more/duet-show-more.d.ts +36 -5
  596. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +41 -0
  597. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +4 -4
  598. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -1
  599. package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +29 -0
  600. package/lib/types/components.d.ts +208 -2
  601. package/lib/types/utils/teleport.d.ts +15 -0
  602. package/package.json +5 -5
  603. package/lib/cjs/dom-c42e1019.js +0 -78
  604. package/lib/cjs/shadow-css-6c99270e.js +0 -392
  605. package/lib/collection/components/duet-upload/upload-item.js +0 -44
  606. package/lib/dist-custom-elements/p-59964344.js +0 -183
  607. package/lib/dist-custom-elements/p-6ee53ac3.js +0 -390
  608. package/lib/duet/p-00c61228.system.entry.js +0 -4
  609. package/lib/duet/p-02a9b697.system.entry.js +0 -4
  610. package/lib/duet/p-0c7c6acc.system.entry.js +0 -4
  611. package/lib/duet/p-1090bfbd.entry.js +0 -4
  612. package/lib/duet/p-1983b903.system.entry.js +0 -4
  613. package/lib/duet/p-2271aa12.entry.js +0 -4
  614. package/lib/duet/p-26fb19cc.entry.js +0 -4
  615. package/lib/duet/p-29dd2b2b.entry.js +0 -4
  616. package/lib/duet/p-2f2554c2.entry.js +0 -4
  617. package/lib/duet/p-31a14896.entry.js +0 -4
  618. package/lib/duet/p-3d4d7d03.system.entry.js +0 -4
  619. package/lib/duet/p-4047730e.entry.js +0 -4
  620. package/lib/duet/p-41993ad4.js +0 -4
  621. package/lib/duet/p-4489355c.system.entry.js +0 -4
  622. package/lib/duet/p-45df6b17.entry.js +0 -4
  623. package/lib/duet/p-4f40525e.system.entry.js +0 -4
  624. package/lib/duet/p-5514488e.entry.js +0 -4
  625. package/lib/duet/p-57ec25ee.entry.js +0 -4
  626. package/lib/duet/p-59570fb7.system.entry.js +0 -4
  627. package/lib/duet/p-5dfc4e72.entry.js +0 -4
  628. package/lib/duet/p-6cf44bfa.system.js +0 -24
  629. package/lib/duet/p-6ee53ac3.js +0 -15
  630. package/lib/duet/p-72a8644b.system.entry.js +0 -4
  631. package/lib/duet/p-7ce403a2.system.entry.js +0 -4
  632. package/lib/duet/p-9b4b6a88.system.entry.js +0 -4
  633. package/lib/duet/p-9c159fd4.js +0 -22
  634. package/lib/duet/p-9d9204af.system.js +0 -16
  635. package/lib/duet/p-a7774674.system.js +0 -5
  636. package/lib/duet/p-bcb2eb05.js +0 -5
  637. package/lib/duet/p-f93a2b8c.system.js +0 -4
  638. package/lib/duet/p-fb88df1a.entry.js +0 -4
  639. package/lib/duet/p-fd4785ab.js +0 -4
  640. package/lib/esm/dom-ae12a113.js +0 -76
  641. package/lib/esm/shadow-css-66bc7949.js +0 -390
  642. package/lib/esm-es5/dom-ae12a113.js +0 -24
  643. package/lib/esm-es5/focus-utils-20785530.js +0 -4
  644. package/lib/esm-es5/index-dcb8c495.js +0 -5
  645. package/lib/esm-es5/shadow-css-66bc7949.js +0 -15
  646. package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
  647. /package/lib/dist-custom-elements/{p-152ee893.js → p-ec4d603d.js} +0 -0
@@ -0,0 +1,251 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h, Host } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
6
+ /**
7
+ * @internal
8
+ * This component is solely for internal use by duet-tooltip.
9
+ */
10
+ export class DuetTooltipPopup {
11
+ constructor() {
12
+ this.handleCloseClick = (evt) => {
13
+ this.tooltipPopupClosed.emit({
14
+ originalEvent: evt,
15
+ component: "duet-tooltip-popup",
16
+ });
17
+ };
18
+ this.theme = "";
19
+ this.active = undefined;
20
+ this.tooltipId = undefined;
21
+ this.arrowStyles = undefined;
22
+ this.placement = undefined;
23
+ this.accessibleCloseLabel = undefined;
24
+ }
25
+ /**
26
+ * Component lifecycle events.
27
+ */
28
+ componentWillLoad() {
29
+ inheritGlobalTheme(this);
30
+ }
31
+ async getArrowElement() {
32
+ return this.arrowEl;
33
+ }
34
+ async getContentElement() {
35
+ return this.contentEl;
36
+ }
37
+ async setFocusOnContentElement() {
38
+ this.contentEl.focus();
39
+ }
40
+ render() {
41
+ return (h(Host, null, h("div", { class: {
42
+ "duet-tooltip": true,
43
+ "duet-theme-turva": this.theme === "turva",
44
+ "duet-tooltip-active": this.active === true,
45
+ }, onClick: e => e.stopPropagation() }, h("div", { ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot", null)), h("div", { ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { class: { "arrow-container": true, [this.placement]: true } })), h("button", { type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick }, h("duet-icon", { name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", null, this.accessibleCloseLabel)))));
46
+ }
47
+ static get is() { return "duet-tooltip-popup"; }
48
+ static get encapsulation() { return "scoped"; }
49
+ static get originalStyleUrls() {
50
+ return {
51
+ "$": ["duet-tooltip-popup.scss"]
52
+ };
53
+ }
54
+ static get styleUrls() {
55
+ return {
56
+ "$": ["duet-tooltip-popup.css"]
57
+ };
58
+ }
59
+ static get properties() {
60
+ return {
61
+ "theme": {
62
+ "type": "string",
63
+ "mutable": true,
64
+ "complexType": {
65
+ "original": "DuetTheme",
66
+ "resolved": "\"\" | \"default\" | \"turva\"",
67
+ "references": {
68
+ "DuetTheme": {
69
+ "location": "import",
70
+ "path": "../../common-types"
71
+ }
72
+ }
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": "Theme of the tooltip."
79
+ },
80
+ "attribute": "theme",
81
+ "reflect": false,
82
+ "defaultValue": "\"\""
83
+ },
84
+ "active": {
85
+ "type": "boolean",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "boolean",
89
+ "resolved": "boolean",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": ""
97
+ },
98
+ "attribute": "active",
99
+ "reflect": false
100
+ },
101
+ "tooltipId": {
102
+ "type": "string",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "string",
106
+ "resolved": "string",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": ""
114
+ },
115
+ "attribute": "tooltip-id",
116
+ "reflect": false
117
+ },
118
+ "arrowStyles": {
119
+ "type": "unknown",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "{ top: string | undefined; left: string | undefined }",
123
+ "resolved": "{ top: string; left: string; }",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": ""
131
+ }
132
+ },
133
+ "placement": {
134
+ "type": "string",
135
+ "mutable": false,
136
+ "complexType": {
137
+ "original": "string",
138
+ "resolved": "string",
139
+ "references": {}
140
+ },
141
+ "required": false,
142
+ "optional": false,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": ""
146
+ },
147
+ "attribute": "placement",
148
+ "reflect": false
149
+ },
150
+ "accessibleCloseLabel": {
151
+ "type": "string",
152
+ "mutable": false,
153
+ "complexType": {
154
+ "original": "string",
155
+ "resolved": "string",
156
+ "references": {}
157
+ },
158
+ "required": false,
159
+ "optional": false,
160
+ "docs": {
161
+ "tags": [],
162
+ "text": ""
163
+ },
164
+ "attribute": "accessible-close-label",
165
+ "reflect": false
166
+ }
167
+ };
168
+ }
169
+ static get events() {
170
+ return [{
171
+ "method": "tooltipPopupClosed",
172
+ "name": "tooltipPopupClosed",
173
+ "bubbles": true,
174
+ "cancelable": true,
175
+ "composed": true,
176
+ "docs": {
177
+ "tags": [],
178
+ "text": "Component event handling."
179
+ },
180
+ "complexType": {
181
+ "original": "DuetTooltipPopupEvent",
182
+ "resolved": "{ originalEvent?: Event; component: \"duet-tooltip-popup\"; }",
183
+ "references": {
184
+ "DuetTooltipPopupEvent": {
185
+ "location": "local",
186
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-tooltip/duet-tooltip-popup.tsx"
187
+ }
188
+ }
189
+ }
190
+ }];
191
+ }
192
+ static get methods() {
193
+ return {
194
+ "getArrowElement": {
195
+ "complexType": {
196
+ "signature": "() => Promise<HTMLElement>",
197
+ "parameters": [],
198
+ "references": {
199
+ "Promise": {
200
+ "location": "global"
201
+ },
202
+ "HTMLElement": {
203
+ "location": "global"
204
+ }
205
+ },
206
+ "return": "Promise<HTMLElement>"
207
+ },
208
+ "docs": {
209
+ "text": "",
210
+ "tags": []
211
+ }
212
+ },
213
+ "getContentElement": {
214
+ "complexType": {
215
+ "signature": "() => Promise<HTMLElement>",
216
+ "parameters": [],
217
+ "references": {
218
+ "Promise": {
219
+ "location": "global"
220
+ },
221
+ "HTMLElement": {
222
+ "location": "global"
223
+ }
224
+ },
225
+ "return": "Promise<HTMLElement>"
226
+ },
227
+ "docs": {
228
+ "text": "",
229
+ "tags": []
230
+ }
231
+ },
232
+ "setFocusOnContentElement": {
233
+ "complexType": {
234
+ "signature": "() => Promise<void>",
235
+ "parameters": [],
236
+ "references": {
237
+ "Promise": {
238
+ "location": "global"
239
+ }
240
+ },
241
+ "return": "Promise<void>"
242
+ },
243
+ "docs": {
244
+ "text": "",
245
+ "tags": []
246
+ }
247
+ }
248
+ };
249
+ }
250
+ static get elementRef() { return "element"; }
251
+ }
@@ -29,106 +29,6 @@
29
29
  -webkit-tap-highlight-color: transparent;
30
30
  }
31
31
 
32
- .duet-tooltip {
33
- position: absolute;
34
- z-index: 950;
35
- display: none;
36
- width: 282px;
37
- min-height: 48px;
38
- max-height: 340px;
39
- font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
40
- font-size: 0.875rem;
41
- font-weight: 400;
42
- line-height: 1.25;
43
- color: rgb(0, 41, 77);
44
- visibility: hidden;
45
- background: rgb(255, 255, 255);
46
- border: 1px solid rgb(225, 227, 230);
47
- border-radius: 4px;
48
- box-shadow: 0 2px 10px 0 rgba(0, 41, 77, 0.07);
49
- opacity: 0;
50
- transition: 300ms ease;
51
- transform-origin: 100% 100%;
52
- }
53
- .duet-tooltip.duet-theme-turva {
54
- font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
55
- color: rgb(23, 28, 58);
56
- border-color: rgb(228, 228, 230);
57
- box-shadow: 0 2px 10px 0 rgba(117, 117, 117, 0.13);
58
- }
59
- .duet-tooltip .arrow {
60
- position: absolute;
61
- width: 22px;
62
- height: 22px;
63
- pointer-events: none;
64
- }
65
- .duet-tooltip .arrow.bottom, .duet-tooltip .arrow.bottom-start, .duet-tooltip .arrow.bottom-end {
66
- top: -21px;
67
- }
68
- .duet-tooltip .arrow-container {
69
- position: relative;
70
- width: 100%;
71
- height: 100%;
72
- pointer-events: none;
73
- }
74
- .duet-tooltip .arrow-container::after {
75
- position: absolute;
76
- z-index: 200;
77
- width: 0;
78
- height: 0;
79
- pointer-events: none;
80
- content: "";
81
- }
82
- .duet-tooltip .arrow-container::before {
83
- position: absolute;
84
- z-index: 100;
85
- width: 0;
86
- height: 0;
87
- pointer-events: none;
88
- content: "";
89
- }
90
- .duet-tooltip .arrow-container.top::after, .duet-tooltip .arrow-container.top-start::after, .duet-tooltip .arrow-container.top-end::after {
91
- bottom: 2px;
92
- left: 2px;
93
- border: 10px solid transparent;
94
- border-top: 10px solid rgb(255, 255, 255);
95
- }
96
- .duet-tooltip .arrow-container.top::before, .duet-tooltip .arrow-container.top-start::before, .duet-tooltip .arrow-container.top-end::before {
97
- bottom: -1px;
98
- left: 1px;
99
- border: 11px solid transparent;
100
- border-top: 11px solid rgb(225, 227, 230);
101
- }
102
- .duet-theme-turva .duet-tooltip .arrow-container.top::before, .duet-theme-turva .duet-tooltip .arrow-container.top-start::before, .duet-theme-turva .duet-tooltip .arrow-container.top-end::before {
103
- border-top: 11px solid rgb(228, 228, 230);
104
- }
105
- .duet-tooltip .arrow-container.bottom::after, .duet-tooltip .arrow-container.bottom-start::after, .duet-tooltip .arrow-container.bottom-end::after {
106
- bottom: 1px;
107
- left: 2px;
108
- border: 10px solid transparent;
109
- border-bottom: 10px solid rgb(255, 255, 255);
110
- }
111
- .duet-tooltip .arrow-container.bottom::before, .duet-tooltip .arrow-container.bottom-start::before, .duet-tooltip .arrow-container.bottom-end::before {
112
- bottom: 1px;
113
- left: 1px;
114
- border: 11px solid transparent;
115
- border-bottom: 11px solid rgb(225, 227, 230);
116
- }
117
- .duet-theme-turva .duet-tooltip .arrow-container.bottom::before, .duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before, .duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before {
118
- border-top: 11px solid rgb(228, 228, 230);
119
- }
120
- .duet-tooltip.duet-tooltip-has-label {
121
- right: auto !important;
122
- left: 0;
123
- width: 282px !important;
124
- transform-origin: 0 0 !important;
125
- }
126
- .duet-tooltip.duet-tooltip-active {
127
- visibility: visible;
128
- opacity: 1;
129
- transition-property: transform, opacity;
130
- }
131
-
132
32
  .duet-tooltip-button {
133
33
  z-index: 100;
134
34
  display: inline-block;
@@ -175,40 +75,6 @@
175
75
  margin-right: 0;
176
76
  }
177
77
 
178
- .duet-tooltip-scrollable {
179
- padding: 20px !important;
180
- width: 100%;
181
- max-height: 250px;
182
- padding-right: 25px !important;
183
- overflow-y: auto;
184
- -webkit-hyphens: auto;
185
- hyphens: auto;
186
- border-radius: 4px;
187
- -webkit-overflow-scrolling: touch;
188
- }
189
- .duet-tooltip-scrollable:focus {
190
- outline: none;
191
- }
192
- :host(.user-is-tabbing) .duet-tooltip-scrollable:focus {
193
- box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
194
- }
195
- :host(.user-is-tabbing) .duet-theme-turva .duet-tooltip-scrollable:focus {
196
- box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
197
- }
198
- .duet-tooltip-scrollable::-webkit-scrollbar {
199
- width: 4px;
200
- }
201
- .duet-tooltip-scrollable::-webkit-scrollbar-track {
202
- border-radius: 4px;
203
- }
204
- .duet-tooltip-scrollable::-webkit-scrollbar-thumb {
205
- background: rgb(225, 227, 230);
206
- border-radius: 4px;
207
- }
208
- .duet-theme-turva .duet-tooltip-scrollable::-webkit-scrollbar-thumb {
209
- background: rgb(228, 228, 230);
210
- }
211
-
212
78
  .duet-tooltip-label {
213
79
  position: relative;
214
80
  z-index: 100;
@@ -225,33 +91,4 @@
225
91
  }
226
92
  .duet-theme-turva .duet-tooltip-label {
227
93
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
228
- }
229
-
230
- .duet-tooltip-close {
231
- position: absolute;
232
- top: 8px;
233
- right: 8px;
234
- display: flex;
235
- align-items: center;
236
- justify-content: center;
237
- width: 17px;
238
- height: 17px;
239
- min-height: 0 !important;
240
- padding: 0 !important;
241
- margin: 0 !important;
242
- line-height: normal;
243
- color: rgb(0, 41, 77);
244
- cursor: pointer;
245
- background: rgb(245, 248, 250);
246
- border-radius: 50%;
247
- -webkit-appearance: none;
248
- appearance: none;
249
- }
250
- .duet-tooltip-close:focus {
251
- outline: none;
252
- box-shadow: 0 0 0 2px rgb(0, 119, 179);
253
- }
254
- .duet-theme-turva .duet-tooltip-close:focus {
255
- color: rgb(23, 28, 58);
256
- box-shadow: 0 0 0 2px rgb(23, 28, 58);
257
94
  }
@@ -52,14 +52,11 @@ export class DuetTooltip {
52
52
  };
53
53
  this.handleKeyDown = (e) => {
54
54
  const isEscapeKey = e.keyCode === 27;
55
- const isTabbingOut = e.target === this.scrollableEl && e.shiftKey && e.keyCode === 9;
55
+ const isTabbingOut = e.target === this.popupElement && e.shiftKey && e.keyCode === 9;
56
56
  if (isEscapeKey || isTabbingOut) {
57
57
  this.closeTooltip(true);
58
58
  }
59
59
  };
60
- this.handleCloseClick = () => {
61
- this.closeTooltip(true);
62
- };
63
60
  this.updatePlacement = async () => {
64
61
  var _a, _b;
65
62
  let preferRight = true;
@@ -76,10 +73,11 @@ export class DuetTooltip {
76
73
  else if (this.direction === "right") {
77
74
  placement = "top-start";
78
75
  }
79
- const position = await computePosition(this.buttonEl, this.tooltipEl, {
76
+ const position = await computePosition(this.buttonEl, this.popupElement, {
80
77
  placement,
81
78
  middleware: [flip(), shift({ padding: 5 }), arrow({ element: this.arrowEl })],
82
79
  });
80
+ // magic number adjustment for the tooltip position to cater for the arrow
83
81
  this.tooltipY = position.y;
84
82
  this.tooltipX = position.x;
85
83
  this.placement = position.placement;
@@ -127,7 +125,9 @@ export class DuetTooltip {
127
125
  componentWillLoad() {
128
126
  inheritGlobalTheme(this);
129
127
  }
130
- componentDidLoad() {
128
+ async componentDidLoad() {
129
+ this.arrowEl = await this.popupElement.getArrowElement();
130
+ this.contentEl = await this.popupElement.getContentElement();
131
131
  if (!Build.isServer) {
132
132
  this.updatePlacement();
133
133
  }
@@ -135,7 +135,14 @@ export class DuetTooltip {
135
135
  componentDidUpdate() {
136
136
  switch (this.focusTarget) {
137
137
  case "tooltip":
138
- this.scrollableEl.focus({ preventScroll: true });
138
+ this.contentEl.focus({ preventScroll: true });
139
+ // workaround for "user-is-tabbing" class not being applied inside shadow DOM
140
+ if (this.element.classList.contains("user-is-tabbing")) {
141
+ this.popupElement.classList.add("user-is-tabbing");
142
+ }
143
+ else {
144
+ this.popupElement.classList.remove("user-is-tabbing");
145
+ }
139
146
  break;
140
147
  case "trigger":
141
148
  this.buttonEl.focus({ preventScroll: true });
@@ -176,6 +183,9 @@ export class DuetTooltip {
176
183
  this.closeTooltip();
177
184
  }
178
185
  }
186
+ handlePopupClose() {
187
+ this.closeTooltip(true);
188
+ }
179
189
  async handleActiveChange(newActiveValue) {
180
190
  if (newActiveValue) {
181
191
  this.updatePlacement();
@@ -210,12 +220,7 @@ export class DuetTooltip {
210
220
  "duet-theme-turva": this.theme === "turva",
211
221
  } }, 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.accessibleInputLabel
212
222
  ? `${this.accessibleInputLabel}, ${this.accessibleLabel}`
213
- : this.accessibleLabel))), h("div", { ref: element => (this.tooltipEl = element), style: positionStyles, class: {
214
- "duet-tooltip": true,
215
- "duet-theme-turva": this.theme === "turva",
216
- "duet-tooltip-has-label": !!this.label,
217
- "duet-tooltip-active": this.active === true,
218
- }, onClick: e => e.stopPropagation(), onKeyDown: this.handleKeyDown, onFocusout: this.handleFocusOut }, h("div", { ref: element => (this.scrollableEl = element), class: "duet-tooltip-scrollable", tabindex: "0", id: this.tooltipId }, h("slot", null)), h("div", { ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: arrowStyles }, h("div", { class: { "arrow-container": true, [this.placement]: true } })), h("button", { type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick }, h("duet-icon", { name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", null, this.accessibleCloseLabel)))));
223
+ : this.accessibleLabel))), h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, onKeyDown: this.handleKeyDown, onFocusout: this.handleFocusOut }, h("slot", null))));
219
224
  }
220
225
  static get is() { return "duet-tooltip"; }
221
226
  static get encapsulation() { return "shadow"; }
@@ -555,6 +560,12 @@ export class DuetTooltip {
555
560
  "target": "document",
556
561
  "capture": false,
557
562
  "passive": false
563
+ }, {
564
+ "name": "tooltipPopupClosed",
565
+ "method": "handlePopupClose",
566
+ "target": undefined,
567
+ "capture": false,
568
+ "passive": false
558
569
  }];
559
570
  }
560
571
  }
@@ -8,7 +8,6 @@ import { debounce } from "../../utils/js-utils";
8
8
  import { getLocaleString, sanitizeString } from "../../utils/language-utils";
9
9
  import errorCodes from "./errorcodes.json";
10
10
  import { getI18nError } from "./errorcodes.utils";
11
- import { UploadItem } from "./upload-item";
12
11
  import { UploadItemHeader } from "./upload-item-header";
13
12
  import { filesToUploadCountAboveMax, validateFile, validateTotalAmountIsAboveMax, validateTotalSizeIsAboveMax, } from "./upload-validators";
14
13
  import { makeXhrRequest, } from "./xhr.helpers";
@@ -35,6 +34,7 @@ export class DuetUpload {
35
34
  this.bytesMaxReached = false;
36
35
  this.filesToUploadExceedsLimit = false;
37
36
  this.internalStatusMessageLabel = undefined;
37
+ this.itemRefs = new Map();
38
38
  /**
39
39
  * Properties
40
40
  */
@@ -107,16 +107,24 @@ export class DuetUpload {
107
107
  };
108
108
  this.mapFilesToUploadItems = (data, group, showCategory) => {
109
109
  if (group === this.DefaultGroups.success) {
110
- return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, onLinkClick: this.emitEvent ? this.onLinkClick : undefined, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
110
+ return (h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, linkClickEvent: this.emitEvent ? this.linkClick : undefined, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
111
+ this.itemRefs.set(data.uid, item);
112
+ } }));
111
113
  }
112
114
  else if (group === this.DefaultGroups.inprogress) {
113
- return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "inprogress", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
115
+ return (h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "inprogress", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
116
+ this.itemRefs.set(data.uid, item);
117
+ } }));
114
118
  }
115
119
  else if (group === this.DefaultGroups.pending) {
116
- return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "pending", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
120
+ return (h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "pending", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
121
+ this.itemRefs.set(data.uid, item);
122
+ } }));
117
123
  }
118
124
  else if (group === this.DefaultGroups.failure) {
119
- return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "failure", data: data, showLinks: this.showLinks, errorCodes: this.errorCodes, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
125
+ return (h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "failure", data: data, showLinks: this.showLinks, errorCodes: this.errorCodes, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
126
+ this.itemRefs.set(data.uid, item);
127
+ } }));
120
128
  }
121
129
  else if (data.group) {
122
130
  return data.html;
@@ -400,14 +408,6 @@ export class DuetUpload {
400
408
  data: { files: this.files },
401
409
  });
402
410
  };
403
- this.onLinkClick = (name, url, meta) => {
404
- if (this.emitEvent) {
405
- this.linkClick.emit({
406
- component: "duet-upload",
407
- data: { name, url, meta },
408
- });
409
- }
410
- };
411
411
  /**
412
412
  * @description This functions return sorted map items byg condition which are:
413
413
  */
@@ -469,6 +469,7 @@ export class DuetUpload {
469
469
  return this.actions.filter(item => item.map.includes(id));
470
470
  };
471
471
  this.renderUploadedItems = () => {
472
+ this.itemRefs.clear();
472
473
  const filteredItems = this.filterMap();
473
474
  const hasCategory = filteredItems.hasCategory;
474
475
  const ItemRows = this.groups.map(group => {
@@ -716,6 +717,10 @@ export class DuetUpload {
716
717
  async updateValue(item, key, value) {
717
718
  this.updateValueInMap(item, key, value);
718
719
  }
720
+ async focusActionButton(uid) {
721
+ var _a;
722
+ await ((_a = this.itemRefs.get(uid)) === null || _a === void 0 ? void 0 : _a.focusActionButton());
723
+ }
719
724
  /**
720
725
  * render() function
721
726
  * Always the last one in the class.
@@ -2208,6 +2213,25 @@ export class DuetUpload {
2208
2213
  "text": "Convenience method for updating the value of a key:value inside an item in the files attribute",
2209
2214
  "tags": []
2210
2215
  }
2216
+ },
2217
+ "focusActionButton": {
2218
+ "complexType": {
2219
+ "signature": "(uid: string) => Promise<void>",
2220
+ "parameters": [{
2221
+ "tags": [],
2222
+ "text": ""
2223
+ }],
2224
+ "references": {
2225
+ "Promise": {
2226
+ "location": "global"
2227
+ }
2228
+ },
2229
+ "return": "Promise<void>"
2230
+ },
2231
+ "docs": {
2232
+ "text": "",
2233
+ "tags": []
2234
+ }
2211
2235
  }
2212
2236
  };
2213
2237
  }