@duetds/components 7.0.13 → 7.1.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 (828) hide show
  1. package/hydrate/index.js +275 -37
  2. package/lib/cjs/duet-action-button.cjs.entry.js +5 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +4 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +6 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +5 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +5 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +5 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +5 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +16 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +5 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +5 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +18 -14
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +9 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +5 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -1
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +6 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -1
  25. package/lib/cjs/duet-footer.cjs.entry.js +5 -1
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-header_2.cjs.entry.js +5 -1
  28. package/lib/cjs/duet-hero.cjs.entry.js +6 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +5 -1
  30. package/lib/cjs/duet-input_2.cjs.entry.js +7 -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 +5 -1
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -1
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -1
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -1
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -1
  38. package/lib/cjs/duet-modal.cjs.entry.js +5 -3
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -1
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +8 -1
  42. package/lib/cjs/duet-number-input.cjs.entry.js +5 -1
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -1
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +5 -1
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-progress.cjs.entry.js +5 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -1
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -1
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +5 -1
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -7
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +5 -1
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +5 -1
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -1
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -1
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -2
  60. package/lib/cjs/duet-slideout.cjs.entry.js +4 -2
  61. package/lib/cjs/duet-step_2.cjs.entry.js +8 -1
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -1
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +5 -1
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -1
  66. package/lib/cjs/duet-textarea.cjs.entry.js +5 -1
  67. package/lib/cjs/duet-toggle.cjs.entry.js +5 -1
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -1
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -1
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -1
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +22 -2
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -6
  74. package/lib/cjs/duet-tray.cjs.entry.js +5 -1
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +9 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -1
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +6 -1
  78. package/lib/cjs/duet.cjs.js +2 -2
  79. package/lib/cjs/{focus-utils-a94e86a5.js → focus-utils-09463cf4.js} +1 -1
  80. package/lib/cjs/{index-04d05fd9.js → index-e43540c9.js} +1 -1
  81. package/lib/cjs/loader.cjs.js +2 -2
  82. package/lib/cjs/nudge-82021e4f.js +18 -0
  83. package/lib/cjs/{teleport-18e2b4b9.js → teleport-3166d264.js} +9 -12
  84. package/lib/collection/components/duet-action-button/duet-action-button.js +4 -0
  85. package/lib/collection/components/duet-alert/duet-alert.js +3 -0
  86. package/lib/collection/components/duet-badge/duet-badge.js +5 -0
  87. package/lib/collection/components/duet-banner/duet-banner.js +4 -0
  88. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -0
  89. package/lib/collection/components/duet-button/duet-button.js +4 -0
  90. package/lib/collection/components/duet-callout/duet-callout.js +4 -0
  91. package/lib/collection/components/duet-caption/duet-caption.js +5 -0
  92. package/lib/collection/components/duet-card/duet-card.js +4 -0
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.js +4 -0
  94. package/lib/collection/components/duet-chip/duet-chip.js +35 -14
  95. package/lib/collection/components/duet-choice/duet-choice.js +4 -0
  96. package/lib/collection/components/duet-choice-group/duet-choice-group.js +4 -0
  97. package/lib/collection/components/duet-collapsible/duet-collapsible.js +4 -0
  98. package/lib/collection/components/duet-contact-card/duet-contact-card.js +4 -0
  99. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +4 -0
  100. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -0
  101. package/lib/collection/components/duet-editable-table/duet-editable-table.js +4 -0
  102. package/lib/collection/components/duet-empty-state/duet-empty-state.js +5 -0
  103. package/lib/collection/components/duet-fieldset/duet-fieldset.js +4 -0
  104. package/lib/collection/components/duet-footer/duet-footer.js +4 -0
  105. package/lib/collection/components/duet-header/duet-header.js +4 -0
  106. package/lib/collection/components/duet-heading/duet-heading.js +4 -0
  107. package/lib/collection/components/duet-hero/duet-hero.css +30 -0
  108. package/lib/collection/components/duet-hero/duet-hero.js +4 -0
  109. package/lib/collection/components/duet-icon/duet-icon.js +4 -0
  110. package/lib/collection/components/duet-input/duet-input.js +2 -0
  111. package/lib/collection/components/duet-label/duet-label.js +5 -0
  112. package/lib/collection/components/duet-link/duet-link.js +5 -0
  113. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -0
  114. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +4 -0
  115. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -0
  116. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +4 -0
  117. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +4 -0
  118. package/lib/collection/components/duet-modal/duet-modal.js +2 -0
  119. package/lib/collection/components/duet-multiselect/duet-multiselect.js +4 -0
  120. package/lib/collection/components/duet-notification/duet-notification.js +4 -0
  121. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -0
  122. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -0
  123. package/lib/collection/components/duet-page-heading/duet-page-heading.js +4 -0
  124. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -0
  125. package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -0
  126. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -0
  127. package/lib/collection/components/duet-progress/duet-progress.js +4 -0
  128. package/lib/collection/components/duet-promo-card/duet-promo-card.js +4 -0
  129. package/lib/collection/components/duet-radio-group/duet-radio-group.js +4 -0
  130. package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -0
  131. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -0
  132. package/lib/collection/components/duet-scrollable/duet-scrollable.js +10 -8
  133. package/lib/collection/components/duet-select/duet-select.js +4 -0
  134. package/lib/collection/components/duet-show-more/duet-show-more.js +4 -0
  135. package/lib/collection/components/duet-slideout/duet-slideout.js +2 -0
  136. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +4 -0
  137. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +4 -0
  138. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +4 -0
  139. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -0
  140. package/lib/collection/components/duet-step/duet-step.js +4 -0
  141. package/lib/collection/components/duet-stepper/duet-stepper.js +4 -0
  142. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -0
  143. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -0
  144. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +4 -0
  145. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +4 -0
  146. package/lib/collection/components/duet-tab/duet-tab.js +5 -0
  147. package/lib/collection/components/duet-tab-group/duet-tab-group.js +2 -0
  148. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -0
  149. package/lib/collection/components/duet-toggle/duet-toggle.js +4 -0
  150. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -0
  151. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +4 -0
  152. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +4 -0
  153. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +4 -0
  154. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +20 -0
  155. package/lib/collection/components/duet-tooltip/duet-tooltip.js +3 -5
  156. package/lib/collection/components/duet-tray/duet-tray.js +4 -0
  157. package/lib/collection/components/duet-upload/duet-upload.js +4 -0
  158. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +8 -0
  159. package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -0
  160. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +5 -0
  161. package/lib/collection/utils/nudge.js +14 -0
  162. package/lib/collection/utils/teleport.js +9 -12
  163. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  164. package/lib/dist-custom-elements/duet-alert.js +1 -1
  165. package/lib/dist-custom-elements/duet-badge.js +1 -1
  166. package/lib/dist-custom-elements/duet-banner.js +8 -4
  167. package/lib/dist-custom-elements/duet-breadcrumb.js +6 -2
  168. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  169. package/lib/dist-custom-elements/duet-button.js +1 -1
  170. package/lib/dist-custom-elements/duet-callout.js +7 -3
  171. package/lib/dist-custom-elements/duet-caption.js +1 -1
  172. package/lib/dist-custom-elements/duet-card.js +7 -3
  173. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  174. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  175. package/lib/dist-custom-elements/duet-chip.js +21 -16
  176. package/lib/dist-custom-elements/duet-choice-group.js +12 -8
  177. package/lib/dist-custom-elements/duet-choice.js +9 -5
  178. package/lib/dist-custom-elements/duet-collapsible.js +6 -2
  179. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  180. package/lib/dist-custom-elements/duet-contact-card.js +12 -8
  181. package/lib/dist-custom-elements/duet-cookie-consent.js +10 -6
  182. package/lib/dist-custom-elements/duet-date-picker.js +16 -12
  183. package/lib/dist-custom-elements/duet-divider.js +1 -1
  184. package/lib/dist-custom-elements/duet-editable-table.js +11 -7
  185. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  186. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  187. package/lib/dist-custom-elements/duet-footer.js +8 -4
  188. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  189. package/lib/dist-custom-elements/duet-grid.js +1 -1
  190. package/lib/dist-custom-elements/duet-header.js +12 -8
  191. package/lib/dist-custom-elements/duet-heading.js +1 -1
  192. package/lib/dist-custom-elements/duet-hero.js +14 -10
  193. package/lib/dist-custom-elements/duet-icon.js +1 -1
  194. package/lib/dist-custom-elements/duet-input.js +1 -1
  195. package/lib/dist-custom-elements/duet-label.js +1 -1
  196. package/lib/dist-custom-elements/duet-layout.js +1 -1
  197. package/lib/dist-custom-elements/duet-link.js +1 -1
  198. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  199. package/lib/dist-custom-elements/duet-list.js +1 -1
  200. package/lib/dist-custom-elements/duet-logo.js +1 -1
  201. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -2
  202. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -2
  203. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -2
  204. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -2
  205. package/lib/dist-custom-elements/duet-menu-bar.js +4 -2
  206. package/lib/dist-custom-elements/duet-modal.js +10 -8
  207. package/lib/dist-custom-elements/duet-multiselect.js +14 -10
  208. package/lib/dist-custom-elements/duet-nav.js +1 -1
  209. package/lib/dist-custom-elements/duet-notification-drawer.js +8 -4
  210. package/lib/dist-custom-elements/duet-notification.js +6 -2
  211. package/lib/dist-custom-elements/duet-number-input.js +15 -11
  212. package/lib/dist-custom-elements/duet-page-heading.js +6 -2
  213. package/lib/dist-custom-elements/duet-pagination.js +15 -13
  214. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  215. package/lib/dist-custom-elements/duet-popup-menu-item.js +6 -2
  216. package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
  217. package/lib/dist-custom-elements/duet-progress.js +1 -1
  218. package/lib/dist-custom-elements/duet-promo-card.js +7 -3
  219. package/lib/dist-custom-elements/duet-radio-group.js +12 -8
  220. package/lib/dist-custom-elements/duet-radio.js +1 -1
  221. package/lib/dist-custom-elements/duet-range-slider.js +6 -2
  222. package/lib/dist-custom-elements/duet-range-stepper.js +6 -4
  223. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  224. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  225. package/lib/dist-custom-elements/duet-select.js +1 -1
  226. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  227. package/lib/dist-custom-elements/duet-show-more.js +9 -5
  228. package/lib/dist-custom-elements/duet-slideout-lang.js +6 -2
  229. package/lib/dist-custom-elements/duet-slideout-link.js +6 -2
  230. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -2
  231. package/lib/dist-custom-elements/duet-slideout-panel.js +6 -2
  232. package/lib/dist-custom-elements/duet-slideout.js +4 -2
  233. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  234. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  235. package/lib/dist-custom-elements/duet-step.js +8 -4
  236. package/lib/dist-custom-elements/duet-stepper.js +6 -2
  237. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -2
  238. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -2
  239. package/lib/dist-custom-elements/duet-submenu-bar-link.js +6 -2
  240. package/lib/dist-custom-elements/duet-submenu-bar.js +6 -2
  241. package/lib/dist-custom-elements/duet-tab-group.js +15 -13
  242. package/lib/dist-custom-elements/duet-tab.js +6 -1
  243. package/lib/dist-custom-elements/duet-table.js +1 -1
  244. package/lib/dist-custom-elements/duet-textarea.js +14 -10
  245. package/lib/dist-custom-elements/duet-toggle.js +6 -2
  246. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -2
  247. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -2
  248. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -2
  249. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  250. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  251. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  252. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  253. package/lib/dist-custom-elements/duet-tray.js +7 -3
  254. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  255. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  256. package/lib/dist-custom-elements/duet-upload.js +22 -18
  257. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  258. package/lib/dist-custom-elements/index.js +1 -1
  259. package/lib/dist-custom-elements/{p-32b3e436.js → p-12a46182.js} +1 -1
  260. package/lib/dist-custom-elements/{p-8a544a4a.js → p-1a8cb0ad.js} +1 -1
  261. package/lib/dist-custom-elements/{p-580110b9.js → p-1d90b10e.js} +1 -1
  262. package/lib/dist-custom-elements/{p-e8146874.js → p-21dd956e.js} +8 -3
  263. package/lib/dist-custom-elements/p-3ae39071.js +16 -0
  264. package/lib/dist-custom-elements/{p-235639a0.js → p-479fa83d.js} +7 -3
  265. package/lib/dist-custom-elements/{p-147839fe.js → p-4d9d4c43.js} +10 -2
  266. package/lib/dist-custom-elements/{p-ae9d10ef.js → p-53148470.js} +7 -2
  267. package/lib/dist-custom-elements/{p-811e436b.js → p-53fba128.js} +6 -1
  268. package/lib/dist-custom-elements/{p-216ee242.js → p-67b279fa.js} +5 -1
  269. package/lib/dist-custom-elements/{p-9510958d.js → p-6816fd1b.js} +8 -5
  270. package/lib/dist-custom-elements/{p-86766141.js → p-6958bba3.js} +15 -10
  271. package/lib/dist-custom-elements/{p-e4de8f7b.js → p-6a66573f.js} +8 -4
  272. package/lib/dist-custom-elements/{p-7ccf98f1.js → p-72c9e944.js} +6 -1
  273. package/lib/dist-custom-elements/{p-e7815ffd.js → p-77c93063.js} +1 -1
  274. package/lib/dist-custom-elements/{p-7a8c2aed.js → p-7c6ee265.js} +8 -10
  275. package/lib/dist-custom-elements/{p-3b2d38bd.js → p-85087518.js} +6 -2
  276. package/lib/dist-custom-elements/{p-70bf0b69.js → p-87cf7266.js} +13 -11
  277. package/lib/dist-custom-elements/{p-778299c4.js → p-89dec98e.js} +6 -2
  278. package/lib/dist-custom-elements/{p-31d056ee.js → p-954d4096.js} +12 -10
  279. package/lib/dist-custom-elements/{p-457ad3b4.js → p-99ec82e5.js} +5 -1
  280. package/lib/dist-custom-elements/{p-7394e25f.js → p-9c1b089a.js} +9 -12
  281. package/lib/dist-custom-elements/{p-6ff6de66.js → p-a5b5343b.js} +12 -8
  282. package/lib/dist-custom-elements/{p-b4fb8e06.js → p-ad704699.js} +20 -3
  283. package/lib/dist-custom-elements/{p-9ec763ef.js → p-c2533c03.js} +1 -1
  284. package/lib/dist-custom-elements/{p-891cf00a.js → p-cedaa97e.js} +1 -1
  285. package/lib/dist-custom-elements/{p-5128c90e.js → p-d6e49c93.js} +6 -2
  286. package/lib/dist-custom-elements/{p-89f61853.js → p-d8859df9.js} +1 -1
  287. package/lib/dist-custom-elements/{p-54138086.js → p-d8c53f43.js} +1 -1
  288. package/lib/dist-custom-elements/{p-dddcc1da.js → p-dd33aa4e.js} +1 -1
  289. package/lib/dist-custom-elements/{p-87ab6444.js → p-decdd69c.js} +5 -1
  290. package/lib/dist-custom-elements/{p-6658c850.js → p-e611a3df.js} +5 -1
  291. package/lib/dist-custom-elements/{p-fbdc5afe.js → p-e90b70ac.js} +1 -1
  292. package/lib/dist-custom-elements/{p-735d77aa.js → p-f7337164.js} +6 -1
  293. package/lib/dist-custom-elements/{p-e9d838dd.js → p-fc3ae836.js} +1 -1
  294. package/lib/dist-custom-elements/{p-444a8a81.js → p-fcc738df.js} +6 -1
  295. package/lib/duet/duet.esm.js +1 -1
  296. package/lib/duet/duet.js +1 -1
  297. package/lib/duet/p-00743d6c.system.entry.js +4 -0
  298. package/lib/duet/p-00a893c1.js +4 -0
  299. package/lib/duet/p-014edbda.system.entry.js +4 -0
  300. package/lib/duet/p-0414004a.entry.js +4 -0
  301. package/lib/duet/p-0762d0ce.system.entry.js +4 -0
  302. package/lib/duet/p-096d7724.entry.js +4 -0
  303. package/lib/duet/p-0b38374b.system.entry.js +4 -0
  304. package/lib/duet/p-0bb83776.system.entry.js +4 -0
  305. package/lib/duet/p-0c203d28.entry.js +4 -0
  306. package/lib/duet/p-0dfe14d3.entry.js +4 -0
  307. package/lib/duet/p-0ea3453c.system.entry.js +4 -0
  308. package/lib/duet/p-0f2664ed.entry.js +4 -0
  309. package/lib/duet/{p-7fe6bf2c.system.entry.js → p-15a77012.system.entry.js} +1 -1
  310. package/lib/duet/p-1853e4e5.system.entry.js +4 -0
  311. package/lib/duet/p-1c8634b1.entry.js +4 -0
  312. package/lib/duet/{p-0acc8f88.system.entry.js → p-1e3f0d63.system.entry.js} +1 -1
  313. package/lib/duet/p-1e709927.system.entry.js +4 -0
  314. package/lib/duet/p-1e88edec.entry.js +4 -0
  315. package/lib/duet/p-20767b15.system.entry.js +4 -0
  316. package/lib/duet/p-22acfa83.entry.js +4 -0
  317. package/lib/duet/p-24bc0b8c.entry.js +4 -0
  318. package/lib/duet/p-250745c0.system.entry.js +4 -0
  319. package/lib/duet/p-2556c6f0.system.entry.js +4 -0
  320. package/lib/duet/{p-1d463cc4.system.entry.js → p-285b2d7b.system.entry.js} +1 -1
  321. package/lib/duet/p-29a6d3b3.entry.js +4 -0
  322. package/lib/duet/p-2bec5be2.entry.js +4 -0
  323. package/lib/duet/p-2d7d1ff7.entry.js +4 -0
  324. package/lib/duet/p-2e54c1f8.system.entry.js +4 -0
  325. package/lib/duet/p-2e54c214.entry.js +4 -0
  326. package/lib/duet/p-3092d696.system.entry.js +4 -0
  327. package/lib/duet/p-30d1b2b5.entry.js +4 -0
  328. package/lib/duet/p-31d63beb.system.entry.js +4 -0
  329. package/lib/duet/p-3344fca3.entry.js +4 -0
  330. package/lib/duet/{p-a678835a.entry.js → p-34aa54e1.entry.js} +1 -1
  331. package/lib/duet/p-3538b0af.entry.js +4 -0
  332. package/lib/duet/{p-25495204.system.entry.js → p-3768dda7.system.entry.js} +1 -1
  333. package/lib/duet/p-37ee4ceb.system.entry.js +4 -0
  334. package/lib/duet/p-3878572f.entry.js +4 -0
  335. package/lib/duet/p-39c72a24.system.entry.js +4 -0
  336. package/lib/duet/p-3a9779ee.entry.js +4 -0
  337. package/lib/duet/p-3ae39071.js +4 -0
  338. package/lib/duet/p-3b85f649.system.entry.js +4 -0
  339. package/lib/duet/p-3c2f1fd0.entry.js +4 -0
  340. package/lib/duet/p-42c64bb8.system.entry.js +4 -0
  341. package/lib/duet/{p-7dc87593.system.entry.js → p-457ae87b.system.entry.js} +1 -1
  342. package/lib/duet/p-469892f4.system.entry.js +4 -0
  343. package/lib/duet/p-4903f5c4.system.entry.js +4 -0
  344. package/lib/duet/p-4b71c8e9.entry.js +4 -0
  345. package/lib/duet/p-4c04b1c6.entry.js +4 -0
  346. package/lib/duet/p-51328149.entry.js +4 -0
  347. package/lib/duet/p-529dc6fe.entry.js +4 -0
  348. package/lib/duet/p-54c07ffa.system.entry.js +4 -0
  349. package/lib/duet/p-5ab4d5d4.entry.js +4 -0
  350. package/lib/duet/p-5ac682b3.system.entry.js +4 -0
  351. package/lib/duet/p-5f2fc4bd.entry.js +4 -0
  352. package/lib/duet/{p-16abb2d5.system.entry.js → p-5f46f02e.system.entry.js} +1 -1
  353. package/lib/duet/p-5fb428c8.system.entry.js +4 -0
  354. package/lib/duet/p-60b4b7c1.system.js +4 -0
  355. package/lib/duet/p-64710156.entry.js +4 -0
  356. package/lib/duet/p-651d430e.system.entry.js +4 -0
  357. package/lib/duet/p-673a726a.entry.js +4 -0
  358. package/lib/duet/p-6b2c127a.entry.js +4 -0
  359. package/lib/duet/p-6d09651a.entry.js +4 -0
  360. package/lib/duet/p-6d620156.system.entry.js +4 -0
  361. package/lib/duet/p-6d71214f.entry.js +4 -0
  362. package/lib/duet/p-703c3662.system.entry.js +4 -0
  363. package/lib/duet/p-70c7a137.system.entry.js +4 -0
  364. package/lib/duet/p-729f35d8.system.entry.js +4 -0
  365. package/lib/duet/p-73242991.entry.js +4 -0
  366. package/lib/duet/{p-18f1d30e.js → p-733bb740.js} +1 -1
  367. package/lib/duet/p-737167be.system.js +4 -0
  368. package/lib/duet/p-73c9436a.entry.js +4 -0
  369. package/lib/duet/p-79266582.system.entry.js +4 -0
  370. package/lib/duet/p-792cbd42.system.entry.js +4 -0
  371. package/lib/duet/p-7966dc5b.system.entry.js +4 -0
  372. package/lib/duet/p-7a7da6cf.system.entry.js +4 -0
  373. package/lib/duet/p-7be35e53.system.entry.js +4 -0
  374. package/lib/duet/p-7ee29cc1.system.entry.js +4 -0
  375. package/lib/duet/{p-e7cc2826.system.entry.js → p-8156e5a5.system.entry.js} +1 -1
  376. package/lib/duet/{p-a87a2760.system.entry.js → p-8304e300.system.entry.js} +2 -2
  377. package/lib/duet/p-84390ead.entry.js +4 -0
  378. package/lib/duet/{p-b760effb.entry.js → p-84ebe175.entry.js} +1 -1
  379. package/lib/duet/p-85605193.system.entry.js +4 -0
  380. package/lib/duet/p-86b83b73.system.entry.js +4 -0
  381. package/lib/duet/p-88c01d1c.entry.js +4 -0
  382. package/lib/duet/{p-8a3fcbdb.system.entry.js → p-8ac518e1.system.entry.js} +1 -1
  383. package/lib/duet/p-90f97748.entry.js +4 -0
  384. package/lib/duet/p-92c7c0ba.entry.js +4 -0
  385. package/lib/duet/p-9601bad5.entry.js +4 -0
  386. package/lib/duet/p-962a83ef.entry.js +4 -0
  387. package/lib/duet/{p-e91a7222.entry.js → p-97076e02.entry.js} +1 -1
  388. package/lib/duet/p-9b992ce9.entry.js +4 -0
  389. package/lib/duet/p-9bdf6ce2.entry.js +4 -0
  390. package/lib/duet/p-9c1b089a.js +4 -0
  391. package/lib/duet/p-9c5860a3.entry.js +4 -0
  392. package/lib/duet/{p-e4734600.entry.js → p-9d317471.entry.js} +1 -1
  393. package/lib/duet/p-9f65b014.system.entry.js +4 -0
  394. package/lib/duet/p-9f975819.system.entry.js +4 -0
  395. package/lib/duet/{p-a7c2017b.system.js → p-9f97eb07.system.js} +1 -1
  396. package/lib/duet/p-a095c36f.system.entry.js +4 -0
  397. package/lib/duet/p-a276bfbd.entry.js +4 -0
  398. package/lib/duet/{p-213ba11f.entry.js → p-a322b729.entry.js} +1 -1
  399. package/lib/duet/p-a620d583.system.entry.js +4 -0
  400. package/lib/duet/p-a64cf9f8.system.entry.js +4 -0
  401. package/lib/duet/p-a6f6f073.system.entry.js +4 -0
  402. package/lib/duet/p-a7915b7d.entry.js +4 -0
  403. package/lib/duet/p-a922b309.system.entry.js +4 -0
  404. package/lib/duet/p-aa634481.entry.js +4 -0
  405. package/lib/duet/p-ab2d8091.entry.js +4 -0
  406. package/lib/duet/p-acb9ba1b.system.entry.js +4 -0
  407. package/lib/duet/p-acfae908.system.entry.js +4 -0
  408. package/lib/duet/p-ad70248d.entry.js +4 -0
  409. package/lib/duet/p-b3a1ea89.system.entry.js +4 -0
  410. package/lib/duet/p-b41ed3c4.entry.js +4 -0
  411. package/lib/duet/{p-f5903e7d.entry.js → p-b42b2676.entry.js} +1 -1
  412. package/lib/duet/p-b529eb0c.system.entry.js +4 -0
  413. package/lib/duet/p-b52f8ce1.entry.js +4 -0
  414. package/lib/duet/p-b6c212f5.system.entry.js +4 -0
  415. package/lib/duet/{p-0c6705bb.system.entry.js → p-b6cf05c0.system.entry.js} +1 -1
  416. package/lib/duet/p-b6e50064.entry.js +4 -0
  417. package/lib/duet/p-baef301c.system.entry.js +4 -0
  418. package/lib/duet/{p-e4e0578f.entry.js → p-bb5d22df.entry.js} +1 -1
  419. package/lib/duet/p-bc7c47f4.system.entry.js +4 -0
  420. package/lib/duet/p-bdb50607.system.entry.js +4 -0
  421. package/lib/duet/{p-4ab24dcd.entry.js → p-c135039c.entry.js} +1 -1
  422. package/lib/duet/p-c52e0917.entry.js +4 -0
  423. package/lib/duet/p-c655b7d1.system.entry.js +4 -0
  424. package/lib/duet/p-c8536d3f.entry.js +4 -0
  425. package/lib/duet/p-c8836a67.system.entry.js +4 -0
  426. package/lib/duet/p-ca112a3f.system.entry.js +4 -0
  427. package/lib/duet/p-cc48a8a0.system.entry.js +4 -0
  428. package/lib/duet/p-cfe09501.system.entry.js +4 -0
  429. package/lib/duet/p-d79fa6a4.system.entry.js +4 -0
  430. package/lib/duet/{p-429a181d.system.entry.js → p-d86480ea.system.entry.js} +1 -1
  431. package/lib/duet/{p-c201968f.entry.js → p-da7cc3d1.entry.js} +1 -1
  432. package/lib/duet/p-db2865b5.entry.js +4 -0
  433. package/lib/duet/p-dde971f6.system.entry.js +4 -0
  434. package/lib/duet/{p-6d711206.entry.js → p-e2daed97.entry.js} +1 -1
  435. package/lib/duet/p-e30d6bee.system.entry.js +4 -0
  436. package/lib/duet/p-e4fd145a.entry.js +4 -0
  437. package/lib/duet/p-e52631b1.entry.js +4 -0
  438. package/lib/duet/p-e58f4a37.entry.js +4 -0
  439. package/lib/duet/p-e62f72a3.entry.js +4 -0
  440. package/lib/duet/p-e96bed1e.system.entry.js +4 -0
  441. package/lib/duet/p-ea4f5d13.system.entry.js +4 -0
  442. package/lib/duet/p-ebf4a629.entry.js +4 -0
  443. package/lib/duet/p-edbc2774.entry.js +4 -0
  444. package/lib/duet/p-ee0ca0fd.entry.js +4 -0
  445. package/lib/duet/p-f30d3b09.system.entry.js +4 -0
  446. package/lib/duet/p-f5c2ccce.entry.js +4 -0
  447. package/lib/duet/p-f5e12c14.system.entry.js +4 -0
  448. package/lib/duet/p-f702fd53.entry.js +4 -0
  449. package/lib/duet/p-f7793f52.entry.js +4 -0
  450. package/lib/duet/{p-8db716f2.system.entry.js → p-f9f1c707.system.entry.js} +1 -1
  451. package/lib/duet/p-fa5bcc42.system.js +4 -0
  452. package/lib/duet/{p-7804ff1e.entry.js → p-fb238069.entry.js} +1 -1
  453. package/lib/duet/{p-7174ea1e.entry.js → p-fb7d7222.entry.js} +1 -1
  454. package/lib/duet/{p-3cb9e865.system.js → p-fc1fee5c.system.js} +1 -1
  455. package/lib/duet/p-fc26d56a.entry.js +4 -0
  456. package/lib/duet/p-fc6d2bf4.entry.js +4 -0
  457. package/lib/duet/p-ff9ef21e.system.entry.js +4 -0
  458. package/lib/esm/duet-action-button.entry.js +5 -1
  459. package/lib/esm/duet-alert.entry.js +4 -1
  460. package/lib/esm/duet-badge.entry.js +6 -1
  461. package/lib/esm/duet-banner.entry.js +5 -1
  462. package/lib/esm/duet-breadcrumb.entry.js +5 -1
  463. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  464. package/lib/esm/duet-button_2.entry.js +5 -1
  465. package/lib/esm/duet-callout.entry.js +5 -1
  466. package/lib/esm/duet-caption_4.entry.js +16 -1
  467. package/lib/esm/duet-card.entry.js +5 -1
  468. package/lib/esm/duet-checkbox.entry.js +5 -1
  469. package/lib/esm/duet-checkmark.entry.js +1 -1
  470. package/lib/esm/duet-chip.entry.js +18 -14
  471. package/lib/esm/duet-choice_2.entry.js +9 -2
  472. package/lib/esm/duet-collapsible.entry.js +5 -1
  473. package/lib/esm/duet-combobox.entry.js +1 -1
  474. package/lib/esm/duet-contact-card.entry.js +5 -1
  475. package/lib/esm/duet-cookie-consent.entry.js +5 -1
  476. package/lib/esm/duet-date-picker.entry.js +6 -2
  477. package/lib/esm/duet-divider_2.entry.js +1 -1
  478. package/lib/esm/duet-editable-table_3.entry.js +8 -1
  479. package/lib/esm/duet-empty-state.entry.js +6 -1
  480. package/lib/esm/duet-fieldset.entry.js +5 -1
  481. package/lib/esm/duet-footer.entry.js +5 -1
  482. package/lib/esm/duet-grid_2.entry.js +1 -1
  483. package/lib/esm/duet-header_2.entry.js +5 -1
  484. package/lib/esm/duet-hero.entry.js +6 -2
  485. package/lib/esm/duet-icon.entry.js +5 -1
  486. package/lib/esm/duet-input_2.entry.js +7 -1
  487. package/lib/esm/duet-layout.entry.js +1 -1
  488. package/lib/esm/duet-list_2.entry.js +1 -1
  489. package/lib/esm/duet-menu-bar-button.entry.js +5 -1
  490. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -1
  491. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -1
  492. package/lib/esm/duet-menu-bar-link.entry.js +5 -1
  493. package/lib/esm/duet-menu-bar.entry.js +3 -1
  494. package/lib/esm/duet-modal.entry.js +5 -3
  495. package/lib/esm/duet-multiselect.entry.js +5 -1
  496. package/lib/esm/duet-nav.entry.js +1 -1
  497. package/lib/esm/duet-notification_2.entry.js +8 -1
  498. package/lib/esm/duet-number-input.entry.js +5 -1
  499. package/lib/esm/duet-page-heading.entry.js +5 -1
  500. package/lib/esm/duet-pagination_2.entry.js +4 -1
  501. package/lib/esm/duet-popup-menu-item.entry.js +5 -1
  502. package/lib/esm/duet-popup-menu.entry.js +2 -2
  503. package/lib/esm/duet-progress.entry.js +5 -1
  504. package/lib/esm/duet-promo-card.entry.js +5 -1
  505. package/lib/esm/duet-radio_2.entry.js +5 -1
  506. package/lib/esm/duet-range-slider.entry.js +5 -1
  507. package/lib/esm/duet-scrollable_3.entry.js +14 -7
  508. package/lib/esm/duet-section-layout.entry.js +1 -1
  509. package/lib/esm/duet-select.entry.js +5 -1
  510. package/lib/esm/duet-shaped-image.entry.js +1 -1
  511. package/lib/esm/duet-show-more.entry.js +5 -1
  512. package/lib/esm/duet-slideout-lang.entry.js +5 -1
  513. package/lib/esm/duet-slideout-link.entry.js +5 -1
  514. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -1
  515. package/lib/esm/duet-slideout-panel.entry.js +6 -2
  516. package/lib/esm/duet-slideout.entry.js +4 -2
  517. package/lib/esm/duet-step_2.entry.js +8 -1
  518. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -1
  519. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -1
  520. package/lib/esm/duet-submenu-bar-link.entry.js +5 -1
  521. package/lib/esm/duet-submenu-bar.entry.js +5 -1
  522. package/lib/esm/duet-textarea.entry.js +5 -1
  523. package/lib/esm/duet-toggle.entry.js +5 -1
  524. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -1
  525. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -1
  526. package/lib/esm/duet-toolbar-link.entry.js +5 -1
  527. package/lib/esm/duet-toolbar.entry.js +1 -1
  528. package/lib/esm/duet-tooltip-button_2.entry.js +22 -2
  529. package/lib/esm/duet-tooltip.entry.js +4 -6
  530. package/lib/esm/duet-tray.entry.js +5 -1
  531. package/lib/esm/duet-upload-aria-status.entry.js +9 -1
  532. package/lib/esm/duet-upload-item.entry.js +6 -1
  533. package/lib/esm/duet-visually-hidden.entry.js +6 -1
  534. package/lib/esm/duet.js +3 -3
  535. package/lib/esm/{focus-utils-e26ba3b3.js → focus-utils-8fc4feb5.js} +1 -1
  536. package/lib/esm/{index-c1a17a4c.js → index-b1b085ac.js} +1 -1
  537. package/lib/esm/loader.js +3 -3
  538. package/lib/esm/nudge-a828c525.js +16 -0
  539. package/lib/esm/{teleport-6b18ccae.js → teleport-467626fe.js} +9 -12
  540. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  541. package/lib/esm-es5/duet-alert.entry.js +1 -1
  542. package/lib/esm-es5/duet-badge.entry.js +1 -1
  543. package/lib/esm-es5/duet-banner.entry.js +1 -1
  544. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  545. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  546. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  547. package/lib/esm-es5/duet-callout.entry.js +1 -1
  548. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  549. package/lib/esm-es5/duet-card.entry.js +1 -1
  550. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  551. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  552. package/lib/esm-es5/duet-chip.entry.js +1 -1
  553. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  554. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  555. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  556. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  557. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  558. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  559. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  560. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  561. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  562. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  563. package/lib/esm-es5/duet-footer.entry.js +2 -2
  564. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  565. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  566. package/lib/esm-es5/duet-hero.entry.js +1 -1
  567. package/lib/esm-es5/duet-icon.entry.js +1 -1
  568. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  569. package/lib/esm-es5/duet-layout.entry.js +1 -1
  570. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  571. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  572. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  573. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  574. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  575. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  576. package/lib/esm-es5/duet-modal.entry.js +1 -1
  577. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  578. package/lib/esm-es5/duet-nav.entry.js +1 -1
  579. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  580. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  581. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  582. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  583. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  584. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  585. package/lib/esm-es5/duet-progress.entry.js +1 -1
  586. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  587. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  588. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  589. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  590. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  591. package/lib/esm-es5/duet-select.entry.js +1 -1
  592. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  593. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  594. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  595. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  596. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  597. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  598. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  599. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  601. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  602. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  603. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  604. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  605. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  606. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  607. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  608. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  609. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  610. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  611. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  612. package/lib/esm-es5/duet-tray.entry.js +1 -1
  613. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  614. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  615. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  616. package/lib/esm-es5/duet.js +1 -1
  617. package/lib/esm-es5/{focus-utils-e26ba3b3.js → focus-utils-8fc4feb5.js} +1 -1
  618. package/lib/esm-es5/{index-c1a17a4c.js → index-b1b085ac.js} +1 -1
  619. package/lib/esm-es5/loader.js +1 -1
  620. package/lib/esm-es5/nudge-a828c525.js +4 -0
  621. package/lib/esm-es5/teleport-467626fe.js +4 -0
  622. package/lib/types/components/duet-action-button/duet-action-button.d.ts +1 -0
  623. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
  624. package/lib/types/components/duet-badge/duet-badge.d.ts +2 -0
  625. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
  626. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -0
  627. package/lib/types/components/duet-button/duet-button.d.ts +1 -0
  628. package/lib/types/components/duet-callout/duet-callout.d.ts +1 -0
  629. package/lib/types/components/duet-caption/duet-caption.d.ts +2 -0
  630. package/lib/types/components/duet-card/duet-card.d.ts +1 -0
  631. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -0
  632. package/lib/types/components/duet-chip/duet-chip.d.ts +6 -1
  633. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -0
  634. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  635. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
  636. package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +1 -0
  637. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -0
  638. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -0
  639. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
  640. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +2 -0
  641. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -0
  642. package/lib/types/components/duet-footer/duet-footer.d.ts +1 -0
  643. package/lib/types/components/duet-header/duet-header.d.ts +1 -0
  644. package/lib/types/components/duet-heading/duet-heading.d.ts +1 -0
  645. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  646. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -0
  647. package/lib/types/components/duet-label/duet-label.d.ts +2 -0
  648. package/lib/types/components/duet-link/duet-link.d.ts +2 -0
  649. package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -0
  650. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -0
  651. package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +1 -0
  652. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -0
  653. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -1
  654. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
  655. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  656. package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -0
  657. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
  658. package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +1 -0
  659. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  660. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  661. package/lib/types/components/duet-progress/duet-progress.d.ts +1 -0
  662. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
  663. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  664. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +1 -0
  665. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
  666. package/lib/types/components/duet-select/duet-select.d.ts +1 -0
  667. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  668. package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +1 -0
  669. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +1 -0
  670. package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +1 -0
  671. package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +1 -0
  672. package/lib/types/components/duet-step/duet-step.d.ts +1 -0
  673. package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -0
  674. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +1 -0
  675. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -0
  676. package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +1 -0
  677. package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -0
  678. package/lib/types/components/duet-tab/duet-tab.d.ts +2 -0
  679. package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -0
  680. package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -0
  681. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -0
  682. package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +1 -0
  683. package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +1 -0
  684. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
  685. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +3 -0
  686. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +0 -1
  687. package/lib/types/components/duet-tray/duet-tray.d.ts +1 -0
  688. package/lib/types/components/duet-upload/duet-upload.d.ts +1 -0
  689. package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +5 -0
  690. package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +2 -0
  691. package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +2 -0
  692. package/lib/types/components.d.ts +8 -0
  693. package/lib/types/utils/nudge.d.ts +7 -0
  694. package/lib/types/utils/teleport.d.ts +0 -2
  695. package/package.json +5 -5
  696. package/lib/duet/p-00abf5b6.entry.js +0 -4
  697. package/lib/duet/p-02b7e1ef.system.entry.js +0 -4
  698. package/lib/duet/p-02f1d7cc.system.js +0 -4
  699. package/lib/duet/p-0478d0eb.entry.js +0 -4
  700. package/lib/duet/p-04940a8a.system.entry.js +0 -4
  701. package/lib/duet/p-059c9d4e.entry.js +0 -4
  702. package/lib/duet/p-066f7fdf.entry.js +0 -4
  703. package/lib/duet/p-076228e9.system.entry.js +0 -4
  704. package/lib/duet/p-076aef18.entry.js +0 -4
  705. package/lib/duet/p-0b0a898d.entry.js +0 -4
  706. package/lib/duet/p-0c3d7e64.system.entry.js +0 -4
  707. package/lib/duet/p-0e697654.system.entry.js +0 -4
  708. package/lib/duet/p-0ffc3cf9.entry.js +0 -4
  709. package/lib/duet/p-108d9370.system.entry.js +0 -4
  710. package/lib/duet/p-11e79c8c.system.entry.js +0 -4
  711. package/lib/duet/p-14285f86.system.entry.js +0 -4
  712. package/lib/duet/p-14bd6514.entry.js +0 -4
  713. package/lib/duet/p-1719aa4e.entry.js +0 -4
  714. package/lib/duet/p-1b398a07.entry.js +0 -4
  715. package/lib/duet/p-1c0ad101.system.entry.js +0 -4
  716. package/lib/duet/p-23ba9eba.entry.js +0 -4
  717. package/lib/duet/p-243a9ef5.system.entry.js +0 -4
  718. package/lib/duet/p-24e2be74.entry.js +0 -4
  719. package/lib/duet/p-29280d68.entry.js +0 -4
  720. package/lib/duet/p-2992af15.entry.js +0 -4
  721. package/lib/duet/p-29be2109.entry.js +0 -4
  722. package/lib/duet/p-29f1e1a4.system.entry.js +0 -4
  723. package/lib/duet/p-2bf922c1.system.js +0 -4
  724. package/lib/duet/p-2e9a772c.entry.js +0 -4
  725. package/lib/duet/p-2ea04945.entry.js +0 -4
  726. package/lib/duet/p-2eabea79.entry.js +0 -4
  727. package/lib/duet/p-31b566c1.entry.js +0 -4
  728. package/lib/duet/p-3346552d.entry.js +0 -4
  729. package/lib/duet/p-34928212.entry.js +0 -4
  730. package/lib/duet/p-3536fd40.system.entry.js +0 -4
  731. package/lib/duet/p-356745e0.system.entry.js +0 -4
  732. package/lib/duet/p-3709d186.entry.js +0 -4
  733. package/lib/duet/p-380c94f6.system.entry.js +0 -4
  734. package/lib/duet/p-388e6ec4.entry.js +0 -4
  735. package/lib/duet/p-3ec86ced.entry.js +0 -4
  736. package/lib/duet/p-417357f9.system.entry.js +0 -4
  737. package/lib/duet/p-427dbb96.system.entry.js +0 -4
  738. package/lib/duet/p-43b0c3d2.system.entry.js +0 -4
  739. package/lib/duet/p-43b42819.entry.js +0 -4
  740. package/lib/duet/p-45bec102.entry.js +0 -4
  741. package/lib/duet/p-46b3ed07.entry.js +0 -4
  742. package/lib/duet/p-4a4faa7d.entry.js +0 -4
  743. package/lib/duet/p-4e886433.system.entry.js +0 -4
  744. package/lib/duet/p-521c96ec.entry.js +0 -4
  745. package/lib/duet/p-56952081.entry.js +0 -4
  746. package/lib/duet/p-5738c25c.system.entry.js +0 -4
  747. package/lib/duet/p-60a70493.entry.js +0 -4
  748. package/lib/duet/p-67862509.system.entry.js +0 -4
  749. package/lib/duet/p-67d9de79.system.entry.js +0 -4
  750. package/lib/duet/p-6c93f614.system.entry.js +0 -4
  751. package/lib/duet/p-6d74aac6.system.entry.js +0 -4
  752. package/lib/duet/p-6f677b2a.system.entry.js +0 -4
  753. package/lib/duet/p-6f6a58e4.system.entry.js +0 -4
  754. package/lib/duet/p-701b89a1.entry.js +0 -4
  755. package/lib/duet/p-70477e77.system.entry.js +0 -4
  756. package/lib/duet/p-7260f799.entry.js +0 -4
  757. package/lib/duet/p-7326a4c0.system.entry.js +0 -4
  758. package/lib/duet/p-7394e25f.js +0 -4
  759. package/lib/duet/p-74216caa.entry.js +0 -4
  760. package/lib/duet/p-79075bec.system.entry.js +0 -4
  761. package/lib/duet/p-7ac0621b.system.entry.js +0 -4
  762. package/lib/duet/p-7b7faa01.system.entry.js +0 -4
  763. package/lib/duet/p-7cf9e266.system.entry.js +0 -4
  764. package/lib/duet/p-81c35152.entry.js +0 -4
  765. package/lib/duet/p-822a791e.entry.js +0 -4
  766. package/lib/duet/p-8364fae3.entry.js +0 -4
  767. package/lib/duet/p-8433b6d1.system.entry.js +0 -4
  768. package/lib/duet/p-850eacf6.entry.js +0 -4
  769. package/lib/duet/p-87ca87df.entry.js +0 -4
  770. package/lib/duet/p-8810df88.js +0 -4
  771. package/lib/duet/p-8b5d616e.system.entry.js +0 -4
  772. package/lib/duet/p-8b641c9c.system.entry.js +0 -4
  773. package/lib/duet/p-8e5253bc.entry.js +0 -4
  774. package/lib/duet/p-97fc4a88.system.entry.js +0 -4
  775. package/lib/duet/p-98488fab.system.entry.js +0 -4
  776. package/lib/duet/p-9949a334.entry.js +0 -4
  777. package/lib/duet/p-9ce8627c.system.entry.js +0 -4
  778. package/lib/duet/p-9d505129.system.entry.js +0 -4
  779. package/lib/duet/p-9e3276c6.system.entry.js +0 -4
  780. package/lib/duet/p-9f9ada02.system.entry.js +0 -4
  781. package/lib/duet/p-a374de00.entry.js +0 -4
  782. package/lib/duet/p-a39844b6.entry.js +0 -4
  783. package/lib/duet/p-a8e6dcb9.entry.js +0 -4
  784. package/lib/duet/p-ac962b74.system.entry.js +0 -4
  785. package/lib/duet/p-afee3739.system.entry.js +0 -4
  786. package/lib/duet/p-b0475c8a.entry.js +0 -4
  787. package/lib/duet/p-b07fe45f.system.entry.js +0 -4
  788. package/lib/duet/p-b465c929.entry.js +0 -4
  789. package/lib/duet/p-b71c141b.system.entry.js +0 -4
  790. package/lib/duet/p-b7605eb1.entry.js +0 -4
  791. package/lib/duet/p-b7e61bdc.system.entry.js +0 -4
  792. package/lib/duet/p-b8b12400.system.entry.js +0 -4
  793. package/lib/duet/p-b9eb37ae.system.entry.js +0 -4
  794. package/lib/duet/p-bd594a8b.entry.js +0 -4
  795. package/lib/duet/p-bde9a702.system.entry.js +0 -4
  796. package/lib/duet/p-c1573ac3.system.entry.js +0 -4
  797. package/lib/duet/p-c1fb544b.system.entry.js +0 -4
  798. package/lib/duet/p-c2731be1.system.entry.js +0 -4
  799. package/lib/duet/p-c2b0861c.system.entry.js +0 -4
  800. package/lib/duet/p-c3a883e3.entry.js +0 -4
  801. package/lib/duet/p-c4fac0b5.system.entry.js +0 -4
  802. package/lib/duet/p-cb451f23.entry.js +0 -4
  803. package/lib/duet/p-cba1009b.entry.js +0 -4
  804. package/lib/duet/p-cd05fea5.system.entry.js +0 -4
  805. package/lib/duet/p-cf824b6b.system.entry.js +0 -4
  806. package/lib/duet/p-d183a3e7.system.entry.js +0 -4
  807. package/lib/duet/p-d1f815a3.system.entry.js +0 -4
  808. package/lib/duet/p-d4d63fbd.system.entry.js +0 -4
  809. package/lib/duet/p-d68c84ab.entry.js +0 -4
  810. package/lib/duet/p-d6d5ef13.entry.js +0 -4
  811. package/lib/duet/p-d7c5ac53.entry.js +0 -4
  812. package/lib/duet/p-db6887df.entry.js +0 -4
  813. package/lib/duet/p-db95e133.entry.js +0 -4
  814. package/lib/duet/p-dfc66b98.entry.js +0 -4
  815. package/lib/duet/p-e27a7520.system.entry.js +0 -4
  816. package/lib/duet/p-e356ca29.entry.js +0 -4
  817. package/lib/duet/p-e3f8becc.entry.js +0 -4
  818. package/lib/duet/p-e50d1003.system.entry.js +0 -4
  819. package/lib/duet/p-e9b8cee0.system.entry.js +0 -4
  820. package/lib/duet/p-ea1287ce.system.entry.js +0 -4
  821. package/lib/duet/p-f0317574.entry.js +0 -4
  822. package/lib/duet/p-f27b134c.system.entry.js +0 -4
  823. package/lib/duet/p-f74b6629.entry.js +0 -4
  824. package/lib/duet/p-faf2b9d1.entry.js +0 -4
  825. package/lib/duet/p-fbdb1eec.entry.js +0 -4
  826. package/lib/duet/p-fc0f56ae.system.entry.js +0 -4
  827. package/lib/duet/p-fee0f558.entry.js +0 -4
  828. package/lib/esm-es5/teleport-6b18ccae.js +0 -4
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
+ import { nudge } from "../../utils/nudge";
6
7
  /**
7
8
  * @internal
8
9
  * This component is solely for internal use by duet-tooltip.
@@ -21,6 +22,9 @@ export class DuetTooltipButton {
21
22
  componentWillLoad() {
22
23
  inheritGlobalTheme(this);
23
24
  }
25
+ componentDidLoad() {
26
+ nudge(this);
27
+ }
24
28
  async setFocus(options) {
25
29
  if (this.buttonElement) {
26
30
  this.buttonElement.focus(options);
@@ -4,6 +4,8 @@
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
6
  import { FocusGuard } from "../../utils/focus-utils";
7
+ import { nudge } from "../../utils/nudge";
8
+ import { Teleport } from "../../utils/teleport";
7
9
  /**
8
10
  * @internal
9
11
  * This component is solely for internal use by duet-tooltip.
@@ -20,11 +22,23 @@ export class DuetTooltipPopup {
20
22
  this.placement = undefined;
21
23
  this.accessibleCloseLabel = undefined;
22
24
  }
25
+ handleActiveChange() {
26
+ if (this.active) {
27
+ this.teleport.go();
28
+ }
29
+ else {
30
+ this.teleport.resume(200);
31
+ }
32
+ }
23
33
  /**
24
34
  * Component lifecycle events.
25
35
  */
26
36
  componentWillLoad() {
27
37
  inheritGlobalTheme(this);
38
+ this.teleport = new Teleport(this.element);
39
+ }
40
+ componentDidLoad() {
41
+ nudge(this);
28
42
  }
29
43
  async getArrowElement() {
30
44
  return this.arrowEl;
@@ -245,4 +259,10 @@ export class DuetTooltipPopup {
245
259
  };
246
260
  }
247
261
  static get elementRef() { return "element"; }
262
+ static get watchers() {
263
+ return [{
264
+ "propName": "active",
265
+ "methodName": "handleActiveChange"
266
+ }];
267
+ }
248
268
  }
@@ -8,7 +8,7 @@ import { inheritGlobalTheme } from "../../common";
8
8
  import { createID } from "../../utils/create-id";
9
9
  import { isEscapeKey } from "../../utils/keyboard-utils";
10
10
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
11
- import { Teleport } from "../../utils/teleport";
11
+ import { nudge } from "../../utils/nudge";
12
12
  export class DuetTooltip {
13
13
  constructor() {
14
14
  /**
@@ -25,7 +25,6 @@ export class DuetTooltip {
25
25
  this.openTooltip = () => {
26
26
  this.active = true;
27
27
  this.focusTarget = "tooltip";
28
- this.teleport.go();
29
28
  };
30
29
  this.closeTooltip = (moveFocusToButton = false) => {
31
30
  this.active = false;
@@ -33,7 +32,6 @@ export class DuetTooltip {
33
32
  this.focusTarget = "trigger";
34
33
  }
35
34
  setTimeout(() => {
36
- this.teleport.resume();
37
35
  this.updatePlacement();
38
36
  }, 200);
39
37
  };
@@ -102,7 +100,6 @@ export class DuetTooltip {
102
100
  async componentDidLoad() {
103
101
  this.arrowEl = await this.popupElement.getArrowElement();
104
102
  this.contentEl = await this.popupElement.getContentElement();
105
- this.teleport = new Teleport(this.popupElement);
106
103
  if (!Build.isServer) {
107
104
  this.updatePlacement();
108
105
  }
@@ -111,6 +108,7 @@ export class DuetTooltip {
111
108
  }
112
109
  this.intersectionObserver = new IntersectionObserver(this.updatePlacement, { root: document.body });
113
110
  this.intersectionObserver.observe(this.element);
111
+ nudge(this);
114
112
  }
115
113
  componentDidUpdate() {
116
114
  switch (this.focusTarget) {
@@ -173,7 +171,7 @@ export class DuetTooltip {
173
171
  }
174
172
  async handleActiveChange(newActiveValue) {
175
173
  if (newActiveValue) {
176
- this.updatePlacement();
174
+ setTimeout(() => this.updatePlacement(), 10);
177
175
  }
178
176
  else {
179
177
  setTimeout(() => this.updatePlacement(), 300);
@@ -6,6 +6,7 @@ import { Fragment, h } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
7
  import { createID } from "../../utils/create-id";
8
8
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
9
+ import { nudge } from "../../utils/nudge";
9
10
  const topOffset = parseFloat(sizeHeader) * 2 * 16; // convert rem -> px
10
11
  /**
11
12
  * @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
@@ -56,6 +57,9 @@ export class DuetTray {
56
57
  inheritGlobalTheme(this);
57
58
  this.hasAdditionalContent = !!this.element.querySelector("[slot='additional']");
58
59
  }
60
+ componentDidLoad() {
61
+ nudge(this);
62
+ }
59
63
  connectedCallback() {
60
64
  connectLanguageChangeObserver(this, [
61
65
  { prop: "accessibleOpenLabel", defaults: "accessibleOpenLabelDefaults" },
@@ -6,6 +6,7 @@ import { inheritGlobalTheme } from "../../common";
6
6
  import { createID } from "../../utils/create-id";
7
7
  import { debounce } from "../../utils/js-utils";
8
8
  import { getLocaleString, sanitizeString } from "../../utils/language-utils";
9
+ import { nudge } from "../../utils/nudge";
9
10
  import errorCodes from "./errorcodes.json";
10
11
  import { getI18nError } from "./errorcodes.utils";
11
12
  import { UploadItemHeader } from "./upload-item-header";
@@ -664,6 +665,9 @@ export class DuetUpload {
664
665
  this.onReady();
665
666
  this.externalUploadButton = document.querySelector(`#${this.externalUploadButtonId}`);
666
667
  }
668
+ componentDidLoad() {
669
+ nudge(this);
670
+ }
667
671
  componentWillRender() {
668
672
  // listen to the events from the component
669
673
  this.verifyValidity();
@@ -2,6 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
+ import { nudge } from "../../utils/nudge";
5
6
  export class DuetUploadAriaStatus {
6
7
  constructor() {
7
8
  /**
@@ -55,6 +56,12 @@ export class DuetUploadAriaStatus {
55
56
  this.getStatusMessage();
56
57
  }
57
58
  }
59
+ /**
60
+ * Component lifecycle events.
61
+ */
62
+ componentDidLoad() {
63
+ nudge(this);
64
+ }
58
65
  /**
59
66
  * render() function
60
67
  * Always the last one in the class.
@@ -184,6 +191,7 @@ export class DuetUploadAriaStatus {
184
191
  "statusMessage": {}
185
192
  };
186
193
  }
194
+ static get elementRef() { return "element"; }
187
195
  static get watchers() {
188
196
  return [{
189
197
  "propName": "valid",
@@ -4,6 +4,7 @@
4
4
  import { h } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
6
  import { getLocaleString } from "../../utils/language-utils";
7
+ import { nudge } from "../../utils/nudge";
7
8
  import { getI18nError } from "../duet-upload/errorcodes.utils";
8
9
  import { formatBytes } from "../duet-upload/upload.helpers";
9
10
  export class DuetUploadItem {
@@ -40,6 +41,9 @@ export class DuetUploadItem {
40
41
  componentWillLoad() {
41
42
  inheritGlobalTheme(this);
42
43
  }
44
+ componentDidLoad() {
45
+ nudge(this);
46
+ }
43
47
  /**
44
48
  * focusActionButton.
45
49
  */
@@ -300,4 +304,5 @@ export class DuetUploadItem {
300
304
  }
301
305
  };
302
306
  }
307
+ static get elementRef() { return "element"; }
303
308
  }
@@ -2,7 +2,11 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
+ import { nudge } from "../../utils/nudge";
5
6
  export class DuetVisuallyHidden {
7
+ componentDidLoad() {
8
+ nudge(this);
9
+ }
6
10
  /**
7
11
  * render() function
8
12
  * Always the last one in the class.
@@ -22,4 +26,5 @@ export class DuetVisuallyHidden {
22
26
  "$": ["duet-visually-hidden.css"]
23
27
  };
24
28
  }
29
+ static get elementRef() { return "element"; }
25
30
  }
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ /**
5
+ * This function is a workaround for a bug in Chromium-based browsers, where building the accessibility tree fails
6
+ * with nested shadow roots. See https://atlassian.lahitapiola.fi/jira/browse/DUET-780
7
+ */
8
+ export function nudge(component) {
9
+ setTimeout(() => {
10
+ const el = document.createElement("template");
11
+ component.element.appendChild(el);
12
+ el.remove();
13
+ }, 10);
14
+ }
@@ -10,7 +10,6 @@
10
10
  */
11
11
  export class Teleport {
12
12
  constructor(element, target) {
13
- this.isReact = this._isReact();
14
13
  this.isActive = false;
15
14
  this.element = element;
16
15
  this.target = target || document.body;
@@ -20,13 +19,12 @@ export class Teleport {
20
19
  * @param makeSiblingsInert - make all siblings of the element inert, use only with modals
21
20
  */
22
21
  go(makeSiblingsInert = false) {
23
- // Teleporting breaks modals in React
24
- if (this.isReact && makeSiblingsInert) {
25
- return;
22
+ // React handles teleporting itself with portals
23
+ if (!this.element.dataset.reactPortal) {
24
+ this.stub = document.createElement("template");
25
+ this.element.insertAdjacentElement("afterend", this.stub);
26
+ this.target.appendChild(this.element);
26
27
  }
27
- this.stub = document.createElement("div");
28
- this.element.insertAdjacentElement("afterend", this.stub);
29
- this.target.appendChild(this.element);
30
28
  if (makeSiblingsInert) {
31
29
  this._makeSiblingsInert();
32
30
  }
@@ -47,8 +45,10 @@ export class Teleport {
47
45
  }
48
46
  }
49
47
  _resume() {
50
- this.stub.insertAdjacentElement("beforebegin", this.element);
51
- this.stub.remove();
48
+ if (!this.element.dataset.reactPortal) {
49
+ this.stub.insertAdjacentElement("beforebegin", this.element);
50
+ this.stub.remove();
51
+ }
52
52
  this._removeInertFromSiblings();
53
53
  this.deletionObserver.disconnect();
54
54
  }
@@ -92,7 +92,4 @@ export class Teleport {
92
92
  }
93
93
  });
94
94
  }
95
- _isReact() {
96
- return !!Object.keys(document).find(key => key.includes("react"));
97
- }
98
95
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-235639a0.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-479fa83d.js';
5
5
 
6
6
  const DuetActionButton = DuetActionButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-9510958d.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-6816fd1b.js';
5
5
 
6
6
  const DuetAlert = DuetAlert$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-811e436b.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-53fba128.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,12 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-580110b9.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-1d90b10e.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
+ import { n as nudge } from './p-3ae39071.js';
6
7
  import { g as getColorByName } from './p-03e72a70.js';
7
- import { d as defineCustomElement$4 } from './p-457ad3b4.js';
8
- import { d as defineCustomElement$3 } from './p-6658c850.js';
9
- import { d as defineCustomElement$2 } from './p-87ab6444.js';
8
+ import { d as defineCustomElement$4 } from './p-99ec82e5.js';
9
+ import { d as defineCustomElement$3 } from './p-e611a3df.js';
10
+ import { d as defineCustomElement$2 } from './p-decdd69c.js';
10
11
 
11
12
  const duetBannerCss = "*,*::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:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height: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;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
12
13
 
@@ -35,6 +36,9 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
35
36
  this.hasDescriptionSlot = !!this.element.querySelector('[slot="description"]');
36
37
  this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
37
38
  }
39
+ componentDidLoad() {
40
+ nudge(this);
41
+ }
38
42
  /**
39
43
  * render() function
40
44
  * Always the last one of the class.
@@ -1,10 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-580110b9.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-1d90b10e.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-03baceb5.js';
7
- import { d as defineCustomElement$2 } from './p-6658c850.js';
7
+ import { n as nudge } from './p-3ae39071.js';
8
+ import { d as defineCustomElement$2 } from './p-e611a3df.js';
8
9
 
9
10
  var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
10
11
 
@@ -32,6 +33,9 @@ const DuetBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
32
33
  componentWillLoad() {
33
34
  inheritGlobalTheme(this);
34
35
  }
36
+ componentDidLoad() {
37
+ nudge(this);
38
+ }
35
39
  connectedCallback() {
36
40
  connectLanguageChangeObserver(this);
37
41
  }
@@ -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-580110b9.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-1d90b10e.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { g as getLocaleString } from './p-03baceb5.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetButton$1, d as defineCustomElement$1 } from './p-e4de8f7b.js';
4
+ import { D as DuetButton$1, d as defineCustomElement$1 } from './p-6a66573f.js';
5
5
 
6
6
  const DuetButton = DuetButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,10 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-580110b9.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-1d90b10e.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$3 } from './p-6658c850.js';
7
- import { d as defineCustomElement$2 } from './p-87ab6444.js';
6
+ import { n as nudge } from './p-3ae39071.js';
7
+ import { d as defineCustomElement$3 } from './p-e611a3df.js';
8
+ import { d as defineCustomElement$2 } from './p-decdd69c.js';
8
9
 
9
10
  const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
10
11
 
@@ -24,6 +25,9 @@ const DuetCallout$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
24
25
  inheritGlobalTheme(this);
25
26
  this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
26
27
  }
28
+ componentDidLoad() {
29
+ nudge(this);
30
+ }
27
31
  /**
28
32
  * render() function
29
33
  * Always the last one in the class.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-7ccf98f1.js';
4
+ import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-72c9e944.js';
5
5
 
6
6
  const DuetCaption = DuetCaption$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,14 +1,15 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-580110b9.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-1d90b10e.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
7
  import { i as isKeyboardClick } from './p-d8549efe.js';
8
+ import { n as nudge } from './p-3ae39071.js';
8
9
  import { s as sanitizeString } from './p-5a9d75e1.js';
9
10
  import { g as getColorByName } from './p-03e72a70.js';
10
- import { d as defineCustomElement$3 } from './p-6658c850.js';
11
- import { d as defineCustomElement$2 } from './p-891cf00a.js';
11
+ import { d as defineCustomElement$3 } from './p-e611a3df.js';
12
+ import { d as defineCustomElement$2 } from './p-cedaa97e.js';
12
13
 
13
14
  const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
14
15
  const duetBlock = "div";
@@ -65,6 +66,9 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
65
66
  this.hasHeadingSlot = !!this.element.querySelector(":scope > [slot='heading']");
66
67
  this.hasFooter = !!this.element.querySelector("[slot='footer']");
67
68
  }
69
+ componentDidLoad() {
70
+ nudge(this);
71
+ }
68
72
  renderHeading() {
69
73
  const safeHeadingLevel = sanitizeString(this.headingLevel);
70
74
  const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-216ee242.js';
4
+ import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-67b279fa.js';
5
5
 
6
6
  const DuetCheckbox = DuetCheckbox$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-9ec763ef.js';
4
+ import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-c2533c03.js';
5
5
 
6
6
  const DuetCheckmark = DuetCheckmark$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,10 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-580110b9.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1d90b10e.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
- import { d as defineCustomElement$2 } from './p-6658c850.js';
7
+ import { n as nudge } from './p-3ae39071.js';
8
+ import { d as defineCustomElement$2 } from './p-e611a3df.js';
8
9
 
9
10
  const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
10
11
 
@@ -21,12 +22,11 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
21
22
  */
22
23
  this.chipId = createID("DuetChip");
23
24
  this.popupSetUp = () => {
24
- const popup = this.element.querySelector("duet-popup-menu");
25
+ const popup = document.querySelector(`duet-popup-menu#${this.popup}`);
25
26
  if (popup) {
26
- this.popup = popup;
27
+ this.popupElement = popup;
27
28
  popup.controller = this.element;
28
- const labelSpan = this.element.querySelector("span");
29
- const originalText = labelSpan.textContent;
29
+ const originalText = this.element.textContent;
30
30
  const originalValue = this.value;
31
31
  if (!popup.id) {
32
32
  popup.id = "popup-menu";
@@ -46,13 +46,13 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
46
46
  if (!item.active) {
47
47
  clearActive();
48
48
  item.active = true;
49
- labelSpan.textContent = item.innerText;
49
+ this.element.textContent = item.innerText;
50
50
  this.value = value;
51
51
  this.checked = true;
52
52
  }
53
53
  else {
54
54
  clearActive();
55
- labelSpan.textContent = originalText;
55
+ this.element.textContent = originalText;
56
56
  this.value = originalValue;
57
57
  this.checked = false;
58
58
  }
@@ -61,8 +61,8 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
61
61
  // Chrome will emit a separate click event on the chip after the popup is closed, resulting popup.toggle() to
62
62
  // open the popup again. Firefox does not have this behavior.
63
63
  setTimeout(() => {
64
- if (this.popup.isOpen()) {
65
- this.popup.hide();
64
+ if (this.popupElement.isOpen()) {
65
+ this.popupElement.hide();
66
66
  }
67
67
  });
68
68
  });
@@ -123,10 +123,10 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
123
123
  evt.preventDefault();
124
124
  return;
125
125
  }
126
- if (this.popup) {
126
+ if (this.popupElement) {
127
127
  evt.stopPropagation();
128
128
  evt.preventDefault();
129
- this.popup.toggle();
129
+ this.popupElement.toggle();
130
130
  }
131
131
  };
132
132
  /**
@@ -138,10 +138,11 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
138
138
  this.element.remove();
139
139
  };
140
140
  this.focus = false;
141
- this.popup = undefined;
141
+ this.popupElement = undefined;
142
142
  this.popupOpen = undefined;
143
143
  this.accessibleLabel = undefined;
144
144
  this.variation = "button";
145
+ this.popup = undefined;
145
146
  this.icon = "";
146
147
  this.theme = "";
147
148
  this.identifier = undefined;
@@ -167,6 +168,9 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
167
168
  inheritGlobalTheme(this);
168
169
  this.popupSetUp();
169
170
  }
171
+ componentDidLoad() {
172
+ nudge(this);
173
+ }
170
174
  /**
171
175
  * Sets focus. Use this method instead of the global focus().
172
176
  */
@@ -181,7 +185,7 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
181
185
  [`duet-chip-${this.variation}`]: true,
182
186
  "duet-chip-focus": this.focus,
183
187
  "duet-chip-has-icon": !!this.icon,
184
- "duet-chip-has-popup": this.variation === "filter" && !!this.popup,
188
+ "duet-chip-has-popup": this.variation === "filter" && !!this.popupElement,
185
189
  "duet-theme-turva": this.theme === "turva",
186
190
  "duet-chip-filter-checked": this.variation === "filter" && this.checked,
187
191
  "duet-chip-radio-checked": this.variation === "radio" && this.checked,
@@ -193,7 +197,7 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
193
197
  onBlur: this.onBlur,
194
198
  ref: el => (this.focusableElement = el),
195
199
  };
196
- return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, class: "duet-chip-input-button", "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ "aria-haspopup": this.popup && "menu", "aria-controls": (_a = this.popup) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.popup ? (this.popupOpen ? "true" : "false") : undefined, "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null), this.popup && (h("div", { class: "duet-chip-popup-disclosure" }, h("duet-icon", { name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("div", { class: classes }, h("input", Object.assign({ "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "radio", name: this.name, value: this.value, checked: this.checked, onChange: this.onRadioChange, onClick: this.disabled ? evt => evt.preventDefault() : undefined }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null))))));
200
+ return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, class: "duet-chip-input-button", "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ "aria-haspopup": this.popupElement && "menu", "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.popupElement ? (this.popupOpen ? "true" : "false") : undefined, "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null), this.popupElement && (h("div", { class: "duet-chip-popup-disclosure" }, h("duet-icon", { name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("div", { class: classes }, h("input", Object.assign({ "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "radio", name: this.name, value: this.value, checked: this.checked, onChange: this.onRadioChange, onClick: this.disabled ? evt => evt.preventDefault() : undefined }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null))))));
197
201
  }
198
202
  get element() { return this; }
199
203
  static get watchers() { return {
@@ -203,6 +207,7 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
203
207
  }, [1, "duet-chip", {
204
208
  "accessibleLabel": [1, "accessible-label"],
205
209
  "variation": [1],
210
+ "popup": [1],
206
211
  "icon": [1],
207
212
  "theme": [1025],
208
213
  "identifier": [1],
@@ -211,7 +216,7 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
211
216
  "checked": [1540],
212
217
  "disabled": [4],
213
218
  "focus": [32],
214
- "popup": [32],
219
+ "popupElement": [32],
215
220
  "popupOpen": [32],
216
221
  "setFocus": [64]
217
222
  }]);