@duetds/components 8.6.8 → 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 (959) hide show
  1. package/hydrate/index.d.ts +30 -12
  2. package/hydrate/index.js +33069 -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 +44 -23
  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-f04d6c12.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 +1 -1
  94. package/lib/collection/components/duet-alert/duet-alert.js +5 -5
  95. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  96. package/lib/collection/components/duet-banner/duet-banner.js +2 -2
  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 +5 -5
  100. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  101. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  102. package/lib/collection/components/duet-card/duet-card.js +3 -3
  103. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  104. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  105. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  106. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  107. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  108. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  109. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  110. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  111. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  112. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  113. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  114. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  115. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  116. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  117. package/lib/collection/components/duet-link/duet-link.js +2 -2
  118. package/lib/collection/components/duet-list/duet-list.js +1 -1
  119. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  120. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  121. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  127. package/lib/collection/components/duet-modal/duet-modal.css +6 -0
  128. package/lib/collection/components/duet-modal/duet-modal.js +10 -8
  129. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  130. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  131. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  132. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  133. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  134. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  135. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  136. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +1 -1
  139. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  140. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  141. package/lib/collection/components/duet-scrollable/duet-scrollable.css +39 -9
  142. package/lib/collection/components/duet-scrollable/duet-scrollable.js +29 -11
  143. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  144. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  145. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  146. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  147. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  148. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  149. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  150. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  151. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  152. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  153. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  154. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
  155. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  156. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  157. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  158. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  159. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  160. package/lib/collection/components/duet-table/duet-table.js +2 -2
  161. package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
  162. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  163. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  164. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
  165. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  166. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  167. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  168. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  169. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  170. package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
  171. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  172. package/lib/collection/components/duet-upload-item/duet-upload-item.js +3 -3
  173. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  174. package/lib/collection/utils/axe-core-utils.js +12 -4
  175. package/lib/collection/utils/test-utils.js +82 -32
  176. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  177. package/lib/dist-custom-elements/duet-alert.js +1 -1
  178. package/lib/dist-custom-elements/duet-badge.js +1 -1
  179. package/lib/dist-custom-elements/duet-banner.js +9 -8
  180. package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
  181. package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
  182. package/lib/dist-custom-elements/duet-button.js +1 -1
  183. package/lib/dist-custom-elements/duet-callout.js +7 -6
  184. package/lib/dist-custom-elements/duet-caption.js +1 -1
  185. package/lib/dist-custom-elements/duet-card.js +8 -7
  186. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  187. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  188. package/lib/dist-custom-elements/duet-chip.js +1 -1
  189. package/lib/dist-custom-elements/duet-choice-group.js +11 -10
  190. package/lib/dist-custom-elements/duet-choice.js +8 -7
  191. package/lib/dist-custom-elements/duet-collapsible.js +7 -6
  192. package/lib/dist-custom-elements/duet-combobox.js +17 -16
  193. package/lib/dist-custom-elements/duet-contact-card.js +13 -12
  194. package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
  195. package/lib/dist-custom-elements/duet-date-picker.js +19 -18
  196. package/lib/dist-custom-elements/duet-divider.js +1 -1
  197. package/lib/dist-custom-elements/duet-editable-table.js +11 -10
  198. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  199. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  200. package/lib/dist-custom-elements/duet-file-chooser.js +5 -4
  201. package/lib/dist-custom-elements/duet-footer.js +15 -14
  202. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-grid.js +1 -1
  204. package/lib/dist-custom-elements/duet-header.js +12 -11
  205. package/lib/dist-custom-elements/duet-heading.js +1 -1
  206. package/lib/dist-custom-elements/duet-hero.js +18 -17
  207. package/lib/dist-custom-elements/duet-icon.js +1 -1
  208. package/lib/dist-custom-elements/duet-input.js +1 -1
  209. package/lib/dist-custom-elements/duet-label.js +1 -1
  210. package/lib/dist-custom-elements/duet-layout.js +8 -7
  211. package/lib/dist-custom-elements/duet-link.js +1 -1
  212. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  213. package/lib/dist-custom-elements/duet-list.js +1 -1
  214. package/lib/dist-custom-elements/duet-logo.js +1 -1
  215. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -5
  216. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
  217. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
  218. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
  219. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
  220. package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
  221. package/lib/dist-custom-elements/duet-modal.js +24 -21
  222. package/lib/dist-custom-elements/duet-multiselect.js +19 -18
  223. package/lib/dist-custom-elements/duet-nav.js +4 -3
  224. package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
  225. package/lib/dist-custom-elements/duet-notification.js +7 -6
  226. package/lib/dist-custom-elements/duet-number-input.js +15 -14
  227. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  228. package/lib/dist-custom-elements/duet-page-heading.js +6 -5
  229. package/lib/dist-custom-elements/duet-pagination.js +27 -26
  230. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  231. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
  232. package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
  233. package/lib/dist-custom-elements/duet-progress.js +1 -1
  234. package/lib/dist-custom-elements/duet-promo-card.js +8 -7
  235. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  236. package/lib/dist-custom-elements/duet-radio.js +3 -2
  237. package/lib/dist-custom-elements/duet-range-slider.js +4 -3
  238. package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
  239. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  240. package/lib/dist-custom-elements/duet-section-layout.js +6 -5
  241. package/lib/dist-custom-elements/duet-select.js +1 -1
  242. package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
  243. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  244. package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
  245. package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
  246. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
  247. package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
  248. package/lib/dist-custom-elements/duet-slideout.js +12 -11
  249. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  250. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  251. package/lib/dist-custom-elements/duet-step.js +6 -5
  252. package/lib/dist-custom-elements/duet-stepper.js +5 -4
  253. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
  254. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
  255. package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
  256. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
  257. package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
  258. package/lib/dist-custom-elements/duet-tab-group.js +21 -20
  259. package/lib/dist-custom-elements/duet-tab.js +4 -3
  260. package/lib/dist-custom-elements/duet-table.js +1 -1
  261. package/lib/dist-custom-elements/duet-textarea.js +13 -12
  262. package/lib/dist-custom-elements/duet-toggle.js +4 -3
  263. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
  264. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
  265. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
  266. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
  267. package/lib/dist-custom-elements/duet-toolbar.js +4 -3
  268. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  269. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  270. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  271. package/lib/dist-custom-elements/duet-tray.js +8 -7
  272. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  273. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  274. package/lib/dist-custom-elements/duet-upload.js +25 -24
  275. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  276. package/lib/dist-custom-elements/index.js +2 -1
  277. package/lib/dist-custom-elements/{p-5d1b1309.js → p-00eccbc8.js} +5 -4
  278. package/lib/dist-custom-elements/{p-dcbd3217.js → p-0231ea20.js} +5 -4
  279. package/lib/dist-custom-elements/{p-2f74a80b.js → p-02911244.js} +3 -3
  280. package/lib/dist-custom-elements/{p-f010dbb0.js → p-03c64124.js} +5 -4
  281. package/lib/dist-custom-elements/{p-184196bf.js → p-12a09bbc.js} +5 -4
  282. package/lib/dist-custom-elements/{p-8806e54e.js → p-151934ce.js} +8 -7
  283. package/lib/dist-custom-elements/{p-8b931125.js → p-1c341405.js} +11 -10
  284. package/lib/dist-custom-elements/{p-0301d789.js → p-21e0af47.js} +38 -19
  285. package/lib/dist-custom-elements/{p-2e4d752a.js → p-26d4d49e.js} +3 -2
  286. package/lib/dist-custom-elements/{p-a1b81dbc.js → p-2a041992.js} +7 -6
  287. package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
  288. package/lib/dist-custom-elements/{p-3a3e990d.js → p-330bf2a1.js} +4 -3
  289. package/lib/dist-custom-elements/{p-ecb49066.js → p-37e44d89.js} +5 -4
  290. package/lib/dist-custom-elements/{p-aaf04b7b.js → p-384f880b.js} +6 -5
  291. package/lib/dist-custom-elements/{p-164f1743.js → p-3e74515a.js} +10 -9
  292. package/lib/dist-custom-elements/{p-a5b07a4c.js → p-401b6b1f.js} +5 -4
  293. package/lib/dist-custom-elements/{p-e4489c9c.js → p-45dd5240.js} +7 -6
  294. package/lib/dist-custom-elements/p-47c44289.js +178 -0
  295. package/lib/dist-custom-elements/{p-d4cc9e7f.js → p-48a3af88.js} +3 -2
  296. package/lib/dist-custom-elements/{p-b691a561.js → p-5ad5934d.js} +4 -3
  297. package/lib/dist-custom-elements/{p-188198bb.js → p-61ffea9e.js} +6 -5
  298. package/lib/dist-custom-elements/{p-f3fed1d1.js → p-6bd18890.js} +15 -14
  299. package/lib/dist-custom-elements/{p-9d2943a1.js → p-706daff4.js} +14 -13
  300. package/lib/dist-custom-elements/{p-fe0978ef.js → p-7666f1bc.js} +5 -4
  301. package/lib/dist-custom-elements/{p-e4f40301.js → p-7eef087e.js} +12 -11
  302. package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
  303. package/lib/dist-custom-elements/{p-06e608ae.js → p-895db398.js} +2 -0
  304. package/lib/dist-custom-elements/{p-45ce252d.js → p-8fb1d873.js} +15 -14
  305. package/lib/dist-custom-elements/{p-2933d260.js → p-955053f9.js} +7 -5
  306. package/lib/dist-custom-elements/p-955746f9.js +1848 -0
  307. package/lib/dist-custom-elements/{p-d1f8f9d9.js → p-9bda0343.js} +5 -4
  308. package/lib/dist-custom-elements/{p-674040a2.js → p-9d348a4b.js} +4 -3
  309. package/lib/dist-custom-elements/{p-f390637a.js → p-9dc74a9b.js} +8 -7
  310. package/lib/dist-custom-elements/{p-9a63d9a1.js → p-ad23e869.js} +6 -5
  311. package/lib/dist-custom-elements/{p-2a29afc3.js → p-b8bb3910.js} +5 -4
  312. package/lib/dist-custom-elements/{p-c6788c34.js → p-bb20326f.js} +4 -3
  313. package/lib/dist-custom-elements/{p-ee310f8e.js → p-c7a796da.js} +4 -3
  314. package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
  315. package/lib/dist-custom-elements/{p-3ee1ee19.js → p-d7ff39b6.js} +5 -4
  316. package/lib/dist-custom-elements/{p-1a167655.js → p-e091bb48.js} +3 -2
  317. package/lib/dist-custom-elements/{p-2d44ce95.js → p-f1938f1a.js} +3 -2
  318. package/lib/dist-custom-elements/{p-b59388e4.js → p-fd601808.js} +9 -8
  319. package/lib/duet/duet.esm.js +1 -1
  320. package/lib/duet/duet.js +1 -1
  321. package/lib/duet/p-01e99b47.system.entry.js +4 -0
  322. package/lib/duet/p-032d42d4.entry.js +4 -0
  323. package/lib/duet/p-06472b8c.entry.js +4 -0
  324. package/lib/duet/p-064b908b.entry.js +4 -0
  325. package/lib/duet/p-069aaf78.entry.js +4 -0
  326. package/lib/duet/{p-00638431.system.entry.js → p-077b9a06.system.entry.js} +1 -1
  327. package/lib/duet/p-08866b96.system.entry.js +4 -0
  328. package/lib/duet/{p-09f2162b.system.entry.js → p-08daf525.system.entry.js} +1 -1
  329. package/lib/duet/p-0a042569.entry.js +4 -0
  330. package/lib/duet/p-0c3a491b.system.entry.js +4 -0
  331. package/lib/duet/{p-f0a8edfa.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
  332. package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
  333. package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
  334. package/lib/duet/{p-bc99f838.system.entry.js → p-115a50f2.system.entry.js} +1 -1
  335. package/lib/duet/{p-c9c57249.system.entry.js → p-12b4df90.system.entry.js} +1 -1
  336. package/lib/duet/p-13ea970e.system.entry.js +4 -0
  337. package/lib/duet/{p-d537a47b.entry.js → p-155b7733.entry.js} +1 -1
  338. package/lib/duet/p-16be8ba9.entry.js +4 -0
  339. package/lib/duet/{p-b0d67f51.entry.js → p-16e63390.entry.js} +1 -1
  340. package/lib/duet/p-1784b1d2.js +1 -1
  341. package/lib/duet/{p-48e4b33e.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
  342. package/lib/duet/p-1801e2be.entry.js +4 -0
  343. package/lib/duet/p-18d8207e.entry.js +4 -0
  344. package/lib/duet/{p-a87c1819.entry.js → p-198b0f16.entry.js} +1 -1
  345. package/lib/duet/p-1a6ea3db.entry.js +4 -0
  346. package/lib/duet/p-1d1f8607.entry.js +4 -0
  347. package/lib/duet/p-23805ac9.entry.js +4 -0
  348. package/lib/duet/p-2383fbeb.entry.js +4 -0
  349. package/lib/duet/p-2504c504.entry.js +4 -0
  350. package/lib/duet/p-28106a87.system.entry.js +4 -0
  351. package/lib/duet/{p-322273ee.system.entry.js → p-2928c320.system.entry.js} +1 -1
  352. package/lib/duet/{p-1af39d2d.entry.js → p-29665476.entry.js} +1 -1
  353. package/lib/duet/p-2aa796b7.js +4 -0
  354. package/lib/duet/p-2b9defde.system.entry.js +4 -0
  355. package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
  356. package/lib/duet/p-300c8dd9.entry.js +4 -0
  357. package/lib/duet/{p-b3f5fea3.entry.js → p-32be247b.entry.js} +1 -1
  358. package/lib/duet/p-32d698f2.system.entry.js +4 -0
  359. package/lib/duet/{p-d9800a64.entry.js → p-364d7058.entry.js} +1 -1
  360. package/lib/duet/p-3e1a0cb7.entry.js +4 -0
  361. package/lib/duet/p-41b6d132.entry.js +4 -0
  362. package/lib/duet/{p-15a018c2.entry.js → p-41d5039a.entry.js} +1 -1
  363. package/lib/duet/p-428f66d6.system.entry.js +4 -0
  364. package/lib/duet/p-42e31c87.entry.js +4 -0
  365. package/lib/duet/p-43417c63.entry.js +4 -0
  366. package/lib/duet/{p-d2082904.system.entry.js → p-4487736b.system.entry.js} +1 -1
  367. package/lib/duet/p-4520f63d.system.entry.js +4 -0
  368. package/lib/duet/p-46079f71.entry.js +4 -0
  369. package/lib/duet/p-48879a51.entry.js +4 -0
  370. package/lib/duet/{p-4083bda5.entry.js → p-4a8d2af0.entry.js} +1 -1
  371. package/lib/duet/{p-0204b3b0.js → p-4bc401c3.js} +1 -1
  372. package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
  373. package/lib/duet/p-54351362.entry.js +4 -0
  374. package/lib/duet/p-54c28fa4.system.entry.js +4 -0
  375. package/lib/duet/p-55327462.entry.js +4 -0
  376. package/lib/duet/p-5672308b.entry.js +4 -0
  377. package/lib/duet/p-56d35ccf.system.entry.js +4 -0
  378. package/lib/duet/p-5776972c.entry.js +4 -0
  379. package/lib/duet/p-585ad67b.entry.js +4 -0
  380. package/lib/duet/p-5866eaea.entry.js +4 -0
  381. package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
  382. package/lib/duet/p-5abdc5ab.entry.js +4 -0
  383. package/lib/duet/p-5cb08833.system.entry.js +4 -0
  384. package/lib/duet/p-5f3de870.system.entry.js +4 -0
  385. package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
  386. package/lib/duet/{p-e36d3c27.entry.js → p-60d43265.entry.js} +1 -1
  387. package/lib/duet/{p-4a65e996.system.entry.js → p-61a24bce.system.entry.js} +1 -1
  388. package/lib/duet/{p-f370f3c5.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
  389. package/lib/duet/p-6892b798.system.entry.js +4 -0
  390. package/lib/duet/{p-36eb52a8.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
  391. package/lib/duet/p-68f52c23.system.entry.js +4 -0
  392. package/lib/duet/p-693ad8aa.entry.js +4 -0
  393. package/lib/duet/{p-e67c546c.system.entry.js → p-6a496c70.system.entry.js} +1 -1
  394. package/lib/duet/{p-e1fb0446.entry.js → p-6a84bf93.entry.js} +1 -1
  395. package/lib/duet/p-6bb927f9.system.entry.js +4 -0
  396. package/lib/duet/p-6c76d396.entry.js +4 -0
  397. package/lib/duet/p-6cdd3596.entry.js +4 -0
  398. package/lib/duet/{p-a909fac2.system.entry.js → p-6d157e53.system.entry.js} +2 -2
  399. package/lib/duet/p-6d75cdf6.system.js +4 -0
  400. package/lib/duet/p-6db296a5.entry.js +4 -0
  401. package/lib/duet/{p-95d3a1c1.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
  402. package/lib/duet/{p-d54716cb.system.entry.js → p-70ba1823.system.entry.js} +1 -1
  403. package/lib/duet/p-72affe21.system.entry.js +4 -0
  404. package/lib/duet/p-7340e2e2.entry.js +4 -0
  405. package/lib/duet/p-7344d97c.system.js +4 -0
  406. package/lib/duet/p-7a5dd34d.entry.js +4 -0
  407. package/lib/duet/p-7b0e681f.system.entry.js +4 -0
  408. package/lib/duet/{p-55ce0916.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
  409. package/lib/duet/p-7c3649ba.js +5 -0
  410. package/lib/duet/p-7c533802.entry.js +4 -0
  411. package/lib/duet/p-7d473104.system.entry.js +4 -0
  412. package/lib/duet/{p-22b1cabe.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
  413. package/lib/duet/p-7f8fc279.entry.js +4 -0
  414. package/lib/duet/p-7ff17c05.system.entry.js +4 -0
  415. package/lib/duet/p-80d722bc.entry.js +4 -0
  416. package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
  417. package/lib/duet/p-813c2271.entry.js +4 -0
  418. package/lib/duet/{p-71b71fae.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
  419. package/lib/duet/{p-e240a248.system.entry.js → p-84c50c75.system.entry.js} +1 -1
  420. package/lib/duet/p-8589c504.system.entry.js +4 -0
  421. package/lib/duet/p-86361d66.system.entry.js +4 -0
  422. package/lib/duet/p-8aefdb36.entry.js +4 -0
  423. package/lib/duet/p-8d4fde72.entry.js +4 -0
  424. package/lib/duet/{p-49492752.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
  425. package/lib/duet/p-933895d6.system.entry.js +4 -0
  426. package/lib/duet/p-93d9f454.system.js +4 -0
  427. package/lib/duet/{p-2ebe1ac5.system.entry.js → p-95778aca.system.entry.js} +2 -2
  428. package/lib/duet/{p-fd736af1.entry.js → p-97f74160.entry.js} +1 -1
  429. package/lib/duet/p-98ac1721.system.entry.js +4 -0
  430. package/lib/duet/{p-b0c801cc.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
  431. package/lib/duet/{p-56c629ed.entry.js → p-9bdec5df.entry.js} +1 -1
  432. package/lib/duet/p-9d4cd103.system.entry.js +4 -0
  433. package/lib/duet/p-9d5823eb.entry.js +4 -0
  434. package/lib/duet/{p-847bf63e.entry.js → p-9e60a58d.entry.js} +1 -1
  435. package/lib/duet/p-9ef799f8.js +4 -0
  436. package/lib/duet/p-9f850d18.system.entry.js +4 -0
  437. package/lib/duet/p-9f9e290a.system.entry.js +4 -0
  438. package/lib/duet/p-a168b3f5.system.js +4 -0
  439. package/lib/duet/p-a32dad7f.system.entry.js +4 -0
  440. package/lib/duet/p-a4d9c151.system.entry.js +4 -0
  441. package/lib/duet/p-a5d65d5f.entry.js +4 -0
  442. package/lib/duet/{p-ec9dbf7d.system.entry.js → p-a7768425.system.entry.js} +2 -2
  443. package/lib/duet/p-a7c62459.system.entry.js +4 -0
  444. package/lib/duet/{p-7fcbb429.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
  445. package/lib/duet/{p-dd9e6250.system.entry.js → p-a9891098.system.entry.js} +1 -1
  446. package/lib/duet/p-aa1f6b55.entry.js +4 -0
  447. package/lib/duet/p-ac596f9f.entry.js +4 -0
  448. package/lib/duet/p-acd65ed7.entry.js +4 -0
  449. package/lib/duet/p-ad433963.system.entry.js +4 -0
  450. package/lib/duet/{p-87e7e6d8.entry.js → p-ae714885.entry.js} +1 -1
  451. package/lib/duet/p-aeaa9698.entry.js +4 -0
  452. package/lib/duet/{p-1dc415a6.system.entry.js → p-aface64d.system.entry.js} +1 -1
  453. package/lib/duet/p-afadf391.entry.js +4 -0
  454. package/lib/duet/p-b0be53ba.entry.js +4 -0
  455. package/lib/duet/p-b25d69bf.system.entry.js +4 -0
  456. package/lib/duet/p-b2b49d1a.entry.js +4 -0
  457. package/lib/duet/p-b3bff87d.entry.js +4 -0
  458. package/lib/duet/{p-6f74db7d.system.entry.js → p-b5e50220.system.entry.js} +2 -2
  459. package/lib/duet/{p-ec7dd416.system.entry.js → p-b70dd317.system.entry.js} +1 -1
  460. package/lib/duet/p-b8fc9725.system.entry.js +4 -0
  461. package/lib/duet/p-b9772bdf.entry.js +4 -0
  462. package/lib/duet/p-b9e27ff4.entry.js +4 -0
  463. package/lib/duet/{p-9ef3bc8d.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
  464. package/lib/duet/p-bd936407.js +4 -0
  465. package/lib/duet/{p-24046fe3.system.entry.js → p-bddc227d.system.entry.js} +1 -1
  466. package/lib/duet/{p-b3c24039.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
  467. package/lib/duet/p-bfecf35c.entry.js +4 -0
  468. package/lib/duet/p-c1445714.system.js +1 -1
  469. package/lib/duet/p-c3de57c1.system.entry.js +4 -0
  470. package/lib/duet/{p-81e718f5.system.entry.js → p-c45a4823.system.entry.js} +1 -1
  471. package/lib/duet/p-c45c1cc8.entry.js +4 -0
  472. package/lib/duet/{p-29ef8ffc.system.entry.js → p-c5759522.system.entry.js} +1 -1
  473. package/lib/duet/p-c62ed778.entry.js +4 -0
  474. package/lib/duet/{p-81681caf.entry.js → p-cb4e6c86.entry.js} +1 -1
  475. package/lib/duet/p-cf83f662.entry.js +4 -0
  476. package/lib/duet/p-d0f3224e.entry.js +4 -0
  477. package/lib/duet/{p-bdd90cdd.system.entry.js → p-d52fa492.system.entry.js} +1 -1
  478. package/lib/duet/p-d6c95c73.system.entry.js +4 -0
  479. package/lib/duet/p-d920063d.entry.js +4 -0
  480. package/lib/duet/p-dde61943.system.js +4 -0
  481. package/lib/duet/p-e0db32fc.system.entry.js +4 -0
  482. package/lib/duet/p-e38064d5.entry.js +4 -0
  483. package/lib/duet/p-e4674cda.entry.js +4 -0
  484. package/lib/duet/p-e7d7928e.system.js +5 -0
  485. package/lib/duet/{p-8a9f7476.entry.js → p-e824a614.entry.js} +1 -1
  486. package/lib/duet/p-ec143606.entry.js +4 -0
  487. package/lib/duet/{p-aad5c506.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
  488. package/lib/duet/p-ee8bcb1f.entry.js +4 -0
  489. package/lib/duet/{p-bc2af760.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
  490. package/lib/duet/{p-ed7d1160.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
  491. package/lib/duet/p-f0eeebb5.entry.js +4 -0
  492. package/lib/duet/p-f1a726c9.entry.js +4 -0
  493. package/lib/duet/{p-b5bbe11d.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
  494. package/lib/duet/{p-2936ccf3.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
  495. package/lib/duet/p-f6fc4754.system.entry.js +4 -0
  496. package/lib/duet/p-f9069050.system.entry.js +4 -0
  497. package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
  498. package/lib/duet/{p-47fa3bf9.entry.js → p-fc76bb60.entry.js} +1 -1
  499. package/lib/duet/p-fd1cbfc8.entry.js +4 -0
  500. package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
  501. package/lib/esm/duet-action-button.entry.js +5 -4
  502. package/lib/esm/duet-alert.entry.js +10 -9
  503. package/lib/esm/duet-badge.entry.js +5 -4
  504. package/lib/esm/duet-banner.entry.js +6 -5
  505. package/lib/esm/duet-breadcrumb.entry.js +8 -7
  506. package/lib/esm/duet-breadcrumbs.entry.js +6 -5
  507. package/lib/esm/duet-button_2.entry.js +13 -11
  508. package/lib/esm/duet-callout.entry.js +6 -5
  509. package/lib/esm/duet-caption_4.entry.js +18 -14
  510. package/lib/esm/duet-card.entry.js +6 -5
  511. package/lib/esm/duet-checkbox.entry.js +3 -2
  512. package/lib/esm/duet-checkmark.entry.js +5 -4
  513. package/lib/esm/duet-chip.entry.js +4 -3
  514. package/lib/esm/duet-choice_2.entry.js +7 -5
  515. package/lib/esm/duet-collapsible.entry.js +6 -5
  516. package/lib/esm/duet-combobox.entry.js +5 -4
  517. package/lib/esm/duet-contact-card.entry.js +6 -5
  518. package/lib/esm/duet-cookie-consent.entry.js +4 -3
  519. package/lib/esm/duet-date-picker.entry.js +6 -5
  520. package/lib/esm/duet-divider_2.entry.js +7 -5
  521. package/lib/esm/duet-editable-table_3.entry.js +13 -10
  522. package/lib/esm/duet-empty-state.entry.js +5 -4
  523. package/lib/esm/duet-fieldset.entry.js +7 -6
  524. package/lib/esm/duet-file-chooser.entry.js +4 -3
  525. package/lib/esm/duet-footer.entry.js +9 -8
  526. package/lib/esm/duet-grid_2.entry.js +5 -3
  527. package/lib/esm/duet-header_2.entry.js +7 -5
  528. package/lib/esm/duet-hero.entry.js +10 -9
  529. package/lib/esm/duet-icon.entry.js +6 -5
  530. package/lib/esm/duet-input_2.entry.js +7 -5
  531. package/lib/esm/duet-layout.entry.js +8 -7
  532. package/lib/esm/duet-list_2.entry.js +8 -6
  533. package/lib/esm/duet-menu-bar-button.entry.js +5 -4
  534. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
  535. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
  536. package/lib/esm/duet-menu-bar-item.entry.js +5 -4
  537. package/lib/esm/duet-menu-bar-link.entry.js +5 -4
  538. package/lib/esm/duet-menu-bar.entry.js +5 -4
  539. package/lib/esm/duet-modal.entry.js +17 -14
  540. package/lib/esm/duet-multiselect.entry.js +11 -10
  541. package/lib/esm/duet-nav.entry.js +4 -3
  542. package/lib/esm/duet-notification_2.entry.js +10 -8
  543. package/lib/esm/duet-number-input.entry.js +5 -4
  544. package/lib/esm/duet-overlay.entry.js +4 -3
  545. package/lib/esm/duet-page-heading.entry.js +5 -4
  546. package/lib/esm/duet-pagination_2.entry.js +19 -17
  547. package/lib/esm/duet-popup-menu-item.entry.js +4 -3
  548. package/lib/esm/duet-popup-menu.entry.js +6 -5
  549. package/lib/esm/duet-progress.entry.js +4 -3
  550. package/lib/esm/duet-promo-card.entry.js +6 -5
  551. package/lib/esm/duet-radio_2.entry.js +6 -4
  552. package/lib/esm/duet-range-slider.entry.js +3 -2
  553. package/lib/esm/duet-scrollable_3.entry.js +44 -23
  554. package/lib/esm/duet-section-layout.entry.js +6 -5
  555. package/lib/esm/duet-select.entry.js +4 -3
  556. package/lib/esm/duet-shaped-image.entry.js +5 -4
  557. package/lib/esm/duet-show-more.entry.js +6 -5
  558. package/lib/esm/duet-slideout-lang.entry.js +5 -4
  559. package/lib/esm/duet-slideout-link.entry.js +5 -4
  560. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
  561. package/lib/esm/duet-slideout-panel.entry.js +12 -11
  562. package/lib/esm/duet-slideout.entry.js +10 -9
  563. package/lib/esm/duet-step_2.entry.js +6 -4
  564. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
  565. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
  566. package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
  567. package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
  568. package/lib/esm/duet-submenu-bar.entry.js +7 -6
  569. package/lib/esm/duet-textarea.entry.js +4 -3
  570. package/lib/esm/duet-toggle.entry.js +3 -2
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
  573. package/lib/esm/duet-toolbar-item.entry.js +5 -4
  574. package/lib/esm/duet-toolbar-link.entry.js +5 -4
  575. package/lib/esm/duet-toolbar.entry.js +4 -3
  576. package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
  577. package/lib/esm/duet-tooltip.entry.js +5 -4
  578. package/lib/esm/duet-tray.entry.js +6 -5
  579. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  580. package/lib/esm/duet-upload-item.entry.js +7 -6
  581. package/lib/esm/duet-visually-hidden.entry.js +4 -3
  582. package/lib/esm/duet.js +16 -16
  583. package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  584. package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
  585. package/lib/esm/{focus-utils-f0e6853d.js → focus-utils-f583d4fb.js} +1 -1
  586. package/lib/esm/index-640026f0.js +1962 -0
  587. package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
  588. package/lib/esm/loader.js +5 -5
  589. package/lib/esm/{slot-utils-b50aaef5.js → slot-utils-00899492.js} +2 -0
  590. package/lib/esm/token-utils-1f843fb9.js +1 -1
  591. package/lib/esm-es5/app-globals-21820dd0.js +4 -0
  592. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  593. package/lib/esm-es5/duet-alert.entry.js +2 -2
  594. package/lib/esm-es5/duet-badge.entry.js +1 -1
  595. package/lib/esm-es5/duet-banner.entry.js +1 -1
  596. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  598. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-callout.entry.js +1 -1
  600. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  601. package/lib/esm-es5/duet-card.entry.js +1 -1
  602. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  604. package/lib/esm-es5/duet-chip.entry.js +2 -2
  605. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  607. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  608. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  609. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  610. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  611. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  613. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  614. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  615. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  616. package/lib/esm-es5/duet-footer.entry.js +1 -1
  617. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  618. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-hero.entry.js +2 -2
  620. package/lib/esm-es5/duet-icon.entry.js +2 -2
  621. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  622. package/lib/esm-es5/duet-layout.entry.js +1 -1
  623. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  624. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  625. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
  628. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  630. package/lib/esm-es5/duet-modal.entry.js +2 -2
  631. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  632. package/lib/esm-es5/duet-nav.entry.js +1 -1
  633. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  634. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  635. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  636. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  637. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  638. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  639. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  640. package/lib/esm-es5/duet-progress.entry.js +1 -1
  641. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  642. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  644. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  645. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  646. package/lib/esm-es5/duet-select.entry.js +1 -1
  647. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  648. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  649. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  653. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  654. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  655. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  656. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  658. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  659. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  660. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  661. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  662. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  663. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  664. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  665. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  666. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  667. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  668. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  669. package/lib/esm-es5/duet-tray.entry.js +1 -1
  670. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  671. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  672. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  673. package/lib/esm-es5/duet.js +2 -2
  674. package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  675. package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
  676. package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
  677. package/lib/esm-es5/index-640026f0.js +5 -0
  678. package/lib/esm-es5/language-utils-eda57343.js +4 -0
  679. package/lib/esm-es5/loader.js +2 -2
  680. package/lib/esm-es5/slot-utils-00899492.js +4 -0
  681. package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
  682. package/lib/loader/cdn.js +1 -1
  683. package/lib/loader/index.cjs.js +1 -1
  684. package/lib/loader/index.d.ts +3 -0
  685. package/lib/loader/index.es2017.js +1 -1
  686. package/lib/loader/index.js +1 -1
  687. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
  688. package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
  689. package/lib/types/stencil-public-runtime.d.ts +3 -10
  690. package/lib/types/utils/axe-core-utils.d.ts +2 -1
  691. package/lib/types/utils/test-utils.d.ts +22 -10
  692. package/lib/types/utils/watch-options.d.ts +2 -2
  693. package/package.json +17 -16
  694. package/lib/cjs/index-c3716ea8.js +0 -2836
  695. package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
  696. package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
  697. package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
  698. package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
  699. package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
  700. package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
  701. package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
  702. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
  703. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
  704. package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
  705. package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
  706. package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
  707. package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
  708. package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
  709. package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
  710. package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
  711. package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
  712. package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
  713. package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
  714. package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
  715. package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
  716. package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
  717. package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
  718. package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
  719. package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
  720. package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
  721. package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
  722. package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
  723. package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
  724. package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
  725. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
  726. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
  727. package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
  728. package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
  729. package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
  730. package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
  731. package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
  732. package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
  733. package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
  734. package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
  735. package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
  736. package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
  737. package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
  738. package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
  739. package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
  740. package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
  741. package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
  742. package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
  743. package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
  744. package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
  745. package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
  746. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
  747. package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
  748. package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
  749. package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
  750. package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
  751. package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
  752. package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
  753. package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
  754. package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
  755. package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
  756. package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
  757. package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
  758. package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
  759. package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
  760. package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
  761. package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
  762. package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
  763. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
  764. package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
  765. package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
  766. package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
  767. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
  768. package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
  769. package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
  770. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
  771. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
  772. package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
  773. package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
  774. package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
  775. package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
  776. package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
  777. package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
  778. package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
  779. package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
  780. package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
  781. package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
  782. package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
  783. package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
  784. package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
  785. package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
  786. package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
  787. package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
  788. package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
  789. package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
  790. package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
  791. package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
  792. package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
  793. package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
  794. package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
  795. package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
  796. package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
  797. package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
  798. package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
  799. package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
  800. package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
  801. package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
  802. package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
  803. package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
  804. package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
  805. package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
  806. package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
  807. package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
  808. package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
  809. package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
  810. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
  811. package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
  812. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
  813. package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
  814. package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
  815. package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
  816. package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
  817. package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
  818. package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
  819. package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
  820. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
  821. package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
  822. package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
  823. package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
  824. package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
  825. package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
  826. package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
  827. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
  828. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
  829. package/lib/collection/utils/create-id.spec.js +0 -12
  830. package/lib/collection/utils/js-utils.spec.js +0 -22
  831. package/lib/collection/utils/language-utils.spec.js +0 -159
  832. package/lib/collection/utils/math.utils.spec.js +0 -140
  833. package/lib/collection/utils/string-utils.spec.js +0 -39
  834. package/lib/collection/utils/template-utils.spec.js +0 -39
  835. package/lib/collection/utils/token-utils.spec.js +0 -178
  836. package/lib/dist-custom-elements/p-33937fd7.js +0 -183
  837. package/lib/dist-custom-elements/p-d160ca6a.js +0 -2333
  838. package/lib/duet/p-021968b7.system.entry.js +0 -4
  839. package/lib/duet/p-039f1ee1.system.entry.js +0 -4
  840. package/lib/duet/p-06e608ae.js +0 -4
  841. package/lib/duet/p-09fdd234.entry.js +0 -4
  842. package/lib/duet/p-0b515d0c.system.entry.js +0 -4
  843. package/lib/duet/p-0b7e7cdd.entry.js +0 -4
  844. package/lib/duet/p-12e97d2c.entry.js +0 -4
  845. package/lib/duet/p-17abbe45.system.entry.js +0 -4
  846. package/lib/duet/p-1a815d69.entry.js +0 -4
  847. package/lib/duet/p-1c90a161.system.entry.js +0 -4
  848. package/lib/duet/p-1f0c6aa9.entry.js +0 -4
  849. package/lib/duet/p-224f6c46.system.js +0 -4
  850. package/lib/duet/p-252c61f9.entry.js +0 -4
  851. package/lib/duet/p-259a297a.system.js +0 -4
  852. package/lib/duet/p-2757e1be.entry.js +0 -4
  853. package/lib/duet/p-286cbd79.system.entry.js +0 -4
  854. package/lib/duet/p-2a3b428e.entry.js +0 -4
  855. package/lib/duet/p-2e36d5bf.js +0 -4
  856. package/lib/duet/p-2e615f90.entry.js +0 -4
  857. package/lib/duet/p-2f1b5c7d.js +0 -5
  858. package/lib/duet/p-354e8617.entry.js +0 -4
  859. package/lib/duet/p-36340a70.entry.js +0 -4
  860. package/lib/duet/p-36a4e269.system.entry.js +0 -4
  861. package/lib/duet/p-37aab3fc.entry.js +0 -4
  862. package/lib/duet/p-3aca8b0e.entry.js +0 -4
  863. package/lib/duet/p-3eb18ea9.system.entry.js +0 -4
  864. package/lib/duet/p-45ec9edc.entry.js +0 -4
  865. package/lib/duet/p-47ba309d.system.entry.js +0 -4
  866. package/lib/duet/p-48de6532.entry.js +0 -4
  867. package/lib/duet/p-4918a89e.entry.js +0 -4
  868. package/lib/duet/p-4bbe62cc.system.entry.js +0 -4
  869. package/lib/duet/p-4c41c996.system.entry.js +0 -4
  870. package/lib/duet/p-4db9c3d9.entry.js +0 -4
  871. package/lib/duet/p-52899472.entry.js +0 -4
  872. package/lib/duet/p-5318851f.system.entry.js +0 -4
  873. package/lib/duet/p-57346eff.system.entry.js +0 -4
  874. package/lib/duet/p-5747dc4a.entry.js +0 -4
  875. package/lib/duet/p-5852bc10.system.entry.js +0 -4
  876. package/lib/duet/p-59923821.system.entry.js +0 -4
  877. package/lib/duet/p-5c1c9204.system.entry.js +0 -4
  878. package/lib/duet/p-5f07590d.entry.js +0 -4
  879. package/lib/duet/p-61a1045e.entry.js +0 -4
  880. package/lib/duet/p-647e7930.entry.js +0 -4
  881. package/lib/duet/p-68ff07cc.entry.js +0 -4
  882. package/lib/duet/p-694dc2b2.entry.js +0 -4
  883. package/lib/duet/p-69b8ad83.system.entry.js +0 -4
  884. package/lib/duet/p-6ae750db.system.entry.js +0 -4
  885. package/lib/duet/p-6d7602d0.system.entry.js +0 -4
  886. package/lib/duet/p-6d839458.js +0 -4
  887. package/lib/duet/p-6dd2833f.entry.js +0 -4
  888. package/lib/duet/p-6e788570.entry.js +0 -4
  889. package/lib/duet/p-7187fcdb.entry.js +0 -4
  890. package/lib/duet/p-72a9c332.entry.js +0 -4
  891. package/lib/duet/p-7bba0a5f.entry.js +0 -4
  892. package/lib/duet/p-8030ac7d.entry.js +0 -4
  893. package/lib/duet/p-808390ff.entry.js +0 -4
  894. package/lib/duet/p-80c37175.system.entry.js +0 -4
  895. package/lib/duet/p-81488a05.system.js +0 -4
  896. package/lib/duet/p-820439f1.system.entry.js +0 -4
  897. package/lib/duet/p-848fd377.system.entry.js +0 -4
  898. package/lib/duet/p-86bb5185.entry.js +0 -4
  899. package/lib/duet/p-8868aefd.system.entry.js +0 -4
  900. package/lib/duet/p-8aa74f9c.system.entry.js +0 -4
  901. package/lib/duet/p-8c610e96.system.entry.js +0 -4
  902. package/lib/duet/p-916d8f4e.system.entry.js +0 -4
  903. package/lib/duet/p-92dd9326.entry.js +0 -4
  904. package/lib/duet/p-93abcf6f.system.entry.js +0 -4
  905. package/lib/duet/p-95ba5b53.system.entry.js +0 -4
  906. package/lib/duet/p-95bba705.entry.js +0 -4
  907. package/lib/duet/p-9c102070.system.entry.js +0 -4
  908. package/lib/duet/p-9c5e5c04.entry.js +0 -4
  909. package/lib/duet/p-9cbcb120.entry.js +0 -4
  910. package/lib/duet/p-a072af11.entry.js +0 -4
  911. package/lib/duet/p-a0be10bb.entry.js +0 -4
  912. package/lib/duet/p-a2ebc336.entry.js +0 -4
  913. package/lib/duet/p-a3def4ae.entry.js +0 -4
  914. package/lib/duet/p-a42bd424.system.entry.js +0 -4
  915. package/lib/duet/p-a52cfc5a.entry.js +0 -4
  916. package/lib/duet/p-a532d984.entry.js +0 -4
  917. package/lib/duet/p-a58f39e3.entry.js +0 -4
  918. package/lib/duet/p-a74d3389.system.entry.js +0 -4
  919. package/lib/duet/p-a787f19b.system.entry.js +0 -4
  920. package/lib/duet/p-a7b5f7e2.system.entry.js +0 -4
  921. package/lib/duet/p-aab7c415.system.js +0 -5
  922. package/lib/duet/p-ac32b610.entry.js +0 -4
  923. package/lib/duet/p-adcab9d7.system.entry.js +0 -4
  924. package/lib/duet/p-ae21ad57.system.js +0 -4
  925. package/lib/duet/p-b3bb7acb.entry.js +0 -4
  926. package/lib/duet/p-b86e538f.system.entry.js +0 -4
  927. package/lib/duet/p-bbe8cb06.system.entry.js +0 -4
  928. package/lib/duet/p-bbf58838.entry.js +0 -4
  929. package/lib/duet/p-bda99d9b.entry.js +0 -4
  930. package/lib/duet/p-be1dc5c4.entry.js +0 -4
  931. package/lib/duet/p-c1cc3eeb.entry.js +0 -4
  932. package/lib/duet/p-c75f879a.entry.js +0 -4
  933. package/lib/duet/p-c7626b56.entry.js +0 -4
  934. package/lib/duet/p-c7d7a477.system.entry.js +0 -4
  935. package/lib/duet/p-c7e75e4b.entry.js +0 -4
  936. package/lib/duet/p-d3964acf.entry.js +0 -4
  937. package/lib/duet/p-d43d061f.entry.js +0 -4
  938. package/lib/duet/p-d4c16da7.system.entry.js +0 -4
  939. package/lib/duet/p-d5eff7a7.system.js +0 -4
  940. package/lib/duet/p-d778d2ac.entry.js +0 -4
  941. package/lib/duet/p-dade1b81.entry.js +0 -4
  942. package/lib/duet/p-de217be7.entry.js +0 -4
  943. package/lib/duet/p-dfdc8492.system.entry.js +0 -4
  944. package/lib/duet/p-e11847f2.entry.js +0 -4
  945. package/lib/duet/p-e2760c6f.system.entry.js +0 -4
  946. package/lib/duet/p-e5f76223.entry.js +0 -4
  947. package/lib/duet/p-e81fdc04.entry.js +0 -4
  948. package/lib/duet/p-ec29ee80.system.entry.js +0 -4
  949. package/lib/duet/p-f04ed9cd.entry.js +0 -4
  950. package/lib/duet/p-f2da4d8f.entry.js +0 -4
  951. package/lib/duet/p-f6d62e5a.system.entry.js +0 -4
  952. package/lib/duet/p-ff45b962.entry.js +0 -4
  953. package/lib/duet/p-ff7efd44.entry.js +0 -4
  954. package/lib/esm/index-0f5e92a8.js +0 -2802
  955. package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
  956. package/lib/esm-es5/focus-utils-f0e6853d.js +0 -4
  957. package/lib/esm-es5/index-0f5e92a8.js +0 -5
  958. package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
  959. package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
@@ -1,13 +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-action-button", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-action-button></duet-action-button>
9
- `, axeRunOptions);
10
- expect(result).not.toBeNull();
11
- expect(formatViolations(result.violations)).toEqual([]);
12
- });
13
- });
@@ -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-alert", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-alert> A simple default alert — check it out! </duet-alert>
9
- `, axeRunOptions);
10
- expect(result).not.toBeNull();
11
- expect(formatViolations(result.violations)).toEqual([]);
12
- });
13
- it("should render an accessible component in danger variation", async () => {
14
- const result = await testWithAxe(`
15
- <duet-alert variation="danger"> A simple danger alert — check it out! </duet-alert>
16
- `, axeRunOptions);
17
- expect(result).not.toBeNull();
18
- expect(formatViolations(result.violations)).toEqual([]);
19
- });
20
- });
@@ -1,53 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-alert", () => {
6
- it("should render an alert", async () => {
7
- const page = await createPage(`<duet-alert>Test</duet-alert>`);
8
- const component = await page.find("duet-alert");
9
- expect(component).not.toBeNull();
10
- expect(component).toHaveClass("hydrated");
11
- });
12
- it("should provide a property that removes the margin of the component", async () => {
13
- const page = await createPage(`<duet-alert margin="none"></duet-alert>`);
14
- const element = await page.find("duet-alert >>> .duet-alert");
15
- expect(element).toHaveClass("duet-m-0");
16
- });
17
- it("should provide a property that removes the padding of the component", async () => {
18
- const page = await createPage(`<duet-alert padding="none"></duet-alert>`);
19
- const element = await page.find("duet-alert >>> .duet-alert");
20
- expect(element).toHaveClass("duet-p-0");
21
- });
22
- it("should provide a property that renders alert in different style variations", async () => {
23
- const page = await createPage(`<duet-alert variation="danger">Test</duet-alert>`);
24
- const element = await page.find("duet-alert >>> .duet-alert");
25
- expect(element).toHaveClass("danger");
26
- });
27
- it("should provide a property that switches the theme", async () => {
28
- const page = await createPage(`<duet-alert theme="turva">Test</duet-alert>`);
29
- const element = await page.find("duet-alert >>> .duet-alert");
30
- expect(element).toHaveClass("duet-theme-turva");
31
- });
32
- it("should provide a property that adds an icon", async () => {
33
- const page = await createPage(`<duet-alert icon="messaging-alert">Test</duet-alert>`);
34
- const element = await page.find("duet-alert >>> .duet-alert-icon");
35
- expect(element).not.toBeNull();
36
- });
37
- it("can be dismissed", async () => {
38
- const page = await createPage(`<duet-alert dismissible>Test</duet-alert>`);
39
- const alert = await page.find("duet-alert");
40
- const duetDismiss = await alert.spyOnEvent("duetDismiss");
41
- const button = await page.find("duet-alert >>> duet-button");
42
- await button.click();
43
- expect(duetDismiss).toHaveReceivedEventTimes(1);
44
- });
45
- it("can have announcements disabled", async () => {
46
- const page = await createPage(`<duet-alert variation="danger">Test</duet-alert>`);
47
- const alert = await page.find("duet-alert");
48
- expect(alert).toEqualAttribute("role", "alert");
49
- alert.setProperty("announcements", false);
50
- await page.waitForChanges();
51
- expect(alert).not.toHaveAttribute("role");
52
- });
53
- });
@@ -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-badge", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-badge>Default badge</duet-badge>
9
- `, axeRunOptions);
10
- expect(result).not.toBeNull();
11
- expect(formatViolations(result.violations)).toEqual([]);
12
- });
13
- it("should render an accessible component in danger variant", async () => {
14
- const result = await testWithAxe(`
15
- <duet-badge variation="danger">Danger badge</duet-badge>
16
- `, axeRunOptions);
17
- expect(result).not.toBeNull();
18
- expect(formatViolations(result.violations)).toEqual([]);
19
- });
20
- });
@@ -1,28 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-badge", () => {
6
- it("should render a badge", async () => {
7
- const page = await createPage(`<duet-badge>Test</duet-badge>`);
8
- const component = await page.find("duet-badge");
9
- expect(component).not.toBeNull();
10
- expect(component).toHaveClass("hydrated");
11
- });
12
- it("should provide a property that removes the margin of the component", async () => {
13
- const page = await createPage(`<duet-badge margin="none">
14
- </duet-badge>`);
15
- const element = await page.find("duet-badge");
16
- expect(element).toHaveClass("duet-m-0");
17
- });
18
- it("should provide a property that renders badge in different style variations", async () => {
19
- const page = await createPage(`<duet-badge variation="danger">Test</duet-badge>`);
20
- const element = await page.find("duet-badge >>> .duet-badge");
21
- expect(element).toHaveClass("danger");
22
- });
23
- it("should provide a property that switches the theme", async () => {
24
- const page = await createPage(`<duet-badge theme="turva">Test</duet-badge>`);
25
- const element = await page.find("duet-badge >>> .duet-badge");
26
- expect(element).toHaveClass("duet-theme-turva");
27
- });
28
- });
@@ -1,34 +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-banner", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-banner
9
- size="auto"
10
- image="https://www.duetds.com/assets/img/example-banner1.jpg"
11
- icon="category-apartment"
12
- >
13
- <span slot="heading">
14
- Kasko-vakuutus autosi turvaksi, lorem ipsum!
15
- </span>
16
- <span slot="description">
17
- Optional paragraph. Kasko-vakuutus autosi turvaksi,
18
- lorem ipsum dolor sit.
19
- </span>
20
- <duet-button
21
- slot="action"
22
- margin="none"
23
- variation="primary"
24
- icon="navigation-arrow-right"
25
- icon-right
26
- >
27
- Call to action
28
- </duet-button>
29
- </duet-banner>
30
- `, axeRunOptions);
31
- expect(result).not.toBeNull();
32
- expect(formatViolations(result.violations)).toEqual([]);
33
- });
34
- });
@@ -1,23 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-banner", () => {
6
- it("should render a badge", async () => {
7
- const page = await createPage(`<duet-banner>Test</duet-banner>`);
8
- const component = await page.find("duet-banner");
9
- expect(component).not.toBeNull();
10
- expect(component).toHaveClass("hydrated");
11
- });
12
- it("should provide a property that removes the margin of the component", async () => {
13
- const page = await createPage(`<duet-banner margin="none">
14
- </duet-banner>`);
15
- const element = await page.find("duet-banner");
16
- expect(element).toHaveClass("duet-m-0");
17
- });
18
- it("should provide a property that switches the theme", async () => {
19
- const page = await createPage(`<duet-banner theme="turva">Test</duet-banner>`);
20
- const element = await page.find("duet-banner >>> .duet-banner");
21
- expect(element).toHaveClass("duet-theme-turva");
22
- });
23
- });
@@ -1,17 +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-breadcrumbs", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-breadcrumbs class="duet-example-without-padding">
9
- <duet-breadcrumb href="/" icon="damage-home" accessible-label="Etusivu"></duet-breadcrumb>
10
- <duet-breadcrumb href="/edut-ja-kampanjat">Edut ja kampanjat</duet-breadcrumb>
11
- <duet-breadcrumb>LähiTapiola Pirkanmaa</duet-breadcrumb>
12
- </duet-breadcrumbs>
13
- `, axeRunOptions);
14
- expect(result).not.toBeNull();
15
- expect(formatViolations(result.violations)).toEqual([]);
16
- });
17
- });
@@ -1,18 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-breadcrumbs", () => {
6
- it("should render", async () => {
7
- const page = await createPage(`
8
- <duet-breadcrumbs>
9
- <duet-breadcrumb href="/" icon="damage-home" accessible-label="Etusivu"></duet-breadcrumb>
10
- <duet-breadcrumb href="/edut-ja-kampanjat">Edut ja kampanjat</duet-breadcrumb>
11
- <duet-breadcrumb href="/edut-ja-kampanjat/pirkanmaa">LähiTapiola Pirkanmaa</duet-breadcrumb>
12
- </duet-breadcrumbs>
13
- `);
14
- const component = await page.find("duet-breadcrumbs");
15
- expect(component).not.toBeNull();
16
- expect(component).toHaveClass("hydrated");
17
- });
18
- });
@@ -1,48 +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-button", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-button variation="primary">Primary button</duet-button>
9
- `, axeRunOptions);
10
- expect(result).not.toBeNull();
11
- expect(formatViolations(result.violations)).toEqual([]);
12
- });
13
- it("should render an accessible component with icon", async () => {
14
- const result = await testWithAxe(`
15
- <duet-button variation="primary" icon="navigation-arrow-left" fixed> With icon on left </duet-button>
16
- `, axeRunOptions);
17
- expect(result).not.toBeNull();
18
- expect(formatViolations(result.violations)).toEqual([]);
19
- });
20
- it("should render an accessible component in loading state", async () => {
21
- const result = await testWithAxe(`
22
- <duet-button variation="primary" loading> Button in loading state </duet-button>
23
- `, axeRunOptions);
24
- expect(result).not.toBeNull();
25
- expect(formatViolations(result.violations)).toEqual([]);
26
- });
27
- it("should render an accessible component in destructive variant", async () => {
28
- const result = await testWithAxe(`
29
- <duet-button variation="destructive-primary">Destructive primary button</duet-button>
30
- `, axeRunOptions);
31
- expect(result).not.toBeNull();
32
- expect(formatViolations(result.violations)).toEqual([]);
33
- });
34
- it("should render an accessible component as a link", async () => {
35
- const result = await testWithAxe(`
36
- <duet-button variation="primary" url="https://www.duetds.com">Button as link</duet-button>
37
- `, axeRunOptions);
38
- expect(result).not.toBeNull();
39
- expect(formatViolations(result.violations)).toEqual([]);
40
- });
41
- it("should render an accessible, icon-only component", async () => {
42
- const result = await testWithAxe(`
43
- <duet-button accessible-label="Search" fixed icon-only id="icon" icon="form-search"></duet-button>
44
- `, axeRunOptions);
45
- expect(result).not.toBeNull();
46
- expect(formatViolations(result.violations)).toEqual([]);
47
- });
48
- });
@@ -1,212 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-button", () => {
6
- it("should render a button", async () => {
7
- const page = await createPage(`<duet-button></duet-button>`);
8
- const component = await page.find("duet-button");
9
- expect(component).not.toBeNull();
10
- expect(component).toHaveClass("hydrated");
11
- });
12
- it("should provide a property that renders aria-label", async () => {
13
- const page = await createPage(`<duet-button accessible-label="test">Button</duet-button>`);
14
- const element = await page.find("duet-button >>> .duet-button");
15
- expect(element.getAttribute("aria-label")).toEqual("test");
16
- });
17
- it("should provide a property that renders aria-controls", async () => {
18
- const page = await createPage(`<duet-button accessible-controls="test">Button</duet-button>`);
19
- const element = await page.find("duet-button >>> .duet-button");
20
- expect(element.getAttribute("aria-controls")).toEqual("test");
21
- });
22
- it("should provide a property that renders aria-expanded", async () => {
23
- const page = await createPage(`<duet-button accessible-expanded="true">Button</duet-button>`);
24
- const element = await page.find("duet-button >>> .duet-button");
25
- expect(element.getAttribute("aria-expanded")).not.toBeNull();
26
- });
27
- it("should provide a property that renders aria-pressed", async () => {
28
- const page = await createPage(`<duet-button accessible-pressed="true">Button</duet-button>`);
29
- const element = await page.find("duet-button >>> .duet-button");
30
- expect(element.getAttribute("aria-pressed")).not.toBeNull();
31
- });
32
- it("should provide a property that renders button in different style variations", async () => {
33
- const page = await createPage(`<duet-button variation="secondary">Button</duet-button>`);
34
- const element = await page.find("duet-button >>> .duet-button");
35
- expect(element).toHaveClass("secondary");
36
- });
37
- it("should provide a property that switches the theme", async () => {
38
- const page = await createPage(`<duet-button theme="turva">Button</duet-button>`);
39
- const element = await page.find("duet-button >>> .duet-button-container");
40
- expect(element).toHaveClass("duet-theme-turva");
41
- });
42
- it("should provide a property that expands the button to fill 100% width", async () => {
43
- const page = await createPage(`<duet-button expand="true">Button</duet-button>`);
44
- const element = await page.find("duet-button");
45
- expect(element).toHaveClass("duet-expand");
46
- });
47
- it("should provide a property that makes the button fixed width even on mobile", async () => {
48
- const page = await createPage(`<duet-button fixed>Button</duet-button>`);
49
- const element = await page.find("duet-button");
50
- expect(element).toHaveClass("duet-fixed");
51
- });
52
- it("should provide a property that makes the button disabled", async () => {
53
- const page = await createPage(`<duet-button disabled>Button</duet-button>`);
54
- const element = await page.find("duet-button >>> .duet-button");
55
- expect(element.getAttribute("disabled")).not.toBeNull();
56
- });
57
- it("should provide a property that adds an ID for the button", async () => {
58
- const page = await createPage(`<duet-button identifier="test">Button</duet-button>`);
59
- const element = await page.find("duet-button >>> .duet-button");
60
- expect(element.getAttribute("id")).toEqual("test");
61
- });
62
- it("should provide a property that converts the button to a submit", async () => {
63
- const page = await createPage(`<duet-button submit>Button</duet-button>`);
64
- const element = await page.find("duet-button >>> .duet-button");
65
- expect(element.getAttribute("type")).toEqual("submit");
66
- });
67
- it("should provide a property that adds renders a target attribute", async () => {
68
- const page = await createPage(`<duet-button url="#" external>Button</duet-button>`);
69
- const element = await page.find("duet-button >>> .duet-button");
70
- expect(element.getAttribute("target")).toEqual("_blank");
71
- expect(element.getAttribute("rel")).toEqual("noopener");
72
- });
73
- it("should provide a property that adds renders anchor href", async () => {
74
- const page = await createPage(`<duet-button url="#">Button</duet-button>`);
75
- const element = await page.find("duet-button >>> .duet-button");
76
- expect(element.getAttribute("href")).toEqual("#");
77
- });
78
- it("should provide a property that removes the margin of the component", async () => {
79
- const page = await createPage(`<duet-button margin="none">Button</duet-button>`);
80
- const element = await page.find("duet-button >>> .duet-m-0");
81
- expect(element).not.toBeNull();
82
- });
83
- it("should provide a property that removes the padding of the component", async () => {
84
- const page = await createPage(`<duet-button padding="none"></duet-button>`);
85
- const element = await page.find("duet-button >>> .duet-button");
86
- expect(element).toHaveClass("duet-p-0");
87
- });
88
- it("should not add anchor-specific attributes to button", async () => {
89
- const page = await createPage(`<duet-button>Button</duet-button>`);
90
- const element = await page.find("duet-button >>> .duet-button");
91
- expect(element).not.toHaveAttribute("target");
92
- expect(element).not.toHaveAttribute("href");
93
- });
94
- it("should not add button-specific attributes to link", async () => {
95
- const page = await createPage(`<duet-button url="#">Button</duet-button>`);
96
- const element = await page.find("duet-button >>> .duet-button");
97
- expect(element).not.toHaveAttribute("type");
98
- expect(element).not.toHaveAttribute("disabled");
99
- expect(element).not.toHaveAttribute("name");
100
- expect(element).not.toHaveAttribute("value");
101
- expect(element).not.toHaveAttribute("aria-pressed");
102
- });
103
- it("should not add aria-* attributes unless explicitly set", async () => {
104
- const page = await createPage(`<duet-button>Button</duet-button>`);
105
- const component = await page.find("duet-button");
106
- const button = await page.find("duet-button >>> .duet-button");
107
- expect(button).not.toHaveAttribute("aria-expanded");
108
- expect(button).not.toHaveAttribute("aria-pressed");
109
- component.setAttribute("accessible-expanded", "true");
110
- component.setAttribute("accessible-pressed", "true");
111
- await page.waitForChanges();
112
- expect(button).toEqualAttribute("aria-expanded", "true");
113
- expect(button).toEqualAttribute("aria-pressed", "true");
114
- });
115
- it("supports opening links in a new window", async () => {
116
- const page = await createPage(`
117
- <duet-button language="en" url="#" external>Link button</duet-button>
118
- `);
119
- const hiddenMessage = await page.find("duet-button >>> a duet-visually-hidden");
120
- expect(hiddenMessage).not.toBe(null);
121
- expect(hiddenMessage.innerText).toContain(", Avautuu uuteen ikkunaan");
122
- });
123
- describe("form interactions", () => {
124
- async function implicitSubmission(fixture) {
125
- const input = await fixture.form.find("input");
126
- await input.focus();
127
- await fixture.page.keyboard.press("Enter");
128
- }
129
- async function explicitSubmission(fixture) {
130
- await fixture.button.click();
131
- }
132
- async function createFixture(props) {
133
- const attrs = Object.entries(props)
134
- .map(([attr, value]) => `${attr}="${value}"`)
135
- .join(" ");
136
- const page = await createPage(`
137
- <form>
138
- <label>
139
- Name: <input name="name" type="text" />
140
- </label>
141
- <label>
142
- Age: <input name="age" type="number" />
143
- </label>
144
- <duet-button ${attrs}>Submit</duet-button>
145
- </form>
146
- `);
147
- const form = await page.find("form");
148
- const button = await page.find("duet-button");
149
- const spy = await form.spyOnEvent("submit");
150
- return { page, form, spy, button };
151
- }
152
- describe.each([
153
- ["implicit", implicitSubmission],
154
- ["explicit", explicitSubmission],
155
- ])(`%s form submission`, (_type, doSubmit) => {
156
- // TODO: broken test as the browser tries to enter the clicked page
157
- it.skip("should submit form", async () => {
158
- const fixture = await createFixture({ submit: true });
159
- await doSubmit(fixture);
160
- expect(fixture.spy).toHaveReceivedEventTimes(1);
161
- });
162
- it("should only submit form if `submit` attr is `true`", async () => {
163
- const fixture = await createFixture({ submit: false });
164
- await doSubmit(fixture);
165
- expect(fixture.spy).toHaveReceivedEventTimes(0);
166
- });
167
- it("should not submit form when `disabled`", async () => {
168
- const fixture = await createFixture({ submit: true, disabled: true });
169
- await doSubmit(fixture);
170
- expect(fixture.spy).toHaveReceivedEventTimes(0);
171
- fixture.button.removeAttribute("disabled");
172
- await fixture.page.waitForChanges();
173
- await doSubmit(fixture);
174
- expect(fixture.spy).toHaveReceivedEventTimes(1);
175
- });
176
- // TODO: broken test as the browser tries to enter the clicked page
177
- it.skip("should not not submit if rendered as a link", async () => {
178
- const fixture = await createFixture({ submit: true, url: "test.html" });
179
- await doSubmit(fixture);
180
- expect(fixture.spy).toHaveReceivedEventTimes(0);
181
- });
182
- });
183
- // TODO: broken test as the browser tries to enter the submit url
184
- it.skip("supports supplying name and value", async () => {
185
- const page = await createPage(`
186
- <form method="GET">
187
- <duet-input name="name" label="name" value="nick"></duet-input>
188
- <duet-button submit name="button" value="1">Submit 1</duet-button>
189
- <duet-button id="click-me" submit name="button" value="2">Submit 2</duet-button>
190
- </form>
191
- `);
192
- // funnel submitted form data through window object for later assertion
193
- await page.$eval("form", (form) => {
194
- form.addEventListener("submit", (e) => {
195
- e.preventDefault();
196
- const formData = new FormData(e.target);
197
- formData.append(e.submitter.name, e.submitter.value);
198
- // @ts-ignore
199
- window.testData = Object.fromEntries(formData);
200
- });
201
- });
202
- const button = await page.find("duet-button#click-me");
203
- await button.click();
204
- await page.waitForChanges();
205
- const data = await page.evaluate(() => window["testData"]);
206
- expect(data).toEqual({
207
- name: "nick",
208
- button: "2",
209
- });
210
- });
211
- });
212
- });
@@ -1,17 +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-callout", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-callout>
9
- Todennäköisesti kaikkien pankkien rahoitusrakenteeseen
10
- ja kustannuksiin kiinnitetään jatkossa entistä enemmän huomiota.
11
- <span slot="author">John Doe</span>
12
- </duet-callout>
13
- `, axeRunOptions);
14
- expect(result).not.toBeNull();
15
- expect(formatViolations(result.violations)).toEqual([]);
16
- });
17
- });
@@ -1,21 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-callout", () => {
6
- it("should render a callout", async () => {
7
- const page = await createPage(`<duet-callout></duet-callout>`);
8
- const component = await page.find("duet-callout");
9
- expect(component).not.toBeNull();
10
- });
11
- it("should provide a property that switches the theme", async () => {
12
- const page = await createPage(`<duet-callout theme="turva"></duet-callout>`);
13
- const element = await page.find("duet-callout >>> .duet-callout");
14
- expect(element).toHaveClass("duet-theme-turva");
15
- });
16
- it("should provide a property that removes the margin of the component", async () => {
17
- const page = await createPage(`<duet-callout margin="none"></duet-callout>`);
18
- const element = await page.find("duet-callout >>> .duet-m-0");
19
- expect(element).not.toBeNull();
20
- });
21
- });
@@ -1,13 +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-caption", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-caption>Medium caption text</duet-caption>
9
- `, axeRunOptions);
10
- expect(result).not.toBeNull();
11
- expect(formatViolations(result.violations)).toEqual([]);
12
- });
13
- });
@@ -1,26 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { createPage } from "../../utils/test-utils";
5
- describe("duet-caption", () => {
6
- it("should render a caption", async () => {
7
- const page = await createPage(`<duet-caption></duet-caption>`);
8
- const component = await page.find("duet-caption");
9
- expect(component).not.toBeNull();
10
- });
11
- it("should provide a property that switches the theme", async () => {
12
- const page = await createPage(`<duet-caption theme="turva"></duet-caption>`);
13
- const element = await page.find("duet-caption");
14
- expect(element).toHaveClass("duet-theme-turva");
15
- });
16
- it("should provide a property that removes the margin of the component", async () => {
17
- const page = await createPage(`<duet-caption margin="none"></duet-caption>`);
18
- const element = await page.find(".duet-m-0");
19
- expect(element).not.toBeNull();
20
- });
21
- it("should provide a property that changes the size of caption", async () => {
22
- const page = await createPage(`<duet-caption size="small"></duet-caption>`);
23
- const element = await page.find("duet-caption");
24
- expect(element).toHaveClass("duet-caption-small");
25
- });
26
- });
@@ -1,29 +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-card", () => {
6
- it("should render an accessible component", async () => {
7
- const result = await testWithAxe(`
8
- <duet-card heading="Analytics"> Card with a heading </duet-card>
9
- `, axeRunOptions);
10
- expect(result).not.toBeNull();
11
- expect(formatViolations(result.violations)).toEqual([]);
12
- });
13
- it("should render an accessible component with image", async () => {
14
- const result = await testWithAxe(`
15
- <duet-card image="https://cdn.duetds.com/api/assets/illustrations/placeholder-dark.svg">
16
- <duet-heading level="h3">Card heading</duet-heading>
17
- <duet-paragraph margin="none">
18
- Card content lorem ipsum dolor sit amet consectetuer adipiscing elit no nummy laoreet lorem ipsum.
19
- </duet-paragraph>
20
- <duet-spacer></duet-spacer>
21
- <duet-button fixed url="#" padding="none" variation="plain" icon="action-arrow-right-small" icon-size="small" icon-right>
22
- Read more
23
- </duet-button>
24
- </duet-card>
25
- `, axeRunOptions);
26
- expect(result).not.toBeNull();
27
- expect(formatViolations(result.violations)).toEqual([]);
28
- });
29
- });