@duetds/components 7.1.2 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (697) hide show
  1. package/README.md +5 -38
  2. package/hydrate/index.js +231 -194
  3. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  4. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
  12. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +39 -49
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout.cjs.entry.js +51 -19
  62. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  68. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +7 -4
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +3 -3
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-c58cda6e.js → focus-utils-cc0e6f8e.js} +1 -1
  81. package/lib/cjs/{index-690ed579.js → index-83a4e16a.js} +2 -9
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/{nudge-ee03ce2e.js → nudge-84818dad.js} +3 -6
  84. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  85. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  86. package/lib/collection/components/duet-button/duet-button.e2e.js +6 -4
  87. package/lib/collection/components/duet-button/duet-button.js +5 -5
  88. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  89. package/lib/collection/components/duet-card/duet-card.js +3 -3
  90. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  91. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  92. package/lib/collection/components/duet-choice/duet-choice.css +6 -0
  93. package/lib/collection/components/duet-choice/duet-choice.e2e.js +3 -0
  94. package/lib/collection/components/duet-choice/duet-choice.js +52 -4
  95. package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -1
  96. package/lib/collection/components/duet-choice-group/duet-choice-group.js +22 -42
  97. package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -2
  98. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  99. package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +21 -8
  100. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  101. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -4
  102. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  103. package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -1
  104. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  105. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  106. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  107. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  108. package/lib/collection/components/duet-footer/duet-footer.e2e.js +11 -10
  109. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  110. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  111. package/lib/collection/components/duet-header/duet-header.e2e.js +5 -3
  112. package/lib/collection/components/duet-header/duet-header.js +15 -15
  113. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  114. package/lib/collection/components/duet-hero/duet-hero.e2e.js +1 -1
  115. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  116. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  117. package/lib/collection/components/duet-input/duet-input.js +8 -8
  118. package/lib/collection/components/duet-label/duet-label.js +2 -2
  119. package/lib/collection/components/duet-layout/duet-layout.e2e.js +1 -1
  120. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  121. package/lib/collection/components/duet-link/duet-link.js +2 -1
  122. package/lib/collection/components/duet-list/duet-list.js +3 -3
  123. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  124. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  125. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  126. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  127. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  128. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  129. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  130. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  131. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  132. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  133. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  134. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  135. package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +1 -0
  136. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  137. package/lib/collection/components/duet-select/duet-select.js +5 -5
  138. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  139. package/lib/collection/components/duet-slideout/duet-slideout.js +103 -22
  140. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  141. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  142. package/lib/collection/components/duet-step/duet-step.e2e.js +2 -0
  143. package/lib/collection/components/duet-step/duet-step.js +2 -2
  144. package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -1
  145. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  146. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  147. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  148. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  149. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  150. package/lib/collection/components/duet-upload/duet-upload.e2e.js +2 -3
  151. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  152. package/lib/collection/components/duet-upload-item/duet-upload-item.css +3 -0
  153. package/lib/collection/components/duet-upload-item/duet-upload-item.js +12 -2
  154. package/lib/collection/utils/nudge.js +3 -6
  155. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  156. package/lib/dist-custom-elements/duet-alert.js +1 -1
  157. package/lib/dist-custom-elements/duet-badge.js +1 -1
  158. package/lib/dist-custom-elements/duet-banner.js +6 -6
  159. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  160. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  161. package/lib/dist-custom-elements/duet-button.js +1 -1
  162. package/lib/dist-custom-elements/duet-callout.js +5 -5
  163. package/lib/dist-custom-elements/duet-caption.js +1 -1
  164. package/lib/dist-custom-elements/duet-card.js +5 -5
  165. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  166. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  167. package/lib/dist-custom-elements/duet-chip.js +4 -4
  168. package/lib/dist-custom-elements/duet-choice-group.js +32 -52
  169. package/lib/dist-custom-elements/duet-choice.js +19 -9
  170. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  171. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  172. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  173. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
  174. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  175. package/lib/dist-custom-elements/duet-divider.js +1 -1
  176. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  177. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  178. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  179. package/lib/dist-custom-elements/duet-footer.js +6 -6
  180. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  181. package/lib/dist-custom-elements/duet-grid.js +1 -1
  182. package/lib/dist-custom-elements/duet-header.js +10 -10
  183. package/lib/dist-custom-elements/duet-heading.js +1 -1
  184. package/lib/dist-custom-elements/duet-hero.js +11 -11
  185. package/lib/dist-custom-elements/duet-icon.js +1 -1
  186. package/lib/dist-custom-elements/duet-input.js +1 -1
  187. package/lib/dist-custom-elements/duet-label.js +1 -1
  188. package/lib/dist-custom-elements/duet-layout.js +1 -1
  189. package/lib/dist-custom-elements/duet-link.js +1 -1
  190. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  191. package/lib/dist-custom-elements/duet-list.js +1 -1
  192. package/lib/dist-custom-elements/duet-logo.js +1 -1
  193. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  194. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  195. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  196. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  197. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  198. package/lib/dist-custom-elements/duet-modal.js +9 -9
  199. package/lib/dist-custom-elements/duet-multiselect.js +12 -12
  200. package/lib/dist-custom-elements/duet-nav.js +1 -1
  201. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  202. package/lib/dist-custom-elements/duet-notification.js +4 -4
  203. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  204. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  205. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  206. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  207. package/lib/dist-custom-elements/duet-popup-menu-item.js +4 -4
  208. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  209. package/lib/dist-custom-elements/duet-progress.js +1 -1
  210. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  211. package/lib/dist-custom-elements/duet-radio-group.js +10 -10
  212. package/lib/dist-custom-elements/duet-radio.js +1 -1
  213. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  214. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  215. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  216. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  217. package/lib/dist-custom-elements/duet-select.js +1 -1
  218. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  219. package/lib/dist-custom-elements/duet-show-more.js +7 -7
  220. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  221. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  222. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +4 -4
  223. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  224. package/lib/dist-custom-elements/duet-slideout.js +54 -19
  225. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  226. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  227. package/lib/dist-custom-elements/duet-step.js +6 -6
  228. package/lib/dist-custom-elements/duet-stepper.js +4 -4
  229. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  230. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  231. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  232. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  233. package/lib/dist-custom-elements/duet-tab-group.js +15 -15
  234. package/lib/dist-custom-elements/duet-tab.js +3 -3
  235. package/lib/dist-custom-elements/duet-table.js +1 -1
  236. package/lib/dist-custom-elements/duet-textarea.js +12 -12
  237. package/lib/dist-custom-elements/duet-toggle.js +4 -4
  238. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  239. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  240. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  241. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  242. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  243. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  244. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  245. package/lib/dist-custom-elements/duet-tray.js +5 -5
  246. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  247. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  248. package/lib/dist-custom-elements/duet-upload.js +20 -20
  249. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  250. package/lib/dist-custom-elements/index.js +1 -1
  251. package/lib/dist-custom-elements/{p-9f8e1aca.js → p-01270b45.js} +7 -7
  252. package/lib/dist-custom-elements/{p-6d492269.js → p-0e282936.js} +7 -7
  253. package/lib/dist-custom-elements/{p-2c71a27f.js → p-162263aa.js} +1 -1
  254. package/lib/dist-custom-elements/{p-f99ec481.js → p-1c02d280.js} +12 -12
  255. package/lib/dist-custom-elements/{p-88eed3e1.js → p-22af2160.js} +1 -1
  256. package/lib/dist-custom-elements/{p-c4dd0df2.js → p-24aae259.js} +3 -3
  257. package/lib/dist-custom-elements/{p-a83ac481.js → p-2f3372c0.js} +1 -1
  258. package/lib/dist-custom-elements/{p-948bdce9.js → p-32b30c68.js} +6 -6
  259. package/lib/{esm/nudge-560904c3.js → dist-custom-elements/p-432baa8a.js} +3 -6
  260. package/lib/dist-custom-elements/{p-0b57c524.js → p-46ff61f9.js} +3 -3
  261. package/lib/dist-custom-elements/{p-35de375b.js → p-480a5be7.js} +3 -3
  262. package/lib/dist-custom-elements/{p-e81b7043.js → p-55b3b241.js} +1 -1
  263. package/lib/dist-custom-elements/{p-ff199982.js → p-659bf49b.js} +2 -2
  264. package/lib/dist-custom-elements/{p-dca02738.js → p-6c16fe57.js} +1 -1
  265. package/lib/dist-custom-elements/{p-b3d7f37b.js → p-6c770205.js} +4 -4
  266. package/lib/dist-custom-elements/{p-a25a0c57.js → p-71297fec.js} +3 -3
  267. package/lib/dist-custom-elements/{p-630ecbb3.js → p-74e94bc1.js} +1 -1
  268. package/lib/dist-custom-elements/{p-c9e95a9c.js → p-78b427e2.js} +7 -7
  269. package/lib/dist-custom-elements/{p-acba25ec.js → p-7b274ffe.js} +3 -3
  270. package/lib/dist-custom-elements/{p-0ba124b9.js → p-84c65409.js} +4 -4
  271. package/lib/dist-custom-elements/{p-a1becc63.js → p-8ac1057e.js} +5 -5
  272. package/lib/dist-custom-elements/{p-67c36e47.js → p-8d7e2f66.js} +5 -5
  273. package/lib/dist-custom-elements/{p-1e4076af.js → p-925ad8ed.js} +3 -3
  274. package/lib/dist-custom-elements/{p-c0599d67.js → p-9e520c3a.js} +6 -6
  275. package/lib/dist-custom-elements/{p-2641fc0a.js → p-a64a4c3b.js} +10 -10
  276. package/lib/dist-custom-elements/{p-b0e6db65.js → p-a79c1568.js} +3 -3
  277. package/lib/dist-custom-elements/{p-d10ecec6.js → p-abd29848.js} +3 -3
  278. package/lib/dist-custom-elements/{p-493cc4fa.js → p-ba7a34cd.js} +16 -13
  279. package/lib/dist-custom-elements/{p-9c86efb4.js → p-bf9ea499.js} +1 -1
  280. package/lib/dist-custom-elements/{p-8bf1f4a8.js → p-ce7a0836.js} +1 -1
  281. package/lib/dist-custom-elements/{p-58de13d4.js → p-d019896a.js} +1 -1
  282. package/lib/dist-custom-elements/{p-d9120001.js → p-d0cac9bf.js} +4 -4
  283. package/lib/dist-custom-elements/{p-8ad6dca9.js → p-d363a6c4.js} +4 -4
  284. package/lib/dist-custom-elements/{p-1486b0c1.js → p-dabae35a.js} +4 -4
  285. package/lib/dist-custom-elements/{p-912094d4.js → p-ef176315.js} +1 -1
  286. package/lib/duet/duet.esm.js +1 -1
  287. package/lib/duet/duet.js +1 -1
  288. package/lib/duet/p-049a6e11.system.entry.js +4 -0
  289. package/lib/duet/{p-cf78c0e7.system.entry.js → p-0521fafd.system.entry.js} +1 -1
  290. package/lib/duet/{p-929f96e6.entry.js → p-052388fa.entry.js} +1 -1
  291. package/lib/duet/p-0717c4c7.entry.js +4 -0
  292. package/lib/duet/{p-f45d7795.system.entry.js → p-080eb720.system.entry.js} +1 -1
  293. package/lib/duet/p-0a29f14a.entry.js +4 -0
  294. package/lib/duet/{p-245fb629.system.entry.js → p-0c40e7e7.system.entry.js} +1 -1
  295. package/lib/duet/{p-b4f0714b.system.entry.js → p-11dba68c.system.entry.js} +1 -1
  296. package/lib/duet/p-155b532a.system.js +4 -0
  297. package/lib/duet/{p-a27749fc.system.entry.js → p-159c8e28.system.entry.js} +1 -1
  298. package/lib/duet/{p-ea17a879.entry.js → p-1ab09b3e.entry.js} +1 -1
  299. package/lib/duet/{p-06352a34.system.entry.js → p-1b446001.system.entry.js} +1 -1
  300. package/lib/duet/p-1c05d649.system.js +5 -0
  301. package/lib/duet/{p-b7746ffa.system.entry.js → p-1fcdd1b4.system.entry.js} +1 -1
  302. package/lib/duet/{p-e04bf7e7.system.entry.js → p-216daf71.system.entry.js} +1 -1
  303. package/lib/duet/{p-1fcbfb23.system.entry.js → p-22879034.system.entry.js} +1 -1
  304. package/lib/duet/{p-35a932ab.system.entry.js → p-2365860c.system.entry.js} +1 -1
  305. package/lib/duet/{p-6f399f72.entry.js → p-23d0d56b.entry.js} +1 -1
  306. package/lib/duet/{p-11bd9a89.entry.js → p-23e577ac.entry.js} +1 -1
  307. package/lib/duet/{p-2fb0a3de.entry.js → p-24f340af.entry.js} +1 -1
  308. package/lib/duet/p-25ce6276.entry.js +4 -0
  309. package/lib/duet/p-278295a6.entry.js +4 -0
  310. package/lib/duet/p-2b18fb02.entry.js +4 -0
  311. package/lib/duet/p-2c360aa2.entry.js +4 -0
  312. package/lib/duet/p-2f7f41b7.entry.js +4 -0
  313. package/lib/duet/p-307ad618.entry.js +4 -0
  314. package/lib/duet/p-32128bec.system.entry.js +4 -0
  315. package/lib/duet/p-33842a71.system.entry.js +4 -0
  316. package/lib/duet/p-3432e6d7.entry.js +4 -0
  317. package/lib/duet/{p-5664dbfc.system.entry.js → p-3452a600.system.entry.js} +1 -1
  318. package/lib/duet/p-3636a303.entry.js +4 -0
  319. package/lib/duet/p-36625239.entry.js +4 -0
  320. package/lib/duet/p-36e2660a.system.entry.js +4 -0
  321. package/lib/duet/{p-2eab12b7.system.entry.js → p-373da7e9.system.entry.js} +1 -1
  322. package/lib/duet/{p-ecff7157.system.entry.js → p-3823931d.system.entry.js} +1 -1
  323. package/lib/duet/p-3a8e9b7d.entry.js +4 -0
  324. package/lib/duet/p-3da3807f.entry.js +4 -0
  325. package/lib/duet/p-3e12c85b.entry.js +4 -0
  326. package/lib/duet/{p-6a8c7ad8.system.entry.js → p-3ef4e70b.system.entry.js} +1 -1
  327. package/lib/duet/p-432baa8a.js +4 -0
  328. package/lib/duet/{p-09bade4b.entry.js → p-439a6589.entry.js} +1 -1
  329. package/lib/duet/{p-4c3b19ec.system.entry.js → p-43b5a747.system.entry.js} +1 -1
  330. package/lib/duet/p-46007ea5.system.entry.js +4 -0
  331. package/lib/duet/p-4a8c2fbd.entry.js +4 -0
  332. package/lib/duet/{p-e81603e4.system.entry.js → p-4b63bf44.system.entry.js} +1 -1
  333. package/lib/duet/p-4d457562.entry.js +4 -0
  334. package/lib/duet/p-4d469e8a.entry.js +4 -0
  335. package/lib/duet/{p-e00b3992.system.entry.js → p-4dee86cc.system.entry.js} +1 -1
  336. package/lib/duet/p-4f387d8d.system.entry.js +4 -0
  337. package/lib/duet/{p-bb197ad9.entry.js → p-55d8afce.entry.js} +1 -1
  338. package/lib/duet/p-55daf42a.entry.js +4 -0
  339. package/lib/duet/p-579599b1.entry.js +4 -0
  340. package/lib/duet/{p-983ffcca.system.entry.js → p-597b4abf.system.entry.js} +1 -1
  341. package/lib/duet/{p-c8153914.system.entry.js → p-5988794d.system.entry.js} +1 -1
  342. package/lib/duet/p-5cf4e9fa.entry.js +4 -0
  343. package/lib/duet/p-5d2d1ee9.entry.js +4 -0
  344. package/lib/duet/p-6099439d.entry.js +4 -0
  345. package/lib/duet/p-60e24406.entry.js +4 -0
  346. package/lib/duet/p-64ae892b.entry.js +4 -0
  347. package/lib/duet/p-655c5ef8.system.entry.js +4 -0
  348. package/lib/duet/{p-eaa27d39.system.entry.js → p-657d12c6.system.entry.js} +1 -1
  349. package/lib/duet/p-68eefbc0.entry.js +4 -0
  350. package/lib/duet/p-6a28213a.entry.js +4 -0
  351. package/lib/duet/p-6c0a2ef4.entry.js +4 -0
  352. package/lib/duet/p-6c13d426.entry.js +4 -0
  353. package/lib/duet/{p-c9302dda.entry.js → p-6c20accb.entry.js} +1 -1
  354. package/lib/duet/{p-8c2eb2f4.system.entry.js → p-6d35c23c.system.entry.js} +1 -1
  355. package/lib/duet/p-70688378.entry.js +4 -0
  356. package/lib/duet/{p-78f8e483.system.entry.js → p-71a45359.system.entry.js} +1 -1
  357. package/lib/duet/p-73093b97.entry.js +4 -0
  358. package/lib/duet/p-74a48271.entry.js +4 -0
  359. package/lib/duet/{p-921c430e.entry.js → p-75a7542b.entry.js} +1 -1
  360. package/lib/duet/p-76bdf878.system.entry.js +4 -0
  361. package/lib/duet/p-77c137be.entry.js +4 -0
  362. package/lib/duet/{p-ad97d7c8.entry.js → p-77db8b7e.entry.js} +1 -1
  363. package/lib/duet/p-77de34a7.entry.js +4 -0
  364. package/lib/duet/{p-7c672283.system.entry.js → p-78958e35.system.entry.js} +1 -1
  365. package/lib/duet/p-78dce48d.entry.js +4 -0
  366. package/lib/duet/{p-52b57add.system.entry.js → p-7bcb3908.system.entry.js} +1 -1
  367. package/lib/duet/p-7c19a049.entry.js +4 -0
  368. package/lib/duet/p-7d5115f0.system.entry.js +4 -0
  369. package/lib/duet/{p-94a9fe8f.system.entry.js → p-7db54371.system.entry.js} +1 -1
  370. package/lib/duet/{p-1bdc4a34.system.entry.js → p-7e2f1643.system.entry.js} +1 -1
  371. package/lib/duet/{p-67819e2b.entry.js → p-80734ccb.entry.js} +1 -1
  372. package/lib/duet/{p-16d4371a.system.entry.js → p-812b9a45.system.entry.js} +1 -1
  373. package/lib/duet/{p-de466d61.system.entry.js → p-819906af.system.entry.js} +1 -1
  374. package/lib/duet/{p-c0cd5815.system.entry.js → p-821002cc.system.entry.js} +1 -1
  375. package/lib/duet/{p-ec99ae64.js → p-8341e3d0.js} +1 -1
  376. package/lib/duet/{p-f07e9544.system.entry.js → p-84a8f374.system.entry.js} +1 -1
  377. package/lib/duet/p-8542bb1d.entry.js +4 -0
  378. package/lib/duet/{p-959c412f.system.entry.js → p-87d24f60.system.entry.js} +1 -1
  379. package/lib/duet/{p-2a830ee9.entry.js → p-8a6d783c.entry.js} +1 -1
  380. package/lib/duet/{p-b177abe2.system.entry.js → p-8ab86b55.system.entry.js} +1 -1
  381. package/lib/duet/p-8ac1659f.entry.js +4 -0
  382. package/lib/duet/{p-8f2a8dfd.system.entry.js → p-8bb82291.system.entry.js} +1 -1
  383. package/lib/duet/{p-6779c17b.system.entry.js → p-8c2eb582.system.entry.js} +1 -1
  384. package/lib/duet/{p-feece078.system.entry.js → p-8c6bc7ce.system.entry.js} +1 -1
  385. package/lib/duet/{p-b0552213.system.entry.js → p-8dbc6fec.system.entry.js} +1 -1
  386. package/lib/duet/{p-b4da4477.system.entry.js → p-8df0d238.system.entry.js} +1 -1
  387. package/lib/duet/p-923302a6.entry.js +4 -0
  388. package/lib/duet/p-92f87d29.system.entry.js +4 -0
  389. package/lib/duet/p-94260821.entry.js +4 -0
  390. package/lib/duet/p-95e2628e.entry.js +4 -0
  391. package/lib/duet/{p-0eb0c8c0.system.entry.js → p-973db87a.system.entry.js} +2 -2
  392. package/lib/duet/{p-1d053237.system.entry.js → p-97db51fd.system.entry.js} +1 -1
  393. package/lib/duet/p-9dd2e8b7.entry.js +4 -0
  394. package/lib/duet/{p-6a26a5c9.system.entry.js → p-9f11fac6.system.entry.js} +1 -1
  395. package/lib/duet/{p-17e15242.system.entry.js → p-a077314f.system.entry.js} +1 -1
  396. package/lib/duet/{p-334112ab.system.entry.js → p-a36d79bb.system.entry.js} +1 -1
  397. package/lib/duet/{p-35c6f8ce.system.entry.js → p-a834b129.system.entry.js} +1 -1
  398. package/lib/duet/p-a83f7b5d.entry.js +4 -0
  399. package/lib/duet/{p-2da624a5.system.entry.js → p-abe3d970.system.entry.js} +1 -1
  400. package/lib/duet/p-adf27b5b.entry.js +4 -0
  401. package/lib/duet/{p-97af94e6.system.entry.js → p-aec26ab1.system.entry.js} +1 -1
  402. package/lib/duet/p-b0f26d1f.entry.js +4 -0
  403. package/lib/duet/{p-46b4ef6c.system.entry.js → p-b5b09897.system.entry.js} +1 -1
  404. package/lib/duet/p-b8873438.entry.js +4 -0
  405. package/lib/duet/{p-b8e1051f.entry.js → p-ba876000.entry.js} +1 -1
  406. package/lib/duet/{p-e949b01f.system.entry.js → p-bae4cd54.system.entry.js} +1 -1
  407. package/lib/duet/p-bc56ef14.entry.js +4 -0
  408. package/lib/duet/p-bc6b41df.entry.js +4 -0
  409. package/lib/duet/{p-e72b91d4.system.entry.js → p-bd190b40.system.entry.js} +1 -1
  410. package/lib/duet/p-bdaebb9e.entry.js +4 -0
  411. package/lib/duet/{p-824841b9.system.entry.js → p-bdfdecdf.system.entry.js} +1 -1
  412. package/lib/duet/{p-b9743891.system.entry.js → p-bec61f61.system.entry.js} +1 -1
  413. package/lib/duet/{p-4a497c15.system.entry.js → p-bf3be553.system.entry.js} +2 -2
  414. package/lib/duet/p-c078dccf.entry.js +4 -0
  415. package/lib/duet/{p-90133074.system.entry.js → p-c346eab9.system.entry.js} +1 -1
  416. package/lib/duet/{p-b6969c2e.system.entry.js → p-c40681e4.system.entry.js} +1 -1
  417. package/lib/duet/p-c4421950.entry.js +4 -0
  418. package/lib/duet/p-c531901e.entry.js +4 -0
  419. package/lib/duet/p-c67f6e71.entry.js +4 -0
  420. package/lib/duet/p-c876c531.entry.js +4 -0
  421. package/lib/duet/p-c9624ff8.system.entry.js +4 -0
  422. package/lib/duet/{p-4f1c6cc0.system.entry.js → p-cc833893.system.entry.js} +2 -2
  423. package/lib/duet/{p-34b3855f.system.entry.js → p-cecf203f.system.entry.js} +1 -1
  424. package/lib/duet/p-cf1897db.entry.js +4 -0
  425. package/lib/duet/{p-4a4dbe4e.system.entry.js → p-d166a0ec.system.entry.js} +1 -1
  426. package/lib/duet/p-d26dbeb9.entry.js +4 -0
  427. package/lib/duet/{p-72887f8e.system.entry.js → p-d3381766.system.entry.js} +1 -1
  428. package/lib/duet/{p-5e56ebad.system.entry.js → p-d9e7da09.system.entry.js} +1 -1
  429. package/lib/duet/p-dad5df60.entry.js +4 -0
  430. package/lib/duet/p-dd8cdf29.entry.js +4 -0
  431. package/lib/duet/{p-db932add.system.entry.js → p-decbebf5.system.entry.js} +1 -1
  432. package/lib/duet/p-dfe18019.entry.js +4 -0
  433. package/lib/duet/{p-c45cca40.system.entry.js → p-e00b5c40.system.entry.js} +1 -1
  434. package/lib/duet/p-e3698acb.system.js +4 -0
  435. package/lib/duet/p-e413a6de.system.js +4 -0
  436. package/lib/duet/p-e566241e.system.entry.js +4 -0
  437. package/lib/duet/{p-e86a0e7f.system.entry.js → p-e854cf9d.system.entry.js} +1 -1
  438. package/lib/duet/p-e9d559ff.entry.js +4 -0
  439. package/lib/duet/p-ec61f9ab.entry.js +4 -0
  440. package/lib/duet/{p-70dcc782.system.entry.js → p-ed2b16ba.system.entry.js} +1 -1
  441. package/lib/duet/{p-701d90ff.entry.js → p-f35b1e67.entry.js} +1 -1
  442. package/lib/duet/{p-a44381d5.js → p-f832d9f4.js} +2 -2
  443. package/lib/duet/p-fa746683.entry.js +4 -0
  444. package/lib/duet/p-fcec1712.entry.js +4 -0
  445. package/lib/duet/{p-48361f6f.system.entry.js → p-fdbe53c6.system.entry.js} +1 -1
  446. package/lib/duet/{p-e7389f0d.system.entry.js → p-fe1d73a7.system.entry.js} +1 -1
  447. package/lib/esm/duet-action-button.entry.js +3 -3
  448. package/lib/esm/duet-alert.entry.js +3 -3
  449. package/lib/esm/duet-badge.entry.js +3 -3
  450. package/lib/esm/duet-banner.entry.js +3 -3
  451. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  452. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  453. package/lib/esm/duet-button_2.entry.js +3 -3
  454. package/lib/esm/duet-callout.entry.js +3 -3
  455. package/lib/esm/duet-caption_4.entry.js +7 -7
  456. package/lib/esm/duet-card.entry.js +3 -3
  457. package/lib/esm/duet-checkbox.entry.js +3 -3
  458. package/lib/esm/duet-checkmark.entry.js +1 -1
  459. package/lib/esm/duet-chip.entry.js +3 -3
  460. package/lib/esm/duet-choice_2.entry.js +39 -49
  461. package/lib/esm/duet-collapsible.entry.js +3 -3
  462. package/lib/esm/duet-combobox.entry.js +1 -1
  463. package/lib/esm/duet-contact-card.entry.js +3 -3
  464. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  465. package/lib/esm/duet-date-picker.entry.js +4 -4
  466. package/lib/esm/duet-divider_2.entry.js +1 -1
  467. package/lib/esm/duet-editable-table_3.entry.js +4 -4
  468. package/lib/esm/duet-empty-state.entry.js +3 -3
  469. package/lib/esm/duet-fieldset.entry.js +3 -3
  470. package/lib/esm/duet-footer.entry.js +3 -3
  471. package/lib/esm/duet-grid_2.entry.js +1 -1
  472. package/lib/esm/duet-header_2.entry.js +3 -3
  473. package/lib/esm/duet-hero.entry.js +3 -3
  474. package/lib/esm/duet-icon.entry.js +3 -3
  475. package/lib/esm/duet-input_2.entry.js +4 -4
  476. package/lib/esm/duet-layout.entry.js +1 -1
  477. package/lib/esm/duet-list_2.entry.js +1 -1
  478. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  479. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  480. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  481. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  482. package/lib/esm/duet-menu-bar.entry.js +3 -3
  483. package/lib/esm/duet-modal.entry.js +4 -4
  484. package/lib/esm/duet-multiselect.entry.js +3 -3
  485. package/lib/esm/duet-nav.entry.js +1 -1
  486. package/lib/esm/duet-notification_2.entry.js +4 -4
  487. package/lib/esm/duet-number-input.entry.js +3 -3
  488. package/lib/esm/duet-page-heading.entry.js +3 -3
  489. package/lib/esm/duet-pagination_2.entry.js +4 -4
  490. package/lib/esm/duet-popup-menu-item.entry.js +3 -3
  491. package/lib/esm/duet-popup-menu.entry.js +1 -1
  492. package/lib/esm/duet-progress.entry.js +3 -3
  493. package/lib/esm/duet-promo-card.entry.js +3 -3
  494. package/lib/esm/duet-radio_2.entry.js +3 -3
  495. package/lib/esm/duet-range-slider.entry.js +3 -3
  496. package/lib/esm/duet-scrollable_3.entry.js +5 -5
  497. package/lib/esm/duet-section-layout.entry.js +1 -1
  498. package/lib/esm/duet-select.entry.js +3 -3
  499. package/lib/esm/duet-shaped-image.entry.js +1 -1
  500. package/lib/esm/duet-show-more.entry.js +3 -3
  501. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  502. package/lib/esm/duet-slideout-link.entry.js +3 -3
  503. package/lib/esm/duet-slideout-panel-dropdown.entry.js +3 -3
  504. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  505. package/lib/esm/duet-slideout.entry.js +51 -19
  506. package/lib/esm/duet-step_2.entry.js +4 -4
  507. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  508. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  509. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  510. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  511. package/lib/esm/duet-textarea.entry.js +3 -3
  512. package/lib/esm/duet-toggle.entry.js +3 -3
  513. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  514. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  515. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  516. package/lib/esm/duet-toolbar.entry.js +1 -1
  517. package/lib/esm/duet-tooltip-button_2.entry.js +5 -5
  518. package/lib/esm/duet-tooltip.entry.js +3 -3
  519. package/lib/esm/duet-tray.entry.js +3 -3
  520. package/lib/esm/duet-upload-aria-status.entry.js +3 -3
  521. package/lib/esm/duet-upload-item.entry.js +7 -4
  522. package/lib/esm/duet-visually-hidden.entry.js +3 -3
  523. package/lib/esm/duet.js +3 -3
  524. package/lib/esm/{focus-utils-a669bad3.js → focus-utils-33e8d53f.js} +1 -1
  525. package/lib/esm/{index-4b92be25.js → index-62aa2798.js} +2 -9
  526. package/lib/esm/loader.js +3 -3
  527. package/lib/{dist-custom-elements/p-040f8831.js → esm/nudge-350af17e.js} +3 -6
  528. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  529. package/lib/esm-es5/duet-alert.entry.js +1 -1
  530. package/lib/esm-es5/duet-badge.entry.js +1 -1
  531. package/lib/esm-es5/duet-banner.entry.js +1 -1
  532. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  533. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  534. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  535. package/lib/esm-es5/duet-callout.entry.js +1 -1
  536. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  537. package/lib/esm-es5/duet-card.entry.js +2 -2
  538. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  539. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  540. package/lib/esm-es5/duet-chip.entry.js +1 -1
  541. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  542. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  543. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  544. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  545. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  546. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  547. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  548. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  549. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  550. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  551. package/lib/esm-es5/duet-footer.entry.js +1 -1
  552. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  553. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  554. package/lib/esm-es5/duet-hero.entry.js +1 -1
  555. package/lib/esm-es5/duet-icon.entry.js +2 -2
  556. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  557. package/lib/esm-es5/duet-layout.entry.js +1 -1
  558. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  560. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  561. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  562. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  563. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  564. package/lib/esm-es5/duet-modal.entry.js +1 -1
  565. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  566. package/lib/esm-es5/duet-nav.entry.js +1 -1
  567. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  569. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  570. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  571. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  572. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  573. package/lib/esm-es5/duet-progress.entry.js +1 -1
  574. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  575. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  576. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  577. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  578. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  579. package/lib/esm-es5/duet-select.entry.js +1 -1
  580. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  581. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  582. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  583. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  584. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  585. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  586. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  587. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  588. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  589. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  590. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  591. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  592. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  593. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  594. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  595. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  596. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  597. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  598. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  600. package/lib/esm-es5/duet-tray.entry.js +1 -1
  601. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  602. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  603. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  604. package/lib/esm-es5/duet.js +1 -1
  605. package/lib/esm-es5/focus-utils-33e8d53f.js +4 -0
  606. package/lib/esm-es5/index-62aa2798.js +5 -0
  607. package/lib/esm-es5/loader.js +1 -1
  608. package/lib/esm-es5/nudge-350af17e.js +4 -0
  609. package/lib/types/components/duet-choice/duet-choice.d.ts +9 -0
  610. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +4 -2
  611. package/lib/types/components/duet-link/duet-link.d.ts +1 -0
  612. package/lib/types/components/duet-slideout/duet-slideout.d.ts +16 -0
  613. package/lib/types/components.d.ts +26 -0
  614. package/lib/types/utils/nudge.d.ts +1 -1
  615. package/package.json +17 -24
  616. package/lib/duet/p-002b8f41.entry.js +0 -4
  617. package/lib/duet/p-02baa949.entry.js +0 -4
  618. package/lib/duet/p-040f8831.js +0 -4
  619. package/lib/duet/p-0528e2a7.entry.js +0 -4
  620. package/lib/duet/p-0a33ef8e.entry.js +0 -4
  621. package/lib/duet/p-0ee95a64.entry.js +0 -4
  622. package/lib/duet/p-11e2303e.system.entry.js +0 -4
  623. package/lib/duet/p-18a31510.entry.js +0 -4
  624. package/lib/duet/p-1b6fb905.entry.js +0 -4
  625. package/lib/duet/p-1f65b60f.entry.js +0 -4
  626. package/lib/duet/p-215eda28.system.entry.js +0 -4
  627. package/lib/duet/p-23134d90.entry.js +0 -4
  628. package/lib/duet/p-26095a08.system.js +0 -4
  629. package/lib/duet/p-2748aa50.entry.js +0 -4
  630. package/lib/duet/p-28960e09.entry.js +0 -4
  631. package/lib/duet/p-2906fe6c.entry.js +0 -4
  632. package/lib/duet/p-2cacedde.system.entry.js +0 -4
  633. package/lib/duet/p-2d4c6724.entry.js +0 -4
  634. package/lib/duet/p-32d74eb9.entry.js +0 -4
  635. package/lib/duet/p-34249a02.entry.js +0 -4
  636. package/lib/duet/p-3b82aa9e.system.entry.js +0 -4
  637. package/lib/duet/p-3cd4a72e.system.entry.js +0 -4
  638. package/lib/duet/p-3e39b66d.entry.js +0 -4
  639. package/lib/duet/p-43587827.entry.js +0 -4
  640. package/lib/duet/p-43f99432.entry.js +0 -4
  641. package/lib/duet/p-48da4668.system.entry.js +0 -4
  642. package/lib/duet/p-4b79c0dc.entry.js +0 -4
  643. package/lib/duet/p-54e6e82f.system.js +0 -5
  644. package/lib/duet/p-55759777.entry.js +0 -4
  645. package/lib/duet/p-58dc5c7f.entry.js +0 -4
  646. package/lib/duet/p-5bdc3d08.entry.js +0 -4
  647. package/lib/duet/p-5eb72773.entry.js +0 -4
  648. package/lib/duet/p-63707d67.system.entry.js +0 -4
  649. package/lib/duet/p-65d39961.entry.js +0 -4
  650. package/lib/duet/p-6b02135b.entry.js +0 -4
  651. package/lib/duet/p-6b9bcd66.entry.js +0 -4
  652. package/lib/duet/p-6c1bb847.system.entry.js +0 -4
  653. package/lib/duet/p-6cca1a56.entry.js +0 -4
  654. package/lib/duet/p-6cf633e0.entry.js +0 -4
  655. package/lib/duet/p-7becefd3.entry.js +0 -4
  656. package/lib/duet/p-7bfb912d.system.entry.js +0 -4
  657. package/lib/duet/p-7cd149d5.system.entry.js +0 -4
  658. package/lib/duet/p-7cefb9c8.entry.js +0 -4
  659. package/lib/duet/p-7d5d6371.entry.js +0 -4
  660. package/lib/duet/p-80157d8f.system.entry.js +0 -4
  661. package/lib/duet/p-82ed0c1e.entry.js +0 -4
  662. package/lib/duet/p-83c33ce1.system.js +0 -4
  663. package/lib/duet/p-852393bd.entry.js +0 -4
  664. package/lib/duet/p-861e2ba5.entry.js +0 -4
  665. package/lib/duet/p-893682f2.entry.js +0 -4
  666. package/lib/duet/p-8e2ddb69.entry.js +0 -4
  667. package/lib/duet/p-9170537f.system.entry.js +0 -4
  668. package/lib/duet/p-9281ad1f.entry.js +0 -4
  669. package/lib/duet/p-9a5b6324.entry.js +0 -4
  670. package/lib/duet/p-9e2fc97b.entry.js +0 -4
  671. package/lib/duet/p-a1dadf5f.entry.js +0 -4
  672. package/lib/duet/p-a4262e9e.entry.js +0 -4
  673. package/lib/duet/p-a77d6daa.entry.js +0 -4
  674. package/lib/duet/p-a8c0eab5.entry.js +0 -4
  675. package/lib/duet/p-af9efdf9.entry.js +0 -4
  676. package/lib/duet/p-b43c3844.entry.js +0 -4
  677. package/lib/duet/p-ba7e2b46.entry.js +0 -4
  678. package/lib/duet/p-c3148fb5.entry.js +0 -4
  679. package/lib/duet/p-c486b82a.entry.js +0 -4
  680. package/lib/duet/p-c689a5a2.entry.js +0 -4
  681. package/lib/duet/p-c69dd504.entry.js +0 -4
  682. package/lib/duet/p-c97109b5.system.js +0 -4
  683. package/lib/duet/p-c9d0296f.entry.js +0 -4
  684. package/lib/duet/p-ccd1c1da.entry.js +0 -4
  685. package/lib/duet/p-ce0dbe46.entry.js +0 -4
  686. package/lib/duet/p-ce60ea36.entry.js +0 -4
  687. package/lib/duet/p-d3b8295e.entry.js +0 -4
  688. package/lib/duet/p-d79067a9.entry.js +0 -4
  689. package/lib/duet/p-dfaea3f3.entry.js +0 -4
  690. package/lib/duet/p-e6d1abab.entry.js +0 -4
  691. package/lib/duet/p-e888b133.entry.js +0 -4
  692. package/lib/duet/p-f46d2985.entry.js +0 -4
  693. package/lib/duet/p-fbeab44b.entry.js +0 -4
  694. package/lib/duet/p-fe21ca0a.entry.js +0 -4
  695. package/lib/esm-es5/focus-utils-a669bad3.js +0 -4
  696. package/lib/esm-es5/index-4b92be25.js +0 -5
  697. package/lib/esm-es5/nudge-560904c3.js +0 -4
package/hydrate/index.js CHANGED
@@ -6142,12 +6142,9 @@ const disconnectLanguageChangeObserver = (component) => {
6142
6142
  * This function is a workaround for a bug in Chromium-based browsers, where building the accessibility tree fails
6143
6143
  * with nested shadow roots. See https://atlassian.lahitapiola.fi/jira/browse/DUET-780
6144
6144
  */
6145
- function nudge(component) {
6146
- setTimeout(() => {
6147
- const el = document.createElement("template");
6148
- component.element.appendChild(el);
6149
- el.remove();
6150
- }, 10);
6145
+ function nudge(_component) {
6146
+ // eslint-disable-next-line
6147
+ setTimeout(() => { }, 10);
6151
6148
  }
6152
6149
 
6153
6150
  const colorWarning = "rgb(247, 178, 40)";
@@ -6669,7 +6666,7 @@ class DuetActionButton {
6669
6666
  inheritGlobalTheme(this);
6670
6667
  }
6671
6668
  componentDidLoad() {
6672
- nudge(this);
6669
+ nudge();
6673
6670
  }
6674
6671
  connectedCallback() {
6675
6672
  connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelsDefaults" });
@@ -6815,7 +6812,7 @@ class DuetAlert {
6815
6812
  if (this.autoDismiss) {
6816
6813
  this.timeoutID = setTimeout(() => this.handleDismiss(), this.autoDismiss);
6817
6814
  }
6818
- nudge(this);
6815
+ nudge();
6819
6816
  }
6820
6817
  connectedCallback() {
6821
6818
  connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
@@ -6920,7 +6917,7 @@ class DuetBadge {
6920
6917
  inheritGlobalTheme(this);
6921
6918
  }
6922
6919
  componentDidLoad() {
6923
- nudge(this);
6920
+ nudge();
6924
6921
  }
6925
6922
  /**
6926
6923
  * render() function
@@ -6978,7 +6975,7 @@ class DuetBanner {
6978
6975
  this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
6979
6976
  }
6980
6977
  componentDidLoad() {
6981
- nudge(this);
6978
+ nudge();
6982
6979
  }
6983
6980
  /**
6984
6981
  * render() function
@@ -7044,7 +7041,7 @@ class DuetBreadcrumb {
7044
7041
  inheritGlobalTheme(this);
7045
7042
  }
7046
7043
  componentDidLoad() {
7047
- nudge(this);
7044
+ nudge();
7048
7045
  }
7049
7046
  connectedCallback() {
7050
7047
  connectLanguageChangeObserver(this);
@@ -7220,7 +7217,7 @@ class DuetButton {
7220
7217
  }
7221
7218
  }
7222
7219
  componentDidLoad() {
7223
- nudge(this);
7220
+ nudge();
7224
7221
  }
7225
7222
  connectedCallback() {
7226
7223
  this.proxyButton = document.createElement("button");
@@ -7406,7 +7403,7 @@ class DuetCallout {
7406
7403
  this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
7407
7404
  }
7408
7405
  componentDidLoad() {
7409
- nudge(this);
7406
+ nudge();
7410
7407
  }
7411
7408
  /**
7412
7409
  * render() function
@@ -7455,7 +7452,7 @@ class DuetCaption {
7455
7452
  inheritGlobalTheme(this);
7456
7453
  }
7457
7454
  componentDidLoad() {
7458
- nudge(this);
7455
+ nudge();
7459
7456
  }
7460
7457
  /**
7461
7458
  * render() function
@@ -7545,7 +7542,7 @@ class DuetCard {
7545
7542
  this.hasFooter = !!this.element.querySelector("[slot='footer']");
7546
7543
  }
7547
7544
  componentDidLoad() {
7548
- nudge(this);
7545
+ nudge();
7549
7546
  }
7550
7547
  renderHeading() {
7551
7548
  const safeHeadingLevel = sanitizeString$1(this.headingLevel);
@@ -7695,7 +7692,7 @@ class DuetCheckbox {
7695
7692
  }
7696
7693
  }
7697
7694
  componentDidLoad() {
7698
- nudge(this);
7695
+ nudge();
7699
7696
  }
7700
7697
  /**
7701
7698
  * Sets focus on the specified `duet-checkbox`. Use this method instead of the global
@@ -7951,7 +7948,7 @@ class DuetChip {
7951
7948
  this.popupSetUp();
7952
7949
  }
7953
7950
  componentDidLoad() {
7954
- nudge(this);
7951
+ nudge();
7955
7952
  }
7956
7953
  /**
7957
7954
  * Sets focus. Use this method instead of the global focus().
@@ -8025,7 +8022,7 @@ const FocusGuard = ({ moveFocusTo }) => {
8025
8022
  return hAsync("div", { class: "duet-focus-guard", "aria-hidden": "true", tabIndex: 0, onFocus: () => focusElement(moveFocusTo) });
8026
8023
  };
8027
8024
 
8028
- const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
8025
+ const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice .duet-choice-info-container.sc-duet-choice:focus{outline:none}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
8029
8026
 
8030
8027
  /**
8031
8028
  * @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.
@@ -8038,6 +8035,8 @@ const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice
8038
8035
  class DuetChoice {
8039
8036
  constructor(hostRef) {
8040
8037
  registerInstance(this, hostRef);
8038
+ this.duetChoiceReady = createEvent$2(this, "duetChoiceReady", 7);
8039
+ this.duetChoiceRemove = createEvent$2(this, "duetChoiceRemove", 7);
8041
8040
  this.duetChange = createEvent$2(this, "duetChange", 7);
8042
8041
  this.duetFocus = createEvent$2(this, "duetFocus", 7);
8043
8042
  this.duetBlur = createEvent$2(this, "duetBlur", 7);
@@ -8112,6 +8111,12 @@ class DuetChoice {
8112
8111
  };
8113
8112
  this.toggleInfo = () => {
8114
8113
  this.isInfoOpen = !this.isInfoOpen;
8114
+ if (this.isInfoOpen) {
8115
+ setTimeout(() => {
8116
+ var _a;
8117
+ (_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
8118
+ });
8119
+ }
8115
8120
  };
8116
8121
  this.isHovering = false;
8117
8122
  this.isInfoOpen = false;
@@ -8161,9 +8166,10 @@ class DuetChoice {
8161
8166
  this.hasAdditional = hasSlot(this.element, "additional");
8162
8167
  this.hasLabel = hasSlot(this.element, "label");
8163
8168
  this.hasBeforeText = hasSlot(this.element, "before-text");
8169
+ this.duetChoiceReady.emit();
8164
8170
  }
8165
8171
  componentDidLoad() {
8166
- nudge(this);
8172
+ nudge();
8167
8173
  }
8168
8174
  connectedCallback() {
8169
8175
  connectLanguageChangeObserver(this, [
@@ -8173,6 +8179,7 @@ class DuetChoice {
8173
8179
  }
8174
8180
  disconnectedCallback() {
8175
8181
  disconnectLanguageChangeObserver(this);
8182
+ this.duetChoiceRemove.emit();
8176
8183
  }
8177
8184
  /**
8178
8185
  * Component event handling.
@@ -8290,7 +8297,7 @@ class DuetChoice {
8290
8297
  }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, hAsync("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), hAsync("div", { class: "duet-choice-info-icon" }, hAsync("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
8291
8298
  "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
8292
8299
  "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
8293
- } }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", null, hAsync("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", null, hAsync("slot", null)))), this.isInfoOpen && hAsync(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
8300
+ } }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, hAsync("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", null, hAsync("slot", null)))), this.isInfoOpen && hAsync(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
8294
8301
  }
8295
8302
  get element() { return getElement(this); }
8296
8303
  static get style() { return duetChoiceCss; }
@@ -8340,72 +8347,13 @@ class DuetChoice {
8340
8347
  }; }
8341
8348
  }
8342
8349
 
8343
- const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
8344
- childList: true,
8345
- subtree: true,
8346
- }) => {
8347
- let mutation;
8348
- if (typeof MutationObserver !== "undefined") {
8349
- mutation = new MutationObserver(mutationList => {
8350
- onChange(changeHandler(mutationList, tagName));
8351
- });
8352
- mutation.observe(containerEl, options);
8353
- }
8354
- return mutation;
8355
- };
8356
- const watchForOptions = (containerEl, tagName, onChange) => {
8357
- return watchFor(containerEl, tagName, onChange, getSelectedOption);
8358
- };
8359
- const watchForElement = (containerEl, tagName, onChange) => {
8360
- return watchFor(containerEl, tagName, onChange, getElementItem, {
8361
- childList: true,
8362
- subtree: true,
8363
- });
8364
- };
8365
- const getElementItem = (mutationList) => {
8366
- let addedNode = false;
8367
- let removedNode = false;
8368
- mutationList.forEach(mut => {
8369
- if (mut.addedNodes.length) {
8370
- addedNode = true;
8371
- }
8372
- if (mut.removedNodes.length) {
8373
- removedNode = true;
8374
- }
8375
- });
8376
- return { addedNode, removedNode, mutationList };
8377
- };
8378
- const getSelectedOption = (mutationList, tagName) => {
8379
- let newOption;
8380
- mutationList.forEach(mut => {
8381
- // tslint:disable-next-line: prefer-for-of
8382
- for (let i = 0; i < mut.addedNodes.length; i++) {
8383
- newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
8384
- }
8385
- });
8386
- return newOption;
8387
- };
8388
- const findCheckedOption = (el, tagName) => {
8389
- if (el.nodeType !== 1) {
8390
- return undefined;
8391
- }
8392
- const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
8393
- return options.find((o) => o.checked === true);
8394
- };
8395
-
8396
8350
  const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
8397
8351
 
8398
- const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
8399
8352
  class DuetChoiceGroup {
8400
8353
  constructor(hostRef) {
8401
8354
  registerInstance(this, hostRef);
8402
8355
  this.choiceGroupName = "duet-choice-group";
8403
- this.getChoices = () => {
8404
- return Array.from(this.element.querySelectorAll(duetChoiceSelector));
8405
- };
8406
- this.isMyChoice = (choice) => {
8407
- return this.getChoices().includes(choice);
8408
- };
8356
+ this.choices = new Set();
8409
8357
  /**
8410
8358
  * Component event handling.
8411
8359
  */
@@ -8414,12 +8362,21 @@ class DuetChoiceGroup {
8414
8362
  return;
8415
8363
  }
8416
8364
  const selectedChoice = ev.target;
8417
- if (selectedChoice && this.isMyChoice(selectedChoice)) {
8365
+ if (selectedChoice && this.choices.has(selectedChoice)) {
8418
8366
  this.value = selectedChoice.value;
8419
8367
  }
8420
- // Prevent events from bubbling up the DOM tree in case
8421
- // this group is a sub-group of another choice group.
8422
- ev.cancelBubble = true;
8368
+ };
8369
+ this.onChoiceReady = (ev) => {
8370
+ const choice = ev.target;
8371
+ if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
8372
+ this.choices.add(choice);
8373
+ this.updateChoices();
8374
+ }
8375
+ };
8376
+ this.onChoiceRemove = (ev) => {
8377
+ const choice = ev.target;
8378
+ this.choices.delete(choice);
8379
+ this.updateChoices();
8423
8380
  };
8424
8381
  this.direction = "vertical";
8425
8382
  this.margin = "auto";
@@ -8453,21 +8410,17 @@ class DuetChoiceGroup {
8453
8410
  inheritGlobalTheme(this);
8454
8411
  }
8455
8412
  componentDidLoad() {
8456
- nudge(this);
8413
+ nudge();
8457
8414
  }
8458
8415
  /**
8459
8416
  * Local methods
8460
8417
  */
8461
8418
  async updateChoices() {
8462
- /**
8463
- * Make sure we get all choices first so values are up to date prior
8464
- * to caching the choice group value
8465
- */
8466
- const choices = this.getChoices();
8467
- const { value } = this;
8419
+ var _a;
8420
+ const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
8468
8421
  let hasChecked = false;
8469
8422
  // Walk the DOM in reverse order, since the last selected one wins
8470
- for (const choice of choices) {
8423
+ for (const choice of this.choices) {
8471
8424
  choice.name = this.name;
8472
8425
  choice.groupDisabled = this.disabled;
8473
8426
  choice.groupDirection = this.direction;
@@ -8477,6 +8430,9 @@ class DuetChoiceGroup {
8477
8430
  // and we haven't found a checked yet
8478
8431
  hasChecked = true;
8479
8432
  choice.checked = true;
8433
+ if (typeof this.value === "undefined") {
8434
+ this.value = value;
8435
+ }
8480
8436
  }
8481
8437
  else {
8482
8438
  // This choice doesn't have the correct value or the choice group has been already checked
@@ -8493,7 +8449,7 @@ class DuetChoiceGroup {
8493
8449
  * Always the last one in the class.
8494
8450
  */
8495
8451
  render() {
8496
- return (hAsync(Host, { onDuetChange: this.onSelect, class: {
8452
+ return (hAsync(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
8497
8453
  horizontal: this.direction === "horizontal",
8498
8454
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
8499
8455
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
@@ -8536,7 +8492,7 @@ class DuetChoiceGroup {
8536
8492
  }; }
8537
8493
  }
8538
8494
 
8539
- var actionArrowDownSmall$1={"title":"action-arrow-down-small","tags":"action arrow down small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z\"/></svg>"};
8495
+ var actionArrowDownSmall={"title":"action-arrow-down-small","tags":"action arrow down small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z\"/></svg>"};
8540
8496
 
8541
8497
  const color_warning = "rgb(247, 178, 40)";
8542
8498
  const color_gray_darker = "rgb(101, 119, 135)";
@@ -8690,12 +8646,12 @@ const transition_quickly = "300ms ease";
8690
8646
  const transition_slowly = "600ms ease";
8691
8647
  const media_query_xxx_large = "'(min-width: 106.25em)'";
8692
8648
  const media_query_x_large = "'(min-width: 64.0625em)'";
8693
- const media_query_medium$1 = "'(min-width: 48em)'";
8694
- const media_query_large$1 = "'(min-width: 62em)'";
8695
- const media_query_xx_large$1 = "'(min-width: 76.25em)'";
8649
+ const media_query_medium = "'(min-width: 48em)'";
8650
+ const media_query_large = "'(min-width: 62em)'";
8651
+ const media_query_xx_large = "'(min-width: 76.25em)'";
8696
8652
  const media_query_x_small = "'(max-width: 35.9375em)'";
8697
8653
  const media_query_xxx_small = "'(max-width: 20.5em)'";
8698
- const media_query_small$1 = "'(min-width: 36em)'";
8654
+ const media_query_small = "'(min-width: 36em)'";
8699
8655
  const media_query_xx_small = "'(max-width: 22.5em)'";
8700
8656
  var tokens = {
8701
8657
  color_warning: color_warning,
@@ -8850,12 +8806,12 @@ var tokens = {
8850
8806
  transition_slowly: transition_slowly,
8851
8807
  media_query_xxx_large: media_query_xxx_large,
8852
8808
  media_query_x_large: media_query_x_large,
8853
- media_query_medium: media_query_medium$1,
8854
- media_query_large: media_query_large$1,
8855
- media_query_xx_large: media_query_xx_large$1,
8809
+ media_query_medium: media_query_medium,
8810
+ media_query_large: media_query_large,
8811
+ media_query_xx_large: media_query_xx_large,
8856
8812
  media_query_x_small: media_query_x_small,
8857
8813
  media_query_xxx_small: media_query_xxx_small,
8858
- media_query_small: media_query_small$1,
8814
+ media_query_small: media_query_small,
8859
8815
  media_query_xx_small: media_query_xx_small
8860
8816
  };
8861
8817
 
@@ -9013,12 +8969,12 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
9013
8969
  transition_slowly: transition_slowly,
9014
8970
  media_query_xxx_large: media_query_xxx_large,
9015
8971
  media_query_x_large: media_query_x_large,
9016
- media_query_medium: media_query_medium$1,
9017
- media_query_large: media_query_large$1,
9018
- media_query_xx_large: media_query_xx_large$1,
8972
+ media_query_medium: media_query_medium,
8973
+ media_query_large: media_query_large,
8974
+ media_query_xx_large: media_query_xx_large,
9019
8975
  media_query_x_small: media_query_x_small,
9020
8976
  media_query_xxx_small: media_query_xxx_small,
9021
- media_query_small: media_query_small$1,
8977
+ media_query_small: media_query_small,
9022
8978
  media_query_xx_small: media_query_xx_small,
9023
8979
  'default': tokens
9024
8980
  });
@@ -9101,7 +9057,7 @@ class DuetCollapsible {
9101
9057
  this.hasAfterHeading = hasSlot(this.element, "after-heading");
9102
9058
  }
9103
9059
  componentDidLoad() {
9104
- nudge(this);
9060
+ nudge();
9105
9061
  }
9106
9062
  /**
9107
9063
  * Sets focus on the specified `duet-collapsible`. Use this method instead of the global
@@ -9126,7 +9082,7 @@ class DuetCollapsible {
9126
9082
  "duet-collapsible-normal-weight": this.headingWeight === "normal",
9127
9083
  "has-after-heading": this.hasAfterHeading,
9128
9084
  "full-width": this.headingFullWidth,
9129
- }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall$1.svg })), hAsync("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { part: "duet-collapsible-after-heading" }, hAsync("slot", { name: "after-heading" }))))), hAsync("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", null))));
9085
+ }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { part: "duet-collapsible-after-heading" }, hAsync("slot", { name: "after-heading" }))))), hAsync("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", null))));
9130
9086
  }
9131
9087
  get element() { return getElement(this); }
9132
9088
  static get style() { return duetCollapsibleCss; }
@@ -9583,7 +9539,7 @@ class DuetContactCard {
9583
9539
  inheritGlobalTheme(this);
9584
9540
  }
9585
9541
  componentDidLoad() {
9586
- nudge(this);
9542
+ nudge();
9587
9543
  }
9588
9544
  connectedCallback() {
9589
9545
  connectLanguageChangeObserver(this);
@@ -9657,7 +9613,7 @@ class DuetCookieConsent {
9657
9613
  inheritGlobalTheme(this);
9658
9614
  }
9659
9615
  componentDidLoad() {
9660
- nudge(this);
9616
+ nudge();
9661
9617
  }
9662
9618
  /**
9663
9619
  * render() function.
@@ -10243,7 +10199,7 @@ class DuetDatePicker {
10243
10199
  this.updateInternalValue();
10244
10200
  }
10245
10201
  componentDidLoad() {
10246
- nudge(this);
10202
+ nudge();
10247
10203
  }
10248
10204
  componentDidUpdate() {
10249
10205
  // we want to run this code _after_ render
@@ -10583,7 +10539,7 @@ class DuetEditableTable {
10583
10539
  this.hasFootSlot = !!this.element.querySelector("[slot='tfoot']");
10584
10540
  }
10585
10541
  componentDidLoad() {
10586
- nudge(this);
10542
+ nudge();
10587
10543
  }
10588
10544
  connectedCallback() {
10589
10545
  connectLanguageChangeObserver(this);
@@ -10726,7 +10682,7 @@ class DuetEmptyState {
10726
10682
  inheritGlobalTheme(this);
10727
10683
  }
10728
10684
  componentDidLoad() {
10729
- nudge(this);
10685
+ nudge();
10730
10686
  }
10731
10687
  /**
10732
10688
  * render() function
@@ -10788,7 +10744,7 @@ class DuetFieldset {
10788
10744
  this.checkHasTooltip();
10789
10745
  }
10790
10746
  componentDidLoad() {
10791
- nudge(this);
10747
+ nudge();
10792
10748
  }
10793
10749
  /**
10794
10750
  * render() function
@@ -10924,7 +10880,7 @@ class DuetFooter {
10924
10880
  ;
10925
10881
  }
10926
10882
  componentDidLoad() {
10927
- nudge(this);
10883
+ nudge();
10928
10884
  }
10929
10885
  connectedCallback() {
10930
10886
  connectLanguageChangeObserver(this, {
@@ -10998,10 +10954,58 @@ class DuetFooter {
10998
10954
  }; }
10999
10955
  }
11000
10956
 
11001
- const media_query_medium = "'(min-width: 48em)'";
11002
- const media_query_large = "'(min-width: 62em)'";
11003
- const media_query_xx_large = "'(min-width: 76.25em)'";
11004
- const media_query_small = "'(min-width: 36em)'";
10957
+ const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
10958
+ childList: true,
10959
+ subtree: true,
10960
+ }) => {
10961
+ let mutation;
10962
+ if (typeof MutationObserver !== "undefined") {
10963
+ mutation = new MutationObserver(mutationList => {
10964
+ onChange(changeHandler(mutationList, tagName));
10965
+ });
10966
+ mutation.observe(containerEl, options);
10967
+ }
10968
+ return mutation;
10969
+ };
10970
+ const watchForOptions = (containerEl, tagName, onChange) => {
10971
+ return watchFor(containerEl, tagName, onChange, getSelectedOption);
10972
+ };
10973
+ const watchForElement = (containerEl, tagName, onChange) => {
10974
+ return watchFor(containerEl, tagName, onChange, getElementItem, {
10975
+ childList: true,
10976
+ subtree: true,
10977
+ });
10978
+ };
10979
+ const getElementItem = (mutationList) => {
10980
+ let addedNode = false;
10981
+ let removedNode = false;
10982
+ mutationList.forEach(mut => {
10983
+ if (mut.addedNodes.length) {
10984
+ addedNode = true;
10985
+ }
10986
+ if (mut.removedNodes.length) {
10987
+ removedNode = true;
10988
+ }
10989
+ });
10990
+ return { addedNode, removedNode, mutationList };
10991
+ };
10992
+ const getSelectedOption = (mutationList, tagName) => {
10993
+ let newOption;
10994
+ mutationList.forEach(mut => {
10995
+ // tslint:disable-next-line: prefer-for-of
10996
+ for (let i = 0; i < mut.addedNodes.length; i++) {
10997
+ newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
10998
+ }
10999
+ });
11000
+ return newOption;
11001
+ };
11002
+ const findCheckedOption = (el, tagName) => {
11003
+ if (el.nodeType !== 1) {
11004
+ return undefined;
11005
+ }
11006
+ const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
11007
+ return options.find((o) => o.checked === true);
11008
+ };
11005
11009
 
11006
11010
  const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-grid-variation-flex.sc-duet-grid-h{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-variation-flex.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-grid-variation-flex.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-variation-flex.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-variation-flex.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-variation-flex.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-variation-flex.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-variation-flex.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-variation-flex.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}.duet-grid-variation-grid.sc-duet-grid-h{display:grid;grid-template-rows:repeat(1, 1fr);grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px;align-items:flex-start;justify-content:center;margin:0 20px}@media (min-width: 36em){.duet-grid-variation-grid.sc-duet-grid-h{gap:24px;margin:0 40px}}@media (min-width: 48em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(8, 55px);gap:24px 32px;margin:0 auto}}@media (min-width: 62em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, minmax(0, 1fr));margin:0 64px}}@media (min-width: 76.25em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, 55px);gap:40px;margin:0 auto}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:3/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:2/span 10}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 12}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:9/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:5/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:7/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:9/span 4}}";
11007
11011
 
@@ -11431,8 +11435,6 @@ const enableBodyScroll = targetElement => {
11431
11435
  }
11432
11436
  };
11433
11437
 
11434
- var actionArrowDownSmall={"title":"action-arrow-down-small","tags":"action arrow down small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z\"/></svg>"};
11435
-
11436
11438
  const DuetHeaderIcon = (props, _children) => {
11437
11439
  const iconSize = props.iconSize ? props.iconSize : "x-small";
11438
11440
  return (hAsync("span", { class: `duet-header-icon ${props.class ? props.class : ""}` },
@@ -11724,7 +11726,7 @@ class DuetHeader {
11724
11726
  this.refresh();
11725
11727
  }
11726
11728
  componentDidLoad() {
11727
- nudge(this);
11729
+ nudge();
11728
11730
  }
11729
11731
  connectedCallback() {
11730
11732
  for (let i = 0; i < this.mql.length; i++) {
@@ -12074,7 +12076,7 @@ class DuetHeading {
12074
12076
  inheritGlobalTheme(this);
12075
12077
  }
12076
12078
  componentDidLoad() {
12077
- nudge(this);
12079
+ nudge();
12078
12080
  }
12079
12081
  /**
12080
12082
  * render() function
@@ -12188,7 +12190,7 @@ class DuetHero {
12188
12190
  this.refresh();
12189
12191
  }
12190
12192
  componentDidLoad() {
12191
- nudge(this);
12193
+ nudge();
12192
12194
  }
12193
12195
  connectedCallback() {
12194
12196
  connectLanguageChangeObserver(this, {
@@ -12381,7 +12383,7 @@ class DuetIcon {
12381
12383
  this.loadIcon();
12382
12384
  }
12383
12385
  componentDidLoad() {
12384
- nudge(this);
12386
+ nudge();
12385
12387
  }
12386
12388
  async loadIcon() {
12387
12389
  // static icon known at build-time, so we can set it synchronously
@@ -12741,7 +12743,7 @@ class DuetInput {
12741
12743
  this.isPasswordRevealed = false;
12742
12744
  });
12743
12745
  }
12744
- nudge(this);
12746
+ nudge();
12745
12747
  }
12746
12748
  connectedCallback() {
12747
12749
  connectLanguageChangeObserver(this);
@@ -12922,7 +12924,7 @@ class DuetLabel {
12922
12924
  inheritGlobalTheme(this);
12923
12925
  }
12924
12926
  componentDidLoad() {
12925
- nudge(this);
12927
+ nudge();
12926
12928
  }
12927
12929
  /**
12928
12930
  * render() function
@@ -13042,6 +13044,7 @@ const duetLinkCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-link,*.sc-duet-link
13042
13044
 
13043
13045
  /**
13044
13046
  * @part duet-link - piercing selector for styling the link
13047
+ * @part duet-link-content - piercing selector for styling the link content wrapper
13045
13048
  * @part block-chevron - piercing selector for styling the block chevron
13046
13049
  */
13047
13050
  class DuetLink {
@@ -13071,7 +13074,7 @@ class DuetLink {
13071
13074
  this.initMediaQuery();
13072
13075
  }
13073
13076
  componentDidLoad() {
13074
- nudge(this);
13077
+ nudge();
13075
13078
  }
13076
13079
  connectedCallback() {
13077
13080
  connectLanguageChangeObserver(this, {
@@ -13104,7 +13107,7 @@ class DuetLink {
13104
13107
  this.isSmallScreen = event.matches;
13105
13108
  }
13106
13109
  renderContent() {
13107
- return (hAsync(Fragment, null, hAsync("span", { class: "duet-link-content" }, hAsync("slot", null)), Build.isBrowser ));
13110
+ return (hAsync(Fragment, null, hAsync("span", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), Build.isBrowser ));
13108
13111
  }
13109
13112
  renderGrid() {
13110
13113
  return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "block__icon" }, hAsync("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), hAsync("span", { class: "block__content" }, this.renderContent()), hAsync("span", { class: "block__chevron", part: "block-chevron" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
@@ -13593,7 +13596,7 @@ class DuetMenuBarButton {
13593
13596
  inheritGlobalTheme(this);
13594
13597
  }
13595
13598
  componentDidLoad() {
13596
- nudge(this);
13599
+ nudge();
13597
13600
  }
13598
13601
  connectedCallback() {
13599
13602
  this.changeIconSize();
@@ -13712,7 +13715,7 @@ class DuetMenuBarDropdown {
13712
13715
  inheritGlobalTheme(this);
13713
13716
  }
13714
13717
  componentDidLoad() {
13715
- nudge(this);
13718
+ nudge();
13716
13719
  }
13717
13720
  connectedCallback() {
13718
13721
  this.changeIconSize();
@@ -13810,7 +13813,7 @@ class DuetMenuBarDropdownLink {
13810
13813
  inheritGlobalTheme(this);
13811
13814
  }
13812
13815
  componentDidLoad() {
13813
- nudge(this);
13816
+ nudge();
13814
13817
  }
13815
13818
  handleEscape(e) {
13816
13819
  if (isEscapeKey(e)) {
@@ -13879,7 +13882,7 @@ class DuetMenuBarLink {
13879
13882
  inheritGlobalTheme(this);
13880
13883
  }
13881
13884
  componentDidLoad() {
13882
- nudge(this);
13885
+ nudge();
13883
13886
  }
13884
13887
  connectedCallback() {
13885
13888
  this.changeIconSize();
@@ -14136,7 +14139,7 @@ class DuetModal {
14136
14139
  this.open = true;
14137
14140
  this.modalEl.classList.add("duet-disable-transitions");
14138
14141
  }
14139
- nudge(this);
14142
+ nudge();
14140
14143
  }
14141
14144
  connectedCallback() {
14142
14145
  connectLanguageChangeObserver(this, { prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefaults" });
@@ -14419,7 +14422,7 @@ class DuetMultiselect {
14419
14422
  this.refresh();
14420
14423
  }
14421
14424
  componentDidLoad() {
14422
- nudge(this);
14425
+ nudge();
14423
14426
  }
14424
14427
  connectedCallback() {
14425
14428
  connectLanguageChangeObserver(this);
@@ -14567,7 +14570,7 @@ class DuetNotification {
14567
14570
  inheritGlobalTheme(this);
14568
14571
  }
14569
14572
  componentDidLoad() {
14570
- nudge(this);
14573
+ nudge();
14571
14574
  }
14572
14575
  connectedCallback() {
14573
14576
  connectLanguageChangeObserver(this, { prop: "accessibleLabelUnread", defaults: "accessibleLabelUnreadDefaults" });
@@ -14657,7 +14660,7 @@ class DuetNotificationDrawer {
14657
14660
  this.updateNotificationState();
14658
14661
  }
14659
14662
  componentDidLoad() {
14660
- nudge(this);
14663
+ nudge();
14661
14664
  }
14662
14665
  connectedCallback() {
14663
14666
  this.observer = new MutationObserver(this.updateNotificationState);
@@ -15056,7 +15059,7 @@ class DuetNumberInput {
15056
15059
  }
15057
15060
  }
15058
15061
  componentDidLoad() {
15059
- nudge(this);
15062
+ nudge();
15060
15063
  }
15061
15064
  connectedCallback() {
15062
15065
  connectLanguageChangeObserver(this, [
@@ -15178,7 +15181,7 @@ class DuetPageHeading {
15178
15181
  inheritGlobalTheme(this);
15179
15182
  }
15180
15183
  componentDidLoad() {
15181
- nudge(this);
15184
+ nudge();
15182
15185
  }
15183
15186
  /**
15184
15187
  * render() function
@@ -15357,7 +15360,7 @@ class DuetPagination {
15357
15360
  }
15358
15361
  componentDidLoad() {
15359
15362
  this.firstRenderDone = true;
15360
- nudge(this);
15363
+ nudge();
15361
15364
  }
15362
15365
  componentWillRender() {
15363
15366
  if (this.internalSectionIndex !== 0 && this.internalSectionIndex !== this.totalPages) {
@@ -15622,7 +15625,7 @@ class DuetParagraph {
15622
15625
  inheritGlobalTheme(this);
15623
15626
  }
15624
15627
  componentDidLoad() {
15625
- nudge(this);
15628
+ nudge();
15626
15629
  }
15627
15630
  /**
15628
15631
  * render() function
@@ -17119,7 +17122,7 @@ class DuetPopupMenuItem {
17119
17122
  inheritGlobalTheme(this);
17120
17123
  }
17121
17124
  componentDidLoad() {
17122
- nudge(this);
17125
+ nudge();
17123
17126
  }
17124
17127
  /**
17125
17128
  * Sets focus. Use this method instead of the global focus().
@@ -17200,7 +17203,7 @@ class DuetProgress {
17200
17203
  inheritGlobalTheme(this);
17201
17204
  }
17202
17205
  componentDidLoad() {
17203
- nudge(this);
17206
+ nudge();
17204
17207
  }
17205
17208
  connectedCallback() {
17206
17209
  connectLanguageChangeObserver(this, { prop: "accessibleLabelUpload", defaults: "accessibleLabelUploadDefaults" });
@@ -17271,7 +17274,7 @@ class DuetPromoCard {
17271
17274
  this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
17272
17275
  }
17273
17276
  componentDidLoad() {
17274
- nudge(this);
17277
+ nudge();
17275
17278
  }
17276
17279
  /**
17277
17280
  * render() function
@@ -17513,7 +17516,7 @@ class DuetRadioGroup {
17513
17516
  inheritGlobalTheme(this);
17514
17517
  }
17515
17518
  componentDidLoad() {
17516
- nudge(this);
17519
+ nudge();
17517
17520
  }
17518
17521
  /**
17519
17522
  * Local methods.
@@ -17665,7 +17668,7 @@ class DuetRangeSlider {
17665
17668
  inheritGlobalTheme(this);
17666
17669
  }
17667
17670
  componentDidLoad() {
17668
- nudge(this);
17671
+ nudge();
17669
17672
  }
17670
17673
  /**
17671
17674
  * Sets focus on the specified `duet-range-slider`. Use this method instead of the global
@@ -17822,7 +17825,7 @@ class DuetRangeStepper {
17822
17825
  }
17823
17826
  componentDidLoad() {
17824
17827
  this.watchStepIndexStateHandler(this.stepIndex);
17825
- nudge(this);
17828
+ nudge();
17826
17829
  }
17827
17830
  connectedCallback() {
17828
17831
  connectLanguageChangeObserver(this, { prop: "ariaLabels", defaults: "ariaLabelsDefaults" });
@@ -17977,7 +17980,7 @@ class DuetScrollable {
17977
17980
  }
17978
17981
  componentDidLoad() {
17979
17982
  this.resizeObserver.observe(this.tabListElement);
17980
- nudge(this);
17983
+ nudge();
17981
17984
  }
17982
17985
  disconnectedCallback() {
17983
17986
  this.resizeObserver.disconnect();
@@ -18261,7 +18264,7 @@ class DuetSelect {
18261
18264
  this.refresh();
18262
18265
  }
18263
18266
  componentDidLoad() {
18264
- nudge(this);
18267
+ nudge();
18265
18268
  }
18266
18269
  /**
18267
18270
  * Sets focus on the specified `duet-select`. Use this method instead of the global
@@ -18475,7 +18478,7 @@ class DuetShowMore {
18475
18478
  this.buttonAriaOpen = this.open;
18476
18479
  }
18477
18480
  componentDidLoad() {
18478
- nudge(this);
18481
+ nudge();
18479
18482
  }
18480
18483
  connectedCallback() {
18481
18484
  connectLanguageChangeObserver(this, [
@@ -18547,16 +18550,18 @@ class DuetSlideout {
18547
18550
  }
18548
18551
  };
18549
18552
  this.toggleMenu = (e) => {
18550
- const toggle = !this.open;
18551
- this.open = toggle;
18552
- this.openButton.setAttribute("aria-expanded", this.open.toString());
18553
+ this.open = !this.open;
18554
+ if (this.openButton) {
18555
+ this.openButton.accessibleExpanded = this.open;
18556
+ }
18553
18557
  this.duetSlideoutEvent.emit({
18554
18558
  originalEvent: e,
18555
18559
  data: { element: this.element, open: this.open },
18556
18560
  component: "duet-slideout",
18557
18561
  });
18558
- if (toggle) {
18562
+ if (this.open) {
18559
18563
  const openPanel = this.element.querySelector("duet-slideout-panel[open]");
18564
+ this.teleport.go(true);
18560
18565
  if (openPanel) {
18561
18566
  openPanel.setFocus();
18562
18567
  this.handleBodyScrolling();
@@ -18570,8 +18575,10 @@ class DuetSlideout {
18570
18575
  }
18571
18576
  else {
18572
18577
  setTimeout(() => {
18573
- this.openButton.setFocus();
18578
+ var _a;
18579
+ (_a = this.openButton) === null || _a === void 0 ? void 0 : _a.setFocus();
18574
18580
  this.handleBodyScrolling();
18581
+ this.teleport.resume();
18575
18582
  }, 200);
18576
18583
  }
18577
18584
  };
@@ -18582,6 +18589,7 @@ class DuetSlideout {
18582
18589
  this.displaying = false;
18583
18590
  this.theme = "";
18584
18591
  this.open = false;
18592
+ this.opener = undefined;
18585
18593
  this.backgroundColor = "gray-lightest";
18586
18594
  }
18587
18595
  /**
@@ -18594,27 +18602,49 @@ class DuetSlideout {
18594
18602
  this.closeButton.focus();
18595
18603
  }, 200);
18596
18604
  }
18605
+ /**
18606
+ * Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
18607
+ * the slideout so that focus can be moved back to this specific element when
18608
+ * the slideout dialog is closed.
18609
+ */
18610
+ async show() {
18611
+ if (this.open) {
18612
+ return;
18613
+ }
18614
+ const button = document.activeElement;
18615
+ if (button) {
18616
+ button.accessiblePopup = "true";
18617
+ this.openButton = button;
18618
+ }
18619
+ this.toggleMenu(new CustomEvent("toggle"));
18620
+ }
18621
+ /**
18622
+ * Hides the slideout dialog and puts focus back to the original element
18623
+ * that triggered the slideout (if we’re still in the same view).
18624
+ */
18625
+ async hide() {
18626
+ if (!this.open) {
18627
+ return;
18628
+ }
18629
+ this.toggleMenu(new CustomEvent("toggle"));
18630
+ }
18597
18631
  /**
18598
18632
  * Component lifecycle events.
18599
18633
  */
18600
18634
  componentWillLoad() {
18601
18635
  inheritGlobalTheme(this);
18602
- {
18603
- const toggles = Array.from(this.element.children).filter(el => el.matches("[slot='toggle']"));
18604
- if (toggles.length > 0) {
18605
- this.openButton = toggles[0];
18606
- }
18607
- }
18608
- if (this.openButton) {
18609
- this.openButton.accessiblePopup = "true";
18610
- this.openButton.accessibleExpanded = false;
18611
- this.openButton.addEventListener("click", e => {
18636
+ const button = this.opener && document.getElementById(this.opener);
18637
+ if (button) {
18638
+ button.accessiblePopup = "true";
18639
+ button.accessibleExpanded = false;
18640
+ button.addEventListener("click", e => {
18612
18641
  e.stopPropagation();
18613
18642
  e.preventDefault();
18643
+ this.openButton = button;
18614
18644
  this.onClick(e);
18615
18645
  });
18616
- this.openButton = this.openButton;
18617
18646
  }
18647
+ this.teleport = new Teleport(this.element);
18618
18648
  }
18619
18649
  async componentDidLoad() {
18620
18650
  {
@@ -18644,7 +18674,8 @@ class DuetSlideout {
18644
18674
  * Sets focus. Use this method instead of the global focus().
18645
18675
  */
18646
18676
  async setFocus(options) {
18647
- this.openButton.focus(options);
18677
+ var _a;
18678
+ (_a = this.openButton) === null || _a === void 0 ? void 0 : _a.focus(options);
18648
18679
  }
18649
18680
  /**
18650
18681
  * render() function
@@ -18655,7 +18686,7 @@ class DuetSlideout {
18655
18686
  background: getColorByName(this.backgroundColor, this.theme),
18656
18687
  };
18657
18688
  const exitTranslation = getLocaleString(this.exitLangObject);
18658
- return (hAsync(Host, null, hAsync("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { name: "toggle" }), hAsync("div", { class: {
18689
+ return (hAsync(Host, null, hAsync("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { class: {
18659
18690
  "desktop-bg": true,
18660
18691
  hidden: !this.open,
18661
18692
  }, onClick: () => {
@@ -18678,10 +18709,13 @@ class DuetSlideout {
18678
18709
  "$members$": {
18679
18710
  "theme": [1025],
18680
18711
  "open": [1540],
18712
+ "opener": [1],
18681
18713
  "backgroundColor": [1537, "background-color"],
18682
18714
  "language": [32],
18683
18715
  "displaying": [32],
18684
18716
  "toggle": [64],
18717
+ "show": [64],
18718
+ "hide": [64],
18685
18719
  "setFocus": [64]
18686
18720
  },
18687
18721
  "$listeners$": [[8, "keyup", "handleKeyUp"]],
@@ -18713,7 +18747,7 @@ class DuetSlideoutLang {
18713
18747
  inheritGlobalTheme(this);
18714
18748
  }
18715
18749
  componentDidLoad() {
18716
- nudge(this);
18750
+ nudge();
18717
18751
  }
18718
18752
  connectedCallback() {
18719
18753
  connectLanguageChangeObserver(this);
@@ -18766,7 +18800,7 @@ class DuetSlideoutLink {
18766
18800
  inheritGlobalTheme(this);
18767
18801
  }
18768
18802
  componentDidLoad() {
18769
- nudge(this);
18803
+ nudge();
18770
18804
  }
18771
18805
  /**
18772
18806
  * render() function
@@ -18860,7 +18894,7 @@ class DuetSlideoutPanel {
18860
18894
  this.updateLabel();
18861
18895
  }
18862
18896
  componentDidLoad() {
18863
- nudge(this);
18897
+ nudge();
18864
18898
  }
18865
18899
  connectedCallback() {
18866
18900
  connectLanguageChangeObserver(this);
@@ -18966,7 +19000,7 @@ class DuetSlideoutPanelDropdown {
18966
19000
  });
18967
19001
  }
18968
19002
  componentDidLoad() {
18969
- nudge(this);
19003
+ nudge();
18970
19004
  }
18971
19005
  /**
18972
19006
  * Sets focus. Use this method instead of the global focus().
@@ -19145,7 +19179,7 @@ class DuetStep {
19145
19179
  inheritGlobalTheme(this);
19146
19180
  }
19147
19181
  componentDidLoad() {
19148
- nudge(this);
19182
+ nudge();
19149
19183
  }
19150
19184
  /**
19151
19185
  * Programmatically shift focus to the step's heading.
@@ -19254,7 +19288,7 @@ class DuetStepper {
19254
19288
  inheritGlobalTheme(this);
19255
19289
  }
19256
19290
  componentDidLoad() {
19257
- nudge(this);
19291
+ nudge();
19258
19292
  }
19259
19293
  async connectedCallback() {
19260
19294
  this.updateStepState();
@@ -19398,7 +19432,7 @@ class DuetSubmenuBar {
19398
19432
  }
19399
19433
  }
19400
19434
  componentDidLoad() {
19401
- nudge(this);
19435
+ nudge();
19402
19436
  }
19403
19437
  connectedCallback() {
19404
19438
  this.nav = document.querySelector("duet-nav > [slot='mobile']");
@@ -19521,7 +19555,7 @@ class DuetSubmenuBarDropdown {
19521
19555
  inheritGlobalTheme(this);
19522
19556
  }
19523
19557
  componentDidLoad() {
19524
- nudge(this);
19558
+ nudge();
19525
19559
  }
19526
19560
  connectedCallback() {
19527
19561
  this.checkIsDesktop();
@@ -19618,7 +19652,7 @@ class DuetSubmenuBarDropdownLink {
19618
19652
  inheritGlobalTheme(this);
19619
19653
  }
19620
19654
  componentDidLoad() {
19621
- nudge(this);
19655
+ nudge();
19622
19656
  }
19623
19657
  handleEscape(e) {
19624
19658
  if (isEscapeKey(e)) {
@@ -19689,7 +19723,7 @@ class DuetSubmenuBarLink {
19689
19723
  inheritGlobalTheme(this);
19690
19724
  }
19691
19725
  componentDidLoad() {
19692
- nudge(this);
19726
+ nudge();
19693
19727
  }
19694
19728
  connectedCallback() {
19695
19729
  this.changeIconSize();
@@ -19761,7 +19795,7 @@ class DuetTab {
19761
19795
  * Component lifecycle events.
19762
19796
  */
19763
19797
  componentDidLoad() {
19764
- nudge(this);
19798
+ nudge();
19765
19799
  }
19766
19800
  connectedCallback() {
19767
19801
  connectLanguageChangeObserver(this, { prop: "accessibleDescription", defaults: "accessibleDescriptionDefault" });
@@ -19911,7 +19945,7 @@ class DuetTabGroup {
19911
19945
  }
19912
19946
  componentDidLoad() {
19913
19947
  this.scrollToActive();
19914
- nudge(this);
19948
+ nudge();
19915
19949
  }
19916
19950
  /**
19917
19951
  * This method allows you to open any of the tabs by calling the method and
@@ -20303,7 +20337,7 @@ class DuetTextarea {
20303
20337
  }
20304
20338
  }
20305
20339
  componentDidLoad() {
20306
- nudge(this);
20340
+ nudge();
20307
20341
  }
20308
20342
  /**
20309
20343
  * Sets focus on the specified `duet-textarea`. Use this method instead of the global
@@ -20434,7 +20468,7 @@ class DuetToggle {
20434
20468
  }
20435
20469
  }
20436
20470
  componentDidLoad() {
20437
- nudge(this);
20471
+ nudge();
20438
20472
  }
20439
20473
  /**
20440
20474
  * Sets focus on the specified `duet-toggle`. Use this method instead of the global
@@ -20571,7 +20605,7 @@ class DuetToolbarDropdown {
20571
20605
  inheritGlobalTheme(this);
20572
20606
  }
20573
20607
  componentDidLoad() {
20574
- nudge(this);
20608
+ nudge();
20575
20609
  }
20576
20610
  handleEscape(e) {
20577
20611
  if (isEscapeKey(e)) {
@@ -20644,7 +20678,7 @@ class DuetToolbarDropdownLink {
20644
20678
  inheritGlobalTheme(this);
20645
20679
  }
20646
20680
  componentDidLoad() {
20647
- nudge(this);
20681
+ nudge();
20648
20682
  }
20649
20683
  handleEscape(e) {
20650
20684
  if (isEscapeKey(e)) {
@@ -20701,7 +20735,7 @@ class DuetToolbarLink {
20701
20735
  inheritGlobalTheme(this);
20702
20736
  }
20703
20737
  componentDidLoad() {
20704
- nudge(this);
20738
+ nudge();
20705
20739
  }
20706
20740
  /**
20707
20741
  * render() function
@@ -20827,7 +20861,7 @@ class DuetTooltip {
20827
20861
  }
20828
20862
  this.intersectionObserver = new IntersectionObserver(this.updatePlacement, { root: document.body });
20829
20863
  this.intersectionObserver.observe(this.element);
20830
- nudge(this);
20864
+ nudge();
20831
20865
  }
20832
20866
  componentDidUpdate() {
20833
20867
  switch (this.focusTarget) {
@@ -20975,7 +21009,7 @@ class DuetTooltipButton {
20975
21009
  inheritGlobalTheme(this);
20976
21010
  }
20977
21011
  componentDidLoad() {
20978
- nudge(this);
21012
+ nudge();
20979
21013
  }
20980
21014
  async setFocus(options) {
20981
21015
  if (this.buttonElement) {
@@ -21048,7 +21082,7 @@ class DuetTooltipPopup {
21048
21082
  this.teleport = new Teleport(this.element);
21049
21083
  }
21050
21084
  componentDidLoad() {
21051
- nudge(this);
21085
+ nudge();
21052
21086
  }
21053
21087
  async getArrowElement() {
21054
21088
  return this.arrowEl;
@@ -21145,7 +21179,7 @@ class DuetTray {
21145
21179
  this.hasAdditionalContent = !!this.element.querySelector("[slot='additional']");
21146
21180
  }
21147
21181
  componentDidLoad() {
21148
- nudge(this);
21182
+ nudge();
21149
21183
  }
21150
21184
  connectedCallback() {
21151
21185
  connectLanguageChangeObserver(this, [
@@ -22210,7 +22244,7 @@ class DuetUpload {
22210
22244
  this.externalUploadButton = document.querySelector(`#${this.externalUploadButtonId}`);
22211
22245
  }
22212
22246
  componentDidLoad() {
22213
- nudge(this);
22247
+ nudge();
22214
22248
  }
22215
22249
  componentWillRender() {
22216
22250
  // listen to the events from the component
@@ -22564,7 +22598,7 @@ class DuetUploadAriaStatus {
22564
22598
  * Component lifecycle events.
22565
22599
  */
22566
22600
  componentDidLoad() {
22567
- nudge(this);
22601
+ nudge();
22568
22602
  }
22569
22603
  /**
22570
22604
  * render() function
@@ -22609,6 +22643,8 @@ const formatBytes = (bytes, decimals = 2) => {
22609
22643
  return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
22610
22644
  };
22611
22645
 
22646
+ const duetUploadItemCss = ".file-link::part(duet-link){text-decoration:none}";
22647
+
22612
22648
  class DuetUploadItem {
22613
22649
  constructor(hostRef) {
22614
22650
  registerInstance(this, hostRef);
@@ -22645,7 +22681,7 @@ class DuetUploadItem {
22645
22681
  inheritGlobalTheme(this);
22646
22682
  }
22647
22683
  componentDidLoad() {
22648
- nudge(this);
22684
+ nudge();
22649
22685
  }
22650
22686
  /**
22651
22687
  * focusActionButton.
@@ -22669,7 +22705,7 @@ class DuetUploadItem {
22669
22705
  case "failure":
22670
22706
  return (hAsync("span", { class: "duet-upload-item-error", role: "status" }, hAsync("duet-paragraph", { class: "duet-upload-item-name", color: "danger", margin: "none", weight: "semi-bold" }, hAsync("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), hAsync("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(error.type, this.errorCodes))));
22671
22707
  default:
22672
- return uploaded && url && this.showLinks ? (hAsync("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, hAsync("duet-link", { onClick: this.onLinkClick, url: url, external: true }, ContentName), hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (hAsync("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
22708
+ return uploaded && url && this.showLinks ? (hAsync("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, hAsync("duet-link", { class: "file-link", onClick: this.onLinkClick, url: url }, ContentName), hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (hAsync("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
22673
22709
  }
22674
22710
  }
22675
22711
  render() {
@@ -22683,6 +22719,7 @@ class DuetUploadItem {
22683
22719
  }))));
22684
22720
  }
22685
22721
  get element() { return getElement(this); }
22722
+ static get style() { return duetUploadItemCss; }
22686
22723
  static get cmpMeta() { return {
22687
22724
  "$flags$": 0,
22688
22725
  "$tagName$": "duet-upload-item",
@@ -22712,7 +22749,7 @@ class DuetVisuallyHidden {
22712
22749
  registerInstance(this, hostRef);
22713
22750
  }
22714
22751
  componentDidLoad() {
22715
- nudge(this);
22752
+ nudge();
22716
22753
  }
22717
22754
  /**
22718
22755
  * render() function