@duetds/components 8.0.1 → 8.0.3

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 (699) hide show
  1. package/hydrate/index.js +67 -17
  2. package/lib/cjs/{common-strings-17770d7a.js → common-strings-86913e94.js} +6 -0
  3. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +15 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-button_2.cjs.entry.js +31 -9
  10. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +7 -2
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -3
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-66656094.js → focus-utils-04f168fd.js} +1 -1
  81. package/lib/cjs/{index-780310fa.js → index-b9ee6ca5.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/collection/common-strings.js +5 -0
  84. package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +13 -0
  85. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  86. package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +20 -0
  87. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  88. package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +20 -0
  89. package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +34 -0
  90. package/lib/collection/components/duet-banner/duet-banner.js +31 -1
  91. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +2 -0
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +17 -0
  93. package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +48 -0
  94. package/lib/collection/components/duet-button/duet-button.js +83 -13
  95. package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +17 -0
  96. package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +13 -0
  97. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  98. package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +29 -0
  99. package/lib/collection/components/duet-card/duet-card.js +3 -3
  100. package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +20 -0
  101. package/lib/collection/components/duet-checkbox/duet-checkbox.js +4 -4
  102. package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +25 -0
  103. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  104. package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +79 -0
  105. package/lib/collection/components/duet-choice/duet-choice.js +4 -3
  106. package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +17 -0
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +24 -0
  108. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  109. package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +17 -0
  110. package/lib/collection/components/duet-combobox/duet-combobox.js +4 -4
  111. package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +36 -0
  112. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +16 -0
  113. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  114. package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +13 -0
  115. package/lib/collection/components/duet-date-picker/duet-date-picker.js +5 -5
  116. package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +13 -0
  117. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  118. package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +202 -0
  119. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  120. package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +15 -0
  121. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  122. package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +17 -0
  123. package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +22 -0
  124. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  125. package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +17 -0
  126. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  127. package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +42 -0
  128. package/lib/collection/components/duet-header/duet-header.js +15 -15
  129. package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +13 -0
  130. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  131. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +70 -0
  132. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  133. package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +13 -0
  134. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  135. package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +33 -0
  136. package/lib/collection/components/duet-input/duet-input.js +9 -9
  137. package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +14 -0
  138. package/lib/collection/components/duet-label/duet-label.js +2 -2
  139. package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +18 -0
  140. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  141. package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +39 -0
  142. package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +30 -0
  143. package/lib/collection/components/duet-list/duet-list.js +3 -3
  144. package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +13 -0
  145. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  146. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +27 -0
  147. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  148. package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +49 -0
  149. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  150. package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +22 -0
  151. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -6
  152. package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +20 -0
  153. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +28 -0
  154. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  155. package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +14 -0
  156. package/lib/collection/components/duet-number-input/duet-number-input.js +5 -5
  157. package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +15 -0
  158. package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +36 -0
  159. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  160. package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +18 -0
  161. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  162. package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +27 -0
  163. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  164. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  165. package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +17 -0
  166. package/lib/collection/components/duet-progress/duet-progress.js +1 -1
  167. package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +43 -0
  168. package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +13 -0
  169. package/lib/collection/components/duet-radio/duet-radio.js +4 -4
  170. package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +36 -0
  171. package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +14 -0
  172. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  173. package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +13 -0
  174. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  175. package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +17 -0
  176. package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +18 -0
  177. package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +45 -0
  178. package/lib/collection/components/duet-select/duet-select.js +6 -6
  179. package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +20 -0
  180. package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +13 -0
  181. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  182. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  183. package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +47 -0
  184. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  185. package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +13 -0
  186. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  187. package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +13 -0
  188. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  189. package/lib/collection/components/duet-step/duet-step.js +2 -2
  190. package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +26 -0
  191. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  192. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +21 -0
  193. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
  194. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +2 -1
  195. package/lib/collection/components/duet-tab/duet-tab.js +20 -1
  196. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +20 -0
  197. package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
  198. package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +35 -0
  199. package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +28 -0
  200. package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
  201. package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +13 -0
  202. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  203. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +31 -0
  204. package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +34 -0
  205. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  206. package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +22 -0
  207. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  208. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  209. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +15 -0
  210. package/lib/collection/utils/axe-core-utils.js +37 -0
  211. package/lib/collection/utils/picture-utils.js +8 -0
  212. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  213. package/lib/dist-custom-elements/duet-alert.js +1 -1
  214. package/lib/dist-custom-elements/duet-badge.js +1 -1
  215. package/lib/dist-custom-elements/duet-banner.js +21 -6
  216. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  217. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  218. package/lib/dist-custom-elements/duet-button.js +1 -1
  219. package/lib/dist-custom-elements/duet-callout.js +3 -3
  220. package/lib/dist-custom-elements/duet-caption.js +1 -1
  221. package/lib/dist-custom-elements/duet-card.js +3 -3
  222. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  223. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  224. package/lib/dist-custom-elements/duet-chip.js +2 -2
  225. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  226. package/lib/dist-custom-elements/duet-choice.js +7 -6
  227. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  228. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  229. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  230. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  231. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  232. package/lib/dist-custom-elements/duet-divider.js +1 -1
  233. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  234. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  235. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  236. package/lib/dist-custom-elements/duet-footer.js +5 -5
  237. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  238. package/lib/dist-custom-elements/duet-grid.js +1 -1
  239. package/lib/dist-custom-elements/duet-header.js +9 -9
  240. package/lib/dist-custom-elements/duet-heading.js +1 -1
  241. package/lib/dist-custom-elements/duet-hero.js +10 -10
  242. package/lib/dist-custom-elements/duet-icon.js +1 -1
  243. package/lib/dist-custom-elements/duet-input.js +1 -1
  244. package/lib/dist-custom-elements/duet-label.js +1 -1
  245. package/lib/dist-custom-elements/duet-layout.js +1 -1
  246. package/lib/dist-custom-elements/duet-link.js +1 -1
  247. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  248. package/lib/dist-custom-elements/duet-list.js +1 -1
  249. package/lib/dist-custom-elements/duet-logo.js +1 -1
  250. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  251. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  252. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  253. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  254. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  255. package/lib/dist-custom-elements/duet-modal.js +7 -7
  256. package/lib/dist-custom-elements/duet-multiselect.js +16 -11
  257. package/lib/dist-custom-elements/duet-nav.js +1 -1
  258. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  259. package/lib/dist-custom-elements/duet-notification.js +2 -2
  260. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  261. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  262. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  263. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  264. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  265. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  266. package/lib/dist-custom-elements/duet-progress.js +1 -1
  267. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  268. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  269. package/lib/dist-custom-elements/duet-radio.js +1 -1
  270. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  271. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  272. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  273. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  274. package/lib/dist-custom-elements/duet-select.js +1 -1
  275. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  276. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  277. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  278. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  279. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  280. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  281. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  282. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  283. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  284. package/lib/dist-custom-elements/duet-step.js +4 -4
  285. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  286. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  287. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  288. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  289. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  290. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  291. package/lib/dist-custom-elements/duet-tab.js +5 -3
  292. package/lib/dist-custom-elements/duet-table.js +1 -1
  293. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  294. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  295. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  296. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  297. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  298. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  299. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  300. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  301. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  302. package/lib/dist-custom-elements/duet-tray.js +3 -3
  303. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  304. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  305. package/lib/dist-custom-elements/duet-upload.js +18 -18
  306. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  307. package/lib/dist-custom-elements/index.js +1 -1
  308. package/lib/dist-custom-elements/{p-c7ea14ec.js → p-16b97666.js} +2 -2
  309. package/lib/dist-custom-elements/{p-6ff46c61.js → p-1a0d1104.js} +4 -4
  310. package/lib/dist-custom-elements/{p-c1dbca09.js → p-1b63a427.js} +1 -1
  311. package/lib/{esm/common-strings-71f2aabd.js → dist-custom-elements/p-274d11e3.js} +6 -1
  312. package/lib/dist-custom-elements/{p-27b6b841.js → p-27c98907.js} +10 -10
  313. package/lib/dist-custom-elements/{p-84b16bb8.js → p-423d3f0d.js} +3 -3
  314. package/lib/dist-custom-elements/{p-fc4ebd31.js → p-46d172ad.js} +8 -8
  315. package/lib/dist-custom-elements/{p-4d08c451.js → p-60f6b2e8.js} +3 -3
  316. package/lib/dist-custom-elements/{p-a83c5173.js → p-647197d2.js} +10 -10
  317. package/lib/dist-custom-elements/{p-3f89073c.js → p-6c228574.js} +2 -2
  318. package/lib/dist-custom-elements/{p-bcbac220.js → p-71f948ca.js} +1 -1
  319. package/lib/dist-custom-elements/{p-d07915a3.js → p-73858765.js} +3 -3
  320. package/lib/dist-custom-elements/{p-90e44a58.js → p-77dc878e.js} +36 -12
  321. package/lib/dist-custom-elements/{p-234dc8f4.js → p-7b7d919c.js} +5 -5
  322. package/lib/dist-custom-elements/{p-0e5f0ede.js → p-7f09da03.js} +5 -5
  323. package/lib/dist-custom-elements/{p-231bc5cf.js → p-84065d73.js} +1 -1
  324. package/lib/dist-custom-elements/{p-56b461b4.js → p-85817780.js} +1 -1
  325. package/lib/dist-custom-elements/{p-51734de9.js → p-8ba450f0.js} +1 -1
  326. package/lib/dist-custom-elements/{p-1b3c4813.js → p-8c68da59.js} +1 -1
  327. package/lib/dist-custom-elements/{p-fd70481d.js → p-90901592.js} +1 -1
  328. package/lib/dist-custom-elements/{p-75cec87c.js → p-960c3c51.js} +1 -1
  329. package/lib/dist-custom-elements/{p-63964ed8.js → p-970d143f.js} +1 -1
  330. package/lib/dist-custom-elements/{p-8011ee9c.js → p-99b8d96d.js} +1 -1
  331. package/lib/dist-custom-elements/{p-8ef3a8fb.js → p-a62138f2.js} +1 -1
  332. package/lib/dist-custom-elements/{p-af5b70e1.js → p-a6a02d26.js} +1 -1
  333. package/lib/dist-custom-elements/{p-df3b4525.js → p-a7c46306.js} +1 -1
  334. package/lib/dist-custom-elements/{p-9cea78e2.js → p-b1795ede.js} +1 -1
  335. package/lib/dist-custom-elements/{p-3d3afaae.js → p-c230fe39.js} +2 -2
  336. package/lib/dist-custom-elements/{p-c524c1ec.js → p-d547ac90.js} +2 -2
  337. package/lib/dist-custom-elements/{p-62698106.js → p-e31a9266.js} +5 -5
  338. package/lib/dist-custom-elements/{p-790b4d17.js → p-e3b1a969.js} +1 -1
  339. package/lib/dist-custom-elements/{p-ccc0525b.js → p-e6ce939c.js} +1 -1
  340. package/lib/dist-custom-elements/{p-63cffcb6.js → p-ebfb1ccd.js} +1 -1
  341. package/lib/dist-custom-elements/{p-412f4846.js → p-f12d5ad9.js} +1 -1
  342. package/lib/dist-custom-elements/{p-e28c315a.js → p-fc76a9f3.js} +1 -1
  343. package/lib/duet/duet.esm.js +1 -1
  344. package/lib/duet/duet.js +1 -1
  345. package/lib/duet/{p-7203d6cb.entry.js → p-01bd8000.entry.js} +1 -1
  346. package/lib/duet/{p-e688c3c4.entry.js → p-05ddb8d7.entry.js} +1 -1
  347. package/lib/duet/{p-c13939be.system.entry.js → p-08bcd57d.system.entry.js} +1 -1
  348. package/lib/duet/{p-2a516c43.entry.js → p-0a6ee84e.entry.js} +1 -1
  349. package/lib/duet/{p-9cb61776.entry.js → p-0b59eb11.entry.js} +1 -1
  350. package/lib/duet/{p-285a8d84.system.entry.js → p-0bb30bf2.system.entry.js} +1 -1
  351. package/lib/duet/{p-b8316660.system.entry.js → p-0c3e3891.system.entry.js} +1 -1
  352. package/lib/duet/{p-01c4e0d2.system.entry.js → p-0c4459c0.system.entry.js} +1 -1
  353. package/lib/duet/{p-ae66d0e5.system.entry.js → p-0c708a6b.system.entry.js} +1 -1
  354. package/lib/duet/{p-30edd295.entry.js → p-0d22fa04.entry.js} +1 -1
  355. package/lib/duet/{p-9ce0052c.js → p-115e5a74.js} +1 -1
  356. package/lib/duet/{p-22314e6f.entry.js → p-11d78956.entry.js} +1 -1
  357. package/lib/duet/{p-4ab967fd.system.entry.js → p-11e4884c.system.entry.js} +1 -1
  358. package/lib/duet/{p-1890ca14.entry.js → p-1298b261.entry.js} +1 -1
  359. package/lib/duet/{p-33cc5b2c.entry.js → p-140f3e19.entry.js} +1 -1
  360. package/lib/duet/{p-b2f8e521.entry.js → p-14c30d34.entry.js} +1 -1
  361. package/lib/duet/{p-9fc50bee.entry.js → p-15aa743e.entry.js} +1 -1
  362. package/lib/duet/p-17392944.entry.js +4 -0
  363. package/lib/duet/{p-6293ca6a.system.entry.js → p-1910a63b.system.entry.js} +1 -1
  364. package/lib/duet/{p-7fe5178e.entry.js → p-1bbf5a2c.entry.js} +1 -1
  365. package/lib/duet/{p-3dda03c8.entry.js → p-1d0d7d5d.entry.js} +1 -1
  366. package/lib/duet/{p-2a53dac8.system.entry.js → p-1fccc372.system.entry.js} +1 -1
  367. package/lib/duet/{p-98e5fa0d.system.entry.js → p-2126a190.system.entry.js} +1 -1
  368. package/lib/duet/{p-9b09f1b5.system.entry.js → p-24c831ec.system.entry.js} +1 -1
  369. package/lib/duet/{p-dade978b.js → p-274d11e3.js} +1 -1
  370. package/lib/duet/{p-dc41c018.system.entry.js → p-2b419553.system.entry.js} +1 -1
  371. package/lib/duet/p-2d4fcd47.entry.js +4 -0
  372. package/lib/duet/{p-f1e6e170.system.entry.js → p-2e6d11c7.system.entry.js} +1 -1
  373. package/lib/duet/{p-420e65a0.entry.js → p-2e719260.entry.js} +1 -1
  374. package/lib/duet/{p-22b174e8.system.entry.js → p-2ea486ae.system.entry.js} +1 -1
  375. package/lib/duet/{p-534d9d99.system.entry.js → p-30eadd8b.system.entry.js} +1 -1
  376. package/lib/duet/{p-cc24ad5f.entry.js → p-32ee4f34.entry.js} +1 -1
  377. package/lib/duet/{p-9eb36ef5.entry.js → p-37961e05.entry.js} +1 -1
  378. package/lib/duet/{p-7cddf7fa.entry.js → p-396e0025.entry.js} +1 -1
  379. package/lib/duet/{p-1c2973e8.system.entry.js → p-397aa011.system.entry.js} +1 -1
  380. package/lib/duet/{p-d07d1962.entry.js → p-39bd9bac.entry.js} +1 -1
  381. package/lib/duet/p-39d9f25b.system.entry.js +4 -0
  382. package/lib/duet/{p-6067c883.system.entry.js → p-3b06e609.system.entry.js} +1 -1
  383. package/lib/duet/{p-88230b5a.entry.js → p-3b11f97a.entry.js} +1 -1
  384. package/lib/duet/{p-0006b5d9.entry.js → p-3e79b617.entry.js} +1 -1
  385. package/lib/duet/{p-831ca78f.entry.js → p-3ec8ee39.entry.js} +1 -1
  386. package/lib/duet/{p-492a0843.js → p-41363488.js} +1 -1
  387. package/lib/duet/{p-ece4676f.entry.js → p-42e2d141.entry.js} +1 -1
  388. package/lib/duet/{p-baa7d58a.system.entry.js → p-436745f1.system.entry.js} +1 -1
  389. package/lib/duet/{p-529dba15.entry.js → p-46a8594c.entry.js} +1 -1
  390. package/lib/duet/{p-8b2ffad1.entry.js → p-47b62443.entry.js} +1 -1
  391. package/lib/duet/{p-9f85c0bf.system.entry.js → p-4901f740.system.entry.js} +1 -1
  392. package/lib/duet/{p-3211edb9.entry.js → p-4e870704.entry.js} +1 -1
  393. package/lib/duet/{p-c4fed7fe.system.entry.js → p-4f2f039c.system.entry.js} +1 -1
  394. package/lib/duet/{p-73da97b9.entry.js → p-5053b084.entry.js} +1 -1
  395. package/lib/duet/{p-3693a90c.entry.js → p-5317f4fb.entry.js} +1 -1
  396. package/lib/duet/{p-7cf19325.entry.js → p-546d7868.entry.js} +1 -1
  397. package/lib/duet/{p-2a9df44f.system.entry.js → p-55eb8c7c.system.entry.js} +1 -1
  398. package/lib/duet/{p-4e1d0e08.system.entry.js → p-569be9eb.system.entry.js} +1 -1
  399. package/lib/duet/{p-9b3ba990.system.entry.js → p-58d1b520.system.entry.js} +1 -1
  400. package/lib/duet/{p-c957baf0.entry.js → p-58e07a25.entry.js} +1 -1
  401. package/lib/duet/{p-dbaf4a89.system.entry.js → p-5f914bd7.system.entry.js} +1 -1
  402. package/lib/duet/{p-cca3beb8.entry.js → p-5fe520fd.entry.js} +1 -1
  403. package/lib/duet/{p-ad312a9c.entry.js → p-5fed0e82.entry.js} +1 -1
  404. package/lib/duet/{p-e8576d91.system.entry.js → p-603a7942.system.entry.js} +1 -1
  405. package/lib/duet/{p-48f614e6.entry.js → p-62839e24.entry.js} +1 -1
  406. package/lib/duet/{p-84f90698.entry.js → p-63370211.entry.js} +1 -1
  407. package/lib/duet/{p-c0203a7d.entry.js → p-638f7d0e.entry.js} +1 -1
  408. package/lib/duet/{p-b0b1e787.entry.js → p-64790718.entry.js} +1 -1
  409. package/lib/duet/{p-8a13b5d6.entry.js → p-64bc0173.entry.js} +1 -1
  410. package/lib/duet/{p-4304a53a.entry.js → p-664e856a.entry.js} +1 -1
  411. package/lib/duet/{p-ebe8a749.system.entry.js → p-6c405b4d.system.entry.js} +1 -1
  412. package/lib/duet/{p-5601c1da.system.entry.js → p-6ed45a15.system.entry.js} +1 -1
  413. package/lib/duet/{p-5e7523e0.system.entry.js → p-70192ee4.system.entry.js} +1 -1
  414. package/lib/duet/{p-39137beb.system.entry.js → p-706cd2e1.system.entry.js} +1 -1
  415. package/lib/duet/{p-1401e524.entry.js → p-70c4fd04.entry.js} +1 -1
  416. package/lib/duet/{p-6e768325.system.entry.js → p-71d6578b.system.entry.js} +1 -1
  417. package/lib/duet/{p-373cf5f3.system.entry.js → p-736fce63.system.entry.js} +1 -1
  418. package/lib/duet/{p-55282c06.system.entry.js → p-744f44b4.system.entry.js} +1 -1
  419. package/lib/duet/{p-d753f503.entry.js → p-74d79e97.entry.js} +1 -1
  420. package/lib/duet/{p-c04ac986.system.entry.js → p-755dd4ac.system.entry.js} +1 -1
  421. package/lib/duet/{p-2fa09b22.entry.js → p-7751209d.entry.js} +1 -1
  422. package/lib/duet/{p-55e6fe9c.system.entry.js → p-78408872.system.entry.js} +1 -1
  423. package/lib/duet/{p-60fe7ed5.system.entry.js → p-79dc49af.system.entry.js} +1 -1
  424. package/lib/duet/{p-da637f8e.entry.js → p-7a02ef0d.entry.js} +1 -1
  425. package/lib/duet/{p-23521d15.system.entry.js → p-7a2b0683.system.entry.js} +1 -1
  426. package/lib/duet/{p-322093c6.entry.js → p-7aaf227f.entry.js} +1 -1
  427. package/lib/duet/{p-4a8b9bdf.system.entry.js → p-7e5e362d.system.entry.js} +1 -1
  428. package/lib/duet/{p-b889959f.system.entry.js → p-7f13b214.system.entry.js} +1 -1
  429. package/lib/duet/{p-bdc404b2.entry.js → p-8010d152.entry.js} +1 -1
  430. package/lib/duet/{p-c4c9407e.system.entry.js → p-80dfb88c.system.entry.js} +1 -1
  431. package/lib/duet/{p-26fb144f.system.entry.js → p-81829412.system.entry.js} +1 -1
  432. package/lib/duet/{p-0425a615.system.entry.js → p-851868b5.system.entry.js} +1 -1
  433. package/lib/duet/{p-8e377844.system.entry.js → p-8864ba0e.system.entry.js} +1 -1
  434. package/lib/duet/p-88a50491.system.js +4 -0
  435. package/lib/duet/{p-15d8afcf.system.entry.js → p-88e789b9.system.entry.js} +1 -1
  436. package/lib/duet/{p-a7805231.entry.js → p-891c5ca1.entry.js} +1 -1
  437. package/lib/duet/{p-69872085.system.entry.js → p-8a3cca2a.system.entry.js} +1 -1
  438. package/lib/duet/p-8aae2ee1.entry.js +4 -0
  439. package/lib/duet/{p-350046fd.entry.js → p-8db7ccfd.entry.js} +1 -1
  440. package/lib/duet/{p-cf02575f.entry.js → p-8ee612f4.entry.js} +1 -1
  441. package/lib/duet/{p-fb053036.system.entry.js → p-8f191365.system.entry.js} +1 -1
  442. package/lib/duet/{p-e236d0ff.entry.js → p-90c87945.entry.js} +1 -1
  443. package/lib/duet/{p-bc09f943.system.entry.js → p-915e638f.system.entry.js} +1 -1
  444. package/lib/duet/{p-8d5dc152.entry.js → p-93a9d03f.entry.js} +1 -1
  445. package/lib/duet/{p-2fb4b111.entry.js → p-9594405f.entry.js} +1 -1
  446. package/lib/duet/{p-4192854d.entry.js → p-9664f656.entry.js} +1 -1
  447. package/lib/duet/{p-6021aa8f.system.entry.js → p-971fe383.system.entry.js} +1 -1
  448. package/lib/duet/p-97ccb6b2.entry.js +4 -0
  449. package/lib/duet/{p-a06f5f46.entry.js → p-9d445004.entry.js} +1 -1
  450. package/lib/duet/{p-8fac4d6c.entry.js → p-9ff169a8.entry.js} +1 -1
  451. package/lib/duet/{p-eaad83ee.system.entry.js → p-9ff3ef1a.system.entry.js} +1 -1
  452. package/lib/duet/{p-0d20f3d9.entry.js → p-a1d72dc5.entry.js} +1 -1
  453. package/lib/duet/{p-31ec5b52.entry.js → p-a3fd3b97.entry.js} +1 -1
  454. package/lib/duet/p-a43c1a0f.entry.js +4 -0
  455. package/lib/duet/{p-04bfa236.system.entry.js → p-a494f7d2.system.entry.js} +1 -1
  456. package/lib/duet/{p-9cd21d82.entry.js → p-a8a32775.entry.js} +1 -1
  457. package/lib/duet/{p-872cccb9.system.entry.js → p-a923e368.system.entry.js} +1 -1
  458. package/lib/duet/{p-cfe7c37d.system.entry.js → p-a9a50440.system.entry.js} +1 -1
  459. package/lib/duet/{p-d6ee5caf.system.entry.js → p-ae3622ce.system.entry.js} +1 -1
  460. package/lib/duet/{p-a0877282.entry.js → p-ae652505.entry.js} +1 -1
  461. package/lib/duet/{p-603e4997.entry.js → p-b9434c17.entry.js} +1 -1
  462. package/lib/duet/{p-e10a1e54.system.entry.js → p-c0e476fd.system.entry.js} +1 -1
  463. package/lib/duet/{p-8a547ca4.entry.js → p-c409a1dc.entry.js} +1 -1
  464. package/lib/duet/{p-e1be2e2e.entry.js → p-c6e4ebf0.entry.js} +1 -1
  465. package/lib/duet/{p-f28c33ac.system.entry.js → p-c7303568.system.entry.js} +1 -1
  466. package/lib/duet/{p-e00e4eb8.system.js → p-c7b04440.system.js} +1 -1
  467. package/lib/duet/p-c8e267bc.entry.js +4 -0
  468. package/lib/duet/{p-6c06e5b0.entry.js → p-c918ea31.entry.js} +1 -1
  469. package/lib/duet/{p-94a20b1a.system.entry.js → p-c99cc796.system.entry.js} +1 -1
  470. package/lib/duet/p-cadf7c9b.entry.js +4 -0
  471. package/lib/duet/p-cb1cf88a.system.entry.js +4 -0
  472. package/lib/duet/{p-47f0b173.system.entry.js → p-cc104f41.system.entry.js} +2 -2
  473. package/lib/duet/{p-3a8cad7a.system.entry.js → p-cc434423.system.entry.js} +1 -1
  474. package/lib/duet/{p-24428e35.entry.js → p-ce1d649d.entry.js} +1 -1
  475. package/lib/duet/{p-060eb471.system.entry.js → p-d1914efd.system.entry.js} +1 -1
  476. package/lib/duet/{p-9b38ad5b.entry.js → p-d22d1465.entry.js} +1 -1
  477. package/lib/duet/{p-bb2af2fc.system.entry.js → p-d2f6423e.system.entry.js} +1 -1
  478. package/lib/duet/p-d325c3d3.system.entry.js +4 -0
  479. package/lib/duet/{p-c097b169.system.entry.js → p-d39e2edb.system.entry.js} +1 -1
  480. package/lib/duet/{p-162561e0.system.entry.js → p-d8e41f55.system.entry.js} +1 -1
  481. package/lib/duet/{p-cd04c25a.system.entry.js → p-d8e56dcd.system.entry.js} +2 -2
  482. package/lib/duet/{p-fb87c349.system.entry.js → p-d9b3b34a.system.entry.js} +1 -1
  483. package/lib/duet/{p-0e9e970f.system.entry.js → p-db8b2380.system.entry.js} +1 -1
  484. package/lib/duet/{p-5996094c.system.entry.js → p-dbbd3a11.system.entry.js} +1 -1
  485. package/lib/duet/p-dbf5bd13.entry.js +4 -0
  486. package/lib/duet/p-dc059577.system.js +4 -0
  487. package/lib/duet/{p-9c8c1646.entry.js → p-dfb08a79.entry.js} +1 -1
  488. package/lib/duet/{p-6363c2ae.system.entry.js → p-e0887380.system.entry.js} +1 -1
  489. package/lib/duet/{p-96d97ff0.system.entry.js → p-e5a4b88c.system.entry.js} +1 -1
  490. package/lib/duet/{p-617c0967.entry.js → p-e90a1481.entry.js} +1 -1
  491. package/lib/duet/{p-33553884.entry.js → p-ec0fadf9.entry.js} +1 -1
  492. package/lib/duet/{p-7d4d0926.entry.js → p-ef8efbf5.entry.js} +1 -1
  493. package/lib/duet/{p-f824f485.entry.js → p-f0023574.entry.js} +1 -1
  494. package/lib/duet/{p-75be7414.system.entry.js → p-f04338dd.system.entry.js} +1 -1
  495. package/lib/duet/p-f36029aa.system.entry.js +4 -0
  496. package/lib/duet/{p-e897df9f.system.entry.js → p-f448c5da.system.entry.js} +1 -1
  497. package/lib/duet/{p-2a23687b.system.entry.js → p-f765b6a6.system.entry.js} +1 -1
  498. package/lib/duet/{p-902df276.entry.js → p-f7c032a2.entry.js} +1 -1
  499. package/lib/duet/p-f7f200b1.system.entry.js +4 -0
  500. package/lib/duet/{p-cc150a23.entry.js → p-fbefd879.entry.js} +1 -1
  501. package/lib/duet/{p-59b7a0b4.system.entry.js → p-fc57622c.system.entry.js} +1 -1
  502. package/lib/duet/p-fd4c42f8.system.js +4 -0
  503. package/lib/duet/{p-d3fbfb45.system.entry.js → p-ff3660d4.system.entry.js} +1 -1
  504. package/lib/{dist-custom-elements/p-dade978b.js → esm/common-strings-c0ac5a0b.js} +6 -1
  505. package/lib/esm/duet-action-button.entry.js +1 -1
  506. package/lib/esm/duet-alert.entry.js +1 -1
  507. package/lib/esm/duet-badge.entry.js +1 -1
  508. package/lib/esm/duet-banner.entry.js +15 -2
  509. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  510. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  511. package/lib/esm/duet-button_2.entry.js +31 -9
  512. package/lib/esm/duet-callout.entry.js +1 -1
  513. package/lib/esm/duet-caption_4.entry.js +2 -2
  514. package/lib/esm/duet-card.entry.js +1 -1
  515. package/lib/esm/duet-checkbox.entry.js +1 -1
  516. package/lib/esm/duet-checkmark.entry.js +1 -1
  517. package/lib/esm/duet-chip.entry.js +1 -1
  518. package/lib/esm/duet-choice_2.entry.js +4 -3
  519. package/lib/esm/duet-collapsible.entry.js +1 -1
  520. package/lib/esm/duet-combobox.entry.js +2 -2
  521. package/lib/esm/duet-contact-card.entry.js +1 -1
  522. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  523. package/lib/esm/duet-date-picker.entry.js +2 -2
  524. package/lib/esm/duet-divider_2.entry.js +1 -1
  525. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  526. package/lib/esm/duet-empty-state.entry.js +1 -1
  527. package/lib/esm/duet-fieldset.entry.js +1 -1
  528. package/lib/esm/duet-footer.entry.js +2 -2
  529. package/lib/esm/duet-grid_2.entry.js +1 -1
  530. package/lib/esm/duet-header_2.entry.js +2 -2
  531. package/lib/esm/duet-hero.entry.js +2 -2
  532. package/lib/esm/duet-icon.entry.js +1 -1
  533. package/lib/esm/duet-input_2.entry.js +1 -1
  534. package/lib/esm/duet-layout.entry.js +1 -1
  535. package/lib/esm/duet-list_2.entry.js +1 -1
  536. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  537. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  538. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  539. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  540. package/lib/esm/duet-menu-bar.entry.js +1 -1
  541. package/lib/esm/duet-modal.entry.js +2 -2
  542. package/lib/esm/duet-multiselect.entry.js +7 -2
  543. package/lib/esm/duet-nav.entry.js +1 -1
  544. package/lib/esm/duet-notification_2.entry.js +1 -1
  545. package/lib/esm/duet-number-input.entry.js +1 -1
  546. package/lib/esm/duet-page-heading.entry.js +1 -1
  547. package/lib/esm/duet-pagination_2.entry.js +1 -1
  548. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  549. package/lib/esm/duet-popup-menu.entry.js +1 -1
  550. package/lib/esm/duet-progress.entry.js +2 -2
  551. package/lib/esm/duet-promo-card.entry.js +1 -1
  552. package/lib/esm/duet-radio_2.entry.js +1 -1
  553. package/lib/esm/duet-range-slider.entry.js +1 -1
  554. package/lib/esm/duet-scrollable_3.entry.js +4 -3
  555. package/lib/esm/duet-section-layout.entry.js +1 -1
  556. package/lib/esm/duet-select.entry.js +1 -1
  557. package/lib/esm/duet-shaped-image.entry.js +1 -1
  558. package/lib/esm/duet-show-more.entry.js +2 -2
  559. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  560. package/lib/esm/duet-slideout-link.entry.js +1 -1
  561. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  562. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  563. package/lib/esm/duet-slideout.entry.js +2 -2
  564. package/lib/esm/duet-step_2.entry.js +1 -1
  565. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  566. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  567. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  568. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  569. package/lib/esm/duet-textarea.entry.js +1 -1
  570. package/lib/esm/duet-toggle.entry.js +1 -1
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  573. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  574. package/lib/esm/duet-toolbar.entry.js +1 -1
  575. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  576. package/lib/esm/duet-tooltip.entry.js +1 -1
  577. package/lib/esm/duet-tray.entry.js +1 -1
  578. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  579. package/lib/esm/duet-upload-item.entry.js +1 -1
  580. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  581. package/lib/esm/duet.js +3 -3
  582. package/lib/esm/{focus-utils-35cd2abd.js → focus-utils-03333699.js} +1 -1
  583. package/lib/esm/{index-932c38d8.js → index-c3bd1656.js} +1 -1
  584. package/lib/esm/loader.js +3 -3
  585. package/lib/esm-es5/common-strings-c0ac5a0b.js +4 -0
  586. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  587. package/lib/esm-es5/duet-alert.entry.js +1 -1
  588. package/lib/esm-es5/duet-badge.entry.js +1 -1
  589. package/lib/esm-es5/duet-banner.entry.js +1 -1
  590. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  591. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  592. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  593. package/lib/esm-es5/duet-callout.entry.js +1 -1
  594. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  595. package/lib/esm-es5/duet-card.entry.js +1 -1
  596. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  597. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  598. package/lib/esm-es5/duet-chip.entry.js +1 -1
  599. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  601. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  602. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  603. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  604. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  605. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  607. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  608. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  609. package/lib/esm-es5/duet-footer.entry.js +1 -1
  610. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  611. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-hero.entry.js +1 -1
  613. package/lib/esm-es5/duet-icon.entry.js +1 -1
  614. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  615. package/lib/esm-es5/duet-layout.entry.js +1 -1
  616. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  617. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  618. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  619. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  620. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  621. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  622. package/lib/esm-es5/duet-modal.entry.js +1 -1
  623. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  624. package/lib/esm-es5/duet-nav.entry.js +1 -1
  625. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  626. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  627. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  628. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  629. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  630. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  631. package/lib/esm-es5/duet-progress.entry.js +1 -1
  632. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  633. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  634. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  635. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  636. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  637. package/lib/esm-es5/duet-select.entry.js +1 -1
  638. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  639. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  640. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  641. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  642. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  643. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  644. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  645. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  646. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  647. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  648. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  649. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  650. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  651. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  652. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  653. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  654. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  655. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  656. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  657. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  658. package/lib/esm-es5/duet-tray.entry.js +1 -1
  659. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  660. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  661. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  662. package/lib/esm-es5/duet.js +1 -1
  663. package/lib/esm-es5/{focus-utils-35cd2abd.js → focus-utils-03333699.js} +1 -1
  664. package/lib/esm-es5/{index-932c38d8.js → index-c3bd1656.js} +1 -1
  665. package/lib/esm-es5/loader.js +1 -1
  666. package/lib/types/common-strings.d.ts +1 -0
  667. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  668. package/lib/types/components/duet-button/duet-button.d.ts +12 -0
  669. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -1
  670. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -1
  671. package/lib/types/components/duet-input/duet-input.d.ts +1 -1
  672. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
  673. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -1
  674. package/lib/types/components/duet-radio/duet-radio.d.ts +1 -1
  675. package/lib/types/components/duet-select/duet-select.d.ts +1 -1
  676. package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
  677. package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -1
  678. package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -1
  679. package/lib/types/components.d.ts +54 -16
  680. package/lib/types/utils/axe-core-utils.d.ts +9 -0
  681. package/lib/types/utils/picture-utils.d.ts +18 -0
  682. package/package.json +6 -5
  683. package/lib/duet/p-09dd7425.system.entry.js +0 -4
  684. package/lib/duet/p-35f81ca4.system.js +0 -4
  685. package/lib/duet/p-36b36a8e.system.js +0 -4
  686. package/lib/duet/p-485afe87.system.entry.js +0 -4
  687. package/lib/duet/p-519f358f.entry.js +0 -4
  688. package/lib/duet/p-5a98ec00.system.entry.js +0 -4
  689. package/lib/duet/p-63529b85.system.js +0 -4
  690. package/lib/duet/p-70b70b24.system.entry.js +0 -4
  691. package/lib/duet/p-80c3e3a1.entry.js +0 -4
  692. package/lib/duet/p-85a502fd.system.entry.js +0 -4
  693. package/lib/duet/p-86b2e848.entry.js +0 -4
  694. package/lib/duet/p-a91e4da0.entry.js +0 -4
  695. package/lib/duet/p-b189b25a.entry.js +0 -4
  696. package/lib/duet/p-dff82aea.entry.js +0 -4
  697. package/lib/duet/p-e0211391.entry.js +0 -4
  698. package/lib/duet/p-fe5ad66e.entry.js +0 -4
  699. package/lib/esm-es5/common-strings-71f2aabd.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
- import { DuetStringsExternalDefaults } from "../../common-strings";
6
+ import { DuetStringsExternalDefaults, DuetStringsLoadingDefaults } from "../../common-strings";
7
7
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
8
8
  import { getColorByName } from "../../utils/token-utils";
9
9
  export class DuetButton {
@@ -57,6 +57,8 @@ export class DuetButton {
57
57
  this.language = getLanguage();
58
58
  this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
59
59
  this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
60
+ this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
61
+ this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
60
62
  this.icon = "";
61
63
  this.color = "";
62
64
  this.iconRight = false;
@@ -78,10 +80,16 @@ export class DuetButton {
78
80
  this.proxyButton = document.createElement("button");
79
81
  this.proxyButton.style.display = "none";
80
82
  this.syncToProxyButton();
81
- connectLanguageChangeObserver(this, {
82
- prop: "accessibleLabelExternal",
83
- defaults: "accessibleLabelExternalDefaults",
84
- });
83
+ connectLanguageChangeObserver(this, [
84
+ {
85
+ prop: "accessibleLabelExternal",
86
+ defaults: "accessibleLabelExternalDefaults",
87
+ },
88
+ {
89
+ prop: "accessibleLabelLoading",
90
+ defaults: "accessibleLabelLoadingDefaults",
91
+ },
92
+ ]);
85
93
  if (!this.url && this.element.closest("form")) {
86
94
  this.element.insertAdjacentElement("beforebegin", this.proxyButton);
87
95
  }
@@ -111,6 +119,20 @@ export class DuetButton {
111
119
  getButtonType() {
112
120
  return this.submit ? "submit" : "button";
113
121
  }
122
+ getButtonIconSize() {
123
+ switch (this.iconSize) {
124
+ case "small":
125
+ return "small";
126
+ case "medium-small":
127
+ return "medium-small";
128
+ case "medium":
129
+ return "medium";
130
+ case "large":
131
+ return "large";
132
+ default:
133
+ return "medium";
134
+ }
135
+ }
114
136
  /**
115
137
  * Sets focus on the specified `duet-button`. Use this method instead of the global
116
138
  * `button.focus()`.
@@ -134,7 +156,7 @@ export class DuetButton {
134
156
  "duet-button-icon": true,
135
157
  left: !iconRight,
136
158
  right: iconRight,
137
- [this.iconSize]: true,
159
+ [this.getButtonIconSize()]: true,
138
160
  } }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("slot", null)));
139
161
  const commonProps = {
140
162
  onFocus: this.onFocus,
@@ -154,7 +176,7 @@ export class DuetButton {
154
176
  disabled: this.disabled,
155
177
  icon: !!icon,
156
178
  "icon-right": iconRight,
157
- [this.iconSize]: true,
179
+ [this.getButtonIconSize()]: true,
158
180
  },
159
181
  "aria-controls": this.accessibleControls,
160
182
  "aria-label": this.accessibleLabel,
@@ -178,7 +200,7 @@ export class DuetButton {
178
200
  "duet-theme-turva": this.theme === "turva",
179
201
  "duet-button-negative": this.negative || this.variation === "negative",
180
202
  [this.variation]: true,
181
- } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren)), this.loading && h("duet-spinner", { color: "currentColor" }))));
203
+ } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { color: "currentColor" }))));
182
204
  }
183
205
  static get is() { return "duet-button"; }
184
206
  static get encapsulation() { return "shadow"; }
@@ -412,7 +434,7 @@ export class DuetButton {
412
434
  "references": {
413
435
  "DuetButtonVariation": {
414
436
  "location": "local",
415
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-button/duet-button.tsx",
437
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
416
438
  "id": "src/components/duet-button/duet-button.tsx::DuetButtonVariation"
417
439
  }
418
440
  }
@@ -532,7 +554,7 @@ export class DuetButton {
532
554
  "references": {
533
555
  "DuetButtonTextCentering": {
534
556
  "location": "local",
535
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-button/duet-button.tsx",
557
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
536
558
  "id": "src/components/duet-button/duet-button.tsx::DuetButtonTextCentering"
537
559
  }
538
560
  }
@@ -556,7 +578,7 @@ export class DuetButton {
556
578
  "references": {
557
579
  "DuetButtonWrapping": {
558
580
  "location": "local",
559
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-button/duet-button.tsx",
581
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
560
582
  "id": "src/components/duet-button/duet-button.tsx::DuetButtonWrapping"
561
583
  }
562
584
  }
@@ -790,6 +812,54 @@ export class DuetButton {
790
812
  "reflect": false,
791
813
  "defaultValue": "getLocaleString(this.accessibleLabelExternalDefaults)"
792
814
  },
815
+ "accessibleLabelLoadingDefaults": {
816
+ "type": "string",
817
+ "mutable": false,
818
+ "complexType": {
819
+ "original": "DuetLangObject | string",
820
+ "resolved": "DuetLangObject | string",
821
+ "references": {
822
+ "DuetLangObject": {
823
+ "location": "import",
824
+ "path": "../../utils/language-utils",
825
+ "id": "src/utils/language-utils.ts::DuetLangObject"
826
+ }
827
+ }
828
+ },
829
+ "required": false,
830
+ "optional": false,
831
+ "docs": {
832
+ "tags": [{
833
+ "name": "default",
834
+ "text": "{fi: \"Ladataan\",sv: \"Lastning\",en: \"Loading\u2026\"}"
835
+ }],
836
+ "text": "Property to change accessibleLabelLoading defaults on the component.\nnormally you would handle these strings on an application level and override accessibleLabelLoading when needed"
837
+ },
838
+ "attribute": "accessible-label-loading-default",
839
+ "reflect": false,
840
+ "defaultValue": "DuetStringsLoadingDefaults"
841
+ },
842
+ "accessibleLabelLoading": {
843
+ "type": "string",
844
+ "mutable": true,
845
+ "complexType": {
846
+ "original": "string",
847
+ "resolved": "string",
848
+ "references": {}
849
+ },
850
+ "required": false,
851
+ "optional": false,
852
+ "docs": {
853
+ "tags": [{
854
+ "name": "default",
855
+ "text": "{fi: \"Ladataan\",sv: \"Lastning\",en: \"Loading\u2026\"}"
856
+ }],
857
+ "text": "Adds accessible label for button in \"loading\" state"
858
+ },
859
+ "attribute": "accessible-label-loading",
860
+ "reflect": false,
861
+ "defaultValue": "getLocaleString(this.accessibleLabelLoadingDefaults)"
862
+ },
793
863
  "icon": {
794
864
  "type": "string",
795
865
  "mutable": false,
@@ -865,7 +935,7 @@ export class DuetButton {
865
935
  "references": {
866
936
  "DuetButtonIconSize": {
867
937
  "location": "local",
868
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-button/duet-button.tsx",
938
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
869
939
  "id": "src/components/duet-button/duet-button.tsx::DuetButtonIconSize"
870
940
  }
871
941
  }
@@ -889,7 +959,7 @@ export class DuetButton {
889
959
  "references": {
890
960
  "DuetButtonSize": {
891
961
  "location": "local",
892
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-button/duet-button.tsx",
962
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
893
963
  "id": "src/components/duet-button/duet-button.tsx::DuetButtonSize"
894
964
  }
895
965
  }
@@ -0,0 +1,17 @@
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
+ });
@@ -0,0 +1,13 @@
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
+ });
@@ -118,7 +118,7 @@ export class DuetCaption {
118
118
  "references": {
119
119
  "DuetCaptionSize": {
120
120
  "location": "local",
121
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-caption/duet-caption.tsx",
121
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-caption/duet-caption.tsx",
122
122
  "id": "src/components/duet-caption/duet-caption.tsx::DuetCaptionSize"
123
123
  }
124
124
  }
@@ -0,0 +1,29 @@
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
+ });
@@ -183,7 +183,7 @@ export class DuetCard {
183
183
  "references": {
184
184
  "DuetCardVariation": {
185
185
  "location": "local",
186
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-card/duet-card.tsx",
186
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-card/duet-card.tsx",
187
187
  "id": "src/components/duet-card/duet-card.tsx::DuetCardVariation"
188
188
  }
189
189
  }
@@ -354,7 +354,7 @@ export class DuetCard {
354
354
  "references": {
355
355
  "DuetCardPadding": {
356
356
  "location": "local",
357
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-card/duet-card.tsx",
357
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-card/duet-card.tsx",
358
358
  "id": "src/components/duet-card/duet-card.tsx::DuetCardPadding"
359
359
  }
360
360
  }
@@ -477,7 +477,7 @@ export class DuetCard {
477
477
  "references": {
478
478
  "DuetCardToggleEvent": {
479
479
  "location": "local",
480
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-card/duet-card.tsx",
480
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-card/duet-card.tsx",
481
481
  "id": "src/components/duet-card/duet-card.tsx::DuetCardToggleEvent"
482
482
  }
483
483
  }
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
+ describe("[a11y] duet-checkbox", () => {
6
+ it("should render an accessible component", async () => {
7
+ const result = await testWithAxe(`
8
+ <duet-checkbox label="Unchecked"></duet-checkbox>
9
+ `, axeRunOptions);
10
+ expect(result).not.toBeNull();
11
+ expect(formatViolations(result.violations)).toEqual([]);
12
+ });
13
+ it("should render an accessible component in checked state", async () => {
14
+ const result = await testWithAxe(`
15
+ <duet-checkbox checked label="Checked" value="test"></duet-checkbox>
16
+ `, axeRunOptions);
17
+ expect(result).not.toBeNull();
18
+ expect(formatViolations(result.violations)).toEqual([]);
19
+ });
20
+ });
@@ -416,7 +416,7 @@ export class DuetCheckbox {
416
416
  "type": "string",
417
417
  "mutable": false,
418
418
  "complexType": {
419
- "original": "string",
419
+ "original": "string | null",
420
420
  "resolved": "string",
421
421
  "references": {}
422
422
  },
@@ -483,7 +483,7 @@ export class DuetCheckbox {
483
483
  "references": {
484
484
  "DuetCheckboxEvent": {
485
485
  "location": "local",
486
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
486
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
487
487
  "id": "src/components/duet-checkbox/duet-checkbox.tsx::DuetCheckboxEvent"
488
488
  }
489
489
  }
@@ -504,7 +504,7 @@ export class DuetCheckbox {
504
504
  "references": {
505
505
  "DuetCheckboxEvent": {
506
506
  "location": "local",
507
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
507
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
508
508
  "id": "src/components/duet-checkbox/duet-checkbox.tsx::DuetCheckboxEvent"
509
509
  }
510
510
  }
@@ -525,7 +525,7 @@ export class DuetCheckbox {
525
525
  "references": {
526
526
  "DuetCheckboxEvent": {
527
527
  "location": "local",
528
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
528
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
529
529
  "id": "src/components/duet-checkbox/duet-checkbox.tsx::DuetCheckboxEvent"
530
530
  }
531
531
  }
@@ -0,0 +1,25 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
+ describe("[a11y] duet-chip", () => {
6
+ it("should render an accessible component", async () => {
7
+ const result = await testWithAxe(`
8
+ <duet-chip variation="button" name="action" value="add">add to favorites</duet-chip>
9
+ `, axeRunOptions);
10
+ expect(result).not.toBeNull();
11
+ expect(formatViolations(result.violations)).toEqual([]);
12
+ });
13
+ it("should render an accessible component with a dropdown", async () => {
14
+ const result = await testWithAxe(`
15
+ <duet-chip variation="filter" popup="category-popup">Category</duet-chip>
16
+ <duet-popup-menu id="category-popup">
17
+ <duet-popup-menu-item value="health-value-id-68792">Health</duet-popup-menu-item>
18
+ <duet-popup-menu-item>Pets</duet-popup-menu-item>
19
+ <duet-popup-menu-item>Vehicles</duet-popup-menu-item>
20
+ </duet-popup-menu>
21
+ `, axeRunOptions);
22
+ expect(result).not.toBeNull();
23
+ expect(formatViolations(result.violations)).toEqual([]);
24
+ });
25
+ });
@@ -225,7 +225,7 @@ export class DuetChip {
225
225
  "references": {
226
226
  "DuetChipVariation": {
227
227
  "location": "local",
228
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-chip/duet-chip.tsx",
228
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
229
229
  "id": "src/components/duet-chip/duet-chip.tsx::DuetChipVariation"
230
230
  }
231
231
  }
@@ -418,7 +418,7 @@ export class DuetChip {
418
418
  "references": {
419
419
  "DuetChipEvent": {
420
420
  "location": "local",
421
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-chip/duet-chip.tsx",
421
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
422
422
  "id": "src/components/duet-chip/duet-chip.tsx::DuetChipEvent"
423
423
  }
424
424
  }
@@ -439,7 +439,7 @@ export class DuetChip {
439
439
  "references": {
440
440
  "DuetChipEvent": {
441
441
  "location": "local",
442
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-chip/duet-chip.tsx",
442
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
443
443
  "id": "src/components/duet-chip/duet-chip.tsx::DuetChipEvent"
444
444
  }
445
445
  }
@@ -460,7 +460,7 @@ export class DuetChip {
460
460
  "references": {
461
461
  "DuetChipEvent": {
462
462
  "location": "local",
463
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-chip/duet-chip.tsx",
463
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
464
464
  "id": "src/components/duet-chip/duet-chip.tsx::DuetChipEvent"
465
465
  }
466
466
  }
@@ -0,0 +1,79 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
+ describe("[a11y] duet-choice", () => {
6
+ it("should render an accessible component as a radio", async () => {
7
+ const result = await testWithAxe(`
8
+ <duet-choice-group value="one" label="Vakuutus" direction="horizontal" name="group" responsive>
9
+ <duet-choice label="Eläinvakuutus" type="radio" value="one" expand></duet-choice>
10
+ </duet-choice-group>
11
+ `, axeRunOptions);
12
+ expect(result).not.toBeNull();
13
+ expect(formatViolations(result.violations)).toEqual([]);
14
+ });
15
+ it("should render an accessible component as a checkbox", async () => {
16
+ const result = await testWithAxe(`
17
+ <duet-fieldset label="Lemmikit" caption="Valitse yksi tai useampi vaihtoehto:">
18
+ <duet-grid responsive>
19
+ <duet-choice label="Kissa" value="kissa" icon="category-pet-cat" checked expand></duet-choice>
20
+ </duet-grid>
21
+ </duet-fieldset>
22
+ `, axeRunOptions);
23
+ expect(result).not.toBeNull();
24
+ expect(formatViolations(result.violations)).toEqual([]);
25
+ });
26
+ it("should render an accessible, collapsible component", async () => {
27
+ const result = await testWithAxe(`
28
+ <duet-fieldset label="Lemmikit" caption="Valitse yksi tai useampi vaihtoehto:">
29
+ <duet-choice label="Kissa" icon="category-pet-cat" checked expand collapsible>
30
+ <span slot="header"><duet-caption>This explains the collapsible content</duet-caption></span>
31
+
32
+ <duet-paragraph
33
+ >LähiTapiola-ryhmä on keskinäiseen yhtiömuotoon perustuva, asiakkaidensa omistama yhtiöryhmä, joka palvelee monia
34
+ eri asiakasryhmiä. <duet-link url="https://www.lahitapiola.fi/henkilo">LähiTapiolan tuotteet</duet-link> ja
35
+ palvelut kattavat vahinko-, henki- ja eläkevakuuttamisen sekä sijoittamisen ja säästämisen palvelut. Olemme myös
36
+ yritysten riskienhallinnan ja henkilöstön työhyvinvoinnin ammattilainen. Omistaja-asiakkaita meillä on lähes 1,6
37
+ miljoonaa.</duet-paragraph
38
+ >
39
+ </duet-choice>
40
+ </duet-fieldset>
41
+ `, axeRunOptions);
42
+ expect(result).not.toBeNull();
43
+ expect(formatViolations(result.violations)).toEqual([]);
44
+ });
45
+ it("should render an accessible component with info", async () => {
46
+ const result = await testWithAxe(`
47
+ <duet-choice-group value="one" label="Valitse lemmikki" direction="vertical" name="group">
48
+ <duet-choice type="radio" label="Kissa" icon="category-pet-cat" value="one" expand>
49
+ <div slot="info">
50
+ LähiTapiola-ryhmä on keskinäiseen yhtiömuotoon perustuva, asiakkaidensa omistama yhtiöryhmä, joka palvelee monia
51
+ eri asiakasryhmiä. <duet-link url="https://www.lahitapiola.fi/henkilo">LähiTapiolan tuotteet</duet-link> ja
52
+ palvelut kattavat vahinko-, henki- ja eläkevakuuttamisen sekä sijoittamisen ja säästämisen palvelut. Olemme myös
53
+ yritysten riskienhallinnan ja henkilöstön työhyvinvoinnin ammattilainen. Omistaja-asiakkaita meillä on lähes 1,6
54
+ miljoonaa.
55
+ </div>
56
+ </duet-choice>
57
+ </duet-choice-group>
58
+ `, axeRunOptions);
59
+ expect(result).not.toBeNull();
60
+ expect(formatViolations(result.violations)).toEqual([]);
61
+ });
62
+ it("should render an accessible component with an additional content", async () => {
63
+ const result = await testWithAxe(`
64
+ <duet-choice-group value="one" label="Valitse vakuutus" direction="vertical" name="group">
65
+ <duet-choice type="radio" label="Kotivakuutus" value="one" expand>
66
+ <div slot="additional">
67
+ <duet-paragraph size="small" margin="none">
68
+ Testaajankuja 1<br />
69
+ 01740 Vantaa<br />
70
+ Vakuutusnumero 1111344221
71
+ </duet-paragraph>
72
+ </div>
73
+ </duet-choice>
74
+ </duet-choice-group>
75
+ `, axeRunOptions);
76
+ expect(result).not.toBeNull();
77
+ expect(formatViolations(result.violations)).toEqual([]);
78
+ });
79
+ });
@@ -152,6 +152,7 @@ export class DuetChoice {
152
152
  { prop: "accessibleLabelInfoButton", defaults: "accessibleLabelInfoButtonDefaults" },
153
153
  { prop: "infoLabel", defaults: "infoLabelDefaults" },
154
154
  ]);
155
+ this.duetChoiceReady.emit();
155
156
  }
156
157
  disconnectedCallback() {
157
158
  disconnectLanguageChangeObserver(this);
@@ -945,7 +946,7 @@ export class DuetChoice {
945
946
  "references": {
946
947
  "DuetChoiceEvent": {
947
948
  "location": "local",
948
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
949
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
949
950
  "id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
950
951
  }
951
952
  }
@@ -966,7 +967,7 @@ export class DuetChoice {
966
967
  "references": {
967
968
  "DuetChoiceEvent": {
968
969
  "location": "local",
969
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
970
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
970
971
  "id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
971
972
  }
972
973
  }
@@ -987,7 +988,7 @@ export class DuetChoice {
987
988
  "references": {
988
989
  "DuetChoiceEvent": {
989
990
  "location": "local",
990
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
991
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
991
992
  "id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
992
993
  }
993
994
  }
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
+ describe("[a11y] duet-choice-group", () => {
6
+ it("should render an accessible component", async () => {
7
+ const result = await testWithAxe(`
8
+ <duet-choice-group value="one" label="Vakuutus" direction="horizontal" name="group" responsive>
9
+ <duet-choice label="Eläinvakuutus" type="radio" value="one" expand></duet-choice>
10
+ <duet-choice label="Autovakuutus" type="radio" value="two" expand></duet-choice>
11
+ <duet-choice label="Kotivakuutus" type="radio" value="three" expand></duet-choice>
12
+ </duet-choice-group>
13
+ `, axeRunOptions);
14
+ expect(result).not.toBeNull();
15
+ expect(formatViolations(result.violations)).toEqual([]);
16
+ });
17
+ });
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
+ describe("[a11y] duet-collapsible", () => {
6
+ it("should render an accessible component", async () => {
7
+ const result = await testWithAxe(`
8
+ <duet-collapsible heading="Click to open details">
9
+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aperiam impedit, possimus minima repudiandae.
10
+ </duet-collapsible>
11
+ `, axeRunOptions);
12
+ expect(result).not.toBeNull();
13
+ expect(formatViolations(result.violations)).toEqual([]);
14
+ });
15
+ it("should render an accessible component which is initially open", async () => {
16
+ const result = await testWithAxe(`
17
+ <duet-collapsible heading="Click to open details" open>
18
+ Lorem ipsum dolor sit, amet consectetur adipisicing elit.
19
+ </duet-collapsible>
20
+ `, axeRunOptions);
21
+ expect(result).not.toBeNull();
22
+ expect(formatViolations(result.violations)).toEqual([]);
23
+ });
24
+ });
@@ -224,7 +224,7 @@ export class DuetCollapsible {
224
224
  "references": {
225
225
  "DuetCollapsibleWeight": {
226
226
  "location": "local",
227
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
227
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
228
228
  "id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleWeight"
229
229
  }
230
230
  }
@@ -248,7 +248,7 @@ export class DuetCollapsible {
248
248
  "references": {
249
249
  "DuetCollapsibleHeadingFontSize": {
250
250
  "location": "local",
251
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
251
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
252
252
  "id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleHeadingFontSize"
253
253
  }
254
254
  }
@@ -348,7 +348,7 @@ export class DuetCollapsible {
348
348
  "references": {
349
349
  "DuetCollapsibleToggleEvent": {
350
350
  "location": "local",
351
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
351
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
352
352
  "id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleToggleEvent"
353
353
  }
354
354
  }
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
+ describe("[a11y] duet-combobox", () => {
6
+ it("should render an accessible component", async () => {
7
+ const result = await testWithAxe(`
8
+ <duet-combobox
9
+ items='[{"id":"0", "value": "49200", "name": "Heinlahti"},{"id":"1", "value": "49210", "name": "Huutjärvi"}]'
10
+ >
11
+ <duet-input label="Anna postinumerosi" label-hidden icon="form-location"></duet-input>
12
+ </duet-combobox>
13
+ `, axeRunOptions);
14
+ expect(result).not.toBeNull();
15
+ expect(formatViolations(result.violations)).toEqual([]);
16
+ });
17
+ });