@duetds/components 8.6.9 → 8.7.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 (976) hide show
  1. package/hydrate/index.d.ts +30 -12
  2. package/hydrate/index.js +33051 -23517
  3. package/lib/cjs/{app-globals-aece069f.js → app-globals-44f2c7a3.js} +2 -0
  4. package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +10 -9
  6. package/lib/cjs/duet-badge.cjs.entry.js +5 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +6 -5
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -5
  10. package/lib/cjs/duet-button_2.cjs.entry.js +13 -11
  11. package/lib/cjs/duet-callout.cjs.entry.js +6 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +18 -14
  13. package/lib/cjs/duet-card.cjs.entry.js +6 -5
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -4
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +7 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +13 -10
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -4
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +4 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +9 -8
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +7 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +10 -9
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -5
  33. package/lib/cjs/duet-input_2.cjs.entry.js +7 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +8 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +8 -6
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -4
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -4
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -4
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +17 -14
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -10
  44. package/lib/cjs/duet-nav.cjs.entry.js +4 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +10 -8
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +4 -3
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -4
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -17
  50. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
  51. package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -4
  52. package/lib/cjs/duet-progress.cjs.entry.js +4 -3
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -5
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +6 -4
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -2
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +24 -21
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +6 -5
  58. package/lib/cjs/duet-select.cjs.entry.js +4 -3
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +5 -4
  60. package/lib/cjs/duet-show-more.cjs.entry.js +6 -5
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -4
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -6
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -11
  65. package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
  66. package/lib/cjs/duet-step_2.cjs.entry.js +6 -4
  67. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -4
  68. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -6
  69. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
  70. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -3
  71. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
  72. package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
  73. package/lib/cjs/duet-toggle.cjs.entry.js +3 -2
  74. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -4
  75. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -6
  76. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -4
  77. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -4
  78. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -3
  79. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -8
  80. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
  81. package/lib/cjs/duet-tray.cjs.entry.js +6 -5
  82. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-upload-item.cjs.entry.js +7 -6
  84. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -3
  85. package/lib/cjs/duet.cjs.js +15 -15
  86. package/lib/cjs/{errorcodes.utils-a86b1f94.js → errorcodes.utils-d9f472df.js} +1 -1
  87. package/lib/cjs/{focus-utils-70eaf22e.js → focus-utils-2de8d5de.js} +1 -1
  88. package/lib/cjs/index-7efe7e19.js +1996 -0
  89. package/lib/cjs/{language-utils-e8a527e5.js → language-utils-1ed4b266.js} +1 -0
  90. package/lib/cjs/loader.cjs.js +4 -4
  91. package/lib/cjs/{slot-utils-03a40c78.js → slot-utils-0664e341.js} +2 -0
  92. package/lib/collection/collection-manifest.json +2 -2
  93. package/lib/collection/components/duet-action-button/duet-action-button.js +3 -3
  94. package/lib/collection/components/duet-alert/duet-alert.js +6 -6
  95. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  96. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  97. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  98. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  99. package/lib/collection/components/duet-button/duet-button.js +10 -10
  100. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  101. package/lib/collection/components/duet-caption/duet-caption.js +3 -3
  102. package/lib/collection/components/duet-card/duet-card.js +6 -6
  103. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  104. package/lib/collection/components/duet-chip/duet-chip.js +7 -7
  105. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  106. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  109. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  110. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
  111. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  112. package/lib/collection/components/duet-divider/duet-divider.js +2 -2
  113. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  114. package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
  115. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  116. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
  117. package/lib/collection/components/duet-footer/duet-footer.js +11 -11
  118. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  119. package/lib/collection/components/duet-header/duet-header.js +15 -15
  120. package/lib/collection/components/duet-heading/duet-heading.js +3 -3
  121. package/lib/collection/components/duet-hero/duet-hero.js +10 -10
  122. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  123. package/lib/collection/components/duet-input/duet-input.js +8 -8
  124. package/lib/collection/components/duet-label/duet-label.js +2 -2
  125. package/lib/collection/components/duet-layout/duet-layout.js +6 -6
  126. package/lib/collection/components/duet-link/duet-link.js +2 -2
  127. package/lib/collection/components/duet-list/duet-list.js +4 -4
  128. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  129. package/lib/collection/components/duet-logo/duet-logo.js +2 -2
  130. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  131. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  132. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  133. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  134. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  136. package/lib/collection/components/duet-modal/duet-modal.css +6 -0
  137. package/lib/collection/components/duet-modal/duet-modal.js +14 -12
  138. package/lib/collection/components/duet-multiselect/duet-multiselect.js +12 -12
  139. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  140. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  141. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  142. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  143. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
  144. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  145. package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
  146. package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
  147. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
  148. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +3 -3
  149. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  150. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  151. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  152. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
  153. package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -0
  154. package/lib/collection/components/duet-scrollable/duet-scrollable.js +9 -9
  155. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  156. package/lib/collection/components/duet-select/duet-select.js +5 -5
  157. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  158. package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
  159. package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
  160. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  161. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  162. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  163. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  164. package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
  165. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
  166. package/lib/collection/components/duet-step/duet-step.js +2 -2
  167. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
  168. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
  169. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  170. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  171. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  172. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  173. package/lib/collection/components/duet-tab-group/duet-tab-group.js +10 -10
  174. package/lib/collection/components/duet-table/duet-table.js +2 -2
  175. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  176. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  177. package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
  178. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  179. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  180. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
  181. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  182. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  183. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  184. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  185. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  186. package/lib/collection/components/duet-upload/duet-upload.js +16 -16
  187. package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
  188. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  189. package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -5
  190. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  191. package/lib/collection/utils/axe-core-utils.js +12 -4
  192. package/lib/collection/utils/test-utils.js +82 -32
  193. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  194. package/lib/dist-custom-elements/duet-alert.js +1 -1
  195. package/lib/dist-custom-elements/duet-badge.js +1 -1
  196. package/lib/dist-custom-elements/duet-banner.js +9 -8
  197. package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
  198. package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
  199. package/lib/dist-custom-elements/duet-button.js +1 -1
  200. package/lib/dist-custom-elements/duet-callout.js +7 -6
  201. package/lib/dist-custom-elements/duet-caption.js +1 -1
  202. package/lib/dist-custom-elements/duet-card.js +8 -7
  203. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  204. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  205. package/lib/dist-custom-elements/duet-chip.js +1 -1
  206. package/lib/dist-custom-elements/duet-choice-group.js +11 -10
  207. package/lib/dist-custom-elements/duet-choice.js +8 -7
  208. package/lib/dist-custom-elements/duet-collapsible.js +7 -6
  209. package/lib/dist-custom-elements/duet-combobox.js +17 -16
  210. package/lib/dist-custom-elements/duet-contact-card.js +13 -12
  211. package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
  212. package/lib/dist-custom-elements/duet-date-picker.js +19 -18
  213. package/lib/dist-custom-elements/duet-divider.js +1 -1
  214. package/lib/dist-custom-elements/duet-editable-table.js +11 -10
  215. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  216. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  217. package/lib/dist-custom-elements/duet-file-chooser.js +5 -4
  218. package/lib/dist-custom-elements/duet-footer.js +15 -14
  219. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  220. package/lib/dist-custom-elements/duet-grid.js +1 -1
  221. package/lib/dist-custom-elements/duet-header.js +12 -11
  222. package/lib/dist-custom-elements/duet-heading.js +1 -1
  223. package/lib/dist-custom-elements/duet-hero.js +18 -17
  224. package/lib/dist-custom-elements/duet-icon.js +1 -1
  225. package/lib/dist-custom-elements/duet-input.js +1 -1
  226. package/lib/dist-custom-elements/duet-label.js +1 -1
  227. package/lib/dist-custom-elements/duet-layout.js +8 -7
  228. package/lib/dist-custom-elements/duet-link.js +1 -1
  229. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  230. package/lib/dist-custom-elements/duet-list.js +1 -1
  231. package/lib/dist-custom-elements/duet-logo.js +1 -1
  232. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -5
  233. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
  234. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
  235. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
  236. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
  237. package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
  238. package/lib/dist-custom-elements/duet-modal.js +24 -21
  239. package/lib/dist-custom-elements/duet-multiselect.js +19 -18
  240. package/lib/dist-custom-elements/duet-nav.js +4 -3
  241. package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
  242. package/lib/dist-custom-elements/duet-notification.js +7 -6
  243. package/lib/dist-custom-elements/duet-number-input.js +15 -14
  244. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  245. package/lib/dist-custom-elements/duet-page-heading.js +6 -5
  246. package/lib/dist-custom-elements/duet-pagination.js +27 -26
  247. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  248. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
  249. package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
  250. package/lib/dist-custom-elements/duet-progress.js +1 -1
  251. package/lib/dist-custom-elements/duet-promo-card.js +8 -7
  252. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  253. package/lib/dist-custom-elements/duet-radio.js +3 -2
  254. package/lib/dist-custom-elements/duet-range-slider.js +4 -3
  255. package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
  256. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  257. package/lib/dist-custom-elements/duet-section-layout.js +6 -5
  258. package/lib/dist-custom-elements/duet-select.js +1 -1
  259. package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
  260. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  261. package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
  262. package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
  263. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
  264. package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
  265. package/lib/dist-custom-elements/duet-slideout.js +12 -11
  266. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  267. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  268. package/lib/dist-custom-elements/duet-step.js +6 -5
  269. package/lib/dist-custom-elements/duet-stepper.js +5 -4
  270. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
  271. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
  272. package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
  273. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
  274. package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
  275. package/lib/dist-custom-elements/duet-tab-group.js +21 -20
  276. package/lib/dist-custom-elements/duet-tab.js +4 -3
  277. package/lib/dist-custom-elements/duet-table.js +1 -1
  278. package/lib/dist-custom-elements/duet-textarea.js +13 -12
  279. package/lib/dist-custom-elements/duet-toggle.js +4 -3
  280. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
  281. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
  282. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
  283. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
  284. package/lib/dist-custom-elements/duet-toolbar.js +4 -3
  285. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  286. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  287. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  288. package/lib/dist-custom-elements/duet-tray.js +8 -7
  289. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  290. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  291. package/lib/dist-custom-elements/duet-upload.js +25 -24
  292. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  293. package/lib/dist-custom-elements/index.js +2 -1
  294. package/lib/dist-custom-elements/{p-b5a6f5f9.js → p-00eccbc8.js} +5 -4
  295. package/lib/dist-custom-elements/{p-b87843f5.js → p-0231ea20.js} +5 -4
  296. package/lib/dist-custom-elements/{p-c99bddba.js → p-02911244.js} +3 -3
  297. package/lib/dist-custom-elements/{p-78209aab.js → p-03c64124.js} +5 -4
  298. package/lib/dist-custom-elements/{p-e6d523be.js → p-12a09bbc.js} +5 -4
  299. package/lib/dist-custom-elements/{p-1957643a.js → p-151934ce.js} +8 -7
  300. package/lib/dist-custom-elements/{p-1ea56cf4.js → p-1c341405.js} +11 -10
  301. package/lib/dist-custom-elements/{p-f1028141.js → p-21e0af47.js} +18 -17
  302. package/lib/dist-custom-elements/{p-74d01f33.js → p-26d4d49e.js} +3 -2
  303. package/lib/dist-custom-elements/{p-3cf82739.js → p-2a041992.js} +7 -6
  304. package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
  305. package/lib/dist-custom-elements/{p-f3728487.js → p-330bf2a1.js} +4 -3
  306. package/lib/dist-custom-elements/{p-66c352ec.js → p-37e44d89.js} +5 -4
  307. package/lib/dist-custom-elements/{p-f88a470f.js → p-384f880b.js} +6 -5
  308. package/lib/dist-custom-elements/{p-b40ce3f5.js → p-3e74515a.js} +10 -9
  309. package/lib/dist-custom-elements/{p-08fe569b.js → p-401b6b1f.js} +5 -4
  310. package/lib/dist-custom-elements/{p-2329d234.js → p-45dd5240.js} +7 -6
  311. package/lib/dist-custom-elements/p-47c44289.js +178 -0
  312. package/lib/dist-custom-elements/{p-b4c1ec48.js → p-48a3af88.js} +3 -2
  313. package/lib/dist-custom-elements/{p-30e63ae6.js → p-5ad5934d.js} +4 -3
  314. package/lib/dist-custom-elements/{p-5eecfef8.js → p-61ffea9e.js} +6 -5
  315. package/lib/dist-custom-elements/{p-2af5e0df.js → p-6bd18890.js} +15 -14
  316. package/lib/dist-custom-elements/{p-9dec9a4f.js → p-706daff4.js} +14 -13
  317. package/lib/dist-custom-elements/{p-8cb65ba1.js → p-7666f1bc.js} +5 -4
  318. package/lib/dist-custom-elements/{p-813731c9.js → p-7eef087e.js} +12 -11
  319. package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
  320. package/lib/{esm/slot-utils-b50aaef5.js → dist-custom-elements/p-895db398.js} +2 -0
  321. package/lib/dist-custom-elements/{p-c5e0f02e.js → p-8fb1d873.js} +15 -14
  322. package/lib/dist-custom-elements/{p-493f8393.js → p-955053f9.js} +7 -5
  323. package/lib/dist-custom-elements/p-955746f9.js +1848 -0
  324. package/lib/dist-custom-elements/{p-fca7381f.js → p-9bda0343.js} +5 -4
  325. package/lib/dist-custom-elements/{p-a8e03f99.js → p-9d348a4b.js} +4 -3
  326. package/lib/dist-custom-elements/{p-ff1270a4.js → p-9dc74a9b.js} +8 -7
  327. package/lib/dist-custom-elements/{p-db050a49.js → p-ad23e869.js} +6 -5
  328. package/lib/dist-custom-elements/{p-4d30ade6.js → p-b8bb3910.js} +5 -4
  329. package/lib/dist-custom-elements/{p-3669efe2.js → p-bb20326f.js} +4 -3
  330. package/lib/dist-custom-elements/{p-01cf2a68.js → p-c7a796da.js} +4 -3
  331. package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
  332. package/lib/dist-custom-elements/{p-098dceeb.js → p-d7ff39b6.js} +5 -4
  333. package/lib/dist-custom-elements/{p-fb63363c.js → p-e091bb48.js} +3 -2
  334. package/lib/dist-custom-elements/{p-8812cc2d.js → p-f1938f1a.js} +3 -2
  335. package/lib/dist-custom-elements/{p-d37c28c4.js → p-fd601808.js} +9 -8
  336. package/lib/duet/duet.esm.js +1 -1
  337. package/lib/duet/duet.js +1 -1
  338. package/lib/duet/p-01e99b47.system.entry.js +4 -0
  339. package/lib/duet/p-032d42d4.entry.js +4 -0
  340. package/lib/duet/{p-479356b0.system.entry.js → p-06472b8c.entry.js} +1 -1
  341. package/lib/duet/p-064b908b.entry.js +4 -0
  342. package/lib/duet/p-069aaf78.entry.js +4 -0
  343. package/lib/duet/{p-6b262dd3.system.entry.js → p-077b9a06.system.entry.js} +1 -1
  344. package/lib/duet/p-08866b96.system.entry.js +4 -0
  345. package/lib/duet/{p-7f2d5f51.system.entry.js → p-08daf525.system.entry.js} +1 -1
  346. package/lib/duet/p-0a042569.entry.js +4 -0
  347. package/lib/duet/p-0c3a491b.system.entry.js +4 -0
  348. package/lib/duet/{p-655f4a55.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
  349. package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
  350. package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
  351. package/lib/duet/{p-417beb9a.system.entry.js → p-115a50f2.system.entry.js} +1 -1
  352. package/lib/duet/{p-cb19e302.system.entry.js → p-12b4df90.system.entry.js} +1 -1
  353. package/lib/duet/p-13ea970e.system.entry.js +4 -0
  354. package/lib/duet/{p-a348c54b.entry.js → p-155b7733.entry.js} +1 -1
  355. package/lib/duet/p-16be8ba9.entry.js +4 -0
  356. package/lib/duet/{p-ffe56186.entry.js → p-16e63390.entry.js} +1 -1
  357. package/lib/duet/p-1784b1d2.js +1 -1
  358. package/lib/duet/{p-704c0f0d.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
  359. package/lib/duet/p-1801e2be.entry.js +4 -0
  360. package/lib/duet/p-18d8207e.entry.js +4 -0
  361. package/lib/duet/{p-8ca5bf9e.entry.js → p-198b0f16.entry.js} +1 -1
  362. package/lib/duet/p-1a6ea3db.entry.js +4 -0
  363. package/lib/duet/p-1d1f8607.entry.js +4 -0
  364. package/lib/duet/p-23805ac9.entry.js +4 -0
  365. package/lib/duet/p-2383fbeb.entry.js +4 -0
  366. package/lib/duet/p-2504c504.entry.js +4 -0
  367. package/lib/duet/p-28106a87.system.entry.js +4 -0
  368. package/lib/duet/{p-8d1b8830.system.entry.js → p-2928c320.system.entry.js} +1 -1
  369. package/lib/duet/{p-47f78f59.entry.js → p-29665476.entry.js} +1 -1
  370. package/lib/duet/p-2aa796b7.js +4 -0
  371. package/lib/duet/p-2b9defde.system.entry.js +4 -0
  372. package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
  373. package/lib/duet/p-300c8dd9.entry.js +4 -0
  374. package/lib/duet/{p-a7f18b4b.entry.js → p-32be247b.entry.js} +1 -1
  375. package/lib/duet/p-32d698f2.system.entry.js +4 -0
  376. package/lib/duet/{p-0f729e7b.entry.js → p-364d7058.entry.js} +1 -1
  377. package/lib/duet/p-3e1a0cb7.entry.js +4 -0
  378. package/lib/duet/p-41b6d132.entry.js +4 -0
  379. package/lib/duet/{p-6686effb.entry.js → p-41d5039a.entry.js} +1 -1
  380. package/lib/duet/p-428f66d6.system.entry.js +4 -0
  381. package/lib/duet/p-42e31c87.entry.js +4 -0
  382. package/lib/duet/p-43417c63.entry.js +4 -0
  383. package/lib/duet/{p-d4ff7def.system.entry.js → p-4487736b.system.entry.js} +1 -1
  384. package/lib/duet/p-4520f63d.system.entry.js +4 -0
  385. package/lib/duet/p-46079f71.entry.js +4 -0
  386. package/lib/duet/p-48879a51.entry.js +4 -0
  387. package/lib/duet/{p-1cdd5c02.entry.js → p-4a8d2af0.entry.js} +1 -1
  388. package/lib/duet/{p-60b05f1a.js → p-4bc401c3.js} +1 -1
  389. package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
  390. package/lib/duet/p-54351362.entry.js +4 -0
  391. package/lib/duet/p-54c28fa4.system.entry.js +4 -0
  392. package/lib/duet/p-55327462.entry.js +4 -0
  393. package/lib/duet/p-5672308b.entry.js +4 -0
  394. package/lib/duet/p-56d35ccf.system.entry.js +4 -0
  395. package/lib/duet/p-5776972c.entry.js +4 -0
  396. package/lib/duet/p-585ad67b.entry.js +4 -0
  397. package/lib/duet/p-5866eaea.entry.js +4 -0
  398. package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
  399. package/lib/duet/p-5abdc5ab.entry.js +4 -0
  400. package/lib/duet/p-5cb08833.system.entry.js +4 -0
  401. package/lib/duet/p-5f3de870.system.entry.js +4 -0
  402. package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
  403. package/lib/duet/{p-a7142da1.entry.js → p-60d43265.entry.js} +1 -1
  404. package/lib/duet/{p-476dc053.system.entry.js → p-61a24bce.system.entry.js} +1 -1
  405. package/lib/duet/{p-9babc342.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
  406. package/lib/duet/p-6892b798.system.entry.js +4 -0
  407. package/lib/duet/{p-606b73ad.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
  408. package/lib/duet/p-68f52c23.system.entry.js +4 -0
  409. package/lib/duet/p-693ad8aa.entry.js +4 -0
  410. package/lib/duet/{p-a5701d13.system.entry.js → p-6a496c70.system.entry.js} +1 -1
  411. package/lib/duet/{p-7ab2768e.entry.js → p-6a84bf93.entry.js} +1 -1
  412. package/lib/duet/p-6bb927f9.system.entry.js +4 -0
  413. package/lib/duet/p-6c76d396.entry.js +4 -0
  414. package/lib/duet/p-6cdd3596.entry.js +4 -0
  415. package/lib/duet/{p-a2721f76.system.entry.js → p-6d157e53.system.entry.js} +1 -1
  416. package/lib/duet/p-6d75cdf6.system.js +4 -0
  417. package/lib/duet/p-6db296a5.entry.js +4 -0
  418. package/lib/duet/{p-7f1f146d.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
  419. package/lib/duet/{p-cd06b10d.system.entry.js → p-70ba1823.system.entry.js} +1 -1
  420. package/lib/duet/p-72affe21.system.entry.js +4 -0
  421. package/lib/duet/p-7340e2e2.entry.js +4 -0
  422. package/lib/duet/p-7344d97c.system.js +4 -0
  423. package/lib/duet/p-7a5dd34d.entry.js +4 -0
  424. package/lib/duet/p-7b0e681f.system.entry.js +4 -0
  425. package/lib/duet/{p-91397e6b.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
  426. package/lib/duet/p-7c3649ba.js +5 -0
  427. package/lib/duet/p-7c533802.entry.js +4 -0
  428. package/lib/duet/p-7d473104.system.entry.js +4 -0
  429. package/lib/duet/{p-50245e90.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
  430. package/lib/duet/p-7f8fc279.entry.js +4 -0
  431. package/lib/duet/p-7ff17c05.system.entry.js +4 -0
  432. package/lib/duet/p-80d722bc.entry.js +4 -0
  433. package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
  434. package/lib/duet/p-813c2271.entry.js +4 -0
  435. package/lib/duet/{p-f04d6b0b.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
  436. package/lib/duet/{p-8a10dc98.system.entry.js → p-84c50c75.system.entry.js} +1 -1
  437. package/lib/duet/p-8589c504.system.entry.js +4 -0
  438. package/lib/duet/p-86361d66.system.entry.js +4 -0
  439. package/lib/duet/p-8aefdb36.entry.js +4 -0
  440. package/lib/duet/p-8d4fde72.entry.js +4 -0
  441. package/lib/duet/{p-3d4de145.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
  442. package/lib/duet/p-933895d6.system.entry.js +4 -0
  443. package/lib/duet/p-93d9f454.system.js +4 -0
  444. package/lib/duet/{p-93db9152.system.entry.js → p-95778aca.system.entry.js} +2 -2
  445. package/lib/duet/{p-8030b82b.entry.js → p-97f74160.entry.js} +1 -1
  446. package/lib/duet/p-98ac1721.system.entry.js +4 -0
  447. package/lib/duet/{p-2eb2da03.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
  448. package/lib/duet/{p-518dea6c.entry.js → p-9bdec5df.entry.js} +1 -1
  449. package/lib/duet/p-9d4cd103.system.entry.js +4 -0
  450. package/lib/duet/p-9d5823eb.entry.js +4 -0
  451. package/lib/duet/{p-a17fa7ec.entry.js → p-9e60a58d.entry.js} +1 -1
  452. package/lib/duet/p-9ef799f8.js +4 -0
  453. package/lib/duet/p-9f850d18.system.entry.js +4 -0
  454. package/lib/duet/p-9f9e290a.system.entry.js +4 -0
  455. package/lib/duet/p-a168b3f5.system.js +4 -0
  456. package/lib/duet/p-a32dad7f.system.entry.js +4 -0
  457. package/lib/duet/p-a4d9c151.system.entry.js +4 -0
  458. package/lib/duet/p-a5d65d5f.entry.js +4 -0
  459. package/lib/duet/{p-b4ac803f.system.entry.js → p-a7768425.system.entry.js} +2 -2
  460. package/lib/duet/p-a7c62459.system.entry.js +4 -0
  461. package/lib/duet/{p-7cbd0a49.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
  462. package/lib/duet/{p-0d0f1937.system.entry.js → p-a9891098.system.entry.js} +1 -1
  463. package/lib/duet/p-aa1f6b55.entry.js +4 -0
  464. package/lib/duet/p-ac596f9f.entry.js +4 -0
  465. package/lib/duet/p-acd65ed7.entry.js +4 -0
  466. package/lib/duet/p-ad433963.system.entry.js +4 -0
  467. package/lib/duet/{p-366c4344.entry.js → p-ae714885.entry.js} +1 -1
  468. package/lib/duet/p-aeaa9698.entry.js +4 -0
  469. package/lib/duet/{p-2dfd9b5a.system.entry.js → p-aface64d.system.entry.js} +1 -1
  470. package/lib/duet/p-afadf391.entry.js +4 -0
  471. package/lib/duet/p-b0be53ba.entry.js +4 -0
  472. package/lib/duet/p-b25d69bf.system.entry.js +4 -0
  473. package/lib/duet/p-b2b49d1a.entry.js +4 -0
  474. package/lib/duet/p-b3bff87d.entry.js +4 -0
  475. package/lib/duet/{p-940923be.system.entry.js → p-b5e50220.system.entry.js} +2 -2
  476. package/lib/duet/{p-dab3f2c1.system.entry.js → p-b70dd317.system.entry.js} +1 -1
  477. package/lib/duet/p-b8fc9725.system.entry.js +4 -0
  478. package/lib/duet/p-b9772bdf.entry.js +4 -0
  479. package/lib/duet/p-b9e27ff4.entry.js +4 -0
  480. package/lib/duet/{p-c13130e0.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
  481. package/lib/duet/p-bd936407.js +4 -0
  482. package/lib/duet/{p-46411634.system.entry.js → p-bddc227d.system.entry.js} +1 -1
  483. package/lib/duet/{p-419155c3.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
  484. package/lib/duet/p-bfecf35c.entry.js +4 -0
  485. package/lib/duet/p-c1445714.system.js +1 -1
  486. package/lib/duet/p-c3de57c1.system.entry.js +4 -0
  487. package/lib/duet/{p-0570cfe8.system.entry.js → p-c45a4823.system.entry.js} +1 -1
  488. package/lib/duet/p-c45c1cc8.entry.js +4 -0
  489. package/lib/duet/p-c5759522.system.entry.js +4 -0
  490. package/lib/duet/p-c62ed778.entry.js +4 -0
  491. package/lib/duet/{p-b43d1482.entry.js → p-cb4e6c86.entry.js} +1 -1
  492. package/lib/duet/p-cf83f662.entry.js +4 -0
  493. package/lib/duet/p-d0f3224e.entry.js +4 -0
  494. package/lib/duet/{p-7d7195fa.system.entry.js → p-d52fa492.system.entry.js} +1 -1
  495. package/lib/duet/p-d6c95c73.system.entry.js +4 -0
  496. package/lib/duet/p-d920063d.entry.js +4 -0
  497. package/lib/duet/p-dde61943.system.js +4 -0
  498. package/lib/duet/p-e0db32fc.system.entry.js +4 -0
  499. package/lib/duet/p-e38064d5.entry.js +4 -0
  500. package/lib/duet/p-e4674cda.entry.js +4 -0
  501. package/lib/duet/p-e7d7928e.system.js +5 -0
  502. package/lib/duet/{p-e10fb0a3.entry.js → p-e824a614.entry.js} +1 -1
  503. package/lib/duet/p-ec143606.entry.js +4 -0
  504. package/lib/duet/{p-d02d3b69.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
  505. package/lib/duet/p-ee8bcb1f.entry.js +4 -0
  506. package/lib/duet/{p-38d89cee.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
  507. package/lib/duet/{p-4b7aa601.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
  508. package/lib/duet/p-f0eeebb5.entry.js +4 -0
  509. package/lib/duet/p-f1a726c9.entry.js +4 -0
  510. package/lib/duet/{p-1654f122.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
  511. package/lib/duet/{p-2de06e83.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
  512. package/lib/duet/p-f6fc4754.system.entry.js +4 -0
  513. package/lib/duet/p-f9069050.system.entry.js +4 -0
  514. package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
  515. package/lib/duet/{p-b3042ddc.entry.js → p-fc76bb60.entry.js} +1 -1
  516. package/lib/duet/p-fd1cbfc8.entry.js +4 -0
  517. package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
  518. package/lib/esm/duet-action-button.entry.js +5 -4
  519. package/lib/esm/duet-alert.entry.js +10 -9
  520. package/lib/esm/duet-badge.entry.js +5 -4
  521. package/lib/esm/duet-banner.entry.js +6 -5
  522. package/lib/esm/duet-breadcrumb.entry.js +8 -7
  523. package/lib/esm/duet-breadcrumbs.entry.js +6 -5
  524. package/lib/esm/duet-button_2.entry.js +13 -11
  525. package/lib/esm/duet-callout.entry.js +6 -5
  526. package/lib/esm/duet-caption_4.entry.js +18 -14
  527. package/lib/esm/duet-card.entry.js +6 -5
  528. package/lib/esm/duet-checkbox.entry.js +3 -2
  529. package/lib/esm/duet-checkmark.entry.js +5 -4
  530. package/lib/esm/duet-chip.entry.js +4 -3
  531. package/lib/esm/duet-choice_2.entry.js +7 -5
  532. package/lib/esm/duet-collapsible.entry.js +6 -5
  533. package/lib/esm/duet-combobox.entry.js +5 -4
  534. package/lib/esm/duet-contact-card.entry.js +6 -5
  535. package/lib/esm/duet-cookie-consent.entry.js +4 -3
  536. package/lib/esm/duet-date-picker.entry.js +6 -5
  537. package/lib/esm/duet-divider_2.entry.js +7 -5
  538. package/lib/esm/duet-editable-table_3.entry.js +13 -10
  539. package/lib/esm/duet-empty-state.entry.js +5 -4
  540. package/lib/esm/duet-fieldset.entry.js +7 -6
  541. package/lib/esm/duet-file-chooser.entry.js +4 -3
  542. package/lib/esm/duet-footer.entry.js +9 -8
  543. package/lib/esm/duet-grid_2.entry.js +5 -3
  544. package/lib/esm/duet-header_2.entry.js +7 -5
  545. package/lib/esm/duet-hero.entry.js +10 -9
  546. package/lib/esm/duet-icon.entry.js +6 -5
  547. package/lib/esm/duet-input_2.entry.js +7 -5
  548. package/lib/esm/duet-layout.entry.js +8 -7
  549. package/lib/esm/duet-list_2.entry.js +8 -6
  550. package/lib/esm/duet-menu-bar-button.entry.js +5 -4
  551. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
  552. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
  553. package/lib/esm/duet-menu-bar-item.entry.js +5 -4
  554. package/lib/esm/duet-menu-bar-link.entry.js +5 -4
  555. package/lib/esm/duet-menu-bar.entry.js +5 -4
  556. package/lib/esm/duet-modal.entry.js +17 -14
  557. package/lib/esm/duet-multiselect.entry.js +11 -10
  558. package/lib/esm/duet-nav.entry.js +4 -3
  559. package/lib/esm/duet-notification_2.entry.js +10 -8
  560. package/lib/esm/duet-number-input.entry.js +5 -4
  561. package/lib/esm/duet-overlay.entry.js +4 -3
  562. package/lib/esm/duet-page-heading.entry.js +5 -4
  563. package/lib/esm/duet-pagination_2.entry.js +19 -17
  564. package/lib/esm/duet-popup-menu-item.entry.js +4 -3
  565. package/lib/esm/duet-popup-menu.entry.js +6 -5
  566. package/lib/esm/duet-progress.entry.js +4 -3
  567. package/lib/esm/duet-promo-card.entry.js +6 -5
  568. package/lib/esm/duet-radio_2.entry.js +6 -4
  569. package/lib/esm/duet-range-slider.entry.js +3 -2
  570. package/lib/esm/duet-scrollable_3.entry.js +24 -21
  571. package/lib/esm/duet-section-layout.entry.js +6 -5
  572. package/lib/esm/duet-select.entry.js +4 -3
  573. package/lib/esm/duet-shaped-image.entry.js +5 -4
  574. package/lib/esm/duet-show-more.entry.js +6 -5
  575. package/lib/esm/duet-slideout-lang.entry.js +5 -4
  576. package/lib/esm/duet-slideout-link.entry.js +5 -4
  577. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
  578. package/lib/esm/duet-slideout-panel.entry.js +12 -11
  579. package/lib/esm/duet-slideout.entry.js +10 -9
  580. package/lib/esm/duet-step_2.entry.js +6 -4
  581. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
  582. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
  583. package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
  584. package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
  585. package/lib/esm/duet-submenu-bar.entry.js +7 -6
  586. package/lib/esm/duet-textarea.entry.js +4 -3
  587. package/lib/esm/duet-toggle.entry.js +3 -2
  588. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
  589. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
  590. package/lib/esm/duet-toolbar-item.entry.js +5 -4
  591. package/lib/esm/duet-toolbar-link.entry.js +5 -4
  592. package/lib/esm/duet-toolbar.entry.js +4 -3
  593. package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
  594. package/lib/esm/duet-tooltip.entry.js +5 -4
  595. package/lib/esm/duet-tray.entry.js +6 -5
  596. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  597. package/lib/esm/duet-upload-item.entry.js +7 -6
  598. package/lib/esm/duet-visually-hidden.entry.js +4 -3
  599. package/lib/esm/duet.js +16 -16
  600. package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  601. package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
  602. package/lib/esm/{focus-utils-be6b1c62.js → focus-utils-f583d4fb.js} +1 -1
  603. package/lib/esm/index-640026f0.js +1962 -0
  604. package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
  605. package/lib/esm/loader.js +5 -5
  606. package/lib/{dist-custom-elements/p-06e608ae.js → esm/slot-utils-00899492.js} +2 -0
  607. package/lib/esm/token-utils-1f843fb9.js +1 -1
  608. package/lib/esm-es5/app-globals-21820dd0.js +4 -0
  609. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  610. package/lib/esm-es5/duet-alert.entry.js +2 -2
  611. package/lib/esm-es5/duet-badge.entry.js +1 -1
  612. package/lib/esm-es5/duet-banner.entry.js +1 -1
  613. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  614. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  615. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  616. package/lib/esm-es5/duet-callout.entry.js +1 -1
  617. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  618. package/lib/esm-es5/duet-card.entry.js +1 -1
  619. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  620. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  621. package/lib/esm-es5/duet-chip.entry.js +2 -2
  622. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  624. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  625. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  626. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  627. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  628. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  629. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  630. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  631. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  632. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  633. package/lib/esm-es5/duet-footer.entry.js +1 -1
  634. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  635. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  636. package/lib/esm-es5/duet-hero.entry.js +2 -2
  637. package/lib/esm-es5/duet-icon.entry.js +2 -2
  638. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  639. package/lib/esm-es5/duet-layout.entry.js +1 -1
  640. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  641. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  642. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  643. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  644. package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
  645. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  646. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  647. package/lib/esm-es5/duet-modal.entry.js +2 -2
  648. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  649. package/lib/esm-es5/duet-nav.entry.js +1 -1
  650. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  651. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  652. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  653. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  654. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  655. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  656. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  657. package/lib/esm-es5/duet-progress.entry.js +1 -1
  658. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  659. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  660. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  661. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  662. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  663. package/lib/esm-es5/duet-select.entry.js +1 -1
  664. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  665. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  666. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  667. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  668. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  669. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  670. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  671. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  672. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  673. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  674. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  675. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  676. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  677. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  678. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  679. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  680. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  681. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  682. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  683. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  684. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  685. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  686. package/lib/esm-es5/duet-tray.entry.js +1 -1
  687. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  688. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  689. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  690. package/lib/esm-es5/duet.js +2 -2
  691. package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  692. package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
  693. package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
  694. package/lib/esm-es5/index-640026f0.js +5 -0
  695. package/lib/esm-es5/language-utils-eda57343.js +4 -0
  696. package/lib/esm-es5/loader.js +2 -2
  697. package/lib/esm-es5/slot-utils-00899492.js +4 -0
  698. package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
  699. package/lib/loader/cdn.js +1 -1
  700. package/lib/loader/index.cjs.js +1 -1
  701. package/lib/loader/index.d.ts +3 -0
  702. package/lib/loader/index.es2017.js +1 -1
  703. package/lib/loader/index.js +1 -1
  704. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
  705. package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
  706. package/lib/types/stencil-public-runtime.d.ts +3 -10
  707. package/lib/types/utils/axe-core-utils.d.ts +2 -1
  708. package/lib/types/utils/test-utils.d.ts +22 -10
  709. package/lib/types/utils/watch-options.d.ts +2 -2
  710. package/package.json +17 -16
  711. package/lib/cjs/index-1d154c3d.js +0 -2836
  712. package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
  713. package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
  714. package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
  715. package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
  716. package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
  717. package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
  718. package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
  719. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
  720. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
  721. package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
  722. package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
  723. package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
  724. package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
  725. package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
  726. package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
  727. package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
  728. package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
  729. package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
  730. package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
  731. package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
  732. package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
  733. package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
  734. package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
  735. package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
  736. package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
  737. package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
  738. package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
  739. package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
  740. package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
  741. package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
  742. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
  743. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
  744. package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
  745. package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
  746. package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
  747. package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
  748. package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
  749. package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
  750. package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
  751. package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
  752. package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
  753. package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
  754. package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
  755. package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
  756. package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
  757. package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
  758. package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
  759. package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
  760. package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
  761. package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
  762. package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
  763. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
  764. package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
  765. package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
  766. package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
  767. package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
  768. package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
  769. package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
  770. package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
  771. package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
  772. package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
  773. package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
  774. package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
  775. package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
  776. package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
  777. package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
  778. package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
  779. package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
  780. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
  781. package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
  782. package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
  783. package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
  784. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
  785. package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
  786. package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
  787. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
  788. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
  789. package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
  790. package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
  791. package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
  792. package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
  793. package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
  794. package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
  795. package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
  796. package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
  797. package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
  798. package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
  799. package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
  800. package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
  801. package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
  802. package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
  803. package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
  804. package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
  805. package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
  806. package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
  807. package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
  808. package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
  809. package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
  810. package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
  811. package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
  812. package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
  813. package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
  814. package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
  815. package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
  816. package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
  817. package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
  818. package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
  819. package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
  820. package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
  821. package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
  822. package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
  823. package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
  824. package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
  825. package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
  826. package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
  827. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
  828. package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
  829. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
  830. package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
  831. package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
  832. package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
  833. package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
  834. package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
  835. package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
  836. package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
  837. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
  838. package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
  839. package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
  840. package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
  841. package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
  842. package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
  843. package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
  844. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
  845. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
  846. package/lib/collection/utils/create-id.spec.js +0 -12
  847. package/lib/collection/utils/js-utils.spec.js +0 -22
  848. package/lib/collection/utils/language-utils.spec.js +0 -159
  849. package/lib/collection/utils/math.utils.spec.js +0 -140
  850. package/lib/collection/utils/string-utils.spec.js +0 -39
  851. package/lib/collection/utils/template-utils.spec.js +0 -39
  852. package/lib/collection/utils/token-utils.spec.js +0 -178
  853. package/lib/dist-custom-elements/p-33937fd7.js +0 -183
  854. package/lib/dist-custom-elements/p-7b0b6925.js +0 -2333
  855. package/lib/duet/p-01044e64.entry.js +0 -4
  856. package/lib/duet/p-01635f49.js +0 -5
  857. package/lib/duet/p-028596d1.entry.js +0 -4
  858. package/lib/duet/p-05167460.entry.js +0 -4
  859. package/lib/duet/p-06e608ae.js +0 -4
  860. package/lib/duet/p-095f9c72.system.entry.js +0 -4
  861. package/lib/duet/p-0c821ea2.system.js +0 -4
  862. package/lib/duet/p-0cdcb955.entry.js +0 -4
  863. package/lib/duet/p-0ef5dade.entry.js +0 -4
  864. package/lib/duet/p-12f0dcca.entry.js +0 -4
  865. package/lib/duet/p-136c0687.entry.js +0 -4
  866. package/lib/duet/p-1477d402.system.entry.js +0 -4
  867. package/lib/duet/p-14e5c935.system.entry.js +0 -4
  868. package/lib/duet/p-15d5ff60.entry.js +0 -4
  869. package/lib/duet/p-1b4e3fcf.system.entry.js +0 -4
  870. package/lib/duet/p-1dad75e9.entry.js +0 -4
  871. package/lib/duet/p-1fa00f4f.system.entry.js +0 -4
  872. package/lib/duet/p-224f6c46.system.js +0 -4
  873. package/lib/duet/p-259a297a.system.js +0 -4
  874. package/lib/duet/p-2792c1b4.entry.js +0 -4
  875. package/lib/duet/p-28513260.entry.js +0 -4
  876. package/lib/duet/p-2a05757d.entry.js +0 -4
  877. package/lib/duet/p-2aabb878.entry.js +0 -4
  878. package/lib/duet/p-2aca6483.system.js +0 -4
  879. package/lib/duet/p-2d73e78b.entry.js +0 -4
  880. package/lib/duet/p-2e36d5bf.js +0 -4
  881. package/lib/duet/p-2f0daa09.system.entry.js +0 -4
  882. package/lib/duet/p-2fadd817.entry.js +0 -4
  883. package/lib/duet/p-31b71b99.system.entry.js +0 -4
  884. package/lib/duet/p-34c19a8a.entry.js +0 -4
  885. package/lib/duet/p-37afd249.entry.js +0 -4
  886. package/lib/duet/p-37b48e0b.system.entry.js +0 -4
  887. package/lib/duet/p-37f42a8d.system.entry.js +0 -4
  888. package/lib/duet/p-3a087db3.system.entry.js +0 -4
  889. package/lib/duet/p-3badecf6.system.entry.js +0 -4
  890. package/lib/duet/p-3c3ab066.system.entry.js +0 -4
  891. package/lib/duet/p-3f77a3e2.system.entry.js +0 -4
  892. package/lib/duet/p-4035c9f1.system.entry.js +0 -4
  893. package/lib/duet/p-418733c5.entry.js +0 -4
  894. package/lib/duet/p-441f4aa8.entry.js +0 -4
  895. package/lib/duet/p-4b451109.entry.js +0 -4
  896. package/lib/duet/p-5635eccc.entry.js +0 -4
  897. package/lib/duet/p-5859c6b7.system.entry.js +0 -4
  898. package/lib/duet/p-5bbb20a0.system.entry.js +0 -4
  899. package/lib/duet/p-5c7e904f.entry.js +0 -4
  900. package/lib/duet/p-605072dd.entry.js +0 -4
  901. package/lib/duet/p-633278cf.entry.js +0 -4
  902. package/lib/duet/p-6495c102.entry.js +0 -4
  903. package/lib/duet/p-6613499b.entry.js +0 -4
  904. package/lib/duet/p-674ce221.entry.js +0 -4
  905. package/lib/duet/p-687afd1a.entry.js +0 -4
  906. package/lib/duet/p-696cc1d4.entry.js +0 -4
  907. package/lib/duet/p-69c43646.system.entry.js +0 -4
  908. package/lib/duet/p-6d839458.js +0 -4
  909. package/lib/duet/p-73223e72.entry.js +0 -4
  910. package/lib/duet/p-7328bb6a.entry.js +0 -4
  911. package/lib/duet/p-739682b8.system.entry.js +0 -4
  912. package/lib/duet/p-751d5193.entry.js +0 -4
  913. package/lib/duet/p-76fd2f68.entry.js +0 -4
  914. package/lib/duet/p-79e725f1.entry.js +0 -4
  915. package/lib/duet/p-7a9415d0.entry.js +0 -4
  916. package/lib/duet/p-7d12dd5c.entry.js +0 -4
  917. package/lib/duet/p-8626151c.system.entry.js +0 -4
  918. package/lib/duet/p-89e82f95.system.js +0 -5
  919. package/lib/duet/p-8a826104.entry.js +0 -4
  920. package/lib/duet/p-8aa8d5ab.entry.js +0 -4
  921. package/lib/duet/p-8ab298d2.entry.js +0 -4
  922. package/lib/duet/p-8b198447.system.entry.js +0 -4
  923. package/lib/duet/p-8c0d68e6.entry.js +0 -4
  924. package/lib/duet/p-8d6d2de5.system.entry.js +0 -4
  925. package/lib/duet/p-8f3ef195.entry.js +0 -4
  926. package/lib/duet/p-93d2b3ab.system.entry.js +0 -4
  927. package/lib/duet/p-9a0e63fb.system.entry.js +0 -4
  928. package/lib/duet/p-9c036196.entry.js +0 -4
  929. package/lib/duet/p-9d9ceaaf.system.entry.js +0 -4
  930. package/lib/duet/p-9dd1d807.entry.js +0 -4
  931. package/lib/duet/p-9de36028.system.entry.js +0 -4
  932. package/lib/duet/p-9ffa100f.entry.js +0 -4
  933. package/lib/duet/p-a0c7c62c.entry.js +0 -4
  934. package/lib/duet/p-a239acf9.entry.js +0 -4
  935. package/lib/duet/p-a6bc06b4.entry.js +0 -4
  936. package/lib/duet/p-ac06a312.system.entry.js +0 -4
  937. package/lib/duet/p-ae21ad57.system.js +0 -4
  938. package/lib/duet/p-b2506d63.system.entry.js +0 -4
  939. package/lib/duet/p-b27a6bc2.entry.js +0 -4
  940. package/lib/duet/p-b4f0266c.entry.js +0 -4
  941. package/lib/duet/p-b67ec86e.system.entry.js +0 -4
  942. package/lib/duet/p-b6984bba.entry.js +0 -4
  943. package/lib/duet/p-b80bd99f.system.entry.js +0 -4
  944. package/lib/duet/p-bb33573f.entry.js +0 -4
  945. package/lib/duet/p-bf12b56f.system.entry.js +0 -4
  946. package/lib/duet/p-bf6bd4ca.entry.js +0 -4
  947. package/lib/duet/p-c1d09d6c.entry.js +0 -4
  948. package/lib/duet/p-c628251d.system.entry.js +0 -4
  949. package/lib/duet/p-c7327d56.system.entry.js +0 -4
  950. package/lib/duet/p-c7586b98.entry.js +0 -4
  951. package/lib/duet/p-c9e51b5f.system.entry.js +0 -4
  952. package/lib/duet/p-caff3d21.entry.js +0 -4
  953. package/lib/duet/p-cc490e76.system.entry.js +0 -4
  954. package/lib/duet/p-cd30e4e5.entry.js +0 -4
  955. package/lib/duet/p-ce9faaa3.system.entry.js +0 -4
  956. package/lib/duet/p-ceed90a3.entry.js +0 -4
  957. package/lib/duet/p-cef5a078.entry.js +0 -4
  958. package/lib/duet/p-d94b6e0c.system.entry.js +0 -4
  959. package/lib/duet/p-da1ac417.entry.js +0 -4
  960. package/lib/duet/p-db29616f.system.entry.js +0 -4
  961. package/lib/duet/p-de3b2dc1.entry.js +0 -4
  962. package/lib/duet/p-ec42ab2e.entry.js +0 -4
  963. package/lib/duet/p-ef30751b.system.entry.js +0 -4
  964. package/lib/duet/p-ef8726ff.entry.js +0 -4
  965. package/lib/duet/p-f1655a1f.entry.js +0 -4
  966. package/lib/duet/p-f3078952.entry.js +0 -4
  967. package/lib/duet/p-f73f352a.system.entry.js +0 -4
  968. package/lib/duet/p-f8827f00.system.entry.js +0 -4
  969. package/lib/duet/p-fe305a4f.system.entry.js +0 -4
  970. package/lib/duet/p-ffc6061c.system.entry.js +0 -4
  971. package/lib/esm/index-a23f641e.js +0 -2802
  972. package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
  973. package/lib/esm-es5/focus-utils-be6b1c62.js +0 -4
  974. package/lib/esm-es5/index-a23f641e.js +0 -5
  975. package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
  976. package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
@@ -1,157 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-multiselect", () => {
6
- it("should render a multiselect", async () => {
7
- const page = await createPage(`<duet-multiselect></duet-multiselect>`);
8
- const component = await page.find("duet-multiselect");
9
- expect(component).not.toBeNull();
10
- });
11
- it("should provide a property that renders label", async () => {
12
- const page = await createPage(`<duet-multiselect label="test"></duet-multiselect>`);
13
- const element = await page.find("duet-multiselect >>> label");
14
- expect(element.innerText).toEqual("test");
15
- });
16
- it("should provide a property that removes the margin of the component", async () => {
17
- const page = await createPage(`<duet-multiselect margin="none"></duet-multiselect>`);
18
- const element = await page.find(".duet-m-0");
19
- expect(element).not.toBeNull();
20
- });
21
- it("should provide a property that switches the theme", async () => {
22
- const page = await createPage(`<duet-multiselect theme="turva"></duet-multiselect>`);
23
- const element = await page.find("duet-multiselect >>> .duet-multiselect-container");
24
- expect(element).toHaveClass("duet-theme-turva");
25
- });
26
- it("should provide a property that makes the disabled", async () => {
27
- const page = await createPage(`<duet-multiselect disabled></duet-multiselect>`);
28
- const element = await page.find("duet-multiselect >>> .duet-multiselect");
29
- expect(element.getAttribute("disabled")).not.toBeNull();
30
- });
31
- it("should provide a property that adds an ID", async () => {
32
- const page = await createPage(`<duet-multiselect identifier="test"></duet-multiselect>`);
33
- const element = await page.find("duet-multiselect >>> .duet-multiselect");
34
- expect(element.getAttribute("id")).toEqual("test");
35
- });
36
- it("should provide a property that renders select all and and clear all buttons", async () => {
37
- const page = await createPage(`<duet-multiselect all-controls items='[{"label": "11100", "value": "11100"}, {"label": "22200", "value": "22200"}]'></duet-multiselect>`);
38
- const selectAll = await page.find("duet-multiselect >>> button.duet-multiselect-select-all");
39
- const clearAll = await page.find("duet-multiselect >>> button.duet-multiselect-clear-all");
40
- expect(selectAll).not.toBeNull();
41
- expect(clearAll).not.toBeNull();
42
- });
43
- it("should not render select all and and clear all buttons if there are no items", async () => {
44
- const page = await createPage(`<duet-multiselect all-controls></duet-multiselect>`);
45
- const selectAll = await page.find("duet-multiselect >>> button.duet-multiselect-select-all");
46
- const clearAll = await page.find("duet-multiselect >>> button.duet-multiselect-clear-all");
47
- expect(selectAll).toBeNull();
48
- expect(clearAll).toBeNull();
49
- });
50
- it("should select and clear all when clicking the corresponding buttons", async () => {
51
- const page = await createPage(`<duet-multiselect all-controls items='[{"label": "11100", "value": "11100"}, {"label": "22200", "value": "22200"}]'></duet-multiselect>`);
52
- const multiselect = await page.find("duet-multiselect");
53
- const multiselectTrigger = await page.find("duet-multiselect >>> .duet-multiselect");
54
- const selectAll = await page.find("duet-multiselect >>> button.duet-multiselect-select-all");
55
- const clearAll = await page.find("duet-multiselect >>> button.duet-multiselect-clear-all");
56
- await multiselectTrigger.click();
57
- expect(await multiselect.getProperty("value")).toHaveLength(0);
58
- await selectAll.click();
59
- expect(await multiselect.getProperty("value")).toHaveLength(2);
60
- await clearAll.click();
61
- expect(await multiselect.getProperty("value")).toHaveLength(0);
62
- });
63
- it("should only raise an event on user interaction, not when changing checked property programmatically", async () => {
64
- const page = await createPage(`<duet-multiselect label="Checked" items='[{"label": "11100", "value": "11100"}, {"label": "22200", "value": "22200"}]'></duet-multiselect>`);
65
- const multiselect = await page.find("duet-multiselect >>> .duet-multiselect");
66
- await multiselect.click();
67
- const checkbox = await page.find("duet-multiselect >>> duet-checkbox");
68
- const changeEventSpy = await checkbox.spyOnEvent("duetChange");
69
- checkbox.setProperty("checked", true);
70
- await page.waitForChanges();
71
- expect(changeEventSpy).not.toHaveReceivedEvent();
72
- await checkbox.click();
73
- expect(changeEventSpy).toHaveReceivedEvent();
74
- });
75
- it("should raise an event on focus", async () => {
76
- const page = await createPage(`<duet-multiselect label="Checked" value="test"></duet-multiselect>`);
77
- const multiselect = await page.find("duet-multiselect");
78
- const focusEventSpy = await multiselect.spyOnEvent("duetFocus");
79
- await page.keyboard.press("Tab");
80
- await page.waitForChanges();
81
- expect(focusEventSpy).toHaveReceivedEvent();
82
- });
83
- it("should raise an event on blur", async () => {
84
- const page = await createPage(`
85
- <duet-multiselect label="Checked" value="test"></duet-multiselect>
86
- <button>another focusable element</button>
87
- `);
88
- const multiselect = await page.find("duet-multiselect");
89
- const blurEventSpy = await multiselect.spyOnEvent("duetFocus");
90
- // focus then blur the checkbox
91
- await page.keyboard.press("Tab");
92
- await page.keyboard.press("Tab");
93
- await page.waitForChanges();
94
- expect(blurEventSpy).toHaveReceivedEvent();
95
- });
96
- it("should provide a method for setting the selected options", async () => {
97
- const page = await createPage(`<duet-multiselect items='[{"label": "One", "value": "1"}, {"label": "Two", "value": "2"}, {"label": "Three", "value": "3"}]'></duet-multiselect>`);
98
- const multiselect = await page.find("duet-multiselect");
99
- expect(await multiselect.getProperty("value")).toHaveLength(0);
100
- await multiselect.callMethod("selectWithValues", ["2", "3"]);
101
- expect(await multiselect.getProperty("value")).toEqual([
102
- { label: "Two", value: "2" },
103
- { label: "Three", value: "3" },
104
- ]);
105
- });
106
- it("should provide property to specify labelled groups of items", async () => {
107
- const page = await createPage(`<duet-multiselect></duet-multiselect>`);
108
- const multiselect = await page.find("duet-multiselect");
109
- const items = [
110
- {
111
- label: "Group one",
112
- items: [
113
- { label: "One", value: "1" },
114
- { label: "Two", value: "2" },
115
- ],
116
- },
117
- {
118
- label: "Group two",
119
- items: [
120
- { label: "Three", value: "3" },
121
- { label: "Four", value: "4" },
122
- ],
123
- },
124
- ];
125
- await multiselect.setProperty("items", items);
126
- const multiselectBtn = await page.find("duet-multiselect >>> .duet-multiselect");
127
- await multiselectBtn.click();
128
- const fieldsets = await page.findAll("duet-multiselect >>> fieldset");
129
- expect(fieldsets.length).toEqual(items.length);
130
- for (let i = 0; i < items.length; i++) {
131
- const legend = await fieldsets[i].find("legend");
132
- expect(legend.textContent).toEqual(items[i].label);
133
- }
134
- });
135
- it("should render a badge with number of selected items", async () => {
136
- const page = await createPage(`<duet-multiselect></duet-multiselect>`);
137
- const multiselect = await page.find("duet-multiselect");
138
- const multiselectTrigger = await page.find("duet-multiselect >>> .duet-multiselect");
139
- const badgeSelector = "duet-multiselect >>> .duet-multiselect-badge";
140
- const items = [
141
- { label: "One", value: "1" },
142
- { label: "Two", value: "2" },
143
- { label: "Three", value: "3" },
144
- { label: "Four", value: "4" },
145
- ];
146
- await multiselect.setProperty("items", items);
147
- expect(await page.find(badgeSelector)).toBeNull();
148
- await multiselectTrigger.click();
149
- const checkbox = await page.find("duet-multiselect >>> duet-checkbox");
150
- await checkbox.click();
151
- // note: checking match to starting with number as textContent also has <duet-visually-hidden> text
152
- expect((await page.find(badgeSelector)).innerText).toMatch(/^1/);
153
- await multiselectTrigger.click();
154
- await multiselect.callMethod("selectWithValues", ["2", "3"]);
155
- expect((await page.find(badgeSelector)).innerText).toMatch(/^3/);
156
- });
157
- });
@@ -1,20 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
- describe("[a11y] duet-notification", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <div role="list">
9
- <duet-notification highlight url="https://www.duetds.com" date="23.11.2020">
10
- <duet-heading level="h2" visual-level="h6"> Uusi vakuutus </duet-heading>
11
- <duet-paragraph size="small" margin="none">
12
- Uuden kotivakuutuksesi tiedot ja asiakirjat löydät klikkaamalla tästä.
13
- </duet-paragraph>
14
- </duet-notification>
15
- </div>
16
- `, axeRunOptions);
17
- expect(result).not.toBeNull();
18
- expect(formatViolations(result.violations)).toEqual([]);
19
- });
20
- });
@@ -1,12 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-notification", () => {
6
- it("should render a notification", async () => {
7
- const page = await createPage(`<duet-notification></duet-notification>`);
8
- const component = await page.find("duet-notification");
9
- expect(component).not.toBeNull();
10
- expect(component).toHaveClass("hydrated");
11
- });
12
- });
@@ -1,28 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
- describe("[a11y] duet-notification-drawer", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-notification-drawer direction="right" label="Ilmoitukset (1)" icon="messaging-notification" badge>
9
- <duet-notification highlight url="https://www.duetds.com" date="23.11.2020">
10
- <duet-heading level="h2" visual-level="h6"> Uusi vakuutus </duet-heading>
11
- <duet-paragraph size="small" margin="none">
12
- Uuden kotivakuutuksesi tiedot ja asiakirjat löydät klikkaamalla tästä.
13
- </duet-paragraph>
14
- </duet-notification>
15
- </duet-notification-drawer>
16
- `, axeRunOptions);
17
- expect(result).not.toBeNull();
18
- expect(formatViolations(result.violations)).toEqual([]);
19
- });
20
- it("should render an accessible component in an empty state", async () => {
21
- const result = await testWithAxe(`
22
- <duet-notification-drawer direction="right" label="Ilmoitukset" icon="messaging-notification">
23
- </duet-notification-drawer>
24
- `, axeRunOptions);
25
- expect(result).not.toBeNull();
26
- expect(formatViolations(result.violations)).toEqual([]);
27
- });
28
- });
@@ -1,177 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- function camelToKebab(str) {
6
- return str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
7
- }
8
- function isChildren(propsOrChildren) {
9
- return Array.isArray(propsOrChildren) || typeof propsOrChildren === "string";
10
- }
11
- function dom(tag, propsOrChildren, children) {
12
- if (propsOrChildren == null) {
13
- propsOrChildren = {};
14
- }
15
- if (isChildren(propsOrChildren)) {
16
- children = propsOrChildren;
17
- propsOrChildren = {};
18
- }
19
- if (children == null) {
20
- children = "";
21
- }
22
- const attrs = Object.entries(propsOrChildren)
23
- .map(([attr, value]) => `${camelToKebab(attr)}="${value}"`)
24
- .join(" ");
25
- children = Array.isArray(children) ? children : [children];
26
- return `<${tag} ${attrs}>${children.join("")}</${tag}>`;
27
- }
28
- function paragraph(props, children) {
29
- return dom("duet-paragraph", props, children);
30
- }
31
- function heading(props, children) {
32
- return dom("duet-heading", props, children);
33
- }
34
- function drawer(props, children) {
35
- return dom("duet-notification-drawer", props, children);
36
- }
37
- function notification(props, children) {
38
- return dom("duet-notification", props, children);
39
- }
40
- function appendFocusableElement(page) {
41
- return page.evaluate(() => {
42
- const a = document.createElement("a");
43
- a.href = "#";
44
- a.innerText = "some focusable element";
45
- document.body.appendChild(a);
46
- });
47
- }
48
- function generatePage(options = { theme: "default" }) {
49
- return createPage(dom("html", { class: `duet-theme-${options.theme}` }, [
50
- `<link rel="stylesheet" href="https://cdn.duetds.com/api/css/1.4.16/lib/duet.min.css" />`,
51
- drawer({ label: "Notifications (3)", badge: true, icon: "messaging-notification" }, [
52
- notification({ date: "today", url: "#", highlight: true }, [
53
- heading({ level: "h2", visualLevel: "h6", margin: "none" }, "First notification"),
54
- ]),
55
- notification({ date: "today", url: "#" }, [
56
- paragraph({ size: "small", margin: "none" }, "Second notification"),
57
- ]),
58
- notification({ date: "today", url: "#" }, [
59
- heading({ level: "h2", visualLevel: "h6" }, "Third notification"),
60
- paragraph({ size: "small", margin: "none" }, "Some text which would serve as the body of the notification"),
61
- ]),
62
- ]),
63
- ]));
64
- }
65
- function getFocusedElement(page) {
66
- return page.evaluateHandle(() => document.activeElement);
67
- }
68
- function getButton(page) {
69
- return page.find("duet-notification-drawer >>> button[aria-expanded]");
70
- }
71
- function getContent(page) {
72
- return page.find("duet-notification-drawer >>> .duet-drawer-content");
73
- }
74
- async function openDrawer(page) {
75
- const button = await getButton(page);
76
- await button.click();
77
- await page.waitForChanges();
78
- }
79
- describe("duet-notification-drawer", () => {
80
- it("should render a notification drawer", async () => {
81
- const page = await createPage(drawer({ label: "Notifications" }));
82
- const component = await page.find("duet-notification-drawer");
83
- expect(component).not.toBeNull();
84
- expect(component).toHaveClass("hydrated");
85
- });
86
- it("closes on click outside", async () => {
87
- const page = await generatePage();
88
- await appendFocusableElement(page); // we need another focusable element for the purpose of test
89
- await openDrawer(page);
90
- const link = await page.find("a");
91
- await link.click();
92
- await page.waitForChanges();
93
- const button = await getButton(page);
94
- const content = await getContent(page);
95
- expect(await content.isVisible()).toBe(false);
96
- expect(button).toEqualAttribute("aria-expanded", "false");
97
- });
98
- it("closes when focus moves outside", async () => {
99
- const page = await generatePage();
100
- await appendFocusableElement(page); // we need another focusable element for the purpose of test
101
- await openDrawer(page);
102
- const link = await page.find("a");
103
- await link.focus();
104
- await page.waitForChanges();
105
- const button = await getButton(page);
106
- const content = await getContent(page);
107
- expect(await content.isVisible()).toBe(false);
108
- expect(button).toEqualAttribute("aria-expanded", "false");
109
- });
110
- describe("keyboard a11y", () => {
111
- it("can be opened with keyboard", async () => {
112
- const page = await generatePage();
113
- let button = await getButton(page);
114
- let content = await getContent(page);
115
- expect(button).toEqualAttribute("aria-expanded", "false");
116
- expect(await content.isVisible()).toBe(false);
117
- await page.keyboard.press("Tab");
118
- await page.keyboard.press("Enter");
119
- await page.waitForChanges();
120
- button = await getButton(page);
121
- content = await getContent(page);
122
- expect(button).toEqualAttribute("aria-expanded", "true");
123
- expect(await content.isVisible()).toBe(true);
124
- });
125
- it("closes on ESC press", async () => {
126
- const page = await generatePage();
127
- await openDrawer(page);
128
- let content = await getContent(page);
129
- expect(await content.isVisible()).toBe(true);
130
- await page.keyboard.press("Escape");
131
- await page.waitForChanges();
132
- const button = await getButton(page);
133
- content = await getContent(page);
134
- expect(button).toEqualAttribute("aria-expanded", "false");
135
- expect(await content.isVisible()).toBe(false);
136
- });
137
- it("allows for tabbing through notifications", async () => {
138
- const page = await generatePage();
139
- await page.keyboard.press("Tab");
140
- await page.keyboard.press("Enter");
141
- await page.waitForChanges();
142
- await page.keyboard.press("Tab");
143
- let focused = await getFocusedElement(page);
144
- let text = await page.evaluate((element) => element.innerText, focused);
145
- expect(text).toContain("First notification");
146
- await page.keyboard.press("Tab");
147
- focused = await getFocusedElement(page);
148
- text = await page.evaluate((element) => element.innerText, focused);
149
- expect(text).toContain("Second notification");
150
- await page.keyboard.press("Tab");
151
- focused = await getFocusedElement(page);
152
- text = await page.evaluate((element) => element.innerText, focused);
153
- expect(text).toContain("Third notification");
154
- });
155
- it("closes once focus moves out of drawer", async () => {
156
- const page = await generatePage();
157
- await appendFocusableElement(page); // we need another focusable element for the test
158
- await page.keyboard.press("Tab");
159
- await page.keyboard.press("Enter");
160
- await page.waitForChanges();
161
- let button = await getButton(page);
162
- expect(button).toEqualAttribute("aria-expanded", "true");
163
- await page.keyboard.press("Tab");
164
- await page.waitForChanges();
165
- await page.keyboard.press("Tab");
166
- await page.waitForChanges();
167
- await page.keyboard.press("Tab");
168
- await page.waitForChanges();
169
- await page.keyboard.press("Tab");
170
- await page.waitForChanges();
171
- button = await getButton(page);
172
- const content = await getContent(page);
173
- expect(button).toEqualAttribute("aria-expanded", "false");
174
- expect(await content.isVisible()).toBe(false);
175
- });
176
- });
177
- });
@@ -1,32 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createComponent } from "./duet-number-input.e2e";
5
- describe("duet-number-input - negative values", () => {
6
- it("supports negative min and max values", async () => {
7
- const page = await createComponent({ value: "-2 C", step: 1, min: -3, max: -1, unit: "C" });
8
- const numberInput = await page.find("duet-number-input");
9
- const input = await numberInput.find("duet-input");
10
- const subtract = await numberInput.find(".duet-number-button-subtract");
11
- const add = await numberInput.find(".duet-number-button-add");
12
- await page.$eval("duet-number-input", (el) => el.setFocus());
13
- expect(await input.getProperty("value")).toBe("−2 C");
14
- await add.click();
15
- await page.waitForChanges();
16
- expect(await input.getProperty("value")).toBe("−1 C");
17
- // we've hit the max, so should still be 3
18
- await add.click();
19
- await page.waitForChanges();
20
- expect(await input.getProperty("value")).toBe("−1 C");
21
- await subtract.click();
22
- await page.waitForChanges();
23
- expect(await input.getProperty("value")).toBe("−2 C");
24
- await subtract.click();
25
- await page.waitForChanges();
26
- expect(await input.getProperty("value")).toBe("−3 C");
27
- // we've hit the min, so should be still be 1
28
- await subtract.click();
29
- await page.waitForChanges();
30
- expect(await input.getProperty("value")).toBe("−3 C");
31
- });
32
- });
@@ -1,14 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
- describe("[a11y] duet-number-input", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-number-input label="Sijoitettava pääoma" value="100000" min="50000" max="500000" step="5000" unit="€">
9
- </duet-number-input>
10
- `, axeRunOptions);
11
- expect(result).not.toBeNull();
12
- expect(formatViolations(result.violations)).toEqual([]);
13
- });
14
- });