@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
@@ -91,6 +91,12 @@ export class DuetChoice {
91
91
  };
92
92
  this.toggleInfo = () => {
93
93
  this.isInfoOpen = !this.isInfoOpen;
94
+ if (this.isInfoOpen) {
95
+ setTimeout(() => {
96
+ var _a;
97
+ (_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
98
+ });
99
+ }
94
100
  };
95
101
  this.isHovering = false;
96
102
  this.isInfoOpen = false;
@@ -140,6 +146,7 @@ export class DuetChoice {
140
146
  this.hasAdditional = hasSlot(this.element, "additional");
141
147
  this.hasLabel = hasSlot(this.element, "label");
142
148
  this.hasBeforeText = hasSlot(this.element, "before-text");
149
+ this.duetChoiceReady.emit();
143
150
  }
144
151
  componentDidLoad() {
145
152
  nudge(this);
@@ -152,6 +159,7 @@ export class DuetChoice {
152
159
  }
153
160
  disconnectedCallback() {
154
161
  disconnectLanguageChangeObserver(this);
162
+ this.duetChoiceRemove.emit();
155
163
  }
156
164
  /**
157
165
  * Component event handling.
@@ -269,7 +277,7 @@ export class DuetChoice {
269
277
  }, 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" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
270
278
  "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
271
279
  "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
272
- } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", null, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", null, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
280
+ } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", null, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
273
281
  }
274
282
  static get is() { return "duet-choice"; }
275
283
  static get encapsulation() { return "scoped"; }
@@ -886,6 +894,46 @@ export class DuetChoice {
886
894
  }
887
895
  static get events() {
888
896
  return [{
897
+ "method": "duetChoiceReady",
898
+ "name": "duetChoiceReady",
899
+ "bubbles": true,
900
+ "cancelable": true,
901
+ "composed": true,
902
+ "docs": {
903
+ "tags": [],
904
+ "text": "Emitted when the component is available in the DOM."
905
+ },
906
+ "complexType": {
907
+ "original": "CustomEvent",
908
+ "resolved": "CustomEvent<any>",
909
+ "references": {
910
+ "CustomEvent": {
911
+ "location": "global",
912
+ "id": "global::CustomEvent"
913
+ }
914
+ }
915
+ }
916
+ }, {
917
+ "method": "duetChoiceRemove",
918
+ "name": "duetChoiceRemove",
919
+ "bubbles": true,
920
+ "cancelable": true,
921
+ "composed": true,
922
+ "docs": {
923
+ "tags": [],
924
+ "text": "Emitted when the component is removed from the DOM."
925
+ },
926
+ "complexType": {
927
+ "original": "CustomEvent",
928
+ "resolved": "CustomEvent<any>",
929
+ "references": {
930
+ "CustomEvent": {
931
+ "location": "global",
932
+ "id": "global::CustomEvent"
933
+ }
934
+ }
935
+ }
936
+ }, {
889
937
  "method": "duetChange",
890
938
  "name": "duetChange",
891
939
  "bubbles": true,
@@ -901,7 +949,7 @@ export class DuetChoice {
901
949
  "references": {
902
950
  "DuetChoiceEvent": {
903
951
  "location": "local",
904
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
952
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
905
953
  "id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
906
954
  }
907
955
  }
@@ -922,7 +970,7 @@ export class DuetChoice {
922
970
  "references": {
923
971
  "DuetChoiceEvent": {
924
972
  "location": "local",
925
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
973
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
926
974
  "id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
927
975
  }
928
976
  }
@@ -943,7 +991,7 @@ export class DuetChoice {
943
991
  "references": {
944
992
  "DuetChoiceEvent": {
945
993
  "location": "local",
946
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
994
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
947
995
  "id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
948
996
  }
949
997
  }
@@ -65,7 +65,6 @@ describe("duet-choice-group", () => {
65
65
  });
66
66
  it("ignores duetChange events from all components other than duet-choice", async () => {
67
67
  const page = await createPage(`
68
- <link rel="stylesheet" href="http://localhost:3334/fonts/lib/localtapiola.css" />
69
68
  <duet-choice-group value="svenska" label="Asiointikieli" name="group" responsive>
70
69
  <duet-choice label="Svenska" type="radio" value="svenska" collapsible expand>
71
70
  <duet-textarea></duet-textarea>
@@ -4,17 +4,10 @@
4
4
  import { Build, h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { nudge } from "../../utils/nudge";
7
- import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
8
- const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
9
7
  export class DuetChoiceGroup {
10
8
  constructor() {
11
9
  this.choiceGroupName = "duet-choice-group";
12
- this.getChoices = () => {
13
- return Array.from(this.element.querySelectorAll(duetChoiceSelector));
14
- };
15
- this.isMyChoice = (choice) => {
16
- return this.getChoices().includes(choice);
17
- };
10
+ this.choices = new Set();
18
11
  /**
19
12
  * Component event handling.
20
13
  */
@@ -23,12 +16,21 @@ export class DuetChoiceGroup {
23
16
  return;
24
17
  }
25
18
  const selectedChoice = ev.target;
26
- if (selectedChoice && this.isMyChoice(selectedChoice)) {
19
+ if (selectedChoice && this.choices.has(selectedChoice)) {
27
20
  this.value = selectedChoice.value;
28
21
  }
29
- // Prevent events from bubbling up the DOM tree in case
30
- // this group is a sub-group of another choice group.
31
- ev.cancelBubble = true;
22
+ };
23
+ this.onChoiceReady = (ev) => {
24
+ const choice = ev.target;
25
+ if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
26
+ this.choices.add(choice);
27
+ this.updateChoices();
28
+ }
29
+ };
30
+ this.onChoiceRemove = (ev) => {
31
+ const choice = ev.target;
32
+ this.choices.delete(choice);
33
+ this.updateChoices();
32
34
  };
33
35
  this.direction = "vertical";
34
36
  this.margin = "auto";
@@ -52,28 +54,7 @@ export class DuetChoiceGroup {
52
54
  if (Build.isServer) {
53
55
  return;
54
56
  }
55
- const el = this.element;
56
- if (this.value === undefined) {
57
- const choice = findCheckedOption(el, duetChoiceSelector);
58
- if (choice !== undefined) {
59
- await choice.componentOnReady();
60
- if (this.value === undefined) {
61
- this.value = choice.value;
62
- }
63
- }
64
- }
65
- this.mutationO = watchForOptions(el, duetChoiceSelector, newOption => {
66
- if (newOption !== undefined) {
67
- newOption.componentOnReady().then(() => {
68
- if (this.isMyChoice(newOption)) {
69
- this.value = newOption.value;
70
- }
71
- });
72
- }
73
- else {
74
- this.updateChoices();
75
- }
76
- });
57
+ this.initialValue = this.value;
77
58
  this.updateChoices();
78
59
  }
79
60
  disconnectedCallback() {
@@ -95,15 +76,11 @@ export class DuetChoiceGroup {
95
76
  * Local methods
96
77
  */
97
78
  async updateChoices() {
98
- /**
99
- * Make sure we get all choices first so values are up to date prior
100
- * to caching the choice group value
101
- */
102
- const choices = this.getChoices();
103
- const { value } = this;
79
+ var _a;
80
+ const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
104
81
  let hasChecked = false;
105
82
  // Walk the DOM in reverse order, since the last selected one wins
106
- for (const choice of choices) {
83
+ for (const choice of this.choices) {
107
84
  choice.name = this.name;
108
85
  choice.groupDisabled = this.disabled;
109
86
  choice.groupDirection = this.direction;
@@ -113,6 +90,9 @@ export class DuetChoiceGroup {
113
90
  // and we haven't found a checked yet
114
91
  hasChecked = true;
115
92
  choice.checked = true;
93
+ if (typeof this.value === "undefined") {
94
+ this.value = value;
95
+ }
116
96
  }
117
97
  else {
118
98
  // This choice doesn't have the correct value or the choice group has been already checked
@@ -129,7 +109,7 @@ export class DuetChoiceGroup {
129
109
  * Always the last one in the class.
130
110
  */
131
111
  render() {
132
- return (h(Host, { onDuetChange: this.onSelect, class: {
112
+ return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
133
113
  horizontal: this.direction === "horizontal",
134
114
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
135
115
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
@@ -14,8 +14,6 @@ describe("duet-collapsible", () => {
14
14
  }
15
15
  const generatePage = async (open = false) => {
16
16
  return createPage(`
17
- <meta charset="utf-8" />
18
- <link rel='stylesheet' href='http://localhost:3334/fonts/lib/localtapiola.css' />
19
17
  <duet-collapsible heading="First collapsible" ${open ? "open" : ""} accessible-label="Accessible First collapsible">
20
18
  <duet-paragraph>
21
19
  Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aperiam impedit, possimus minima repudiandae
@@ -228,7 +228,7 @@ export class DuetCollapsible {
228
228
  "references": {
229
229
  "DuetCollapsibleWeight": {
230
230
  "location": "local",
231
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
231
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
232
232
  "id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleWeight"
233
233
  }
234
234
  }
@@ -252,7 +252,7 @@ export class DuetCollapsible {
252
252
  "references": {
253
253
  "DuetCollapsibleHeadingFontSize": {
254
254
  "location": "local",
255
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
255
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
256
256
  "id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleHeadingFontSize"
257
257
  }
258
258
  }
@@ -352,7 +352,7 @@ export class DuetCollapsible {
352
352
  "references": {
353
353
  "DuetCollapsibleToggleEvent": {
354
354
  "location": "local",
355
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
355
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
356
356
  "id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleToggleEvent"
357
357
  }
358
358
  }
@@ -1,17 +1,30 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { getAllFixturesFiles } from "../../utils/fixture-utils";
5
4
  import { createPage } from "../../utils/test-utils";
6
- const items = getAllFixturesFiles(__dirname);
5
+ const createPageWithCombobox = async () => {
6
+ const combobox = `<duet-combobox force="true"><duet-input label="Combobox Postalcode example" icon="form-location" expand caption="use arrow keys to navigate, type to search list"></duet-input></duet-combobox>`;
7
+ const page = await createPage(combobox);
8
+ await page.$eval("duet-combobox", (combobox, props) => Object.assign(combobox, props), {
9
+ items: [
10
+ { id: 0, value: "49200", name: "Heinlahti" },
11
+ { id: 1, value: "49210", name: "Huutjarvi" },
12
+ { id: 2, value: "49220", name: "Siltakyla" },
13
+ { id: 3, value: "49240", name: "Purola" },
14
+ { id: 4, value: "49270", name: "Something" },
15
+ { id: 5, value: "49290", name: "Vastila" },
16
+ ],
17
+ });
18
+ return page;
19
+ };
7
20
  describe("duet-combobox", () => {
8
21
  it("should render a combobox", async () => {
9
- const page = await createPage(`<duet-combobox></duet-combobox>`);
22
+ const page = await createPageWithCombobox();
10
23
  const component = await page.find("duet-combobox");
11
24
  expect(component).not.toBeNull();
12
25
  });
13
26
  it("allow selection of items via keyboard, make sure tabbing away retains content", async () => {
14
- const page = await createPage(items.fixtures["duet-combobox-e2e"]);
27
+ const page = await createPageWithCombobox();
15
28
  const element = await page.find("duet-combobox");
16
29
  const input = await element.find("duet-input .duet-input");
17
30
  await input.click();
@@ -32,7 +45,7 @@ describe("duet-combobox", () => {
32
45
  expect(await input.getProperty("value")).toBe("Heinlahti");
33
46
  });
34
47
  it("closes via escape key with null values if forced", async () => {
35
- const page = await createPage(items.fixtures["duet-combobox-e2e"]);
48
+ const page = await createPageWithCombobox();
36
49
  const element = await page.find("duet-combobox");
37
50
  const input = await element.find("duet-input .duet-input");
38
51
  // tab to input
@@ -46,7 +59,7 @@ describe("duet-combobox", () => {
46
59
  expect(await input.getProperty("value")).toBe("");
47
60
  });
48
61
  it("closes via escape key with set values if forced", async () => {
49
- const page = await createPage(items.fixtures["duet-combobox-e2e"]);
62
+ const page = await createPageWithCombobox();
50
63
  const targetValue = "Heinlahti";
51
64
  const element = await page.find("duet-combobox");
52
65
  const input = await element.find("duet-input .duet-input");
@@ -71,7 +84,7 @@ describe("duet-combobox", () => {
71
84
  expect(itemValue).toBe(targetValue);
72
85
  });
73
86
  it("shows dropdown navigable via keys", async () => {
74
- const page = await createPage(items.fixtures["duet-combobox-e2e"]);
87
+ const page = await createPageWithCombobox();
75
88
  const element = await page.find("duet-combobox");
76
89
  const input = await element.find("duet-input .duet-input");
77
90
  // focus on input
@@ -89,7 +102,7 @@ describe("duet-combobox", () => {
89
102
  expect(await input.getProperty("value")).toBe("Huutjarvi");
90
103
  });
91
104
  it("allows filtering middle of string", async () => {
92
- const page = await createPage(items.fixtures["duet-combobox-e2e"]);
105
+ const page = await createPageWithCombobox();
93
106
  const element = await page.find("duet-combobox");
94
107
  element.setProperty("filterType", "includes");
95
108
  await page.waitForChanges();
@@ -500,7 +500,7 @@ export class DuetCombobox {
500
500
  "references": {
501
501
  "DuetComboboxItem": {
502
502
  "location": "local",
503
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-combobox/duet-combobox.tsx",
503
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx",
504
504
  "id": "src/components/duet-combobox/duet-combobox.tsx::DuetComboboxItem"
505
505
  }
506
506
  }
@@ -620,7 +620,7 @@ export class DuetCombobox {
620
620
  "references": {
621
621
  "DuetComboboxEvent": {
622
622
  "location": "local",
623
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-combobox/duet-combobox.tsx",
623
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx",
624
624
  "id": "src/components/duet-combobox/duet-combobox.tsx::DuetComboboxEvent"
625
625
  }
626
626
  }
@@ -646,7 +646,7 @@ export class DuetCombobox {
646
646
  },
647
647
  "DuetComboboxItem": {
648
648
  "location": "local",
649
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-combobox/duet-combobox.tsx",
649
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx",
650
650
  "id": "src/components/duet-combobox/duet-combobox.tsx::DuetComboboxItem"
651
651
  }
652
652
  },
@@ -5,10 +5,6 @@ import { createPage } from "../../utils/test-utils";
5
5
  describe("duet-cookie-consent", () => {
6
6
  const generatePage = async (theme = "") => {
7
7
  return createPage(`
8
- <meta charset="utf-8" />
9
- <link rel='stylesheet' href='http://localhost:3334/fonts/lib/localtapiola.css' />
10
- <link rel="stylesheet" href="http://localhost:3334/fonts/lib/turva.css" />
11
- <link rel="stylesheet" href="http://localhost:3334/css/lib/duet.min.css" />
12
8
  <duet-cookie-consent accessible-label="Hyväksyn evästeiden käytön" theme=${theme}>
13
9
  Käytämme evästeitä. Käyttämällä verkkosivujamme hyväksyt evästeiden käyton.
14
10
  <a href="#" target="_blank" aria-label="Lue lisää evästeiden käytöstä sivustolla">Lue lisää</a>
@@ -114,7 +114,7 @@ export class DuetCookieConsent {
114
114
  "references": {
115
115
  "DuetCookieConsentEvent": {
116
116
  "location": "local",
117
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-cookie-consent/duet-cookie-consent.tsx",
117
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-cookie-consent/duet-cookie-consent.tsx",
118
118
  "id": "src/components/duet-cookie-consent/duet-cookie-consent.tsx::DuetCookieConsentEvent"
119
119
  }
120
120
  }
@@ -72,7 +72,6 @@ const generatePage = (props) => {
72
72
  .join(" ");
73
73
  return createPage(`
74
74
  <body style="min-height: 400px">
75
- <link rel="stylesheet" href="http://localhost:3334/fonts/lib/localtapiola.css" />
76
75
  <duet-date-picker ${attrs}></duet-date-picker>
77
76
  </body>
78
77
  `);
@@ -758,7 +758,7 @@ export class DuetDatePicker {
758
758
  "references": {
759
759
  "DuetDatePickerDirection": {
760
760
  "location": "local",
761
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
761
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
762
762
  "id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerDirection"
763
763
  }
764
764
  }
@@ -933,7 +933,7 @@ export class DuetDatePicker {
933
933
  "references": {
934
934
  "DuetDatePickerChangeEvent": {
935
935
  "location": "local",
936
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
936
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
937
937
  "id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerChangeEvent"
938
938
  }
939
939
  }
@@ -954,7 +954,7 @@ export class DuetDatePicker {
954
954
  "references": {
955
955
  "DuetDatePickerFocusEvent": {
956
956
  "location": "local",
957
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
957
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
958
958
  "id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerFocusEvent"
959
959
  }
960
960
  }
@@ -975,7 +975,7 @@ export class DuetDatePicker {
975
975
  "references": {
976
976
  "DuetDatePickerFocusEvent": {
977
977
  "location": "local",
978
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
978
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
979
979
  "id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerFocusEvent"
980
980
  }
981
981
  }
@@ -76,7 +76,7 @@ export class DuetDivider {
76
76
  "references": {
77
77
  "DuetDividerMargin": {
78
78
  "location": "local",
79
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-divider/duet-divider.tsx",
79
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-divider/duet-divider.tsx",
80
80
  "id": "src/components/duet-divider/duet-divider.tsx::DuetDividerMargin"
81
81
  }
82
82
  }
@@ -305,7 +305,7 @@ export class DuetEditableTable {
305
305
  "references": {
306
306
  "DuetEditableTableActions": {
307
307
  "location": "local",
308
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
308
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
309
309
  "id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetEditableTableActions"
310
310
  }
311
311
  }
@@ -330,7 +330,7 @@ export class DuetEditableTable {
330
330
  "references": {
331
331
  "DuetEditableTableColumns": {
332
332
  "location": "local",
333
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
333
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
334
334
  "id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetEditableTableColumns"
335
335
  }
336
336
  }
@@ -355,7 +355,7 @@ export class DuetEditableTable {
355
355
  "references": {
356
356
  "DuetEditableTableRows": {
357
357
  "location": "local",
358
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
358
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
359
359
  "id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetEditableTableRows"
360
360
  }
361
361
  }
@@ -491,7 +491,7 @@ export class DuetEditableTable {
491
491
  "references": {
492
492
  "DuetTableToggleEvent": {
493
493
  "location": "local",
494
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
494
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
495
495
  "id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetTableToggleEvent"
496
496
  }
497
497
  }
@@ -512,7 +512,7 @@ export class DuetEditableTable {
512
512
  "references": {
513
513
  "DuetTableMenuEvent": {
514
514
  "location": "local",
515
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
515
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
516
516
  "id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetTableMenuEvent"
517
517
  }
518
518
  }
@@ -101,7 +101,7 @@ export class DuetEmptyState {
101
101
  "references": {
102
102
  "DuetEmptyStateSize": {
103
103
  "location": "local",
104
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-empty-state/duet-empty-state.tsx",
104
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-empty-state/duet-empty-state.tsx",
105
105
  "id": "src/components/duet-empty-state/duet-empty-state.tsx::DuetEmptyStateSize"
106
106
  }
107
107
  }
@@ -1,18 +1,18 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { getAllFixturesFiles } from "../../utils/fixture-utils";
5
4
  import { createPage } from "../../utils/test-utils";
6
- const { fixtures } = getAllFixturesFiles(__dirname);
5
+ const defaultFooter = `<duet-footer logo-href="/" language="fi" class="duet-example-without-padding"> </duet-footer>`;
6
+ const simpleVariation = `<duet-footer variation="simple" class="duet-example-without-padding"> </duet-footer>`;
7
7
  describe("duet-footer", () => {
8
8
  it("should render a navigation", async () => {
9
- const page = await createPage(fixtures.default_footer);
9
+ const page = await createPage(defaultFooter);
10
10
  const component = await page.find("duet-footer");
11
11
  expect(component).not.toBeNull();
12
12
  expect(component).toHaveClass("hydrated");
13
13
  });
14
14
  it("should provide a property that sets language", async () => {
15
- const page = await createPage(fixtures.default_footer);
15
+ const page = await createPage(defaultFooter);
16
16
  const element = await page.find("duet-footer >>> duet-logo");
17
17
  expect(element.getAttribute("language")).toEqual("fi");
18
18
  });
@@ -32,7 +32,7 @@ describe("duet-footer", () => {
32
32
  expect(element.getAttribute("href")).toEqual("demo");
33
33
  });
34
34
  it("should provide a property that renders navigation items", async () => {
35
- const page = await createPage(fixtures.default_footer);
35
+ const page = await createPage(defaultFooter);
36
36
  await page.$eval("duet-footer", (el) => {
37
37
  el.items = [
38
38
  { label: "Hae korvausta", href: "#", icon: "navigation-make-claim" },
@@ -45,7 +45,7 @@ describe("duet-footer", () => {
45
45
  expect(element).not.toBeNull();
46
46
  });
47
47
  it("should provide a property that renders menu items", async () => {
48
- const page = await createPage(fixtures.default_footer);
48
+ const page = await createPage(defaultFooter);
49
49
  await page.$eval("duet-footer", (el) => {
50
50
  el.menu = [
51
51
  { label: "Hae korvausta", href: "#" },
@@ -58,12 +58,12 @@ describe("duet-footer", () => {
58
58
  expect(element).not.toBeNull();
59
59
  });
60
60
  it("should provide a property that renders the footer in simple mode", async () => {
61
- const page = await createPage(fixtures.footer_using_simple_variation);
61
+ const page = await createPage(simpleVariation);
62
62
  const element = await page.find("duet-footer >>> .duet-footer-simple");
63
63
  expect(element).not.toBeNull();
64
64
  });
65
65
  it("should automatically refresh itself when content changes", async () => {
66
- const page = await createPage(fixtures.default_footer);
66
+ const page = await createPage(defaultFooter);
67
67
  await page.$eval("duet-footer", (el) => {
68
68
  el.items = [
69
69
  { label: "Hae korvausta", href: "#", icon: "navigation-make-claim" },
@@ -95,14 +95,15 @@ describe("duet-footer", () => {
95
95
  logoHref: "/logo",
96
96
  };
97
97
  beforeEach(async () => {
98
- page = await createPage(fixtures.default_footer);
98
+ page = await createPage(defaultFooter);
99
99
  footer = await page.find("duet-footer");
100
100
  await page.$eval("duet-footer", (footer, props) => {
101
101
  Object.assign(footer, props);
102
102
  }, props);
103
103
  await page.waitForChanges();
104
104
  });
105
- it("raises events when logo is clicked", async () => {
105
+ // TODO: broken test as the browser tries to enter the logo url
106
+ it.skip("raises events when logo is clicked", async () => {
106
107
  const logo = await page.find("duet-footer >>> duet-logo");
107
108
  const changeSpy = await footer.spyOnEvent("duetChange");
108
109
  const logoSpy = await footer.spyOnEvent("duetLogoClick");