@duetds/components 8.0.3 → 8.0.5

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 (581) hide show
  1. package/hydrate/index.js +152 -24
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +30 -6
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +59 -0
  26. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  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 +2 -2
  39. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  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 +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -2
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -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 +4 -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 +13 -3
  61. package/lib/cjs/duet-slideout.cjs.entry.js +24 -5
  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 +2 -2
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  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-04f168fd.js → focus-utils-9b46865d.js} +1 -1
  81. package/lib/cjs/{index-b9ee6ca5.js → index-9e2ea961.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/collection/collection-manifest.json +1 -0
  84. package/lib/collection/components/duet-choice/duet-choice.js +72 -9
  85. package/lib/collection/components/duet-choice-group/duet-choice-group.js +40 -1
  86. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  87. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +22 -0
  88. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +189 -0
  89. package/lib/collection/components/duet-input/duet-input.js +1 -1
  90. package/lib/collection/components/duet-link/duet-link.js +1 -1
  91. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -0
  92. package/lib/collection/components/duet-radio-group/duet-radio-group.js +40 -1
  93. package/lib/collection/components/duet-show-more/duet-show-more.js +51 -1
  94. package/lib/collection/components/duet-slideout/duet-slideout.js +27 -4
  95. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +11 -1
  96. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +0 -20
  97. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
  98. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +5 -1
  99. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +0 -1
  100. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +2 -6
  101. package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -2
  102. package/lib/collection/components/duet-textarea/duet-textarea.js +1 -1
  103. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  104. package/lib/dist-custom-elements/duet-alert.js +1 -1
  105. package/lib/dist-custom-elements/duet-badge.js +1 -1
  106. package/lib/dist-custom-elements/duet-banner.js +4 -4
  107. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  108. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  109. package/lib/dist-custom-elements/duet-button.js +1 -1
  110. package/lib/dist-custom-elements/duet-callout.js +3 -3
  111. package/lib/dist-custom-elements/duet-caption.js +1 -1
  112. package/lib/dist-custom-elements/duet-card.js +3 -3
  113. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  114. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  115. package/lib/dist-custom-elements/duet-chip.js +2 -2
  116. package/lib/dist-custom-elements/duet-choice-group.js +15 -10
  117. package/lib/dist-custom-elements/duet-choice.js +31 -8
  118. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  119. package/lib/dist-custom-elements/duet-combobox.js +5 -5
  120. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  121. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  122. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  123. package/lib/dist-custom-elements/duet-divider.js +1 -1
  124. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  125. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  126. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  127. package/lib/dist-custom-elements/duet-file-chooser.d.ts +11 -0
  128. package/lib/dist-custom-elements/duet-file-chooser.js +85 -0
  129. package/lib/dist-custom-elements/duet-footer.js +4 -4
  130. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  131. package/lib/dist-custom-elements/duet-grid.js +1 -1
  132. package/lib/dist-custom-elements/duet-header.js +8 -8
  133. package/lib/dist-custom-elements/duet-heading.js +1 -1
  134. package/lib/dist-custom-elements/duet-hero.js +9 -9
  135. package/lib/dist-custom-elements/duet-icon.js +1 -1
  136. package/lib/dist-custom-elements/duet-input.js +1 -1
  137. package/lib/dist-custom-elements/duet-label.js +1 -1
  138. package/lib/dist-custom-elements/duet-layout.js +1 -1
  139. package/lib/dist-custom-elements/duet-link.js +1 -1
  140. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  141. package/lib/dist-custom-elements/duet-list.js +1 -1
  142. package/lib/dist-custom-elements/duet-logo.js +1 -1
  143. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  144. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  145. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  146. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  147. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  148. package/lib/dist-custom-elements/duet-modal.js +7 -7
  149. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  150. package/lib/dist-custom-elements/duet-nav.js +1 -1
  151. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  152. package/lib/dist-custom-elements/duet-notification.js +2 -2
  153. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  154. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  155. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  156. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  157. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  158. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  159. package/lib/dist-custom-elements/duet-progress.js +1 -1
  160. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  161. package/lib/dist-custom-elements/duet-radio-group.js +15 -10
  162. package/lib/dist-custom-elements/duet-radio.js +1 -1
  163. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  164. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  165. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  166. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  167. package/lib/dist-custom-elements/duet-select.js +1 -1
  168. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  169. package/lib/dist-custom-elements/duet-show-more.js +10 -6
  170. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  171. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  172. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  173. package/lib/dist-custom-elements/duet-slideout-panel.js +13 -3
  174. package/lib/dist-custom-elements/duet-slideout.js +25 -5
  175. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  176. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  177. package/lib/dist-custom-elements/duet-step.js +4 -4
  178. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  179. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  180. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  181. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  182. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  183. package/lib/dist-custom-elements/duet-tab-group.js +14 -15
  184. package/lib/dist-custom-elements/duet-tab.js +1 -1
  185. package/lib/dist-custom-elements/duet-table.js +1 -1
  186. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  187. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  188. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  189. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  190. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  191. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  192. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  193. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  194. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  195. package/lib/dist-custom-elements/duet-tray.js +3 -3
  196. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  197. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  198. package/lib/dist-custom-elements/duet-upload.js +18 -18
  199. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  200. package/lib/dist-custom-elements/index.js +1 -1
  201. package/lib/dist-custom-elements/{p-7f09da03.js → p-08b3f943.js} +5 -5
  202. package/lib/dist-custom-elements/{p-46d172ad.js → p-105af500.js} +8 -8
  203. package/lib/dist-custom-elements/{p-647197d2.js → p-1296f08a.js} +11 -11
  204. package/lib/dist-custom-elements/{p-1a0d1104.js → p-1e625a72.js} +6 -3
  205. package/lib/dist-custom-elements/{p-1b63a427.js → p-219d974b.js} +1 -1
  206. package/lib/dist-custom-elements/{p-a6a02d26.js → p-2434057e.js} +1 -1
  207. package/lib/dist-custom-elements/{p-90901592.js → p-24a51286.js} +1 -1
  208. package/lib/dist-custom-elements/{p-77dc878e.js → p-3a63e916.js} +4 -4
  209. package/lib/dist-custom-elements/{p-7b7d919c.js → p-3f6372e1.js} +5 -5
  210. package/lib/dist-custom-elements/{p-e31a9266.js → p-40f73dc7.js} +5 -5
  211. package/lib/dist-custom-elements/{p-e6ce939c.js → p-4469d73c.js} +1 -1
  212. package/lib/dist-custom-elements/{p-73858765.js → p-49a51210.js} +3 -3
  213. package/lib/dist-custom-elements/{p-960c3c51.js → p-650d5990.js} +1 -1
  214. package/lib/dist-custom-elements/{p-8ba450f0.js → p-670570b2.js} +1 -1
  215. package/lib/dist-custom-elements/{p-85817780.js → p-701d0f44.js} +1 -1
  216. package/lib/dist-custom-elements/{p-d547ac90.js → p-7855af1f.js} +2 -2
  217. package/lib/dist-custom-elements/{p-fc76a9f3.js → p-8290757e.js} +1 -1
  218. package/lib/dist-custom-elements/{p-423d3f0d.js → p-8350edff.js} +3 -3
  219. package/lib/dist-custom-elements/{p-b1795ede.js → p-8a760b84.js} +1 -1
  220. package/lib/dist-custom-elements/{p-a7c46306.js → p-9d8865d0.js} +1 -1
  221. package/lib/dist-custom-elements/{p-60f6b2e8.js → p-a848925d.js} +2 -2
  222. package/lib/dist-custom-elements/{p-6c228574.js → p-a90d09f3.js} +2 -2
  223. package/lib/dist-custom-elements/{p-8c68da59.js → p-aa5fdf1c.js} +1 -1
  224. package/lib/dist-custom-elements/{p-16b97666.js → p-ae0811df.js} +2 -2
  225. package/lib/dist-custom-elements/{p-970d143f.js → p-ae75bc08.js} +1 -1
  226. package/lib/dist-custom-elements/{p-71f948ca.js → p-b0ed56f3.js} +1 -1
  227. package/lib/dist-custom-elements/{p-f12d5ad9.js → p-b996e85b.js} +1 -1
  228. package/lib/dist-custom-elements/{p-27c98907.js → p-bafa44de.js} +10 -10
  229. package/lib/dist-custom-elements/{p-ebfb1ccd.js → p-bde48422.js} +1 -1
  230. package/lib/dist-custom-elements/{p-c230fe39.js → p-c137ffb9.js} +2 -2
  231. package/lib/dist-custom-elements/{p-84065d73.js → p-cb0eec72.js} +1 -1
  232. package/lib/dist-custom-elements/{p-e3b1a969.js → p-d3ee5c39.js} +1 -1
  233. package/lib/dist-custom-elements/{p-a62138f2.js → p-d7f8cd01.js} +1 -1
  234. package/lib/dist-custom-elements/{p-99b8d96d.js → p-e558d310.js} +1 -1
  235. package/lib/duet/duet.esm.js +1 -1
  236. package/lib/duet/duet.js +1 -1
  237. package/lib/duet/{p-62839e24.entry.js → p-00b1b87e.entry.js} +1 -1
  238. package/lib/duet/{p-0b59eb11.entry.js → p-035ed3a5.entry.js} +1 -1
  239. package/lib/duet/{p-b9434c17.entry.js → p-075d23d4.entry.js} +1 -1
  240. package/lib/duet/{p-ce1d649d.entry.js → p-079a4f75.entry.js} +1 -1
  241. package/lib/duet/p-080af406.entry.js +4 -0
  242. package/lib/duet/{p-d2f6423e.system.entry.js → p-087aeef6.system.entry.js} +1 -1
  243. package/lib/duet/p-0a929975.system.entry.js +4 -0
  244. package/lib/duet/{p-a8a32775.entry.js → p-0b479ca3.entry.js} +1 -1
  245. package/lib/duet/{p-6c405b4d.system.entry.js → p-0beab734.system.entry.js} +1 -1
  246. package/lib/duet/{p-fbefd879.entry.js → p-0c2260c1.entry.js} +1 -1
  247. package/lib/duet/{p-f7f200b1.system.entry.js → p-0f810b17.system.entry.js} +1 -1
  248. package/lib/duet/{p-c918ea31.entry.js → p-0ff971c3.entry.js} +1 -1
  249. package/lib/duet/{p-397aa011.system.entry.js → p-1088a724.system.entry.js} +1 -1
  250. package/lib/duet/{p-64bc0173.entry.js → p-11c0868f.entry.js} +1 -1
  251. package/lib/duet/{p-0d22fa04.entry.js → p-12b77122.entry.js} +1 -1
  252. package/lib/duet/{p-01bd8000.entry.js → p-162d843a.entry.js} +1 -1
  253. package/lib/duet/{p-7751209d.entry.js → p-196d661f.entry.js} +1 -1
  254. package/lib/duet/{p-74d79e97.entry.js → p-1a7b4937.entry.js} +1 -1
  255. package/lib/duet/{p-97ccb6b2.entry.js → p-1c2a80cb.entry.js} +1 -1
  256. package/lib/duet/{p-a3fd3b97.entry.js → p-20ac2a2d.entry.js} +1 -1
  257. package/lib/duet/{p-ef8efbf5.entry.js → p-21665b49.entry.js} +1 -1
  258. package/lib/duet/{p-971fe383.system.entry.js → p-2176c975.system.entry.js} +1 -1
  259. package/lib/duet/{p-c7b04440.system.js → p-227a98c3.system.js} +1 -1
  260. package/lib/duet/p-24a81bf6.system.entry.js +4 -0
  261. package/lib/duet/{p-39bd9bac.entry.js → p-24f7cd35.entry.js} +1 -1
  262. package/lib/duet/{p-ff3660d4.system.entry.js → p-27db4f60.system.entry.js} +1 -1
  263. package/lib/duet/{p-55eb8c7c.system.entry.js → p-2869dc54.system.entry.js} +1 -1
  264. package/lib/duet/{p-58e07a25.entry.js → p-28d09818.entry.js} +1 -1
  265. package/lib/duet/{p-a9a50440.system.entry.js → p-29800d01.system.entry.js} +1 -1
  266. package/lib/duet/p-29d7df6e.entry.js +4 -0
  267. package/lib/duet/{p-1fccc372.system.entry.js → p-2a0f3958.system.entry.js} +1 -1
  268. package/lib/duet/{p-706cd2e1.system.entry.js → p-2afb3d9f.system.entry.js} +1 -1
  269. package/lib/duet/{p-a43c1a0f.entry.js → p-2c971ea1.entry.js} +1 -1
  270. package/lib/duet/{p-f04338dd.system.entry.js → p-2cc074b2.system.entry.js} +1 -1
  271. package/lib/duet/{p-a494f7d2.system.entry.js → p-2f8c95b7.system.entry.js} +1 -1
  272. package/lib/duet/{p-638f7d0e.entry.js → p-306c56d8.entry.js} +1 -1
  273. package/lib/duet/{p-c7303568.system.entry.js → p-3158cd64.system.entry.js} +1 -1
  274. package/lib/duet/{p-2e719260.entry.js → p-3247b913.entry.js} +1 -1
  275. package/lib/duet/p-34c59882.entry.js +4 -0
  276. package/lib/duet/{p-603a7942.system.entry.js → p-35c39ed3.system.entry.js} +1 -1
  277. package/lib/duet/{p-3b06e609.system.entry.js → p-35fff67f.system.entry.js} +1 -1
  278. package/lib/duet/{p-d22d1465.entry.js → p-367d5eb9.entry.js} +1 -1
  279. package/lib/duet/{p-8f191365.system.entry.js → p-3973c640.system.entry.js} +1 -1
  280. package/lib/duet/{p-2e6d11c7.system.entry.js → p-3cbbc148.system.entry.js} +1 -1
  281. package/lib/duet/{p-a923e368.system.entry.js → p-3e6ef3dd.system.entry.js} +1 -1
  282. package/lib/duet/{p-546d7868.entry.js → p-40b64c0f.entry.js} +1 -1
  283. package/lib/duet/{p-5317f4fb.entry.js → p-41ad5fe4.entry.js} +1 -1
  284. package/lib/duet/{p-915e638f.system.entry.js → p-424f29fc.system.entry.js} +1 -1
  285. package/lib/duet/{p-c0e476fd.system.entry.js → p-453ec42e.system.entry.js} +1 -1
  286. package/lib/duet/{p-f448c5da.system.entry.js → p-487fd6b0.system.entry.js} +1 -1
  287. package/lib/duet/{p-cc104f41.system.entry.js → p-49a7c9ae.system.entry.js} +1 -1
  288. package/lib/duet/{p-ae3622ce.system.entry.js → p-49c560a4.system.entry.js} +1 -1
  289. package/lib/duet/{p-7a2b0683.system.entry.js → p-4b0cee30.system.entry.js} +1 -1
  290. package/lib/duet/{p-8ee612f4.entry.js → p-50f395c1.entry.js} +1 -1
  291. package/lib/duet/{p-cc434423.system.entry.js → p-51a3bd98.system.entry.js} +1 -1
  292. package/lib/duet/{p-9ff3ef1a.system.entry.js → p-523b6afe.system.entry.js} +1 -1
  293. package/lib/duet/{p-3b11f97a.entry.js → p-53490e72.entry.js} +1 -1
  294. package/lib/duet/{p-436745f1.system.entry.js → p-5390af39.system.entry.js} +1 -1
  295. package/lib/duet/{p-2ea486ae.system.entry.js → p-5ddd8a91.system.entry.js} +1 -1
  296. package/lib/duet/{p-63370211.entry.js → p-5e6d0fba.entry.js} +1 -1
  297. package/lib/duet/{p-14c30d34.entry.js → p-602f1983.entry.js} +1 -1
  298. package/lib/duet/p-60e4c89d.entry.js +4 -0
  299. package/lib/duet/{p-1910a63b.system.entry.js → p-60ed1a37.system.entry.js} +1 -1
  300. package/lib/duet/{p-4901f740.system.entry.js → p-61755646.system.entry.js} +1 -1
  301. package/lib/duet/{p-30eadd8b.system.entry.js → p-61e03237.system.entry.js} +1 -1
  302. package/lib/duet/{p-4f2f039c.system.entry.js → p-61e50943.system.entry.js} +1 -1
  303. package/lib/duet/{p-9594405f.entry.js → p-6278cc44.entry.js} +1 -1
  304. package/lib/duet/{p-9d445004.entry.js → p-62cc70a1.entry.js} +1 -1
  305. package/lib/duet/{p-e90a1481.entry.js → p-63635163.entry.js} +1 -1
  306. package/lib/duet/{p-2126a190.system.entry.js → p-6376d683.system.entry.js} +1 -1
  307. package/lib/duet/{p-569be9eb.system.entry.js → p-63e91537.system.entry.js} +1 -1
  308. package/lib/duet/{p-5fe520fd.entry.js → p-659e1bf0.entry.js} +1 -1
  309. package/lib/duet/{p-78408872.system.entry.js → p-65c96206.system.entry.js} +2 -2
  310. package/lib/duet/{p-db8b2380.system.entry.js → p-6adfb9eb.system.entry.js} +1 -1
  311. package/lib/duet/{p-d1914efd.system.entry.js → p-6b66a45f.system.entry.js} +1 -1
  312. package/lib/duet/{p-cb1cf88a.system.entry.js → p-6ba4b5b4.system.entry.js} +1 -1
  313. package/lib/duet/{p-81829412.system.entry.js → p-6c665829.system.entry.js} +1 -1
  314. package/lib/duet/{p-115e5a74.js → p-6d7578b9.js} +1 -1
  315. package/lib/duet/{p-2b419553.system.entry.js → p-6e3f96c8.system.entry.js} +1 -1
  316. package/lib/duet/{p-dc059577.system.js → p-71818a07.system.js} +1 -1
  317. package/lib/duet/{p-0bb30bf2.system.entry.js → p-726f5b13.system.entry.js} +1 -1
  318. package/lib/duet/{p-71d6578b.system.entry.js → p-738e4a30.system.entry.js} +1 -1
  319. package/lib/duet/{p-9ff169a8.entry.js → p-756aabe3.entry.js} +1 -1
  320. package/lib/duet/{p-c409a1dc.entry.js → p-757d8ba4.entry.js} +1 -1
  321. package/lib/duet/{p-c99cc796.system.entry.js → p-76dcd997.system.entry.js} +1 -1
  322. package/lib/duet/{p-e5a4b88c.system.entry.js → p-778f42fe.system.entry.js} +1 -1
  323. package/lib/duet/{p-dbf5bd13.entry.js → p-77e6559b.entry.js} +1 -1
  324. package/lib/duet/{p-d9b3b34a.system.entry.js → p-78a100ed.system.entry.js} +1 -1
  325. package/lib/duet/p-7aa9fffd.entry.js +4 -0
  326. package/lib/duet/{p-755dd4ac.system.entry.js → p-7b411c65.system.entry.js} +1 -1
  327. package/lib/duet/{p-ae652505.entry.js → p-7b5cadc7.entry.js} +1 -1
  328. package/lib/duet/{p-0c708a6b.system.entry.js → p-7ef0a13e.system.entry.js} +1 -1
  329. package/lib/duet/{p-736fce63.system.entry.js → p-83cfac28.system.entry.js} +1 -1
  330. package/lib/duet/p-852dc293.entry.js +4 -0
  331. package/lib/duet/p-8609ea8a.system.entry.js +4 -0
  332. package/lib/duet/{p-90c87945.entry.js → p-88e554c9.entry.js} +1 -1
  333. package/lib/duet/{p-47b62443.entry.js → p-89041ec3.entry.js} +1 -1
  334. package/lib/duet/{p-dfb08a79.entry.js → p-893c30c7.entry.js} +1 -1
  335. package/lib/duet/{p-6ed45a15.system.entry.js → p-8a1790be.system.entry.js} +1 -1
  336. package/lib/duet/p-8a954fe5.system.entry.js +4 -0
  337. package/lib/duet/{p-c8e267bc.entry.js → p-8b7f5890.entry.js} +1 -1
  338. package/lib/duet/{p-8a3cca2a.system.entry.js → p-8bcc2542.system.entry.js} +1 -1
  339. package/lib/duet/p-8d3f98b7.entry.js +4 -0
  340. package/lib/duet/{p-5f914bd7.system.entry.js → p-8e13850e.system.entry.js} +1 -1
  341. package/lib/duet/{p-d325c3d3.system.entry.js → p-9160fca2.system.entry.js} +1 -1
  342. package/lib/duet/{p-24c831ec.system.entry.js → p-980da7ef.system.entry.js} +1 -1
  343. package/lib/duet/{p-0c3e3891.system.entry.js → p-99192406.system.entry.js} +1 -1
  344. package/lib/duet/{p-3ec8ee39.entry.js → p-9b6f7d9b.entry.js} +1 -1
  345. package/lib/duet/{p-32ee4f34.entry.js → p-9d1267d8.entry.js} +1 -1
  346. package/lib/duet/{p-140f3e19.entry.js → p-9e41e5a6.entry.js} +1 -1
  347. package/lib/duet/{p-c6e4ebf0.entry.js → p-9e64ef8e.entry.js} +1 -1
  348. package/lib/duet/{p-08bcd57d.system.entry.js → p-a1780035.system.entry.js} +1 -1
  349. package/lib/duet/{p-f7c032a2.entry.js → p-a33aea42.entry.js} +1 -1
  350. package/lib/duet/{p-8db7ccfd.entry.js → p-a3c1b8ea.entry.js} +1 -1
  351. package/lib/duet/p-a7962854.entry.js +4 -0
  352. package/lib/duet/{p-396e0025.entry.js → p-a94e261a.entry.js} +1 -1
  353. package/lib/duet/{p-0a6ee84e.entry.js → p-a9f62bc8.entry.js} +1 -1
  354. package/lib/duet/{p-5fed0e82.entry.js → p-ac19c76a.entry.js} +1 -1
  355. package/lib/duet/{p-93a9d03f.entry.js → p-ad0f3fb7.entry.js} +1 -1
  356. package/lib/duet/{p-dbbd3a11.system.entry.js → p-b033b5a6.system.entry.js} +1 -1
  357. package/lib/duet/p-b10e72ff.system.js +4 -0
  358. package/lib/duet/{p-1bbf5a2c.entry.js → p-b188d4e3.entry.js} +1 -1
  359. package/lib/duet/{p-851868b5.system.entry.js → p-b1c635b8.system.entry.js} +1 -1
  360. package/lib/duet/{p-41363488.js → p-b8d12bc2.js} +1 -1
  361. package/lib/duet/{p-70c4fd04.entry.js → p-bab934fc.entry.js} +1 -1
  362. package/lib/duet/{p-42e2d141.entry.js → p-bb56723c.entry.js} +1 -1
  363. package/lib/duet/p-bcb319e6.system.entry.js +4 -0
  364. package/lib/duet/{p-8010d152.entry.js → p-c0442e1a.entry.js} +1 -1
  365. package/lib/duet/{p-7e5e362d.system.entry.js → p-c33904be.system.entry.js} +1 -1
  366. package/lib/duet/{p-664e856a.entry.js → p-c62e9ef9.entry.js} +1 -1
  367. package/lib/duet/p-c827fd02.entry.js +4 -0
  368. package/lib/duet/{p-f765b6a6.system.entry.js → p-c8a46cb9.system.entry.js} +1 -1
  369. package/lib/duet/{p-0c4459c0.system.entry.js → p-c9c7f469.system.entry.js} +1 -1
  370. package/lib/duet/p-cb9548e8.entry.js +4 -0
  371. package/lib/duet/{p-d39e2edb.system.entry.js → p-cc8908a2.system.entry.js} +2 -2
  372. package/lib/duet/{p-1d0d7d5d.entry.js → p-ccc4e7bb.entry.js} +1 -1
  373. package/lib/duet/{p-11e4884c.system.entry.js → p-cf480e2e.system.entry.js} +1 -1
  374. package/lib/duet/{p-7aaf227f.entry.js → p-d0022dc9.entry.js} +1 -1
  375. package/lib/duet/{p-891c5ca1.entry.js → p-d056bac9.entry.js} +1 -1
  376. package/lib/duet/{p-8864ba0e.system.entry.js → p-d1f67700.system.entry.js} +1 -1
  377. package/lib/duet/{p-39d9f25b.system.entry.js → p-d6875b70.system.entry.js} +1 -1
  378. package/lib/duet/{p-64790718.entry.js → p-d8bcb92e.entry.js} +1 -1
  379. package/lib/duet/{p-88e789b9.system.entry.js → p-d94805ae.system.entry.js} +1 -1
  380. package/lib/duet/{p-d8e41f55.system.entry.js → p-d9c3fb44.system.entry.js} +1 -1
  381. package/lib/duet/{p-4e870704.entry.js → p-dbbd0ded.entry.js} +1 -1
  382. package/lib/duet/{p-1298b261.entry.js → p-dde05948.entry.js} +1 -1
  383. package/lib/duet/{p-744f44b4.system.entry.js → p-df315839.system.entry.js} +1 -1
  384. package/lib/duet/{p-3e79b617.entry.js → p-df802ae3.entry.js} +1 -1
  385. package/lib/duet/{p-9664f656.entry.js → p-dfd872f3.entry.js} +1 -1
  386. package/lib/duet/p-e19c5a93.entry.js +4 -0
  387. package/lib/duet/{p-a1d72dc5.entry.js → p-e70dc2a1.entry.js} +1 -1
  388. package/lib/duet/{p-5053b084.entry.js → p-e79a0e0b.entry.js} +1 -1
  389. package/lib/duet/{p-fc57622c.system.entry.js → p-e921c496.system.entry.js} +1 -1
  390. package/lib/duet/{p-70192ee4.system.entry.js → p-ea37e5ca.system.entry.js} +1 -1
  391. package/lib/duet/{p-58d1b520.system.entry.js → p-ee1cade9.system.entry.js} +1 -1
  392. package/lib/duet/{p-80dfb88c.system.entry.js → p-f107bb45.system.entry.js} +1 -1
  393. package/lib/duet/{p-79dc49af.system.entry.js → p-f3c15b5b.system.entry.js} +1 -1
  394. package/lib/duet/{p-2d4fcd47.entry.js → p-f50ecfd3.entry.js} +1 -1
  395. package/lib/duet/{p-7a02ef0d.entry.js → p-f50f189c.entry.js} +1 -1
  396. package/lib/esm/duet-action-button.entry.js +1 -1
  397. package/lib/esm/duet-alert.entry.js +1 -1
  398. package/lib/esm/duet-badge.entry.js +1 -1
  399. package/lib/esm/duet-banner.entry.js +1 -1
  400. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  401. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  402. package/lib/esm/duet-button_2.entry.js +1 -1
  403. package/lib/esm/duet-callout.entry.js +1 -1
  404. package/lib/esm/duet-caption_4.entry.js +4 -1
  405. package/lib/esm/duet-card.entry.js +1 -1
  406. package/lib/esm/duet-checkbox.entry.js +1 -1
  407. package/lib/esm/duet-checkmark.entry.js +1 -1
  408. package/lib/esm/duet-chip.entry.js +1 -1
  409. package/lib/esm/duet-choice_2.entry.js +30 -6
  410. package/lib/esm/duet-collapsible.entry.js +1 -1
  411. package/lib/esm/duet-combobox.entry.js +4 -4
  412. package/lib/esm/duet-contact-card.entry.js +1 -1
  413. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  414. package/lib/esm/duet-date-picker.entry.js +2 -2
  415. package/lib/esm/duet-divider_2.entry.js +1 -1
  416. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  417. package/lib/esm/duet-empty-state.entry.js +1 -1
  418. package/lib/esm/duet-fieldset.entry.js +1 -1
  419. package/lib/esm/duet-file-chooser.entry.js +55 -0
  420. package/lib/esm/duet-footer.entry.js +1 -1
  421. package/lib/esm/duet-grid_2.entry.js +1 -1
  422. package/lib/esm/duet-header_2.entry.js +1 -1
  423. package/lib/esm/duet-hero.entry.js +1 -1
  424. package/lib/esm/duet-icon.entry.js +1 -1
  425. package/lib/esm/duet-input_2.entry.js +2 -2
  426. package/lib/esm/duet-layout.entry.js +1 -1
  427. package/lib/esm/duet-list_2.entry.js +1 -1
  428. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  429. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  430. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  431. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  432. package/lib/esm/duet-menu-bar.entry.js +2 -2
  433. package/lib/esm/duet-modal.entry.js +2 -2
  434. package/lib/esm/duet-multiselect.entry.js +1 -1
  435. package/lib/esm/duet-nav.entry.js +1 -1
  436. package/lib/esm/duet-notification_2.entry.js +1 -1
  437. package/lib/esm/duet-number-input.entry.js +1 -1
  438. package/lib/esm/duet-page-heading.entry.js +1 -1
  439. package/lib/esm/duet-pagination_2.entry.js +1 -1
  440. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  441. package/lib/esm/duet-popup-menu.entry.js +1 -1
  442. package/lib/esm/duet-progress.entry.js +1 -1
  443. package/lib/esm/duet-promo-card.entry.js +1 -1
  444. package/lib/esm/duet-radio_2.entry.js +5 -2
  445. package/lib/esm/duet-range-slider.entry.js +1 -1
  446. package/lib/esm/duet-scrollable_3.entry.js +2 -3
  447. package/lib/esm/duet-section-layout.entry.js +1 -1
  448. package/lib/esm/duet-select.entry.js +1 -1
  449. package/lib/esm/duet-shaped-image.entry.js +1 -1
  450. package/lib/esm/duet-show-more.entry.js +4 -2
  451. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  452. package/lib/esm/duet-slideout-link.entry.js +1 -1
  453. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  454. package/lib/esm/duet-slideout-panel.entry.js +13 -3
  455. package/lib/esm/duet-slideout.entry.js +24 -5
  456. package/lib/esm/duet-step_2.entry.js +1 -1
  457. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  458. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  459. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  460. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  461. package/lib/esm/duet-textarea.entry.js +2 -2
  462. package/lib/esm/duet-toggle.entry.js +1 -1
  463. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  464. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  465. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  466. package/lib/esm/duet-toolbar.entry.js +1 -1
  467. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  468. package/lib/esm/duet-tooltip.entry.js +1 -1
  469. package/lib/esm/duet-tray.entry.js +1 -1
  470. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  471. package/lib/esm/duet-upload-item.entry.js +1 -1
  472. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  473. package/lib/esm/duet.js +3 -3
  474. package/lib/esm/{focus-utils-03333699.js → focus-utils-4707a1e8.js} +1 -1
  475. package/lib/esm/{index-c3bd1656.js → index-e89bc6bf.js} +1 -1
  476. package/lib/esm/loader.js +3 -3
  477. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  478. package/lib/esm-es5/duet-alert.entry.js +1 -1
  479. package/lib/esm-es5/duet-badge.entry.js +1 -1
  480. package/lib/esm-es5/duet-banner.entry.js +1 -1
  481. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  482. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  483. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  484. package/lib/esm-es5/duet-callout.entry.js +1 -1
  485. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  486. package/lib/esm-es5/duet-card.entry.js +2 -2
  487. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  488. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  489. package/lib/esm-es5/duet-chip.entry.js +1 -1
  490. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  491. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  492. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  493. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  494. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  495. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  496. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  497. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  498. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  499. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  500. package/lib/esm-es5/duet-file-chooser.entry.js +4 -0
  501. package/lib/esm-es5/duet-footer.entry.js +1 -1
  502. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  503. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  504. package/lib/esm-es5/duet-hero.entry.js +1 -1
  505. package/lib/esm-es5/duet-icon.entry.js +2 -2
  506. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  507. package/lib/esm-es5/duet-layout.entry.js +1 -1
  508. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  509. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  510. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  511. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  512. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  513. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  514. package/lib/esm-es5/duet-modal.entry.js +1 -1
  515. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  516. package/lib/esm-es5/duet-nav.entry.js +1 -1
  517. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  518. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  519. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  520. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  522. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  523. package/lib/esm-es5/duet-progress.entry.js +1 -1
  524. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  525. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  526. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  527. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  528. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  529. package/lib/esm-es5/duet-select.entry.js +1 -1
  530. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  531. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  532. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  533. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  534. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  535. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  536. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  537. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  538. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  539. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  540. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  541. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  542. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  543. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  544. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  545. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  546. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  547. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  548. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  549. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  550. package/lib/esm-es5/duet-tray.entry.js +1 -1
  551. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  552. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  553. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  554. package/lib/esm-es5/duet.js +1 -1
  555. package/lib/esm-es5/focus-utils-4707a1e8.js +4 -0
  556. package/lib/esm-es5/{index-c3bd1656.js → index-e89bc6bf.js} +1 -1
  557. package/lib/esm-es5/loader.js +1 -1
  558. package/lib/types/components/duet-choice/duet-choice.d.ts +21 -3
  559. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +11 -0
  560. package/lib/types/components/duet-file-chooser/duet-file-chooser.d.ts +42 -0
  561. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +11 -0
  562. package/lib/types/components/duet-show-more/duet-show-more.d.ts +9 -1
  563. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -0
  564. package/lib/types/components.d.ts +138 -6
  565. package/package.json +5 -5
  566. package/lib/duet/p-05ddb8d7.entry.js +0 -4
  567. package/lib/duet/p-11d78956.entry.js +0 -4
  568. package/lib/duet/p-15aa743e.entry.js +0 -4
  569. package/lib/duet/p-17392944.entry.js +0 -4
  570. package/lib/duet/p-37961e05.entry.js +0 -4
  571. package/lib/duet/p-46a8594c.entry.js +0 -4
  572. package/lib/duet/p-7f13b214.system.entry.js +0 -4
  573. package/lib/duet/p-8aae2ee1.entry.js +0 -4
  574. package/lib/duet/p-cadf7c9b.entry.js +0 -4
  575. package/lib/duet/p-d8e56dcd.system.entry.js +0 -4
  576. package/lib/duet/p-e0887380.system.entry.js +0 -4
  577. package/lib/duet/p-ec0fadf9.entry.js +0 -4
  578. package/lib/duet/p-f0023574.entry.js +0 -4
  579. package/lib/duet/p-f36029aa.system.entry.js +0 -4
  580. package/lib/duet/p-fd4c42f8.system.js +0 -4
  581. package/lib/esm-es5/focus-utils-03333699.js +0 -4
@@ -0,0 +1,189 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h, Host } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
6
+ export class DuetUploadItem {
7
+ constructor() {
8
+ this.onChange = (ev) => {
9
+ ev.preventDefault();
10
+ ev.stopPropagation();
11
+ this.duetChange.emit({
12
+ originalEvent: ev,
13
+ data: { files: this.nativeInput.files },
14
+ component: "duet-file-chooser",
15
+ });
16
+ };
17
+ this.theme = "";
18
+ this.multiple = false;
19
+ this.accept = undefined;
20
+ }
21
+ /**
22
+ * Opens file choose dialog.
23
+ */
24
+ async open() {
25
+ var _a;
26
+ (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.click();
27
+ }
28
+ /**
29
+ * Returns actually selected files in file chooser.
30
+ */
31
+ async getFiles() {
32
+ return this.nativeInput.files;
33
+ }
34
+ /**
35
+ * Component lifecycle events.
36
+ */
37
+ componentWillLoad() {
38
+ inheritGlobalTheme(this);
39
+ }
40
+ render() {
41
+ return (h(Host, null, h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
42
+ this.nativeInput = input;
43
+ }, type: "file", class: {
44
+ "duet-upload": true,
45
+ }, "aria-hidden": "true", tabIndex: -1, onChange: this.onChange, multiple: this.multiple, accept: this.accept }))));
46
+ }
47
+ static get is() { return "duet-file-chooser"; }
48
+ static get encapsulation() { return "shadow"; }
49
+ static get originalStyleUrls() {
50
+ return {
51
+ "$": ["duet-file-chooser.scss"]
52
+ };
53
+ }
54
+ static get styleUrls() {
55
+ return {
56
+ "$": ["duet-file-chooser.css"]
57
+ };
58
+ }
59
+ static get properties() {
60
+ return {
61
+ "theme": {
62
+ "type": "string",
63
+ "mutable": true,
64
+ "complexType": {
65
+ "original": "DuetTheme",
66
+ "resolved": "\"\" | \"default\" | \"turva\"",
67
+ "references": {
68
+ "DuetTheme": {
69
+ "location": "import",
70
+ "path": "../../common-types",
71
+ "id": "src/common-types.d.ts::DuetTheme"
72
+ }
73
+ }
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": "theme."
80
+ },
81
+ "attribute": "theme",
82
+ "reflect": false,
83
+ "defaultValue": "\"\""
84
+ },
85
+ "multiple": {
86
+ "type": "boolean",
87
+ "mutable": false,
88
+ "complexType": {
89
+ "original": "boolean",
90
+ "resolved": "boolean",
91
+ "references": {}
92
+ },
93
+ "required": false,
94
+ "optional": false,
95
+ "docs": {
96
+ "tags": [],
97
+ "text": "Use multiple to allow the user to select multiple files when uploading"
98
+ },
99
+ "attribute": "multiple",
100
+ "reflect": false,
101
+ "defaultValue": "false"
102
+ },
103
+ "accept": {
104
+ "type": "string",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "string",
108
+ "resolved": "string",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "The accept attribute takes as its value a comma-separated list of one or more file types,\nor unique file type specifiers, describing which file types to allow."
116
+ },
117
+ "attribute": "accept",
118
+ "reflect": false,
119
+ "defaultValue": "undefined"
120
+ }
121
+ };
122
+ }
123
+ static get events() {
124
+ return [{
125
+ "method": "duetChange",
126
+ "name": "duetChange",
127
+ "bubbles": false,
128
+ "cancelable": true,
129
+ "composed": true,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": "Emitted when the value has changed."
133
+ },
134
+ "complexType": {
135
+ "original": "DuetFileChooserEvent",
136
+ "resolved": "{ originalEvent?: Event; data?: Record<string, any>; component: \"duet-file-chooser\"; }",
137
+ "references": {
138
+ "DuetFileChooserEvent": {
139
+ "location": "local",
140
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-file-chooser/duet-file-chooser.tsx",
141
+ "id": "src/components/duet-file-chooser/duet-file-chooser.tsx::DuetFileChooserEvent"
142
+ }
143
+ }
144
+ }
145
+ }];
146
+ }
147
+ static get methods() {
148
+ return {
149
+ "open": {
150
+ "complexType": {
151
+ "signature": "() => Promise<void>",
152
+ "parameters": [],
153
+ "references": {
154
+ "Promise": {
155
+ "location": "global",
156
+ "id": "global::Promise"
157
+ }
158
+ },
159
+ "return": "Promise<void>"
160
+ },
161
+ "docs": {
162
+ "text": "Opens file choose dialog.",
163
+ "tags": []
164
+ }
165
+ },
166
+ "getFiles": {
167
+ "complexType": {
168
+ "signature": "() => Promise<FileList>",
169
+ "parameters": [],
170
+ "references": {
171
+ "Promise": {
172
+ "location": "global",
173
+ "id": "global::Promise"
174
+ },
175
+ "FileList": {
176
+ "location": "global",
177
+ "id": "global::FileList"
178
+ }
179
+ },
180
+ "return": "Promise<FileList>"
181
+ },
182
+ "docs": {
183
+ "text": "Returns actually selected files in file chooser.",
184
+ "tags": []
185
+ }
186
+ }
187
+ };
188
+ }
189
+ }
@@ -188,7 +188,7 @@ export class DuetInput {
188
188
  this.tooltipDirection = "auto";
189
189
  }
190
190
  disallowedPatternChange() {
191
- this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "g") : null;
191
+ this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
192
192
  }
193
193
  valueChanged() {
194
194
  var _a;
@@ -65,7 +65,7 @@ export class DuetLink {
65
65
  this.mediaQuery.addEventListener("change", this.screenTestBound);
66
66
  }
67
67
  destroyMediaQuery() {
68
- if (Build.isServer) {
68
+ if (Build.isServer || !this.mediaQuery) {
69
69
  return;
70
70
  }
71
71
  this.mediaQuery.removeEventListener("change", this.screenTestBound);
@@ -24,6 +24,8 @@
24
24
  }
25
25
 
26
26
  .duet-menu-bar {
27
+ position: relative;
28
+ z-index: 1;
27
29
  display: flex;
28
30
  align-items: center;
29
31
  justify-content: center;
@@ -31,6 +31,8 @@ export class DuetRadioGroup {
31
31
  this.responsive = false;
32
32
  this.value = undefined;
33
33
  this.disabled = undefined;
34
+ this.required = false;
35
+ this.accessibleLiveError = "polite";
34
36
  }
35
37
  /**
36
38
  * Component lifecycle events.
@@ -81,6 +83,7 @@ export class DuetRadioGroup {
81
83
  // Walk the DOM in reverse order, since the last selected one wins
82
84
  for (const radio of radios) {
83
85
  radio.name = this.name;
86
+ radio.required = this.required;
84
87
  radio.groupDisabled = this.disabled;
85
88
  radio.groupDirection = this.direction;
86
89
  radio.groupResponsive = this.responsive;
@@ -105,7 +108,7 @@ export class DuetRadioGroup {
105
108
  * Always the last one in the class.
106
109
  */
107
110
  render() {
108
- return (h(Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", null)))));
111
+ return (h(Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", null)))));
109
112
  }
110
113
  static get is() { return "duet-radio-group"; }
111
114
  static get encapsulation() { return "scoped"; }
@@ -375,6 +378,42 @@ export class DuetRadioGroup {
375
378
  },
376
379
  "attribute": "disabled",
377
380
  "reflect": false
381
+ },
382
+ "required": {
383
+ "type": "boolean",
384
+ "mutable": false,
385
+ "complexType": {
386
+ "original": "boolean",
387
+ "resolved": "boolean",
388
+ "references": {}
389
+ },
390
+ "required": false,
391
+ "optional": false,
392
+ "docs": {
393
+ "tags": [],
394
+ "text": "Sets whether making a choice is required or optional. Will set contained duet-radio components to required as well."
395
+ },
396
+ "attribute": "required",
397
+ "reflect": false,
398
+ "defaultValue": "false"
399
+ },
400
+ "accessibleLiveError": {
401
+ "type": "string",
402
+ "mutable": false,
403
+ "complexType": {
404
+ "original": "\"off\" | \"polite\" | \"assertive\"",
405
+ "resolved": "\"assertive\" | \"off\" | \"polite\"",
406
+ "references": {}
407
+ },
408
+ "required": false,
409
+ "optional": false,
410
+ "docs": {
411
+ "tags": [],
412
+ "text": "The aria-live attribute for the error message. When the input is validated on blur, use \"off\", as using \"polite\" or \"assertive\"\nmakes the screen reader read the error message twice. When the input is validated on submit, use \"polite\", as \"off\" would leave\nthe messages unread by screen readers. Use \"assertive\" only in those rare cases when \"polite\" would leave the error message\nunread by screen readers."
413
+ },
414
+ "attribute": "accessible-live-error",
415
+ "reflect": false,
416
+ "defaultValue": "\"polite\""
378
417
  }
379
418
  };
380
419
  }
@@ -63,6 +63,8 @@ export class DuetShowMore {
63
63
  };
64
64
  this.showLessAccessibleLabel = getLocaleString(this.showLessAccessibleLabelDefaults);
65
65
  this.margin = "auto";
66
+ this.buttonMargin = "auto";
67
+ this.buttonPadding = "auto";
66
68
  this.open = false;
67
69
  }
68
70
  /**
@@ -93,7 +95,7 @@ export class DuetShowMore {
93
95
  "duet-theme-turva": this.theme === "turva",
94
96
  "duet-m-0": this.margin === "none",
95
97
  open: this.open,
96
- } }, h("div", { ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { class: { "slotted-content": true } }, h("slot", null))), h("duet-button", { id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small" }, this.open ? this.showLessLabel : this.showMoreLabel))));
98
+ } }, h("div", { ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { class: { "slotted-content": true } }, h("slot", null))), h("duet-button", { id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding }, this.open ? this.showLessLabel : this.showMoreLabel))));
97
99
  }
98
100
  static get is() { return "duet-show-more"; }
99
101
  static get encapsulation() { return "shadow"; }
@@ -347,6 +349,54 @@ export class DuetShowMore {
347
349
  "reflect": false,
348
350
  "defaultValue": "\"auto\""
349
351
  },
352
+ "buttonMargin": {
353
+ "type": "string",
354
+ "mutable": false,
355
+ "complexType": {
356
+ "original": "DuetMargin",
357
+ "resolved": "\"auto\" | \"none\"",
358
+ "references": {
359
+ "DuetMargin": {
360
+ "location": "import",
361
+ "path": "../../common-types",
362
+ "id": "src/common-types.d.ts::DuetMargin"
363
+ }
364
+ }
365
+ },
366
+ "required": false,
367
+ "optional": false,
368
+ "docs": {
369
+ "tags": [],
370
+ "text": "Controls the margin of the button component inside of show more."
371
+ },
372
+ "attribute": "button-margin",
373
+ "reflect": false,
374
+ "defaultValue": "\"auto\""
375
+ },
376
+ "buttonPadding": {
377
+ "type": "string",
378
+ "mutable": false,
379
+ "complexType": {
380
+ "original": "DuetPadding",
381
+ "resolved": "\"auto\" | \"none\"",
382
+ "references": {
383
+ "DuetPadding": {
384
+ "location": "import",
385
+ "path": "../../common-types",
386
+ "id": "src/common-types.d.ts::DuetPadding"
387
+ }
388
+ }
389
+ },
390
+ "required": false,
391
+ "optional": false,
392
+ "docs": {
393
+ "tags": [],
394
+ "text": "Controls the padding of the button component inside of show more."
395
+ },
396
+ "attribute": "button-padding",
397
+ "reflect": false,
398
+ "defaultValue": "\"auto\""
399
+ },
350
400
  "open": {
351
401
  "type": "boolean",
352
402
  "mutable": true,
@@ -16,6 +16,11 @@ export class DuetSlideout {
16
16
  fi: "Poistu valikosta",
17
17
  sv: "Avsluta menyn",
18
18
  };
19
+ this.topLevelOpenMenuBarLangObject = {
20
+ en: "Exit this menu to find top level items",
21
+ fi: "Poistu tästä valikosta löytääksesi ylätason kohteet",
22
+ sv: "Stäng den här menyn för att hitta objekt på toppnivå",
23
+ };
19
24
  this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
20
25
  this.handleBodyScrolling = () => {
21
26
  if (this.displaying && this.open) {
@@ -25,6 +30,9 @@ export class DuetSlideout {
25
30
  enableBodyScroll(this.dialog);
26
31
  }
27
32
  };
33
+ this.getOpenPanel = () => {
34
+ return this.element.querySelector("duet-slideout-panel[open]");
35
+ };
28
36
  this.toggleMenu = (e) => {
29
37
  this.open = !this.open;
30
38
  if (this.openButton) {
@@ -36,7 +44,7 @@ export class DuetSlideout {
36
44
  component: "duet-slideout",
37
45
  });
38
46
  if (this.open) {
39
- const openPanel = this.element.querySelector("duet-slideout-panel[open]");
47
+ const openPanel = this.getOpenPanel();
40
48
  this.teleport.go(true);
41
49
  if (openPanel) {
42
50
  openPanel.setFocus();
@@ -63,6 +71,7 @@ export class DuetSlideout {
63
71
  };
64
72
  this.language = getLanguage();
65
73
  this.displaying = false;
74
+ this.openPanel = false;
66
75
  this.theme = "";
67
76
  this.open = false;
68
77
  this.opener = undefined;
@@ -139,11 +148,23 @@ export class DuetSlideout {
139
148
  }
140
149
  connectedCallback() {
141
150
  connectLanguageChangeObserver(this);
151
+ if (Build.isServer) {
152
+ return;
153
+ }
154
+ this.mutationObserver = new MutationObserver(() => {
155
+ this.openPanel = !!this.getOpenPanel();
156
+ });
157
+ this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
142
158
  }
143
159
  disconnectedCallback() {
144
160
  disconnectLanguageChangeObserver(this);
145
161
  enableBodyScroll(this.dialog);
146
- this.intersectionObserver.disconnect();
162
+ if (this.intersectionObserver) {
163
+ this.intersectionObserver.disconnect();
164
+ }
165
+ if (this.mutationObserver) {
166
+ this.mutationObserver.disconnect();
167
+ }
147
168
  }
148
169
  /**
149
170
  * Component event handling.
@@ -171,6 +192,7 @@ export class DuetSlideout {
171
192
  const styles = {
172
193
  background: getColorByName(this.backgroundColor, this.theme),
173
194
  };
195
+ const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
174
196
  const exitTranslation = getLocaleString(this.exitLangObject);
175
197
  return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { class: {
176
198
  "desktop-bg": true,
@@ -183,7 +205,7 @@ export class DuetSlideout {
183
205
  }, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
184
206
  "slideout-close": true,
185
207
  active: this.open,
186
- }, onClick: this.onClick }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { id: "menubar", role: "menubar", class: {
208
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { id: "menubar", role: "menubar", "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
187
209
  items: true,
188
210
  } }, h("slot", null)), h(FocusGuard, { moveFocusTo: this.closeButton })))));
189
211
  }
@@ -289,7 +311,8 @@ export class DuetSlideout {
289
311
  static get states() {
290
312
  return {
291
313
  "language": {},
292
- "displaying": {}
314
+ "displaying": {},
315
+ "openPanel": {}
293
316
  };
294
317
  }
295
318
  static get events() {
@@ -27,11 +27,21 @@ export class DuetSlideoutPanel {
27
27
  this.open = toggle;
28
28
  if (toggle) {
29
29
  setTimeout(() => {
30
+ const siblings = Array.from(this.element.parentElement.children);
31
+ siblings.forEach(sibling => {
32
+ if (sibling !== this.element) {
33
+ sibling.inert = true;
34
+ }
35
+ });
30
36
  this.closeButton.focus();
31
37
  }, 200);
32
38
  }
33
39
  else {
34
40
  setTimeout(() => {
41
+ const siblings = Array.from(this.element.parentElement.children);
42
+ siblings.forEach(sibling => {
43
+ sibling.inert = false;
44
+ });
35
45
  this.openButton.focus();
36
46
  }, 200);
37
47
  }
@@ -103,7 +113,7 @@ export class DuetSlideoutPanel {
103
113
  } }, h("button", { ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
104
114
  link: true,
105
115
  active: this.active,
106
- }, onClick: this.onToggleClick }, this.icon && h("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("div", { class: "label" }, h("span", { class: { "label-text": true, [this.labelSize]: true } }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { class: {
116
+ }, onClick: this.onToggleClick, inert: this.open }, this.icon && h("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("div", { class: "label" }, h("span", { class: { "label-text": true, [this.labelSize]: true } }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { class: {
107
117
  dialog: true,
108
118
  hidden: !this.open,
109
119
  }, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
@@ -36,26 +36,6 @@
36
36
  position: relative;
37
37
  background: rgb(243, 249, 252);
38
38
  }
39
- .duet-submenu-bar .shadow-container {
40
- position: absolute;
41
- width: 100%;
42
- height: 100%;
43
- overflow: hidden;
44
- }
45
- .duet-submenu-bar .shadow-container .top-shadow {
46
- position: absolute;
47
- top: -52px;
48
- width: 100%;
49
- height: 52px;
50
- box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07);
51
- }
52
- @media (min-width: 62em) {
53
- .duet-submenu-bar .shadow-container .top-shadow {
54
- top: -80px;
55
- height: 80px;
56
- box-shadow: 0 3px 6px 0 rgba(0, 41, 77, 0.1);
57
- }
58
- }
59
39
  @media (min-width: 62em) {
60
40
  .duet-submenu-bar {
61
41
  border-bottom: 1px solid rgb(205, 229, 241);
@@ -106,7 +106,7 @@ export class DuetSubmenuBar {
106
106
  * Always the last one in the class.
107
107
  */
108
108
  render() {
109
- return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "shadow-container", role: "presentation" }, h("div", { class: "top-shadow" })), this.hasItems && (h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
109
+ return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
110
110
  active: this.open,
111
111
  }, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { class: {
112
112
  "menu-container": true,
@@ -194,12 +194,16 @@
194
194
  @media (min-width: 62em) {
195
195
  .duet-submenu-bar-dropdown.duet-theme-turva button.active, .duet-submenu-bar-dropdown.duet-theme-turva button.open {
196
196
  color: rgb(148, 9, 37);
197
- background: rgb(228, 228, 230);
198
197
  }
199
198
  }
200
199
  .duet-submenu-bar-dropdown.duet-theme-turva button.active::after, .duet-submenu-bar-dropdown.duet-theme-turva button.open::after {
201
200
  background: rgb(148, 9, 37);
202
201
  }
202
+ @media (min-width: 62em) {
203
+ .duet-submenu-bar-dropdown.duet-theme-turva button.open {
204
+ background: rgb(228, 228, 230);
205
+ }
206
+ }
203
207
  @media (min-width: 62em) {
204
208
  .duet-submenu-bar-dropdown.duet-theme-turva .items {
205
209
  background: rgb(255, 255, 255);
@@ -51,7 +51,6 @@
51
51
  .duet-submenu-bar-dropdown-link {
52
52
  padding: 0.675rem 16px;
53
53
  font-size: 0.875rem;
54
- text-align: center;
55
54
  }
56
55
  }
57
56
  .duet-submenu-bar-dropdown-link.active .label {
@@ -1,11 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { formatViolations, mergeRules, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
5
- const disabledRules = {
6
- // ShadowDOM isolates identifiers (needed for aria-controls) https://github.com/w3c/aria/issues/864
7
- "aria-valid-attr-value": { enabled: false },
8
- };
4
+ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
9
5
  describe("[a11y] duet-tab-group", () => {
10
6
  it("should render an accessible component", async () => {
11
7
  const result = await testWithAxe(`
@@ -13,7 +9,7 @@ describe("[a11y] duet-tab-group", () => {
13
9
  <duet-tab label="Yhteenveto">Tab 1 content</duet-tab>
14
10
  <duet-tab label="Säästösuunnitelma" selected>Tab 2 content</duet-tab>
15
11
  </duet-tab-group>
16
- `, mergeRules(axeRunOptions, disabledRules));
12
+ `, axeRunOptions);
17
13
  expect(result).not.toBeNull();
18
14
  expect(formatViolations(result.violations)).toEqual([]);
19
15
  });
@@ -56,7 +56,7 @@ export class DuetTabGroup {
56
56
  };
57
57
  this.renderTab = () => {
58
58
  const renderedTabs = this.tabs.map((element, index) => {
59
- return (h("button", { role: "tab", id: this.getButtonId(index), "aria-controls": this.getTabId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: index === 0 ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
59
+ return (h("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: index === 0 ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
60
60
  "duet-p-0": this.padding === "none",
61
61
  "duet-tab-button": true,
62
62
  "stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
@@ -174,7 +174,6 @@ export class DuetTabGroup {
174
174
  this.tabs = this.getTabs();
175
175
  this.tabs.forEach((tab, index) => {
176
176
  tab.id = this.getTabId(index);
177
- tab.setAttribute("accessible-labelled-by", this.getButtonId(index));
178
177
  if (tab.selected) {
179
178
  if (this.selected === undefined) {
180
179
  this.selected = index;
@@ -115,7 +115,7 @@ export class DuetTextarea {
115
115
  this.counterLabel = undefined;
116
116
  }
117
117
  disallowedPatternChange() {
118
- this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "g") : null;
118
+ this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
119
119
  }
120
120
  /**
121
121
  * Component lifecycle events.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-423d3f0d.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-8350edff.js';
5
5
 
6
6
  const DuetActionButton = DuetActionButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-e31a9266.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-40f73dc7.js';
5
5
 
6
6
  const DuetAlert = DuetAlert$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-fc76a9f3.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-8290757e.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-8ba450f0.js';
4
+ import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-670570b2.js';
5
5
  import { i as inheritGlobalTheme } from './p-d48735b6.js';
6
6
  import { h } from './p-62c7d9d4.js';
7
7
  import { p as parsePossibleJSON } from './p-1a395a8d.js';
8
8
  import { g as getColorByName } from './p-e19d1e27.js';
9
- import { d as defineCustomElement$4 } from './p-960c3c51.js';
10
- import { d as defineCustomElement$3 } from './p-1b63a427.js';
11
- import { d as defineCustomElement$2 } from './p-99b8d96d.js';
9
+ import { d as defineCustomElement$4 } from './p-650d5990.js';
10
+ import { d as defineCustomElement$3 } from './p-219d974b.js';
11
+ import { d as defineCustomElement$2 } from './p-e558d310.js';
12
12
 
13
13
  const DuetPicture = ({ img, sources }) => {
14
14
  return (h("picture", null,