@duetds/components 5.1.7 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/hydrate/index.js +219 -37
  2. package/lib/cjs/duet-action-button.cjs.entry.js +16 -8
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-button_2.cjs.entry.js +17 -2
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +15 -3
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +16 -4
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -4
  16. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -4
  18. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-input_2.cjs.entry.js +18 -4
  26. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-modal.cjs.entry.js +12 -4
  29. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-number-input.cjs.entry.js +15 -3
  31. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -3
  32. package/lib/cjs/duet-progress.cjs.entry.js +15 -3
  33. package/lib/cjs/duet-radio_2.cjs.entry.js +15 -3
  34. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-textarea.cjs.entry.js +17 -3
  39. package/lib/cjs/duet-toggle.cjs.entry.js +15 -3
  40. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  44. package/lib/cjs/duet.cjs.js +2 -2
  45. package/lib/cjs/{focus-utils-dacb5c04.js → focus-utils-bfb10d32.js} +1 -1
  46. package/lib/cjs/{index-3c28214c.js → index-a4844346.js} +1 -1
  47. package/lib/cjs/loader.cjs.js +2 -2
  48. package/lib/cjs/{themeable-component-940d3b50.js → themeable-component-fdeaef9f.js} +0 -0
  49. package/lib/collection/{utils/form-components.js → common/a11y-component.js} +0 -0
  50. package/lib/collection/common/form-components.js +4 -0
  51. package/lib/collection/common/index.js +4 -0
  52. package/lib/collection/{utils → common}/themeable-component.js +0 -0
  53. package/lib/collection/components/duet-action-button/duet-action-button.js +57 -13
  54. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  55. package/lib/collection/components/duet-badge/duet-badge.js +1 -1
  56. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +1 -1
  57. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +1 -1
  58. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +1 -1
  59. package/lib/collection/components/duet-button/duet-button.js +70 -1
  60. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  61. package/lib/collection/components/duet-card/duet-card.js +1 -1
  62. package/lib/collection/components/duet-checkbox/duet-checkbox.js +68 -2
  63. package/lib/collection/components/duet-choice/duet-choice.js +68 -2
  64. package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
  65. package/lib/collection/components/duet-collapsible/duet-collapsible.js +1 -1
  66. package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
  67. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  68. package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
  69. package/lib/collection/components/duet-date-picker/utils.js +0 -1
  70. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  71. package/lib/collection/components/duet-editable-table/duet-editable-table.js +1 -1
  72. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  73. package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
  74. package/lib/collection/components/duet-footer/duet-footer.js +1 -1
  75. package/lib/collection/components/duet-grid-item/duet-grid-item.js +1 -1
  76. package/lib/collection/components/duet-header/duet-header.css +1 -1
  77. package/lib/collection/components/duet-header/duet-header.js +1 -1
  78. package/lib/collection/components/duet-heading/duet-heading.css +3 -0
  79. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  80. package/lib/collection/components/duet-hero/duet-hero.js +1 -1
  81. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  82. package/lib/collection/components/duet-input/duet-input.js +72 -4
  83. package/lib/collection/components/duet-label/duet-label.js +1 -1
  84. package/lib/collection/components/duet-link/duet-link.js +1 -1
  85. package/lib/collection/components/duet-list/duet-list.js +1 -1
  86. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  87. package/lib/collection/components/duet-modal/duet-modal.js +80 -2
  88. package/lib/collection/components/duet-notification/duet-notification.js +1 -1
  89. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  90. package/lib/collection/components/duet-number-input/duet-number-input.js +68 -2
  91. package/lib/collection/components/duet-pagination/duet-pagination.js +90 -2
  92. package/lib/collection/components/duet-paragraph/duet-paragraph.js +1 -1
  93. package/lib/collection/components/duet-progress/duet-progress.js +68 -2
  94. package/lib/collection/components/duet-radio/duet-radio.js +68 -2
  95. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  96. package/lib/collection/components/duet-range-slider/duet-range-slider.js +1 -1
  97. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  98. package/lib/collection/components/duet-scrollable/duet-scrollable.js +1 -1
  99. package/lib/collection/components/duet-select/duet-select.js +1 -1
  100. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  101. package/lib/collection/components/duet-step/duet-step.js +1 -1
  102. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  103. package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -1
  104. package/lib/collection/components/duet-table/duet-table.js +1 -1
  105. package/lib/collection/components/duet-textarea/duet-textarea.js +70 -2
  106. package/lib/collection/components/duet-toggle/duet-toggle.js +68 -2
  107. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  108. package/lib/collection/components/duet-tray/duet-tray.js +1 -1
  109. package/lib/collection/components/duet-upload/duet-upload.css +9 -1
  110. package/lib/collection/components/duet-upload/duet-upload.js +1 -1
  111. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +0 -1
  112. package/lib/custom-elements-bundle/index.js +190 -45
  113. package/lib/duet/duet.esm.js +1 -1
  114. package/lib/duet/duet.js +1 -1
  115. package/lib/duet/{p-ebc74446.system.entry.js → p-00bf0bb9.system.entry.js} +1 -1
  116. package/lib/duet/{p-c8e5372d.system.entry.js → p-01478a01.system.entry.js} +2 -2
  117. package/lib/duet/{p-7fb73896.entry.js → p-030e20d7.entry.js} +1 -1
  118. package/lib/duet/p-03b6ce80.entry.js +4 -0
  119. package/lib/duet/{p-fa7e8f3a.entry.js → p-04061cef.entry.js} +1 -1
  120. package/lib/duet/p-05e069d8.entry.js +4 -0
  121. package/lib/duet/{p-dff4f263.system.entry.js → p-071ebe1d.system.entry.js} +1 -1
  122. package/lib/duet/p-08eb2200.entry.js +4 -0
  123. package/lib/duet/{p-6dcbf41c.entry.js → p-0ae816ee.entry.js} +1 -1
  124. package/lib/duet/{p-f4526da3.system.entry.js → p-0bee3151.system.entry.js} +1 -1
  125. package/lib/duet/{p-8f436ae6.system.entry.js → p-10585f06.system.entry.js} +1 -1
  126. package/lib/duet/{p-31313016.system.js → p-12c89686.system.js} +1 -1
  127. package/lib/duet/{p-63a69534.system.entry.js → p-19100783.system.entry.js} +2 -2
  128. package/lib/duet/{p-75c4b4b0.system.entry.js → p-1ff51ad8.system.entry.js} +1 -1
  129. package/lib/duet/{p-99796362.system.entry.js → p-24721182.system.entry.js} +1 -1
  130. package/lib/duet/{p-39d463ef.entry.js → p-271107d8.entry.js} +1 -1
  131. package/lib/duet/p-285714dd.entry.js +4 -0
  132. package/lib/duet/{p-35c9a248.system.entry.js → p-30e901f2.system.entry.js} +1 -1
  133. package/lib/duet/p-3260eef0.entry.js +4 -0
  134. package/lib/duet/{p-26798bd0.system.entry.js → p-33388bf3.system.entry.js} +1 -1
  135. package/lib/duet/{p-6b03322b.system.js → p-33b3aba4.system.js} +0 -0
  136. package/lib/duet/p-360f8fff.system.entry.js +4 -0
  137. package/lib/duet/{p-5cf3316c.js → p-37dc064c.js} +1 -1
  138. package/lib/duet/{p-1ab0849a.entry.js → p-41cc3490.entry.js} +1 -1
  139. package/lib/duet/{p-60d00e2c.system.entry.js → p-423d4211.system.entry.js} +1 -1
  140. package/lib/duet/p-437fe50b.system.entry.js +4 -0
  141. package/lib/duet/{p-9ee12daa.system.entry.js → p-495a1326.system.entry.js} +1 -1
  142. package/lib/duet/p-4972c76e.system.js +4 -0
  143. package/lib/duet/p-4a7f290f.entry.js +4 -0
  144. package/lib/duet/{p-abf8eaf7.js → p-4ebf1618.js} +0 -0
  145. package/lib/duet/{p-a2a63b2b.entry.js → p-53ad61ed.entry.js} +1 -1
  146. package/lib/duet/{p-3df27412.entry.js → p-56d3e64f.entry.js} +1 -1
  147. package/lib/duet/p-5a5d8fb1.entry.js +4 -0
  148. package/lib/duet/p-5b1cbe5b.entry.js +4 -0
  149. package/lib/duet/{p-5f0ed156.system.entry.js → p-5f009925.system.entry.js} +1 -1
  150. package/lib/duet/{p-3f3fa7a0.system.entry.js → p-641edb93.system.entry.js} +1 -1
  151. package/lib/duet/p-64685397.entry.js +4 -0
  152. package/lib/duet/{p-ff8b4019.system.entry.js → p-66536958.system.entry.js} +1 -1
  153. package/lib/duet/{p-765605cb.entry.js → p-68cbc3b7.entry.js} +1 -1
  154. package/lib/duet/{p-ffd8fc7d.entry.js → p-6a843f9e.entry.js} +1 -1
  155. package/lib/duet/p-7021d0c6.system.entry.js +4 -0
  156. package/lib/duet/{p-25f6c176.entry.js → p-72739cec.entry.js} +1 -1
  157. package/lib/duet/{p-a7ba18b5.system.entry.js → p-73cd4f03.system.entry.js} +1 -1
  158. package/lib/duet/{p-007e7fd1.system.entry.js → p-76e38bb2.system.entry.js} +2 -2
  159. package/lib/duet/{p-9d275136.entry.js → p-78de93b3.entry.js} +1 -1
  160. package/lib/duet/{p-d9cf279a.entry.js → p-790ee851.entry.js} +1 -1
  161. package/lib/duet/{p-2c6cd4a3.system.entry.js → p-7a4764db.system.entry.js} +1 -1
  162. package/lib/duet/{p-baab37cb.system.entry.js → p-7fe67436.system.entry.js} +2 -2
  163. package/lib/duet/p-88ffd1cc.entry.js +4 -0
  164. package/lib/duet/{p-72f1bbf5.entry.js → p-9406ee60.entry.js} +1 -1
  165. package/lib/duet/p-9496d6d4.entry.js +4 -0
  166. package/lib/duet/{p-bb544c8e.entry.js → p-95a0db46.entry.js} +1 -1
  167. package/lib/duet/{p-b48329a9.entry.js → p-95e1a336.entry.js} +1 -1
  168. package/lib/duet/p-971f42d6.system.entry.js +4 -0
  169. package/lib/duet/{p-0e22e052.entry.js → p-97f1e254.entry.js} +1 -1
  170. package/lib/duet/{p-5670d324.system.entry.js → p-98039227.system.entry.js} +1 -1
  171. package/lib/duet/{p-4d2dbe9e.js → p-98a9556f.js} +1 -1
  172. package/lib/duet/p-9920ad3b.entry.js +4 -0
  173. package/lib/duet/{p-fa551382.system.entry.js → p-99fe93c6.system.entry.js} +1 -1
  174. package/lib/duet/{p-f230db10.entry.js → p-a2fa0049.entry.js} +1 -1
  175. package/lib/duet/{p-b10db43a.system.entry.js → p-a509cc2b.system.entry.js} +1 -1
  176. package/lib/duet/p-a76bf729.entry.js +4 -0
  177. package/lib/duet/{p-019b0bda.system.entry.js → p-a843e579.system.entry.js} +1 -1
  178. package/lib/duet/{p-377ab392.system.entry.js → p-afd34b6b.system.entry.js} +1 -1
  179. package/lib/duet/{p-6429b742.entry.js → p-b08bb1fd.entry.js} +1 -1
  180. package/lib/duet/{p-038eebd9.entry.js → p-b0a4dc6d.entry.js} +1 -1
  181. package/lib/duet/{p-8dcd021f.system.entry.js → p-b16befbc.system.entry.js} +1 -1
  182. package/lib/duet/{p-79626865.system.entry.js → p-b35d6368.system.entry.js} +1 -1
  183. package/lib/duet/{p-cee7aad6.system.entry.js → p-b4ca3864.system.entry.js} +1 -1
  184. package/lib/duet/{p-988f0b81.system.entry.js → p-b51928dc.system.entry.js} +1 -1
  185. package/lib/duet/p-b7462f8c.system.entry.js +4 -0
  186. package/lib/duet/p-b8623ab8.entry.js +4 -0
  187. package/lib/duet/{p-030290f4.entry.js → p-bb4d8e7b.entry.js} +1 -1
  188. package/lib/duet/p-bf87d801.entry.js +4 -0
  189. package/lib/duet/p-c0aca70c.entry.js +4 -0
  190. package/lib/duet/{p-ba66186c.system.entry.js → p-c1d55269.system.entry.js} +1 -1
  191. package/lib/duet/{p-3f319ed0.entry.js → p-c7657242.entry.js} +1 -1
  192. package/lib/duet/{p-861046b1.entry.js → p-cb8ebdd7.entry.js} +1 -1
  193. package/lib/duet/{p-0f2a1f01.system.entry.js → p-d33b5ac5.system.entry.js} +1 -1
  194. package/lib/duet/{p-1b6e8581.system.entry.js → p-d4dba079.system.entry.js} +1 -1
  195. package/lib/duet/{p-9cd00e15.system.entry.js → p-e75c7aa8.system.entry.js} +1 -1
  196. package/lib/duet/{p-485ace7b.system.js → p-e7b761c5.system.js} +1 -1
  197. package/lib/duet/{p-e4be787a.system.entry.js → p-e8f8374b.system.entry.js} +2 -2
  198. package/lib/duet/{p-70ac68bd.entry.js → p-ec6d63fc.entry.js} +1 -1
  199. package/lib/duet/{p-c6c7b718.system.entry.js → p-ee97a406.system.entry.js} +2 -2
  200. package/lib/duet/{p-7fbd5a6f.system.entry.js → p-f5613315.system.entry.js} +2 -2
  201. package/lib/duet/p-f91e88e3.system.entry.js +4 -0
  202. package/lib/duet/p-fbec1a47.entry.js +4 -0
  203. package/lib/duet/p-fd0a3ab7.entry.js +4 -0
  204. package/lib/duet/p-fe99b9cb.entry.js +4 -0
  205. package/lib/duet/p-fef3a403.system.entry.js +4 -0
  206. package/lib/esm/duet-action-button.entry.js +16 -8
  207. package/lib/esm/duet-alert.entry.js +2 -2
  208. package/lib/esm/duet-badge.entry.js +2 -2
  209. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  210. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  211. package/lib/esm/duet-button_2.entry.js +17 -2
  212. package/lib/esm/duet-caption_4.entry.js +3 -3
  213. package/lib/esm/duet-card.entry.js +2 -2
  214. package/lib/esm/duet-checkbox.entry.js +15 -3
  215. package/lib/esm/duet-choice_2.entry.js +16 -4
  216. package/lib/esm/duet-collapsible.entry.js +2 -2
  217. package/lib/esm/duet-combobox.entry.js +2 -2
  218. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  219. package/lib/esm/duet-date-picker.entry.js +3 -4
  220. package/lib/esm/duet-divider_2.entry.js +2 -2
  221. package/lib/esm/duet-editable-table_3.entry.js +3 -4
  222. package/lib/esm/duet-empty-state.entry.js +2 -2
  223. package/lib/esm/duet-fieldset.entry.js +2 -2
  224. package/lib/esm/duet-footer.entry.js +2 -2
  225. package/lib/esm/duet-grid_2.entry.js +2 -2
  226. package/lib/esm/duet-header_2.entry.js +3 -3
  227. package/lib/esm/duet-hero.entry.js +2 -2
  228. package/lib/esm/duet-icon.entry.js +2 -2
  229. package/lib/esm/duet-input_2.entry.js +18 -4
  230. package/lib/esm/duet-layout.entry.js +1 -1
  231. package/lib/esm/duet-list_2.entry.js +2 -2
  232. package/lib/esm/duet-modal.entry.js +12 -4
  233. package/lib/esm/duet-notification_2.entry.js +2 -2
  234. package/lib/esm/duet-number-input.entry.js +15 -3
  235. package/lib/esm/duet-pagination_2.entry.js +19 -3
  236. package/lib/esm/duet-progress.entry.js +15 -3
  237. package/lib/esm/duet-radio_2.entry.js +15 -3
  238. package/lib/esm/duet-range-slider.entry.js +2 -2
  239. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  240. package/lib/esm/duet-select.entry.js +2 -2
  241. package/lib/esm/duet-step_2.entry.js +2 -2
  242. package/lib/esm/duet-textarea.entry.js +17 -3
  243. package/lib/esm/duet-toggle.entry.js +15 -3
  244. package/lib/esm/duet-tooltip.entry.js +2 -2
  245. package/lib/esm/duet-tray.entry.js +2 -2
  246. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  247. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  248. package/lib/esm/duet.js +2 -2
  249. package/lib/esm/{focus-utils-00743137.js → focus-utils-3af074ea.js} +1 -1
  250. package/lib/esm/{index-ef96b4ca.js → index-ab2bfa68.js} +1 -1
  251. package/lib/esm/loader.js +2 -2
  252. package/lib/esm/{themeable-component-e8fc98bf.js → themeable-component-cb76be7c.js} +0 -0
  253. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  254. package/lib/esm-es5/duet-alert.entry.js +1 -1
  255. package/lib/esm-es5/duet-badge.entry.js +1 -1
  256. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  257. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  258. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  259. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  260. package/lib/esm-es5/duet-card.entry.js +1 -1
  261. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  262. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  263. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  264. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  265. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  266. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  267. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  268. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  269. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  270. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  271. package/lib/esm-es5/duet-footer.entry.js +1 -1
  272. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  273. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  274. package/lib/esm-es5/duet-hero.entry.js +1 -1
  275. package/lib/esm-es5/duet-icon.entry.js +1 -1
  276. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  277. package/lib/esm-es5/duet-layout.entry.js +1 -1
  278. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  279. package/lib/esm-es5/duet-modal.entry.js +2 -2
  280. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  281. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  282. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  283. package/lib/esm-es5/duet-progress.entry.js +1 -1
  284. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  285. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  286. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  287. package/lib/esm-es5/duet-select.entry.js +1 -1
  288. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  289. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  290. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  291. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  292. package/lib/esm-es5/duet-tray.entry.js +1 -1
  293. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  294. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  295. package/lib/esm-es5/duet.js +1 -1
  296. package/lib/esm-es5/focus-utils-3af074ea.js +4 -0
  297. package/lib/esm-es5/{index-ef96b4ca.js → index-ab2bfa68.js} +1 -1
  298. package/lib/esm-es5/loader.js +1 -1
  299. package/lib/esm-es5/{themeable-component-e8fc98bf.js → themeable-component-cb76be7c.js} +0 -0
  300. package/lib/types/common/a11y-component.d.ts +13 -0
  301. package/lib/types/{utils → common}/form-components.d.ts +0 -1
  302. package/lib/types/common/index.d.ts +3 -0
  303. package/lib/types/{utils → common}/themeable-component.d.ts +0 -0
  304. package/lib/types/components/duet-action-button/duet-action-button.d.ts +15 -7
  305. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -1
  306. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -1
  307. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -1
  308. package/lib/types/components/duet-breadcrumbs/duet-breadcrumbs.d.ts +1 -1
  309. package/lib/types/components/duet-button/duet-button.d.ts +14 -3
  310. package/lib/types/components/duet-caption/duet-caption.d.ts +1 -1
  311. package/lib/types/components/duet-card/duet-card.d.ts +1 -1
  312. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +14 -3
  313. package/lib/types/components/duet-choice/duet-choice.d.ts +14 -3
  314. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -1
  315. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
  316. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -1
  317. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -1
  318. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -2
  319. package/lib/types/components/duet-divider/duet-divider.d.ts +1 -1
  320. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -1
  321. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +1 -1
  322. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
  323. package/lib/types/components/duet-footer/duet-footer.d.ts +1 -1
  324. package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +1 -1
  325. package/lib/types/components/duet-header/duet-header.d.ts +1 -1
  326. package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
  327. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -1
  328. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
  329. package/lib/types/components/duet-input/duet-input.d.ts +15 -4
  330. package/lib/types/components/duet-label/duet-label.d.ts +1 -1
  331. package/lib/types/components/duet-link/duet-link.d.ts +1 -1
  332. package/lib/types/components/duet-list/duet-list.d.ts +1 -1
  333. package/lib/types/components/duet-logo/duet-logo.d.ts +1 -1
  334. package/lib/types/components/duet-modal/duet-modal.d.ts +18 -2
  335. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -1
  336. package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -1
  337. package/lib/types/components/duet-number-input/duet-number-input.d.ts +14 -3
  338. package/lib/types/components/duet-pagination/duet-pagination.d.ts +18 -2
  339. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -1
  340. package/lib/types/components/duet-progress/duet-progress.d.ts +14 -2
  341. package/lib/types/components/duet-radio/duet-radio.d.ts +14 -3
  342. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -1
  343. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -2
  344. package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +1 -1
  345. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
  346. package/lib/types/components/duet-select/duet-select.d.ts +2 -2
  347. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -1
  348. package/lib/types/components/duet-step/duet-step.d.ts +1 -1
  349. package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -1
  350. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -1
  351. package/lib/types/components/duet-table/duet-table.d.ts +1 -1
  352. package/lib/types/components/duet-textarea/duet-textarea.d.ts +14 -3
  353. package/lib/types/components/duet-toggle/duet-toggle.d.ts +14 -3
  354. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  355. package/lib/types/components/duet-tray/duet-tray.d.ts +1 -1
  356. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -2
  357. package/lib/types/components.d.ts +328 -32
  358. package/package.json +7 -8
  359. package/lib/duet/p-017e5a08.system.js +0 -4
  360. package/lib/duet/p-0e0d40ae.system.entry.js +0 -4
  361. package/lib/duet/p-20220d27.entry.js +0 -4
  362. package/lib/duet/p-35820b00.entry.js +0 -4
  363. package/lib/duet/p-3638aa71.entry.js +0 -4
  364. package/lib/duet/p-3bfe748f.entry.js +0 -4
  365. package/lib/duet/p-3c51c1b0.entry.js +0 -4
  366. package/lib/duet/p-5fcd9397.system.entry.js +0 -4
  367. package/lib/duet/p-67f357aa.system.entry.js +0 -4
  368. package/lib/duet/p-79460e68.system.entry.js +0 -4
  369. package/lib/duet/p-7b11807c.system.entry.js +0 -4
  370. package/lib/duet/p-7f39ca93.entry.js +0 -4
  371. package/lib/duet/p-8a7d3c68.entry.js +0 -4
  372. package/lib/duet/p-8cc88eaf.entry.js +0 -4
  373. package/lib/duet/p-8e520b00.entry.js +0 -4
  374. package/lib/duet/p-9187e214.entry.js +0 -4
  375. package/lib/duet/p-93bcf12a.entry.js +0 -4
  376. package/lib/duet/p-a37dcf98.system.entry.js +0 -4
  377. package/lib/duet/p-a447685e.system.entry.js +0 -4
  378. package/lib/duet/p-ba583a54.entry.js +0 -4
  379. package/lib/duet/p-c54340fd.entry.js +0 -4
  380. package/lib/duet/p-ce511dc5.entry.js +0 -4
  381. package/lib/duet/p-d44434a8.entry.js +0 -4
  382. package/lib/duet/p-e53e48a8.entry.js +0 -4
  383. package/lib/duet/p-e934f859.entry.js +0 -4
  384. package/lib/duet/p-f4e58e80.entry.js +0 -4
  385. package/lib/duet/p-fe1ea738.entry.js +0 -4
  386. package/lib/esm-es5/focus-utils-00743137.js +0 -4
  387. package/lib/html.html-data.json +0 -5370
@@ -2,9 +2,9 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, h, Host, Prop } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { getLocaleString } from "../../utils/language-utils";
7
- import { inheritGlobalTheme } from "../../utils/themeable-component";
8
8
  export class DuetProgress {
9
9
  constructor() {
10
10
  /**
@@ -12,6 +12,18 @@ export class DuetProgress {
12
12
  */
13
13
  this.progressId = createID("DuetProgress");
14
14
  this.progressLabelId = createID("DuetProgressLabel");
15
+ /**
16
+ * Aria Details of the component
17
+ */
18
+ this.accessibleDetails = undefined;
19
+ /**
20
+ * String of id's that indicate alternative labels elements
21
+ */
22
+ this.accessibleLabelledBy = undefined;
23
+ /**
24
+ * Aria description the button
25
+ */
26
+ this.accessibleDescription = undefined;
15
27
  /**
16
28
  * Defaults for accessibleLabel
17
29
  */
@@ -66,7 +78,7 @@ export class DuetProgress {
66
78
  this.accessibleLabelUpload[this.progress < 99 ? 1 : 0])))),
67
79
  this.caption && (h("div", { class: "duet-progress-caption" },
68
80
  h("span", null, this.caption))),
69
- h("progress", { id: this.progressLabelId, "aria-describedby": this.accessibleDescribedBy, role: "progressbar", value: this.progress, max: "100", "aria-valuemin": "0", "aria-valuemax": "100" },
81
+ h("progress", { id: this.progressLabelId, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: "progressbar", value: this.progress, max: "100", "aria-valuemin": "0", "aria-valuemax": "100" },
70
82
  h("div", { class: "progress-bar" },
71
83
  h("span", { style: { width: `${this.progress}%;` } },
72
84
  "Progress: ",
@@ -98,6 +110,60 @@ export class DuetProgress {
98
110
  "attribute": "accessible-described-by",
99
111
  "reflect": false
100
112
  },
113
+ "accessibleDetails": {
114
+ "type": "string",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "string",
118
+ "resolved": "string",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "Aria Details of the component"
126
+ },
127
+ "attribute": "accessible-details",
128
+ "reflect": false,
129
+ "defaultValue": "undefined"
130
+ },
131
+ "accessibleLabelledBy": {
132
+ "type": "string",
133
+ "mutable": false,
134
+ "complexType": {
135
+ "original": "string",
136
+ "resolved": "string",
137
+ "references": {}
138
+ },
139
+ "required": false,
140
+ "optional": false,
141
+ "docs": {
142
+ "tags": [],
143
+ "text": "String of id's that indicate alternative labels elements"
144
+ },
145
+ "attribute": "accessible-labelled-by",
146
+ "reflect": false,
147
+ "defaultValue": "undefined"
148
+ },
149
+ "accessibleDescription": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "string",
154
+ "resolved": "string",
155
+ "references": {}
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": "Aria description the button"
162
+ },
163
+ "attribute": "accessible-description",
164
+ "reflect": false,
165
+ "defaultValue": "undefined"
166
+ },
101
167
  "accessibleLabel": {
102
168
  "type": "string",
103
169
  "mutable": false,
@@ -2,14 +2,26 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Host, Method, Prop } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
5
6
  import { createID } from "../../utils/create-id";
6
- import { inheritGlobalTheme } from "../../utils/themeable-component";
7
7
  export class DuetRadio {
8
8
  constructor() {
9
9
  /**
10
10
  * Own Properties.
11
11
  */
12
12
  this.radioId = createID("DuetRadio");
13
+ /**
14
+ * Aria Details of the component
15
+ */
16
+ this.accessibleDetails = undefined;
17
+ /**
18
+ * String of id's that indicate alternative labels elements
19
+ */
20
+ this.accessibleLabelledBy = undefined;
21
+ /**
22
+ * Aria description the button
23
+ */
24
+ this.accessibleDescription = undefined;
13
25
  /**
14
26
  * Controls the margin of the component.
15
27
  */
@@ -100,7 +112,7 @@ export class DuetRadio {
100
112
  "duet-m-0": this.margin === "none",
101
113
  } },
102
114
  h("div", { class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } },
103
- h("input", { type: "radio", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, tabindex: this.accessibleIndex, class: { "duet-radio": true, disabled: this.disabled || this.groupDisabled }, checked: this.checked, disabled: this.disabled || this.groupDisabled, required: this.required, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, role: this.role, name: this.name, id: identifier, ref: input => (this.nativeInput = input) }),
115
+ h("input", { type: "radio", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, tabindex: this.accessibleIndex, class: { "duet-radio": true, disabled: this.disabled || this.groupDisabled }, checked: this.checked, disabled: this.disabled || this.groupDisabled, required: this.required, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: this.role, name: this.name, id: identifier, ref: input => (this.nativeInput = input) }),
104
116
  h("label", { class: "duet-label", htmlFor: identifier },
105
117
  h("span", null, this.label)))));
106
118
  }
@@ -130,6 +142,60 @@ export class DuetRadio {
130
142
  "attribute": "accessible-active-descendant",
131
143
  "reflect": false
132
144
  },
145
+ "accessibleDetails": {
146
+ "type": "string",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "string",
150
+ "resolved": "string",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": "Aria Details of the component"
158
+ },
159
+ "attribute": "accessible-details",
160
+ "reflect": false,
161
+ "defaultValue": "undefined"
162
+ },
163
+ "accessibleLabelledBy": {
164
+ "type": "string",
165
+ "mutable": false,
166
+ "complexType": {
167
+ "original": "string",
168
+ "resolved": "string",
169
+ "references": {}
170
+ },
171
+ "required": false,
172
+ "optional": false,
173
+ "docs": {
174
+ "tags": [],
175
+ "text": "String of id's that indicate alternative labels elements"
176
+ },
177
+ "attribute": "accessible-labelled-by",
178
+ "reflect": false,
179
+ "defaultValue": "undefined"
180
+ },
181
+ "accessibleDescription": {
182
+ "type": "string",
183
+ "mutable": false,
184
+ "complexType": {
185
+ "original": "string",
186
+ "resolved": "string",
187
+ "references": {}
188
+ },
189
+ "required": false,
190
+ "optional": false,
191
+ "docs": {
192
+ "tags": [],
193
+ "text": "Aria description the button"
194
+ },
195
+ "attribute": "accessible-description",
196
+ "reflect": false,
197
+ "defaultValue": "undefined"
198
+ },
133
199
  "accessibleIndex": {
134
200
  "type": "string",
135
201
  "mutable": false,
@@ -2,7 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, h, Host, Prop, Watch } from "@stencil/core";
5
- import { inheritGlobalTheme } from "../../utils/themeable-component";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
7
7
  export class DuetRadioGroup {
8
8
  constructor() {
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import { colorGray, colorGrayTurva, colorPrimary, colorPrimaryTurva } from "@duetds/tokens";
5
5
  import { Component, Element, Event, h, Host, Method, Prop } from "@stencil/core";
6
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
7
  import { createID } from "../../utils/create-id";
7
8
  import isInternetExplorer from "../../utils/is-internet-explorer";
8
- import { inheritGlobalTheme } from "../../utils/themeable-component";
9
9
  const colors = {
10
10
  turva: {
11
11
  active: colorPrimaryTurva,
@@ -2,10 +2,10 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Prop, Watch } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { isArrowDownKey, isArrowKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isMinusKey, isPlusKey, } from "../../utils/keyboard-utils";
7
8
  import { getLocaleString } from "../../utils/language-utils";
8
- import { inheritGlobalTheme } from "../../utils/themeable-component";
9
9
  export class DuetRangeStepper {
10
10
  constructor() {
11
11
  this.leftBn = createID("duetRangeStepper-left");
@@ -2,7 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, h, Host, Prop, State, Watch } from "@stencil/core";
5
- import { inheritGlobalTheme } from "../../utils/themeable-component";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  export class DuetScrollable {
7
7
  constructor() {
8
8
  /**
@@ -2,9 +2,9 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { parsePossibleJSON } from "../../utils/string-utils";
7
- import { inheritGlobalTheme } from "../../utils/themeable-component";
8
8
  function isOptionGroup(item) {
9
9
  return "options" in item;
10
10
  }
@@ -2,7 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, h, Host, Prop } from "@stencil/core";
5
- import { inheritGlobalTheme } from "../../utils/themeable-component";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { getColorByName } from "../../utils/token-utils";
7
7
  export class DuetSpinner {
8
8
  constructor() {
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import editIcon from "@duetds/icons/lib/assets/action-edit-2";
5
5
  import { Build, Component, Element, Event, h, Method, Prop } from "@stencil/core";
6
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
7
  import { createID } from "../../utils/create-id";
7
8
  import { isKeyboardClick } from "../../utils/keyboard-utils";
8
- import { inheritGlobalTheme } from "../../utils/themeable-component";
9
9
  /**
10
10
  * @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
11
11
  * @slot heading-content - Step heading content. Use this slot to show additional content next to step heading.
@@ -2,8 +2,8 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Host, Listen, Prop, Watch } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import groupBy from "../../utils/group-by";
6
- import { inheritGlobalTheme } from "../../utils/themeable-component";
7
7
  export class DuetStepper {
8
8
  constructor() {
9
9
  /**
@@ -2,10 +2,10 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Method, Prop, State } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey } from "../../utils/keyboard-utils";
7
8
  import { getLanguage, getLocaleString } from "../../utils/language-utils";
8
- import { inheritGlobalTheme } from "../../utils/themeable-component";
9
9
  /**
10
10
  * @part ${identifier}-button - piercing selector for styling tab buttons
11
11
  * @part ${identifier}-button--selected - piercing selector for styling selected tab button
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import { mediaQueryLarge, mediaQueryMedium, mediaQuerySmall, mediaQueryXLarge, mediaQueryXxLarge, mediaQueryXxxLarge, sizeHeader, sizeNavigation, } from "@duetds/tokens";
5
5
  import { Build, Component, Element, h, Host, Prop, State } from "@stencil/core";
6
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
7
  import { debounce } from "../../utils/js-utils";
7
- import { inheritGlobalTheme } from "../../utils/themeable-component";
8
8
  // remove wrapping speech marks.
9
9
  // media query tokens are wrapped in speech marks,
10
10
  // which need to be removed before use with matchMedia.
@@ -2,9 +2,9 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Host, Method, Prop, Watch, } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { cleanValue } from "../../utils/input-utils";
7
- import { inheritGlobalTheme } from "../../utils/themeable-component";
8
8
  const CharacterCount = ({ value, maxlength, label, theme }) => {
9
9
  if (maxlength == null) {
10
10
  return;
@@ -35,6 +35,18 @@ export class DuetTextarea {
35
35
  * Controls the margin of the component.
36
36
  */
37
37
  this.margin = "auto";
38
+ /**
39
+ * Aria Details of the component
40
+ */
41
+ this.accessibleDetails = undefined;
42
+ /**
43
+ * String of id's that indicate alternative labels elements
44
+ */
45
+ this.accessibleLabelledBy = undefined;
46
+ /**
47
+ * Aria description the button
48
+ */
49
+ this.accessibleDescription = undefined;
38
50
  /**
39
51
  * Theme of the textarea.
40
52
  */
@@ -185,7 +197,9 @@ export class DuetTextarea {
185
197
  this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)),
186
198
  h("div", { class: "duet-textarea-wrapper" },
187
199
  this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)),
188
- h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": `${this.labelId} ${this.errorId}`, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": `${this.isCaptionVisible ? this.topCaptionId : ""} ${this.accessibleDescribedBy}`, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })),
200
+ h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy
201
+ ? `${this.labelId} ${this.errorId} ${this.accessibleLabelledBy}`
202
+ : `${this.labelId} ${this.errorId} `, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": `${this.isCaptionVisible ? this.topCaptionId : ""} ${this.accessibleDescribedBy}`, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })),
189
203
  h("duet-grid", { alignment: "stretch" },
190
204
  h("duet-grid-item", { margin: "none", fill: true },
191
205
  h("div", { class: "duet-textarea-help", id: this.errorId, "aria-live": "assertive", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))),
@@ -274,6 +288,60 @@ export class DuetTextarea {
274
288
  "attribute": "accessible-controls",
275
289
  "reflect": false
276
290
  },
291
+ "accessibleDetails": {
292
+ "type": "string",
293
+ "mutable": false,
294
+ "complexType": {
295
+ "original": "string",
296
+ "resolved": "string",
297
+ "references": {}
298
+ },
299
+ "required": false,
300
+ "optional": false,
301
+ "docs": {
302
+ "tags": [],
303
+ "text": "Aria Details of the component"
304
+ },
305
+ "attribute": "accessible-details",
306
+ "reflect": false,
307
+ "defaultValue": "undefined"
308
+ },
309
+ "accessibleLabelledBy": {
310
+ "type": "string",
311
+ "mutable": false,
312
+ "complexType": {
313
+ "original": "string",
314
+ "resolved": "string",
315
+ "references": {}
316
+ },
317
+ "required": false,
318
+ "optional": false,
319
+ "docs": {
320
+ "tags": [],
321
+ "text": "String of id's that indicate alternative labels elements"
322
+ },
323
+ "attribute": "accessible-labelled-by",
324
+ "reflect": false,
325
+ "defaultValue": "undefined"
326
+ },
327
+ "accessibleDescription": {
328
+ "type": "string",
329
+ "mutable": false,
330
+ "complexType": {
331
+ "original": "string",
332
+ "resolved": "string",
333
+ "references": {}
334
+ },
335
+ "required": false,
336
+ "optional": false,
337
+ "docs": {
338
+ "tags": [],
339
+ "text": "Aria description the button"
340
+ },
341
+ "attribute": "accessible-description",
342
+ "reflect": false,
343
+ "defaultValue": "undefined"
344
+ },
277
345
  "accessibleOwns": {
278
346
  "type": "string",
279
347
  "mutable": false,
@@ -2,8 +2,8 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Host, Method, Prop, Watch } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
5
6
  import { createID } from "../../utils/create-id";
6
- import { inheritGlobalTheme } from "../../utils/themeable-component";
7
7
  export class DuetToggle {
8
8
  constructor() {
9
9
  /**
@@ -18,6 +18,18 @@ export class DuetToggle {
18
18
  * Controls the margin of the component.
19
19
  */
20
20
  this.margin = "auto";
21
+ /**
22
+ * Aria Details of the component
23
+ */
24
+ this.accessibleDetails = undefined;
25
+ /**
26
+ * String of id's that indicate alternative labels elements
27
+ */
28
+ this.accessibleLabelledBy = undefined;
29
+ /**
30
+ * Aria description the button
31
+ */
32
+ this.accessibleDescription = undefined;
21
33
  /**
22
34
  * Label for the toggle.
23
35
  */
@@ -83,7 +95,7 @@ export class DuetToggle {
83
95
  } },
84
96
  h("duet-label", { theme: this.theme, for: identifier }, this.label),
85
97
  h("label", { class: "duet-switch", htmlFor: identifier },
86
- h("input", { type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }),
98
+ h("input", { type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }),
87
99
  h("div", { class: "duet-slider" })))));
88
100
  }
89
101
  static get is() { return "duet-toggle"; }
@@ -209,6 +221,60 @@ export class DuetToggle {
209
221
  "attribute": "accessible-described-by",
210
222
  "reflect": false
211
223
  },
224
+ "accessibleDetails": {
225
+ "type": "string",
226
+ "mutable": false,
227
+ "complexType": {
228
+ "original": "string",
229
+ "resolved": "string",
230
+ "references": {}
231
+ },
232
+ "required": false,
233
+ "optional": false,
234
+ "docs": {
235
+ "tags": [],
236
+ "text": "Aria Details of the component"
237
+ },
238
+ "attribute": "accessible-details",
239
+ "reflect": false,
240
+ "defaultValue": "undefined"
241
+ },
242
+ "accessibleLabelledBy": {
243
+ "type": "string",
244
+ "mutable": false,
245
+ "complexType": {
246
+ "original": "string",
247
+ "resolved": "string",
248
+ "references": {}
249
+ },
250
+ "required": false,
251
+ "optional": false,
252
+ "docs": {
253
+ "tags": [],
254
+ "text": "String of id's that indicate alternative labels elements"
255
+ },
256
+ "attribute": "accessible-labelled-by",
257
+ "reflect": false,
258
+ "defaultValue": "undefined"
259
+ },
260
+ "accessibleDescription": {
261
+ "type": "string",
262
+ "mutable": false,
263
+ "complexType": {
264
+ "original": "string",
265
+ "resolved": "string",
266
+ "references": {}
267
+ },
268
+ "required": false,
269
+ "optional": false,
270
+ "docs": {
271
+ "tags": [],
272
+ "text": "Aria description the button"
273
+ },
274
+ "attribute": "accessible-description",
275
+ "reflect": false,
276
+ "defaultValue": "undefined"
277
+ },
212
278
  "label": {
213
279
  "type": "string",
214
280
  "mutable": false,
@@ -2,9 +2,9 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, h, Host, Listen, Prop, State, Watch } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { getLanguage, getLocaleString } from "../../utils/language-utils";
7
- import { inheritGlobalTheme } from "../../utils/themeable-component";
8
8
  export class DuetTooltip {
9
9
  constructor() {
10
10
  /**
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import { sizeHeader } from "@duetds/tokens";
5
5
  import { Component, Element, Fragment, h, Listen, Prop, State } from "@stencil/core";
6
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
7
  import { createID } from "../../utils/create-id";
7
8
  import { getLanguage, getLocaleString } from "../../utils/language-utils";
8
- import { inheritGlobalTheme } from "../../utils/themeable-component";
9
9
  const topOffset = parseFloat(sizeHeader) * 2 * 16; // convert rem -> px
10
10
  /**
11
11
  * @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
@@ -83,11 +83,19 @@
83
83
  padding-left: 0 !important;
84
84
  }
85
85
  .duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td {
86
- padding: 0.75rem 0 !important;
86
+ padding: 1rem 0 !important;
87
87
  }
88
88
  .duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child {
89
89
  padding-right: 0 !important;
90
90
  }
91
+ .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress {
92
+ position: relative;
93
+ }
94
+ .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress {
95
+ position: absolute;
96
+ bottom: 0;
97
+ width: 100%;
98
+ }
91
99
  .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button) {
92
100
  border: 0;
93
101
  }
@@ -2,10 +2,10 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import { createID } from "../../utils/create-id";
6
7
  import { debounce } from "../../utils/js-utils";
7
8
  import { getLocaleString, sanitizeString } from "../../utils/language-utils";
8
- import { inheritGlobalTheme } from "../../utils/themeable-component";
9
9
  import { getError, getI18nError } from "./errorcodes.utils";
10
10
  import { ErrorItem } from "./upload-editable-item-error";
11
11
  import { ProgressItem } from "./upload-editable-item-inprogres";
@@ -4,5 +4,4 @@
4
4
  import { h } from "@stencil/core";
5
5
  export const ProgressItem = ({ progress, name }) => (h("span", null,
6
6
  h("duet-paragraph", { color: "secondary", margin: "none", size: "small" }, name),
7
- h("duet-spacer", { size: "xx-small" }),
8
7
  h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));